roadrunner  2.6.0
Fast simulator for SBML models
rrSymbol.h
1 #ifndef rrSymbolH
2 #define rrSymbolH
3 #include <string>
4 #include <ostream>
5 #include <limits>
6 #include "rrExporter.h"
7 using std::string;
8 using std::ostream;
9 
10 namespace rr
11 {
17 class RR_DECLSPEC Symbol
18 {
19 public:
25  bool rateRule;
26 
32  double value;
33  bool constant;
34 
35 
39  std::string compartmentName;
40 
45 
63  std::string formula;
64 
68  std::string keyName;
69  std::string name;
70 
71  //Constructors
72  Symbol(const std::string& _name = "", const double& _value = std::numeric_limits<double>::quiet_NaN());
73  Symbol(const std::string& _keyName, const std::string& _name, const double& _value= std::numeric_limits<double>::quiet_NaN());
74  Symbol(const std::string& _name, const double& _value, const std::string& _compartmentName);
75  Symbol(const std::string& _name, const double& _value, const std::string& _compartmentName, const std::string& _formula);
76 
77 }; //class rr::Symbol
78 
79 std::ostream& operator<<(std::ostream& stream, const Symbol& symbol);
80 
81 }//namespace rr
82 #endif
83 
84 
An SBML species definition.
Definition: rrSymbol.h:18
bool rateRule
Set if species also has a rate rule.
Definition: rrSymbol.h:25
double value
set to initial concentration.
Definition: rrSymbol.h:32
std::string formula
There are only two places where formula was created, in rrModelSymbols.cpp, readBoundarySpecies and r...
Definition: rrSymbol.h:63
std::string compartmentName
Used when symbol is a species.
Definition: rrSymbol.h:39
bool hasOnlySubstance
used when symbol is a species
Definition: rrSymbol.h:44
std::string keyName
Used when storing local parameters, keyName is the reaction name.
Definition: rrSymbol.h:68