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

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 36 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 36 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 46 of file OSiLReader.cpp.


Member Data Documentation

m_osinstance is the OSInstance object returned by the OSiLReader

Definition at line 65 of file OSiLReader.h.

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

Definition at line 69 of file OSiLReader.h.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1