roadrunner  2.6.0
Fast simulator for SBML models
rrRule.h
1 #ifndef rrRuleH
2 #define rrRuleH
3 #include <string>
4 #include "rrExporter.h"
5 
6 using std::string;
7 namespace rr
8 {
9 
10 enum RuleType {rtAlgebraic = 0, rtAssignment, rtRate, rtUnknown};
11 
12 RuleType GetRuleTypeFromString(const std::string& str);
13 
14 class RR_DECLSPEC RRRule
15 {
16  protected:
17  std::string mTheRule;
18  std::string mRuleTypeStr;
19  RuleType mRuleType;
20  void AssignType();
21 
22  public:
23  RRRule(const std::string& rule, const std::string& ruleType);
24  std::string GetLHS();
25  std::string GetRHS();
26  RuleType GetType();
27 };
28 
29 
30 }
31 #endif
Definition: rrRule.h:15