OSiLReader Class Reference

Used to read an OSiL string. More...

#include <OSiLReader.h>

Collaboration diagram for OSiLReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

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

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  )  throw (ErrorClass)

parse the OSiL model instance.

Parameters:
osil a string that holds the problem instance.
Returns:
the instance as an OSInstance object.

Definition at line 53 of file OSiLReader.cpp.


Member Data Documentation

m_osinstance is the OSInstance object returned by the OSiLReader

Definition at line 66 of file OSiLReader.h.

m_parserData is the object used in the parser to temporarily store data

Definition at line 70 of file OSiLReader.h.

m_osglData is the object used in the parser to temporarily store data from the OSgL schema elements.

Definition at line 75 of file OSiLReader.h.

m_osnlData is the object used in the parser to temporarily store data from the OSnL schema elements.

Definition at line 80 of file OSiLReader.h.


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

Generated on 5 Jul 2015 by  doxygen 1.6.1