#include <rrSelectionRecord.h>
Public Types | |
| enum | SelectionType { , CONCENTRATION = (0x1 << 1) , BOUNDARY = (0x1 << 4) , _COMPARTMENT = (0x1 << 6) , INITIAL = (0x1 << 9) , COMPARTMENT = _COMPARTMENT | INDEPENDENT | DEPENDENT | CURRENT, GLOBAL_PARAMETER = _GLOBAL_PARAMETER | INDEPENDENT | DEPENDENT | CURRENT, FLOATING_AMOUNT = FLOATING | AMOUNT | INDEPENDENT | DEPENDENT | CURRENT , BOUNDARY_CONCENTRATION = BOUNDARY | CONCENTRATION | INDEPENDENT | DEPENDENT | CURRENT , FLOATING_AMOUNT_RATE = FLOATING | RATE | DEPENDENT , REACTION_RATE = REACTION | RATE | DEPENDENT, INITIAL_FLOATING_AMOUNT = INITIAL | FLOATING | AMOUNT | INDEPENDENT | DEPENDENT } |
Public Member Functions | |
| SelectionRecord (const int &index=0, const SelectionType type=UNKNOWN, const string &p1="", const string &p2="") | |
| SelectionRecord (const std::string str) | |
| std::string | to_string () const |
| std::string | to_repr () const |
Public Attributes | |
| int | index |
| string | p1 |
| string | p2 |
| SelectionType | selectionType |
a way to find sbml model elements using the RoadRunner syntax.
| rr::SelectionRecord::SelectionRecord | ( | const int & | index = 0, |
| const SelectionType | type = UNKNOWN, |
||
| const string & | p1 = "", |
||
| const string & | p2 = "" |
||
| ) |
Selections really should be constructed by the RoadRunner::createSelection method.
This just creates a new ebmpy selection.
| rr::SelectionRecord::SelectionRecord | ( | const std::string | str | ) |
creates a empty selection.
| std::string rr::SelectionRecord::to_repr | ( | ) | const |
gets a longer description of this selection, this is intended to called as a python repr
| std::string rr::SelectionRecord::to_string | ( | ) | const |
get a short description of this selection, this returns a string compatable with RoadRunner::createSelection.
| int rr::SelectionRecord::index |
After the selection record is created by the roadrunner object, this is an index into the variables list that the ExecutableModel has.
| string rr::SelectionRecord::p1 |
For single argument selections, i.e. ee( S1 ), this is the argument, for two arg selections, this is the first arg.
| string rr::SelectionRecord::p2 |
the second argument of two arg selections.
| SelectionType rr::SelectionRecord::selectionType |
the type of selection.
1.8.5