COPASI API  4.40.278
CMathEvent::CAssignment Class Reference

#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 CMathObjectgetAssignment () const
 
const CMathObjectgetTarget () 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
 
CMathObjectmpAssignment
 
CMathObjectmpTarget
 

Friends

std::ostream & operator<< (std::ostream &os, const CAssignment &o)
 

Constructor & Destructor Documentation

◆ CAssignment() [1/2]

CMathEvent::CAssignment::CAssignment ( )

Default constructor

◆ CAssignment() [2/2]

CMathEvent::CAssignment::CAssignment ( const CAssignment src)

Copy constructor

◆ ~CAssignment()

CMathEvent::CAssignment::~CAssignment ( )

Destructor

Member Function Documentation

◆ compile()

◆ copy()

void CMathEvent::CAssignment::copy ( const CAssignment src,
CMathContainer container 
)

Copy an existing object

Parameters
constCAssignment & src
CMathContainer& container

Referenced by CMathEvent::copy().

◆ getAssignment()

const CMathObject * CMathEvent::CAssignment::getAssignment ( ) const

◆ getTarget()

◆ initialize()

◆ isStateValue()

const bool & CMathEvent::CAssignment::isStateValue ( ) const

◆ relocate()

void CMathEvent::CAssignment::relocate ( const CMathContainer pContainer,
const std::vector< CMath::sRelocate > &  relocations 
)

The objects and values are relocated

Parameters
constCMathContainer * pContainer
conststd::vector< CMath::sRelocate > & relocations

References CMathContainer::relocateObject().

Referenced by CMathEvent::relocate().

◆ setAssignment()

void CMathEvent::CAssignment::setAssignment ( CMathObject pAssignment)

◆ setIsStateValue()

void CMathEvent::CAssignment::setIsStateValue ( bool  isStateValue)

◆ setTarget()

void CMathEvent::CAssignment::setTarget ( CMathObject pTarget)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const CAssignment o 
)
friend

Member Data Documentation

◆ mIsStateValue

bool CMathEvent::CAssignment::mIsStateValue
private

◆ mpAssignment

CMathObject* CMathEvent::CAssignment::mpAssignment
private

◆ mpTarget

CMathObject* CMathEvent::CAssignment::mpTarget
private

The documentation for this class was generated from the following files: