OSrLReader Class Reference

The OSrLReader Class. More...

#include <OSrLReader.h>

Collaboration diagram for OSrLReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OSrLReader ()
 OSrL class constructor.
 ~OSrLReader ()
 OSrL class destructor.
OSResultreadOSrL (const std::string &posrl) throw (ErrorClass)
 Get an OSResult object from an OSrL string.

Private Attributes

OSResultm_osresult
 m_osresult is the OSResult object returned by the OSrLReader
OSrLParserDatam_parserData
 m_parserData is the object used in the parser to temporarily store data.

Detailed Description

The OSrLReader Class.

Author:
Robert Fourer, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class for parsing an OSrL string and creating an OSResult object from the string.

Definition at line 42 of file OSrLReader.h.


Constructor & Destructor Documentation

OSrLReader::OSrLReader (  ) 

OSrL class constructor.

Definition at line 30 of file OSrLReader.cpp.

References m_osresult, m_parserData, osrllex_init(), osrlset_extra(), and OSrLParserData::scanner.

OSrLReader::~OSrLReader (  ) 

OSrL class destructor.

Definition at line 50 of file OSrLReader.cpp.

References m_osresult, m_parserData, osrllex_destroy(), and OSrLParserData::scanner.


Member Function Documentation

OSResult * OSrLReader::readOSrL ( const std::string &  posrl  )  throw (ErrorClass)

Get an OSResult object from an OSrL string.

Parameters:
osrl an OSrL string.
Returns:
the OSResult object corresponding to the OSrL string.

Definition at line 76 of file OSrLReader.cpp.

References ErrorClass::errormsg, and yygetOSResult().

Referenced by OS_lp::createcutsforbearcat(), getOSResult(), main(), and OSrL2Gams::writeSolution().


Member Data Documentation

OSResult* OSrLReader::m_osresult [private]

m_osresult is the OSResult object returned by the OSrLReader

Definition at line 72 of file OSrLReader.h.

Referenced by OSrLReader(), and ~OSrLReader().

OSrLParserData* OSrLReader::m_parserData [private]

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

Definition at line 77 of file OSrLReader.h.

Referenced by OSrLReader(), and ~OSrLReader().


The documentation for this class was generated from the following files:
Generated on Thu Aug 5 03:11:40 2010 by  doxygen 1.4.7