Public Member Functions | Private Attributes | List of all members
OSiLReader Class Reference

Used to read an OSiL string. More...

#include <OSiLReader.h>

Collaboration diagram for OSiLReader:
Collaboration graph
[legend]

Public Member Functions

 OSiLReader ()
 Default constructor. More...
 
 ~OSiLReader ()
 Class destructor. More...
 
OSInstancereadOSiL (const std::string &osil)
 parse the OSiL model instance. More...
 

Private Attributes

OSInstancem_osinstance
 m_osinstance is the OSInstance object returned by the OSiLReader More...
 
OSiLParserDatam_parserData
 m_parserData is the object used in the parser to temporarily store data More...
 
OSgLParserDatam_osglData
 m_osglData is the object used in the parser to temporarily store data from the OSgL schema elements. More...
 
OSnLParserDatam_osnlData
 m_osnlData is the object used in the parser to temporarily store data from the OSnL schema elements. More...
 

Detailed Description

Used to read an OSiL string.

Remarks

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.

Constructor & Destructor Documentation

OSiLReader::OSiLReader ( )

Default constructor.

Definition at line 27 of file OSiLReader.cpp.

OSiLReader::~OSiLReader ( )

Class destructor.

Definition at line 39 of file OSiLReader.cpp.

Member Function Documentation

OSInstance * OSiLReader::readOSiL ( const std::string &  osil)

parse the OSiL model instance.

Parameters
osila string that holds the problem instance.
Returns
the instance as an OSInstance object.

Definition at line 53 of file OSiLReader.cpp.

Member Data Documentation

OSInstance* OSiLReader::m_osinstance
private

m_osinstance is the OSInstance object returned by the OSiLReader

Definition at line 71 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 75 of file OSiLReader.h.

OSgLParserData* OSiLReader::m_osglData
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.

OSnLParserData* OSiLReader::m_osnlData
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.


The documentation for this class was generated from the following files: