00001 /* $Id: OSgLParserData.h 2698 2009-06-09 04:14:07Z kmartin $ */ 00014 #ifndef OSGLPARSERDATA_H 00015 #define OSGLPARSERDATA_H 00016 00017 #include <stdio.h> 00018 #include <string> 00019 00020 00021 00030 class OSgLParserData 00031 { 00032 public: 00033 00035 bool osglMultPresent; 00036 bool osglIncrPresent; 00037 bool osglNumberOfElPresent; 00038 int osglNumberOfEl; 00039 int* osglIntArray; 00040 int osglMult; 00041 int osglIncr; 00042 int osglSize; 00043 int osglCounter; 00044 int osglTempint; 00045 00047 std::string fileName; 00048 std::string source; 00049 std::string description; 00050 std::string fileCreator; 00051 std::string licence; 00052 bool fileNamePresent; 00053 bool sourcePresent; 00054 bool descriptionPresent; 00055 bool fileCreatorPresent; 00056 bool licencePresent; 00057 00059 OSgLParserData( ); 00060 00061 //** the OSgLParserData class destructor */ 00062 ~OSgLParserData() ; 00063 00064 00068 void* scanner; 00069 00073 char *errorText; 00074 };//OSgLParserData 00075 00076 inline void osgl_empty_vectors( OSgLParserData* osglData) 00077 { 00078 if (osglData->osglIntArray != NULL) 00079 delete[] osglData->osglIntArray; 00080 osglData->osglIntArray = NULL; 00081 }//end osgl_empty_vectors 00082 00083 00084 #endif /*OSGLPARSERDATA_H_*/