Used to read an OSiL string. More...
#include <OSiLReader.h>
Public Member Functions | |
OSiLReader () | |
Default constructor. More... | |
~OSiLReader () | |
Class destructor. More... | |
OSInstance * | readOSiL (const std::string &osil) |
parse the OSiL model instance. More... | |
Private Attributes | |
OSInstance * | m_osinstance |
m_osinstance is the OSInstance object returned by the OSiLReader More... | |
OSiLParserData * | m_parserData |
m_parserData is the object used in the parser to temporarily store data More... | |
OSgLParserData * | m_osglData |
m_osglData is the object used in the parser to temporarily store data from the OSgL schema elements. More... | |
OSnLParserData * | m_osnlData |
m_osnlData is the object used in the parser to temporarily store data from the OSnL schema elements. More... | |
Used to read an OSiL string.
This class wraps around the OSiL parser and sends the parser an OSiL string and is returned an OSInstance object.
Definition at line 37 of file OSiLReader.h.
OSiLReader::OSiLReader | ( | ) |
Default constructor.
Definition at line 27 of file OSiLReader.cpp.
OSiLReader::~OSiLReader | ( | ) |
Class destructor.
Definition at line 39 of file OSiLReader.cpp.
OSInstance * OSiLReader::readOSiL | ( | const std::string & | osil | ) |
parse the OSiL model instance.
osil | a string that holds the problem instance. |
Definition at line 53 of file OSiLReader.cpp.
|
private |
m_osinstance is the OSInstance object returned by the OSiLReader
Definition at line 71 of file OSiLReader.h.
|
private |
m_parserData is the object used in the parser to temporarily store data
Definition at line 75 of file OSiLReader.h.
|
private |
m_osglData is the object used in the parser to temporarily store data from the OSgL schema elements.
Definition at line 80 of file OSiLReader.h.
|
private |
m_osnlData is the object used in the parser to temporarily store data from the OSnL schema elements.
Definition at line 85 of file OSiLReader.h.