COPASI API
4.40.278
|
#include <CMathEvent.h>
Public Member Functions | |
CAssignment () | |
CAssignment (const CAssignment &src) | |
bool | compile (const CEventAssignment *pDataAssignment, CMathContainer &container) |
void | copy (const CAssignment &src, CMathContainer &container) |
const CMathObject * | getAssignment () const |
const CMathObject * | getTarget () const |
void | initialize (CMath::sPointers &pointers) |
const bool & | isStateValue () const |
void | relocate (const CMathContainer *pContainer, const std::vector< CMath::sRelocate > &relocations) |
void | setAssignment (CMathObject *pAssignment) |
void | setIsStateValue (bool isStateValue) |
void | setTarget (CMathObject *pTarget) |
~CAssignment () | |
Private Attributes | |
bool | mIsStateValue |
CMathObject * | mpAssignment |
CMathObject * | mpTarget |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CAssignment &o) |
CMathEvent::CAssignment::CAssignment | ( | ) |
Default constructor
CMathEvent::CAssignment::CAssignment | ( | const CAssignment & | src | ) |
Copy constructor
CMathEvent::CAssignment::~CAssignment | ( | ) |
Destructor
bool CMathEvent::CAssignment::compile | ( | const CEventAssignment * | pDataAssignment, |
CMathContainer & | container | ||
) |
References CExpression::compile(), CMath::EventTarget, CMath::Fixed, CDataObject::getCN(), CMetab::getCompartment(), CEventAssignment::getExpression(), CEventAssignment::getExpressionPtr(), CMathContainer::getMathObject(), CMathContainer::getQuantity2NumberFactor(), CEventAssignment::getTargetObject(), CModelEntity::getValueReference(), pointerToString(), CExpression::setInfix(), CMathObject::setSimulationType(), and CMath::Species.
Referenced by CMathEvent::compile().
void CMathEvent::CAssignment::copy | ( | const CAssignment & | src, |
CMathContainer & | container | ||
) |
Copy an existing object
const | CAssignment & src |
CMathContainer | & container |
Referenced by CMathEvent::copy().
const CMathObject * CMathEvent::CAssignment::getAssignment | ( | ) | const |
Referenced by CMathEvent::compile(), and CMathEvent::createUpdateSequences().
const CMathObject * CMathEvent::CAssignment::getTarget | ( | ) | const |
void CMathEvent::CAssignment::initialize | ( | CMath::sPointers & | pointers | ) |
const bool & CMathEvent::CAssignment::isStateValue | ( | ) | const |
Referenced by CMathEvent::setTargetValues().
void CMathEvent::CAssignment::relocate | ( | const CMathContainer * | pContainer, |
const std::vector< CMath::sRelocate > & | relocations | ||
) |
The objects and values are relocated
const | CMathContainer * pContainer |
const | std::vector< CMath::sRelocate > & relocations |
References CMathContainer::relocateObject().
Referenced by CMathEvent::relocate().
void CMathEvent::CAssignment::setAssignment | ( | CMathObject * | pAssignment | ) |
Referenced by CMathEvent::addAssignment().
void CMathEvent::CAssignment::setIsStateValue | ( | bool | isStateValue | ) |
Referenced by CMathEvent::createUpdateSequences().
void CMathEvent::CAssignment::setTarget | ( | CMathObject * | pTarget | ) |
Referenced by CMathEvent::addAssignment().
|
friend |
|
private |
|
private |
|
private |