copasi API  0.1
Public Member Functions | Static Public Attributes
CMoietiesTask Class Reference

#include <CMoietiesTask.h>

Inheritance diagram for CMoietiesTask:
CCopasiTask CCopasiContainer CCopasiObject

List of all members.

Public Member Functions

 CMoietiesTask (const CCopasiTask::Type &type=CCopasiTask::moieties, const CCopasiContainer *pParent=NULL)
 CMoietiesTask (const CMoietiesTask &src, const CCopasiContainer *pParent=NULL)
 ~CMoietiesTask ()
virtual bool setCallBack (CProcessReport *pCallBack)
virtual bool initialize (const OutputFlag &of, COutputHandler *pOutputHandler, std::ostream *pOstream)
virtual bool process (const bool &useInitialValues)
virtual bool setMethodType (const int &type)

Static Public Attributes

static unsigned C_INT32 ValidMethods []

Constructor & Destructor Documentation

CMoietiesTask::CMoietiesTask ( const CCopasiTask::Type type = CCopasiTask::moieties,
const CCopasiContainer pParent = NULL 
)

default constructor

Parameters:
constCCopasiTask::Type & type (default: moieties)
constCCopasiContainer * pParent (default: NULL)
CMoietiesTask::CMoietiesTask ( const CMoietiesTask src,
const CCopasiContainer pParent = NULL 
)

Copy constructor

Parameters:
constCMoietiesTask & src
CMoietiesTask::~CMoietiesTask ( )

Destructor


Member Function Documentation

bool CMoietiesTask::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.

bool CMoietiesTask::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 CMoietiesTask::setCallBack ( CProcessReport pCallBack) [virtual]

Set the call back of the task

Parameters:
CProcessReport* pCallBack
Returns:
bool succes

Reimplemented from CCopasiTask.

bool CMoietiesTask::setMethodType ( const int &  type) [virtual]

Set the method type applied to solve the task

Parameters:
constCCopasiMethod::SubType & type
Returns:
bool success

Reimplemented from CCopasiTask.


Member Data Documentation

unsigned C_INT32 CMoietiesTask::ValidMethods [static]
Initial value:

The methods which can be selected for preforming this task.

Reimplemented from CCopasiTask.


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