57 const char *ch = posil.c_str();
OSgLParserData * osglData
OSnLParserData * osnlData
OSoLParserData * parserData
void osilset_extra(OSiLParserData *parserData, void *yyscanner)
void yygetOSInstance(const char *osil, OSInstance *osinstance, OSiLParserData *parserData, OSgLParserData *osglData, OSnLParserData *osnlData)
int osillex_init(void **ptr_yy_globals)
int osillex_destroy(void *scanner)
used for throwing exceptions.
std::string errormsg
errormsg is the error that is causing the exception to be thrown
The in-memory representation of an OSiL instance..
The OSgLParserData Class.
The OSiLParserData Class, used to store parser data.
void * scanner
scanner is used to store data in a reentrant lexer we use this to pass an OSiLParserData object to th...
OSgLParserData * m_osglData
m_osglData is the object used in the parser to temporarily store data from the OSgL schema elements.
OSInstance * readOSiL(const std::string &osil)
parse the OSiL model instance.
OSiLReader()
Default constructor.
OSiLParserData * m_parserData
m_parserData is the object used in the parser to temporarily store data
~OSiLReader()
Class destructor.
OSnLParserData * m_osnlData
m_osnlData is the object used in the parser to temporarily store data from the OSnL schema elements.
OSInstance * m_osinstance
m_osinstance is the OSInstance object returned by the OSiLReader
The OSnLParserData Class.