delphi_cb
 All Classes Namespaces Files Functions Variables Macros
IDataMarshal Class Referenceabstract

Inherited by CDelphiDataMarshal [virtual].

Public Member Functions

 IDataMarshal ()
 
 IDataMarshal (int argc, char *argv[])
 
virtual ~IDataMarshal ()
 
void read (string strFileName)
 
virtual void updateParameters ()=0
 

Public Attributes

string strParamFile
 read-in parameter file (default: fort.10)
 
string strBioModel
 Bio-model to solve (default: PBE)
 
string strNumSolver
 numerical solver (default: DelPhi)
 

Protected Member Functions

bool getBiomodel (const string &strLineNoSpace)
 
bool getQinclude (const string &strLineNoSpace)
 
bool getParameter (const string &strLineNoSpace)
 
virtual bool getStatement (string strLineNoSpace)=0
 
virtual bool getFunction (string strLineNoSpace)=0
 

Constructor & Destructor Documentation

IDataMarshal::IDataMarshal ( )
inline

constructor I (for regular delphi runs)

IDataMarshal::IDataMarshal ( int  argc,
char *  argv[] 
)
inline

constructor II (for mcce runs)

virtual IDataMarshal::~IDataMarshal ( )
inlinevirtual

destructor

Member Function Documentation

bool IDataMarshal::getBiomodel ( const string &  strLineNoSpace)
protected

Function to read biomodel and solver names

Parameters
strLineNoSpaceline of the parameter file with no spaces or comments
Returns
success/false
virtual bool IDataMarshal::getFunction ( string  strLineNoSpace)
protectedpure virtual

Function to obtain the value(s) from a function

Parameters
strLineNoSpaceline of the parameter file with no spaces or comments
Returns
success/false
bool IDataMarshal::getParameter ( const string &  strLineNoSpace)
protected

Function that reads a line, and determines whether the line is a statement or a function.

Parameters
strLineNoSpaceline of the parameter file without spaces and comments, and then determines if the function is a statement by the presence of an equal sign which is NOT inside brackets.
Returns
success/false
bool IDataMarshal::getQinclude ( const string &  strLineNoSpace)
protected

Function to determine the presence of a qinclude command and read it

Parameters
strLineNoSpaceline of the parameter file with no spaces or comments
Returns
success/false
virtual bool IDataMarshal::getStatement ( string  strLineNoSpace)
protectedpure virtual

Function to obtain the value(s) of a statement

Parameters
strLineNoSpaceline of the parameter file with no spaces or comments
Returns
success/false
void IDataMarshal::read ( string  strFileName)

Function to read the parameter file and executes the parsing.

Parameters
[in]strFileNameName of the parameter file
virtual void IDataMarshal::updateParameters ( )
pure virtual

Function to perform after-reading updates. Must be implemented by the derived classes.

Implemented in CDelphiDataMarshal.


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