/home/coin/SVN-release/OS-2.4.2/OS/src/OSParsers/OSgLParserData.h

Go to the documentation of this file.
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 
00054     OSgLParserData( );
00055 
00056     //** the OSgLParserData class destructor */
00057     ~OSgLParserData() ;
00058 
00059 
00063     void* scanner;
00064 
00068     char *errorText;
00069 };//OSgLParserData
00070 
00071 inline void osgl_empty_vectors( OSgLParserData* osglData)
00072 {
00073     if (osglData->osglIntArray != NULL)
00074         delete[] osglData->osglIntArray;
00075     osglData->osglIntArray = NULL;
00076 }//end osgl_empty_vectors
00077 
00078 
00079 #endif /*OSGLPARSERDATA_H_*/

Generated on Wed Nov 30 03:04:20 2011 by  doxygen 1.4.7