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
 osintance is the OSInstance object returned by the OSiLReader
OSiLParserDatam_parserData
 parerData 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 37 of file OSiLReader.h.


Constructor & Destructor Documentation

OSiLReader::OSiLReader (  ) 

Default constructor.

OSiLReader::~OSiLReader (  ) 

Class destructor.


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.


Member Data Documentation

OSInstance* OSiLReader::m_osinstance [private]

osintance is the OSInstance object returned by the OSiLReader

Definition at line 65 of file OSiLReader.h.

OSiLParserData* OSiLReader::m_parserData [private]

parerData 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 file:
Generated on Sun Nov 14 14:14:22 2010 for Coin-All by  doxygen 1.4.7