#include <CChemEq.h>
List of all members.
Member Enumeration Documentation
- Enumerator:
PRODUCT |
|
SUBSTRATE |
|
MODIFIER |
|
NOROLE |
|
Constructor & Destructor Documentation
CChemEq::CChemEq |
( |
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
bool CChemEq::addMetabolite |
( |
const std::string & |
key, |
|
|
const C_FLOAT64 |
multiplicity, |
|
|
const MetaboliteRole & |
role |
|
) |
| |
Add a species to the equation
- Parameters:
-
const | std::string & speciesKey |
const | C_FLOAT64 & multiplicity |
const | MetaboliteRole & role |
- Returns:
- bool success
void CChemEq::cleanup |
( |
| ) |
|
Retrieves the vector of metabolites and their total balance in the chemical reaction.
- Returns:
- "vector < CChemEqElement * > &" balances
unsigned C_INT32 CChemEq::getCompartmentNumber |
( |
| ) |
const |
Returns the number of compartments the chemical equation is associated with.
const CCompartment & CChemEq::getLargestCompartment |
( |
| ) |
const |
Retrieve the largest compartment that the reaction touches.
- Returns:
- const CCompartment & compartment
Retrieves the vector of Modifiers and their multiplicity
Checks if it is possible to figure out a compartment from the information in the chemical equation. If there are substrates and if all the substrates are in the same compartment this compartment will be returned. If there are no substrates and there are Products and all Products are in the same compartment this compartment will be returned, else an exception will be thrown. This returns the sum of the multiplicities
Retrieves the vector of products and their multiplicity in the chemical reaction.
- Returns:
- "vector < CChemEqElement * > &" products
const bool& CChemEq::getReversibility |
( |
| ) |
const [inline] |
Retrieve the reversibility of the equation
- Returns:
- const bool & reversible
Retrieves the vector of substrates and their multiplicity in the chemical reaction.
- Returns:
- "vector < CChemEqElement * > &" substrates
void CChemEq::setReversibility |
( |
const bool & |
reversible | ) |
[inline] |
Set the reversibility of the of the equation
- Parameters:
-
const | bool & const bool & reversible |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CChemEq & |
d |
|
) |
| [friend] |
Friend declaration for ostream operator
- Parameters:
-
- Returns:
- std::ostream & os
The documentation for this class was generated from the following files: