copasi API  0.1
Public Member Functions | Protected Member Functions | Friends
CState Class Reference

#include <CState.h>

List of all members.

Public Member Functions

 CState ()
 CState (const CState &src)
 ~CState ()
CStateoperator= (const CState &rhs)
const C_FLOAT64 & getTime () const
void setTime (const C_FLOAT64 &time)
C_FLOAT64 * beginIndependent ()
C_FLOAT64 * endIndependent ()
C_FLOAT64 * beginDependent ()
C_FLOAT64 * endDependent ()
C_FLOAT64 * beginFixed ()
C_FLOAT64 * endFixed ()
const C_FLOAT64 * beginIndependent () const
const C_FLOAT64 * endIndependent () const
const C_FLOAT64 * beginDependent () const
const C_FLOAT64 * endDependent () const
const C_FLOAT64 * beginFixed () const
const C_FLOAT64 * endFixed () const
unsigned C_INT32 getNumIndependent () const
unsigned C_INT32 getNumDependent () const
unsigned C_INT32 getNumVariable () const
unsigned C_INT32 getNumFixed () const

Protected Member Functions

C_FLOAT64 * resize (const unsigned C_INT32 &size)
void updateIterator (const unsigned C_INT32 &numIndependent, const unsigned C_INT32 &numDependent, const unsigned C_INT32 &numFixed)

Friends

class CStateTemplate
std::ostream & operator<< (std::ostream &os, const CState &s)

Constructor & Destructor Documentation

CState::CState ( )

Constructor

CState::CState ( const CState src)

Copy constructor

Parameters:
constCState & src
CState::~CState ( )

Destructor


Member Function Documentation

C_FLOAT64 * CState::beginDependent ( )

Retrieve the array of pointers of values of all dependent entities, which are only dependent species for a reduced model.

Returns:
C_FLOAT64 * dependentValues
const C_FLOAT64 * CState::beginDependent ( ) const

Retrieve the array of pointers of values of all dependent entities, which are only dependent species for a reduced model.

Returns:
const C_FLOAT64 * dependentValues
C_FLOAT64 * CState::beginFixed ( )

Retrieve the array of pointers of values of all fixed entities.

Returns:
C_FLOAT64 * fixedValues
const C_FLOAT64 * CState::beginFixed ( ) const

Retrieve the array of pointers of values of all fixed entities.

Returns:
const C_FLOAT64 * fixedValues
C_FLOAT64 * CState::beginIndependent ( )

Retrieve the array of pointers of values of all independent entities.

Returns:
C_FLOAT64 * independentValues
const C_FLOAT64 * CState::beginIndependent ( ) const

Retrieve the array of pointers of values of all independent entities.

Returns:
const C_FLOAT64 * independentValues
C_FLOAT64 * CState::endDependent ( )

Retrieve pointer just beyond the values of all dependent entities.

Returns:
C_FLOAT64 * endDependentValues
const C_FLOAT64 * CState::endDependent ( ) const

Retrieve pointer just beyond the values of all dependent entities.

Returns:
const C_FLOAT64 * endDependentValues
C_FLOAT64 * CState::endFixed ( )

Retrieve pointer just beyond the values of all fixed entities.

Returns:
C_FLOAT64 * endFixedValues
const C_FLOAT64 * CState::endFixed ( ) const

Retrieve pointer just beyond the values of all fixed entities.

Returns:
const C_FLOAT64 * endFixedValues
C_FLOAT64 * CState::endIndependent ( )

Retrieve pointer just beyond the values of all independent entities.

Returns:
C_FLOAT64 * endIndependentValues
const C_FLOAT64 * CState::endIndependent ( ) const

Retrieve pointer just beyond the values of all independent entities.

Returns:
const C_FLOAT64 * endIndependentValues
unsigned C_INT32 CState::getNumDependent ( ) const

Retrieve the number of dependent entities.

Returns:
unsigned C_INT32 numDependent
unsigned C_INT32 CState::getNumFixed ( ) const

Retrieve the number of fixed entities.

Returns:
unsigned C_INT32 numFixed
unsigned C_INT32 CState::getNumIndependent ( ) const

Retrieve the number of independent entities.

Returns:
unsigned C_INT32 numIndependent
unsigned C_INT32 CState::getNumVariable ( ) const

Retrieve the number of variable entities, i.e., the sum of independent and dependent variables.

Returns:
unsigned C_INT32 numVariable
const C_FLOAT64 & CState::getTime ( ) const

Retrieve the time of the state

Returns:
const C_FLOAT64 & time
CState & CState::operator= ( const CState rhs)

Assignment operator

Parameters:
constCState & rhs
Returns:
CState & lhs
C_FLOAT64 * CState::resize ( const unsigned C_INT32 &  size) [protected]
void CState::setTime ( const C_FLOAT64 &  time)

Set the time of the state

Parameters:
constC_FLOAT64 & time
void CState::updateIterator ( const unsigned C_INT32 &  numIndependent,
const unsigned C_INT32 &  numDependent,
const unsigned C_INT32 &  numFixed 
) [protected]

Update the pointers to the different types of entities

Parameters:
constunsigned C_INT32 & numIndependent
constunsigned C_INT32 & numDependent
constunsigned C_INT32 & numFixed

Friends And Related Function Documentation

friend class CStateTemplate [friend]
std::ostream& operator<< ( std::ostream &  os,
const CState s 
) [friend]

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