delphi_cb
 All Classes Namespaces Files Functions Variables Macros
CDelphiData Class Reference

Inherits IDataContainer.

Public Member Functions

 CDelphiData (int argc, char *argv[], shared_ptr< CTimer > pTimer)
 
 CDelphiData (SMCCE *mcce_data, shared_ptr< CTimer > pTimer)
 
 ~CDelphiData ()
 
virtual void showMap (const string &strMapFile)
 
virtual void reset (const string &strF95File)
 
- Public Member Functions inherited from IDataContainer
 IDataContainer ()
 
virtual ~IDataContainer ()
 
bool keyExists (const string &strKey)
 
template<class T >
const T & getKey_constRef (const string &strKey)
 
template<class T >
const T * getKey_constPtr (const string &strKey)
 
template<class T >
const T ** getKey_constPtr (const string &strKey, const int &iRows, const int &iColumns)
 
template<class T >
const T *** getKey_constPtr (const string &strKey, const int &iRows, const int &iColumns, const int &iPages)
 
template<class T >
const T **** getKey_constPtr (const string &strKey, const int &iRows, const int &iColumns, const int &iPages, const int &iSects)
 
template<class T >
T & getKey_Ref (const string &strKey)
 
template<class T >
getKey_Val (const string &strKey)
 
template<class T >
T * getKey_Ptr (const string &strKey)
 
template<class T >
T *** getKey_Ptr (const string &strKey, const int &iRows, const int &iColumns, const int &iPages)
 

Additional Inherited Members

- Protected Attributes inherited from IDataContainer
DataMap myData
 

Constructor & Destructor Documentation

CDelphiData::CDelphiData ( int  argc,
char *  argv[],
shared_ptr< CTimer pTimer 
)
inline

constructor to generate regular stand-alone executable delphicpp.

Note
This constructor depends on and is paired with one constructor, CDelphiDataMarshal(argc,argv,pTimer), of class CDelphiDataMarshal
Parameters
[in]argcNumber of parameters in the command line
[in]argv[]paraemters in the command line
[in]pTimerpointer to an object of class CTimer to report execution time
CDelphiData::CDelphiData ( SMCCE mcce_data,
shared_ptr< CTimer pTimer 
)
inline

constructor to allow delphicpp to be compiled with mcce in order to avoid intensive IO operations.

Note
This constructor depends on and is paired with one constructor, CDelphiDataMarshal(mcce_data,pTimer), of class CDelphiDataMarshal
Parameters
[in]mcce_dataA pointer to the interface struct SMCCE
[in]pTimerpointer to an object of class CTimer to report execution time
CDelphiData::~CDelphiData ( )
inline

destructor

Member Function Documentation

void CDelphiData::reset ( const string &  strF95File)
virtual

member function to implement the virtual function reset() declared in IDataContainer

Note
used for debug purpose only
Parameters
[in]strF95FileName of the txt file containing the values of variables generated by delphi95

Implements IDataContainer.

void CDelphiData::showMap ( const string &  strMapFile)
virtual

member function to implement the virtual function showMap() declared in IDataContainer

Note
used for debug purpose only
Parameters
[in]strMapFileName of the txt file containing the values of variables in CDelphiData

Implements IDataContainer.


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