1 #ifndef FUNCGROUPSTABLE_H 2 #define FUNCGROUPSTABLE_H 9 #include "sqlitefielddef.h" 10 #include "sqlitetable.h" 23 std::unique_ptr<Impl> p;
25 const FieldDef<FieldType::Integer> fldTStep = makeFieldDef(
"TStep",FieldType::Integer()).notNull();
26 const FieldDef<FieldType::Integer> fldFGroup = makeFieldDef(
"FuncGroup",FieldType::Integer()).notNull();
27 const FieldDef<FieldType::Integer> fldNodeId = makeFieldDef(
"NodeId",FieldType::Integer()).notNull();
28 const FieldDef<FieldType::Integer> fldBType = makeFieldDef(
"BenthosType",FieldType::Integer()).notNull();
30 const FieldDef<FieldType::Real> benthosNumTot = makeFieldDef(
"bNTot",FieldType::Real());
31 const FieldDef<FieldType::Real> benthosBio = makeFieldDef(
"bB",FieldType::Real());
32 const FieldDef<FieldType::Real> benthosMeanW = makeFieldDef(
"bMeanW",FieldType::Real());
33 const FieldDef<FieldType::Real> benthosBioK = makeFieldDef(
"bBK",FieldType::Real());
34 const FieldDef<FieldType::Real> benthosNumK= makeFieldDef(
"bNK",FieldType::Real());
36 FuncGroupsTable(std::shared_ptr<sqlite::SQLiteStorage> db, std::string name);
41 void insert (
int tstep,
Node *node,
int funcgr,
int isN);
48 double numTot, bio, bioMeanW, bioK, numK;
50 void queryAllNodesAtStep(
int tstep, std::function<
bool (
Stat)> op);
53 #endif // FUNCGROUPSTABLE_H Definition: funcgroupstable.h:19
Definition: funcgroupstable.cpp:10
Definition: sqliteoutputstorage.h:33
int tstep
Definition: main.cpp:205
types::NodeId nodeId
Definition: funcgroupstable.h:45
double numTot
Definition: funcgroupstable.h:48
Definition: funcgroupstable.h:43
int funcId
Definition: funcgroupstable.h:46
int tstep
Definition: funcgroupstable.h:44
#define COMMONSSHARED_EXPORT
Definition: commons_global.h:23