8 #ifndef RRLLVMSETINITIALVALUESCODEGEN_H_
9 #define RRLLVMSETINITIALVALUESCODEGEN_H_
11 #include "CodeGenBase.h"
12 #include "ModelGeneratorContext.h"
13 #include "SymbolForest.h"
14 #include "ASTNodeFactory.h"
15 #include "ModelDataIRBuilder.h"
16 #include "SetInitialValueCodeGenBase.h"
17 #include <sbml/Model.h>
22 class SetFloatingSpeciesInitConcentrationCodeGen :
public
23 SetInitialValueCodeGenBase<SetFloatingSpeciesInitConcentrationCodeGen, false>
26 SetFloatingSpeciesInitConcentrationCodeGen(
const ModelGeneratorContext& mgc);
27 ~SetFloatingSpeciesInitConcentrationCodeGen() {};
29 StringIntVector getIds();
31 bool isInitialValue() {
35 static const char* FunctionName;
36 static const char* IndexArgName;
41 class SetBoundarySpeciesInitConcentrationCodeGen :
public
42 SetInitialValueCodeGenBase<SetBoundarySpeciesInitConcentrationCodeGen, false>
45 SetBoundarySpeciesInitConcentrationCodeGen(
const ModelGeneratorContext& mgc);
46 ~SetBoundarySpeciesInitConcentrationCodeGen() {};
48 StringIntVector getIds();
50 bool isInitialValue() {
54 static const char* FunctionName;
55 static const char* IndexArgName;
60 class SetFloatingSpeciesInitAmountCodeGen :
public
61 SetInitialValueCodeGenBase<SetFloatingSpeciesInitAmountCodeGen, true>
64 SetFloatingSpeciesInitAmountCodeGen(
const ModelGeneratorContext& mgc);
65 ~SetFloatingSpeciesInitAmountCodeGen() {};
67 StringIntVector getIds();
69 bool isInitialValue() {
73 static const char* FunctionName;
74 static const char* IndexArgName;
79 class SetBoundarySpeciesInitAmountCodeGen :
public
80 SetInitialValueCodeGenBase<SetBoundarySpeciesInitAmountCodeGen, true>
83 SetBoundarySpeciesInitAmountCodeGen(
const ModelGeneratorContext& mgc);
84 ~SetBoundarySpeciesInitAmountCodeGen() {};
86 StringIntVector getIds();
88 bool isInitialValue() {
92 static const char* FunctionName;
93 static const char* IndexArgName;
98 class SetCompartmentInitVolumeCodeGen :
public
99 SetInitialValueCodeGenBase<SetCompartmentInitVolumeCodeGen, false>
102 SetCompartmentInitVolumeCodeGen(
const ModelGeneratorContext& mgc);
103 ~SetCompartmentInitVolumeCodeGen() {};
105 StringIntVector getIds();
107 bool isInitialValue() {
111 static const char* FunctionName;
112 static const char* IndexArgName;
115 class SetGlobalParameterInitValueCodeGen :
public
116 SetInitialValueCodeGenBase<SetGlobalParameterInitValueCodeGen, false>
119 SetGlobalParameterInitValueCodeGen(
const ModelGeneratorContext& mgc);
120 ~SetGlobalParameterInitValueCodeGen() {};
122 StringIntVector getIds();
124 bool isInitialValue() {
128 static const char* FunctionName;
129 static const char* IndexArgName;