roadrunner  2.6.0
Fast simulator for SBML models
rrSBMLSymbol.h
1 #ifndef rrSBMLSymbolH
2 #define rrSBMLSymbolH
3 #include <ostream>
4 #include <vector>
5 #include <deque>
6 #include "rrExporter.h"
7 #include "rrUtils.h"
8 #include "rrSBMLSymbolDependencies.h"
9 using std::vector;
10 using std::deque;
11 using std::ostream;
12 namespace rr
13 {
14 
15 class RR_DECLSPEC SBMLSymbol
16 {
17  protected:
18  public:
19  std::string mId;
20  enum SBMLType mType;
21  SBMLSymbolDependencies mDependencies;
22 
23  double mValue;
24  bool HasValue();
25 
26  double& mConcentration; //Assing ref to mValue..
27  double& mAmount; //Assing ref to mValue..
28 
29  bool IsSetAmount;
30  bool IsSetConcentration;
31 
32  bool HasInitialAssignment() const;
33  std::string mInitialAssignment;
34 
35  bool mHasRule;
36  bool HasRule();
37  std::string mRule;
38 
39  public:
40  SBMLSymbol();
41  ~SBMLSymbol();
42  SBMLSymbol(const SBMLSymbol& cp);
43  SBMLSymbol& operator =(const SBMLSymbol& rhs);
44  void AddDependency(SBMLSymbol* symbol);
45  int NumberOfDependencies();
46  SBMLSymbol GetDependency(const int& i);
47 
48 };
49 
50 RR_DECLSPEC std::ostream& operator<<(std::ostream& stream, const SBMLSymbol& symbol);
51 }
52 #endif
53 
54 
55 
153 
Definition: rrSBMLSymbolDependencies.h:18
Definition: rrSBMLSymbol.h:16