#include <CEvent.h>
List of all members.
Constructor & Destructor Documentation
CEvent::CEvent |
( |
const std::string & |
name = "NoName" , |
|
|
const CCopasiContainer * |
pParent = NULL |
|
) |
| |
Default constructor
- Parameters:
-
const | std::string & name (default: "NoName") |
const | CCopasiContainer * pParent (default: NULL) |
Copy constructor
- Parameters:
-
Member Function Documentation
Compile the event.
- Parameters:
-
- Returns:
- bool success
void CEvent::deleteAssignment |
( |
const std::string & |
key | ) |
|
Delete assignment with the given key. Please note this is not the target key.
- Parameters:
-
const bool & CEvent::getDelayAssignment |
( |
| ) |
const |
Retrieve whether to delay the calculation of the assignment.
- Returns:
- const bool & delayCalculation
std::string CEvent::getDelayExpression |
( |
| ) |
const |
Retrieve the expression of the delay as a string.
- Returns:
- std::string expression
Retrieve the pointer to the expression of the delay.
- Returns:
- CExpression* pExpression
const CExpression * CEvent::getDelayExpressionPtr |
( |
| ) |
const |
Retrieve the pointer to the expression of the delay.
- Returns:
- CExpression* pExpression
const std::string & CEvent::getKey |
( |
| ) |
const [virtual] |
Retrieves the key of the event
- Returns:
- std::string key
Reimplemented from CCopasiObject.
std::string CEvent::getObjectDisplayName |
( |
bool |
regular = true , |
|
|
bool |
richtext = false |
|
) |
| const [virtual] |
Retrieve display name. Special treatment for reaction to provide a shorter display
Reimplemented from CCopasiObject.
const unsigned C_INT32 & CEvent::getOrder |
( |
| ) |
const |
Retrieve the order in which the events is executed for simultaneous events
const std::string & CEvent::getSBMLId |
( |
| ) |
const |
Returns a reference to the SBML Id.
std::string CEvent::getTriggerExpression |
( |
| ) |
const |
Retrieve the expression of trigger as a string.
- Returns:
- std::string expression
const CExpression * CEvent::getTriggerExpressionPtr |
( |
| ) |
const |
Retrieve the pointer to the expression of trigger.
- Returns:
- CExpression* pExpression
Retrieve the pointer to the expression of trigger.
- Returns:
- CExpression* pExpression
void CEvent::setDelayAssignment |
( |
const bool & |
delayCalculation | ) |
|
Set whether the calculation or the assignment shall be delayed
- Parameters:
-
bool CEvent::setDelayExpression |
( |
const std::string & |
expression | ) |
|
Set the expression of delay from a string. The return value indicates if parsing the expression was successful.
- Parameters:
-
const | std::string & expression |
- Returns:
- bool success
void CEvent::setDelayExpressionPtr |
( |
CExpression * |
pExpression | ) |
|
Set the expression of delay from an expression.
- Parameters:
-
Set the object parent
- Parameters:
-
- Returns:
- bool success
Reimplemented from CCopasiObject.
void CEvent::setOrder |
( |
const unsigned C_INT32 & |
order, |
|
|
const bool & |
correctOther = true |
|
) |
| |
Set the order in which the event is executed for simultaneous events.
- Parameters:
-
const | unsigned C_INT32 & order const bool & correctOther = true |
void CEvent::setSBMLId |
( |
const std::string & |
id | ) |
|
Sets the SBMLId.
- Parameters:
-
bool CEvent::setTriggerExpression |
( |
const std::string & |
expression | ) |
|
Set the expression of trigger from a string. The return value indicates if parsing the expression was successful.
- Parameters:
-
const | std::string & expression |
- Returns:
- bool success
void CEvent::setTriggerExpressionPtr |
( |
CExpression * |
pExpression | ) |
|
Set the expression of trigger from an expression.
- Parameters:
-
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CEvent & |
d |
|
) |
| [friend] |
The documentation for this class was generated from the following files: