copasi API  0.1
Public Member Functions | Friends
CMCATask Class Reference

#include <CMCATask.h>

Inheritance diagram for CMCATask:
CCopasiTask CCopasiContainer CCopasiObject

List of all members.

Public Member Functions

 CMCATask (const CCopasiContainer *pParent=NULL)
 CMCATask (const CMCATask &src, const CCopasiContainer *pParent=NULL)
virtual ~CMCATask ()
virtual bool updateMatrices ()
virtual bool initialize (const OutputFlag &of, COutputHandler *pOutputHandler, std::ostream *pOstream)
virtual bool process (const bool &useInitialValues)
virtual bool restore ()
void load (CReadConfig &configBuffer)
void printResult (std::ostream *ostream) const

Friends

std::ostream & operator<< (std::ostream &os, const CMCATask &A)

Constructor & Destructor Documentation

CMCATask::CMCATask ( const CCopasiContainer pParent = NULL)

A pointer to the found elasticities A pointer to the found flux control coefficients. A pointer to the found concentration control coefficients. Default constructor

Parameters:
constCCopasiContainer * pParent (default: NULL)
CMCATask::CMCATask ( const CMCATask src,
const CCopasiContainer pParent = NULL 
)

Copy constructor

Parameters:
constCMCATask & src
constCCopasiContainer * pParent (default: NULL)
CMCATask::~CMCATask ( ) [virtual]

Destructor


Member Function Documentation

bool CMCATask::initialize ( const OutputFlag of,
COutputHandler pOutputHandler,
std::ostream *  pOstream 
) [virtual]

Initialize the task. If an ostream is given this ostream is used instead of the target specified in the report. This allows nested tasks to share the same output device.

Parameters:
constOutputFlag & of
COutputHandler* pOutputHandler
std::ostream* pOstream (default: NULL)
Returns:
bool success

Reimplemented from CCopasiTask.

void CMCATask::load ( CReadConfig configBuffer)

Loads parameters for this solver with data coming from a CReadConfig object. (CReadConfig object reads an input stream)

Parameters:
configbufferreference to a CReadConfig object.
void CMCATask::printResult ( std::ostream *  ostream) const

This functionality is expected from the problem but has to be implemented here for the moment. This is called from the corresponding method of the problem

bool CMCATask::process ( const bool &  useInitialValues) [virtual]

Process the task with or without initializing to the initial state.

Parameters:
constbool & useInitialValues
Returns:
bool success

Reimplemented from CCopasiTask.

bool CMCATask::restore ( ) [virtual]

Perform neccessary cleaup procedures

Reimplemented from CCopasiTask.

bool CMCATask::updateMatrices ( ) [virtual]

Resizes result matrices and updates array annotations for a specific task. This is used when we need to know about the data structures of a task result without actually performing the task, e.g. when selecting objects for output. For now we assume that this functionality is also performed when initialize() is called.

Reimplemented from CCopasiTask.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CMCATask A 
) [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines