Used to read an OSiL string. More...
#include <OSiLReader.h>
Public Member Functions | |
OSiLReader () | |
Default constructor. | |
~OSiLReader () | |
Class destructor. | |
OSInstance * | readOSiL (const std::string &osil) throw (ErrorClass) |
parse the OSiL model instance. | |
Private Attributes | |
OSInstance * | m_osinstance |
m_osinstance is the OSInstance object returned by the OSiLReader | |
OSiLParserData * | m_parserData |
m_parserData is the object used in the parser to temporarily store data |
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 36 of file OSiLReader.h.
OSiLReader::OSiLReader | ( | ) |
Default constructor.
Definition at line 27 of file OSiLReader.cpp.
OSiLReader::~OSiLReader | ( | ) |
Class destructor.
Definition at line 36 of file OSiLReader.cpp.
OSInstance * OSiLReader::readOSiL | ( | const std::string & | osil | ) | throw (ErrorClass) |
parse the OSiL model instance.
osil | a string that holds the problem instance. |
Definition at line 46 of file OSiLReader.cpp.
OSInstance* OSiLReader::m_osinstance [private] |
m_osinstance is the OSInstance object returned by the OSiLReader
Definition at line 65 of file OSiLReader.h.
OSiLParserData* OSiLReader::m_parserData [private] |
m_parserData is the object used in the parser to temporarily store data
Definition at line 69 of file OSiLReader.h.