COPASI API
4.40.278
|
#include <CMathUpdateSequence.h>
Public Types | |
typedef CObjectInterface *const * | const_iterator |
typedef CObjectInterface ** | iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
CMathUpdateSequence (CMathContainer *pContainer=NULL) | |
CMathUpdateSequence (const CMathUpdateSequence &src, CMathContainer *pContainer=NULL) | |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
void | insert (const iterator &loc, const CObjectInterface *pObject) |
template<typename InputIterator > | |
void | insert (const iterator &loc, InputIterator first, InputIterator last) |
CMathUpdateSequence & | operator= (const CMathUpdateSequence &rhs) |
CMathUpdateSequence & | operator= (const std::vector< CObjectInterface * > &rhs) |
void | setMathContainer (CMathContainer *pContainer) |
const size_t & | size () const |
virtual | ~CMathUpdateSequence () |
Private Attributes | |
CMathContainer * | mpContainer |
Additional Inherited Members | |
Protected Types inherited from CVectorCore< CType > | |
typedef CType | elementType |
Protected Member Functions inherited from CVector< CObjectInterface * > | |
void | copy (const CVectorCore< CObjectInterface * > &rhs) |
CVector (const CVector< CObjectInterface * > &src) | |
CVector (const CVectorCore< CObjectInterface * > &src) | |
CVector (size_t size=0) | |
CVector< CObjectInterface * > & | operator= (const CObjectInterface * &value) |
CVector< CObjectInterface * > & | operator= (const CVector< CObjectInterface * > &rhs) |
CVector< CObjectInterface * > & | operator= (const CVectorCore< CObjectInterface * > &rhs) |
void | resize (size_t size, const bool ©=false) |
virtual | ~CVector () |
Protected Member Functions inherited from CVectorCore< CType > | |
bool | applyPivot (const CVectorCore< size_t > &pivot) |
CType * | array () |
const CType * | array () const |
CType * | begin () |
const CType * | begin () const |
CVectorCore (const size_t &size=0, CType *buffer=NULL) | |
CType * | end () |
const CType * | end () const |
void | initialize (const CVectorCore< CType > &src) |
void | initialize (const size_t &size, const CType *vector) |
CType & | operator() (const size_t &row) |
const CType & | operator() (const size_t &row) const |
CVectorCore< CType > & | operator= (const CType &value) |
CVectorCore< CType > & | operator= (const CVectorCore< CType > &rhs) |
bool | operator== (const CVectorCore< CType > &rhs) const |
CType & | operator[] (const size_t &row) |
const CType & | operator[] (const size_t &row) const |
size_t | size () const |
virtual | ~CVectorCore () |
Protected Attributes inherited from CVectorCore< CType > | |
CType * | mpBuffer |
size_t | mSize |
typedef CObjectInterface* const* CMathUpdateSequence::const_iterator |
CMathUpdateSequence::CMathUpdateSequence | ( | CMathContainer * | pContainer = NULL | ) |
Default Constructor
CMathContainer | * pContainer (default: NULL) |
References setMathContainer().
CMathUpdateSequence::CMathUpdateSequence | ( | const CMathUpdateSequence & | src, |
CMathContainer * | pContainer = NULL |
||
) |
Copy Constructor
const | CMathUpdateSequence & src |
CMathContainer | * pContainer (default: NULL) |
References mpContainer, and setMathContainer().
|
virtual |
Destructor
References CMathContainer::deregisterUpdateSequence(), and mpContainer.
CMathUpdateSequence::iterator CMathUpdateSequence::begin | ( | ) |
Referenced by CMathContainer::applyUpdateSequence(), CModel::buildInitialRefreshSequence(), CMathContainer::calculateElasticityDependencies(), CMathContainer::calculateJacobianDependencies(), CMathContainer::createApplyInitialValuesSequence(), CODEExporter::exportObjectNodesFromModel(), CMathDependencyGraph::getUpdateSequence(), operator=(), CTimeSensMethod::printUpdateSeq(), CMathContainer::relocateUpdateSequence(), CStochMethod::setupDependencyGraph(), and CStochasticRungeKuttaRI5::start().
CMathUpdateSequence::const_iterator CMathUpdateSequence::begin | ( | ) | const |
void CMathUpdateSequence::clear | ( | ) |
bool CMathUpdateSequence::empty | ( | ) | const |
CMathUpdateSequence::iterator CMathUpdateSequence::end | ( | ) |
Referenced by CMathContainer::applyUpdateSequence(), CMathContainer::calculateElasticityDependencies(), CMathContainer::calculateJacobianDependencies(), CMathContainer::createApplyInitialValuesSequence(), CODEExporter::exportObjectNodesFromModel(), CMathDependencyGraph::getUpdateSequence(), operator=(), CTimeSensMethod::printUpdateSeq(), CMathContainer::relocateUpdateSequence(), CStochMethod::setupDependencyGraph(), and CStochasticRungeKuttaRI5::start().
CMathUpdateSequence::const_iterator CMathUpdateSequence::end | ( | ) | const |
void CMathUpdateSequence::insert | ( | const iterator & | loc, |
const CObjectInterface * | pObject | ||
) |
|
inline |
References C_FLOAT64, CCopasiMessage::EXCEPTION, max, MCopasiBase, and min.
CMathUpdateSequence & CMathUpdateSequence::operator= | ( | const CMathUpdateSequence & | rhs | ) |
Assignment operator
const | CMathUpdateSequence & rhs |
References mpContainer, CVector< CType >::operator=(), and setMathContainer().
CMathUpdateSequence & CMathUpdateSequence::operator= | ( | const std::vector< CObjectInterface * > & | rhs | ) |
Assignment operator
const | std::vector< CObjectInterface * > & rhs |
References begin(), end(), and CVector< CObjectInterface * >::resize().
void CMathUpdateSequence::setMathContainer | ( | CMathContainer * | pContainer | ) |
Set the math container
CMathContainer | * pContainer |
References CMathContainer::deregisterUpdateSequence(), mpContainer, and CMathContainer::registerUpdateSequence().
Referenced by CMathUpdateSequence(), CMathContainer::deregisterUpdateSequence(), CMathDependencyGraph::getUpdateSequence(), operator=(), and CMathContainer::registerUpdateSequence().
const size_t & CMathUpdateSequence::size | ( | ) | const |
Referenced by CMCAMethod::isValidProblem(), and CStochDirectMethod::start().
|
private |
Referenced by CMathUpdateSequence(), operator=(), setMathContainer(), and ~CMathUpdateSequence().