/home/coin/SVN-release/OS-2.3.5/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 public:
00032         
00034         bool osglMultPresent;
00035         bool osglIncrPresent;
00036         bool osglNumberOfElPresent;
00037         int  osglNumberOfEl;
00038         int* osglIntArray;  
00039         int  osglMult;
00040         int  osglIncr;
00041         int  osglSize;
00042         int  osglCounter;
00043         int  osglTempint;
00044 
00046         std::string fileName;
00047         std::string source;
00048         std::string description;
00049         std::string fileCreator;
00050         std::string licence;
00051 
00053         OSgLParserData( );
00054         
00055         //** the OSgLParserData class destructor */
00056         ~OSgLParserData() ;
00057         
00058 
00062         void* scanner;
00063                 
00067         char *errorText;
00068 };//OSgLParserData
00069 
00070 inline void osgl_empty_vectors( OSgLParserData* osglData)
00071 {
00072         if (osglData->osglIntArray != NULL)
00073                 delete[] osglData->osglIntArray;
00074         osglData->osglIntArray = NULL;
00075 }//end osgl_empty_vectors
00076 
00077 
00078 #endif /*OSGLPARSERDATA_H_*/

Generated on Thu Mar 31 03:13:08 2011 by  doxygen 1.4.7