GCBM
record.h
Go to the documentation of this file.
1 #ifndef MOJA_MODULES_CBM_RECORD_H_
2 #define MOJA_MODULES_CBM_RECORD_H_
3 
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/types.h"
6 #include "moja/flint/record.h"
7 
8 #include <Poco/Tuple.h>
9 
10 #include <vector>
11 #include <optional>
12 
13 namespace moja {
14 namespace modules {
15 namespace cbm {
16 
17  // id, step, year, month, day, frac of step, years in step
18  typedef Poco::Tuple<Int64, int, int, int, int, double, double> DateRow;
19  typedef std::tuple<Int64, int, int, int, int, double, double> StdDateRow;
20  class CBM_API DateRecord {
21  public:
22  DateRecord(int step, int year, int month, int day,
23  double fracOfStep, double yearsInStep);
24 
26 
27  bool operator==(const DateRecord& other) const;
28  size_t hash() const;
29  DateRow asPersistable() const;
30  StdDateRow asTuple() const;
31  void merge(const DateRecord& other) {}
32  void setId(Int64 id) { _id = id; }
33  Int64 getId() const { return _id; }
34 
35  private:
36  mutable size_t _hash = -1;
37  Int64 _id;
38 
39  // Data
40  int _step;
41  int _year;
42  int _month;
43  int _day;
44  double _fracOfStep;
45  double _yearsInStep;
46  };
47 
48  // id, classifier set id, date id, land class id, age class id, area
49  typedef Poco::Tuple<Int64, Int64, Int64, Int64, Poco::Nullable<Int64>, double> TemporalLocationRow;
50  typedef std::tuple<Int64, Int64, Int64, Int64, std::optional<Int64>, double> StdTemporalLocationRow;
51  class CBM_API TemporalLocationRecord {
52  public:
53  TemporalLocationRecord(Int64 classifierSetId, Int64 dateId, Int64 landClassId,
54  Poco::Nullable<Int64> ageClassId, double area);
55 
57 
58  bool operator==(const TemporalLocationRecord& other) const;
59  size_t hash() const;
60  TemporalLocationRow asPersistable() const;
61  StdTemporalLocationRow asTuple() const;
62  void merge(const TemporalLocationRecord& other);
63  void setId(Int64 id) { _id = id; }
64  Int64 getId() const { return _id; }
65 
66  private:
67  mutable size_t _hash = -1;
68  Int64 _id;
69 
70  // Data
72  Int64 _dateId;
73  Int64 _landClassId;
74  Poco::Nullable<Int64> _ageClassId;
75  double _area;
76  };
77 
78  // id, library type, library info id, module type, module id, module name
79  typedef Poco::Tuple<Int64, int, int, int, int, std::string> ModuleInfoRow;
80  typedef std::tuple<Int64, int, int, int, int, std::string> StdModuleInfoRow;
81  class CBM_API ModuleInfoRecord {
82  public:
83  ModuleInfoRecord(int libType, int libInfoId, int moduleType, int moduleId, std::string moduleName);
85 
86  bool operator==(const ModuleInfoRecord& other) const;
87  size_t hash() const;
88  ModuleInfoRow asPersistable() const;
89  StdModuleInfoRow asTuple() const;
90  void merge(const ModuleInfoRecord& other) {}
91  void setId(Int64 id) { _id = id; }
92  Int64 getId() const { return _id; }
93 
94  private:
95  mutable size_t _hash = -1;
96  Int64 _id;
97 
98  // Data
99  int _libType;
103  std::string _moduleName;
104  };
105 
106  // id, disturbance type code, disturbance type name
107  typedef Poco::Tuple<Int64, int, std::string> DisturbanceTypeRow;
108  typedef std::tuple<Int64, int, std::string> StdDisturbanceTypeRow;
109  class CBM_API DisturbanceTypeRecord {
110  public:
111  DisturbanceTypeRecord(int distTypeCode, std::string distTypeName);
113 
114  bool operator==(const DisturbanceTypeRecord& other) const;
115  size_t hash() const;
116  DisturbanceTypeRow asPersistable() const;
117  StdDisturbanceTypeRow asTuple() const;
118  void merge(const DisturbanceTypeRecord& other) {}
119  void setId(Int64 id) { _id = id; }
120  Int64 getId() const { return _id; }
121 
122  private:
123  mutable size_t _hash = -1;
124  Int64 _id;
125 
126  // Data
128  std::string _distTypeName;
129  };
130 
131  // id, pool name
132  typedef Poco::Tuple<Int64, std::string> PoolInfoRow;
133  class CBM_API PoolInfoRecord {
134  public:
135  explicit PoolInfoRecord(const std::string& name);
137 
138  bool operator==(const PoolInfoRecord& other) const;
139  size_t hash() const;
140  PoolInfoRow asPersistable() const;
141  void merge(const PoolInfoRecord& other) {}
142  void setId(Int64 id) { _id = id; }
143  Int64 getId() const { return _id; }
144 
145  private:
146  mutable size_t _hash = -1;
147  Int64 _id;
148 
149  // Data
150  std::string _name;
151  };
152 
153  // id, UNFCCC land class
154  typedef Poco::Tuple<Int64, std::string> LandClassRow;
155  typedef std::tuple<Int64, std::string> StdLandClassRow;
156  class CBM_API LandClassRecord {
157  public:
158  explicit LandClassRecord(std::string name);
160 
161  bool operator==(const LandClassRecord& other) const;
162  size_t hash() const;
163  LandClassRow asPersistable() const;
164  StdLandClassRow asTuple() const;
165  void merge(const LandClassRecord& other) {}
166  void setId(Int64 id) { _id = id; }
167  Int64 getId() const { return _id; }
168 
169  private:
170  mutable size_t _hash = -1;
171  Int64 _id;
172 
173  // Data
174  std::string _name;
175  };
176 
177  // id, classifier values
178  typedef Poco::Tuple<Int64, std::vector<Poco::Nullable<std::string>>> ClassifierSetRow;
179  class CBM_API ClassifierSetRecord {
180  public:
181  explicit ClassifierSetRecord(std::vector<Poco::Nullable<std::string>> classifierValues);
183 
184  bool operator==(const ClassifierSetRecord& other) const;
185  size_t hash() const;
186  ClassifierSetRow asPersistable() const;
187  void merge(const ClassifierSetRecord& other) {}
188  void setId(Int64 id) { _id = id; }
189  Int64 getId() const { return _id; }
190 
191  private:
192  mutable size_t _hash = -1;
193  Int64 _id;
194 
195  // Data
196  std::vector<Poco::Nullable<std::string>> _classifierValues;
197  };
198 
199  // id, locn id, disttype id, previous locn id, disturbed area
200  typedef Poco::Tuple<Int64, Int64, Int64, Int64, double> DisturbanceRow;
201  typedef std::tuple<Int64, Int64, Int64, Int64, double> StdDisturbanceRow;
202  class CBM_API DisturbanceRecord {
203  public:
204  DisturbanceRecord(Int64 locationId, Int64 distRecId, Int64 previousLocationId, double area);
206 
207  bool operator==(const DisturbanceRecord& other) const;
208  size_t hash() const;
209  DisturbanceRow asPersistable() const;
210  StdDisturbanceRow asTuple() const;
211  void merge(const DisturbanceRecord& other);
212  void setId(Int64 id) { _id = id; }
213  Int64 getId() const { return _id; }
214 
215  private:
216  mutable size_t _hash = -1;
217  Int64 _id;
218 
219  // Data
220  Int64 _locationId;
221  Int64 _distRecId;
223  double _area;
224  };
225 
226  // id, locn id, module id, dist record id, src pool id, dst pool id, flux value
227  typedef Poco::Tuple<Int64, Int64, Int64, Poco::Nullable<Int64>, Int64, Int64, double> FluxRow;
228  typedef std::tuple<Int64, Int64, Int64, std::optional<Int64>, Int64, Int64, double> StdFluxRow;
229  class CBM_API FluxRecord {
230  public:
231  FluxRecord(Int64 locationId, Int64 moduleId, Poco::Nullable<Int64> distId,
232  Int64 srcPoolId, Int64 dstPoolId, double flux);
233 
235 
236  bool operator==(const FluxRecord& other) const;
237  size_t hash() const;
238  FluxRow asPersistable() const;
239  StdFluxRow asTuple() const;
240  void merge(const FluxRecord& other);
241  void setId(Int64 id) { _id = id; }
242  Int64 getId() const { return _id; }
243 
244  private:
245  mutable size_t _hash = -1;
246  Int64 _id;
247 
248  // Data
249  Int64 _locationId;
250  Int64 _moduleId;
251  Poco::Nullable<Int64> _distId;
252  Int64 _srcPoolId;
253  Int64 _dstPoolId;
254  double _flux;
255  };
256 
257  // id, locn id, pool id, pool value
258  typedef Poco::Tuple<Int64, Int64, Int64, double> PoolRow;
259  typedef std::tuple<Int64, Int64, Int64, double> StdPoolRow;
260  class CBM_API PoolRecord {
261  public:
262  PoolRecord(Int64 locationId, Int64 poolId, double value);
264 
265  bool operator==(const PoolRecord& other) const;
266  size_t hash() const;
267  PoolRow asPersistable() const;
268  StdPoolRow asTuple() const;
269  void merge(const PoolRecord& other);
270  void setId(Int64 id) { _id = id; }
271  Int64 getId() const { return _id; }
272 
273  private:
274  mutable size_t _hash = -1;
275  Int64 _id;
276 
277  // Data
278  Int64 _locationId;
279  Int64 _poolId;
280  double _value;
281  };
282 
283  // id, module name, error message
284  typedef Poco::Tuple<Int64, std::string, std::string> ErrorRow;
285  typedef std::tuple<Int64, std::string, std::string> StdErrorRow;
286  class CBM_API ErrorRecord {
287  public:
288  ErrorRecord(std::string module, std::string error);
290 
291  bool operator==(const ErrorRecord& other) const;
292  size_t hash() const;
293  ErrorRow asPersistable() const;
294  StdErrorRow asTuple() const;
295  void merge(const ErrorRecord& other) {}
296  void setId(Int64 id) { _id = id; }
297  Int64 getId() const { return _id; }
298 
299  private:
300  mutable size_t _hash = -1;
301  Int64 _id;
302 
303  // Data
304  std::string _module;
305  std::string _error;
306  };
307 
308  // id, loc n, error id
309  typedef Poco::Tuple<Int64, Int64, Int64> LocationErrorRow;
310  typedef std::tuple<Int64, Int64, Int64> StdLocationErrorRow;
311  class CBM_API LocationErrorRecord {
312  public:
313  LocationErrorRecord(Int64 locationId, Int64 errorId);
315 
316  bool operator==(const LocationErrorRecord& other) const;
317  size_t hash() const;
318  LocationErrorRow asPersistable() const;
319  StdLocationErrorRow asTuple() const;
320  void merge(const LocationErrorRecord& other) {}
321  void setId(Int64 id) { _id = id; }
322  Int64 getId() const { return _id; }
323 
324  private:
325  mutable size_t _hash = -1;
326  Int64 _id;
327 
328  // Data
329  Int64 _locationId;
330  Int64 _errorId;
331  };
332 
333  // id, locn id, ageClassId, area
334  typedef Poco::Tuple<Int64, Int64, Int64, double> AgeAreaRow;
335  typedef std::tuple<Int64, Int64, Int64, double> StdAgeAreaRow;
336  class CBM_API AgeAreaRecord {
337  public:
338  AgeAreaRecord(Int64 locationId, Int64 ageClassId, double);
340 
341  bool operator==(const AgeAreaRecord& other) const;
342  size_t hash() const;
343  AgeAreaRow asPersistable() const;
344  StdAgeAreaRow asTuple() const;
345  void merge(const AgeAreaRecord& other);
346  void setId(Int64 id) { _id = id; }
347  Int64 getId() const { return _id; }
348 
349  private:
350  mutable size_t _hash = -1;
351  Int64 _id;
352 
353  // Data
354  Int64 _locationId;
355  Int64 _ageClassId;
356  double _area;
357  };
358 
359  typedef Poco::Tuple<Int64, Int64, Int64> AgeClassRow;
360  typedef std::tuple<Int64, Int64, Int64> StdAgeClassRow;
361  class CBM_API AgeClassRecord {
362  public:
363  AgeClassRecord(Int64 start_age, Int64 end_age);
365 
366  bool operator==(const AgeClassRecord& other) const;
367  size_t hash() const;
368  AgeClassRow asPersistable() const;
369  StdAgeClassRow asTuple() const;
370  void merge(const AgeClassRecord& other) {}
371  void setId(Int64 id) { _id = id; }
372  Int64 getId() const { return _id; }
373 
374  private:
375  mutable size_t _hash = -1;
376  Int64 _id;
377  Int64 _startAge;
378  Int64 _endAge;
379  };
380 }}} // namespace moja::modules::cbm
381 
382 #endif // MOJA_MODULES_CBM_RECORD_H_
moja::modules::cbm::TemporalLocationRecord::_id
Int64 _id
Definition: record.h:68
moja::modules::cbm::DisturbanceTypeRecord::~DisturbanceTypeRecord
~DisturbanceTypeRecord()
Definition: record.h:112
moja::modules::cbm::ClassifierSetRecord::_id
Int64 _id
Definition: record.h:193
moja::modules::cbm::ErrorRecord::_module
std::string _module
Definition: record.h:304
moja::modules::cbm::ModuleInfoRecord::~ModuleInfoRecord
~ModuleInfoRecord()
Definition: record.h:84
moja::modules::cbm::DateRecord::_year
int _year
Definition: record.h:41
moja::modules::cbm::FluxRecord::_moduleId
Int64 _moduleId
Definition: record.h:250
moja::modules::cbm::ModuleInfoRecord::merge
void merge(const ModuleInfoRecord &other)
Definition: record.h:90
moja::modules::cbm::FluxRecord::_id
Int64 _id
Definition: record.h:246
moja::modules::cbm::ClassifierSetRecord
Definition: record.h:179
moja::modules::cbm::LandClassRecord::~LandClassRecord
~LandClassRecord()
Definition: record.h:159
moja::modules::cbm::LandClassRecord::_id
Int64 _id
Definition: record.h:171
moja::modules::cbm::DisturbanceRecord::setId
void setId(Int64 id)
Definition: record.h:212
moja::modules::cbm::FluxRecord::_flux
double _flux
Definition: record.h:254
moja::modules::cbm::AgeAreaRecord::_ageClassId
Int64 _ageClassId
Definition: record.h:355
moja::modules::cbm::DateRecord::_id
Int64 _id
Definition: record.h:37
moja::modules::cbm::TemporalLocationRecord
Definition: record.h:51
moja::modules::cbm::TemporalLocationRecord::_ageClassId
Poco::Nullable< Int64 > _ageClassId
Definition: record.h:74
moja::modules::cbm::PoolRecord::~PoolRecord
~PoolRecord()
Definition: record.h:263
moja::modules::cbm
Definition: ageclasshelper.cpp:12
moja::modules::cbm::PoolRecord::_value
double _value
Definition: record.h:280
moja::modules::cbm::DisturbanceRecord::_distRecId
Int64 _distRecId
Definition: record.h:221
moja::modules::cbm::ErrorRecord::_error
std::string _error
Definition: record.h:305
moja::modules::cbm::ModuleInfoRecord::_moduleName
std::string _moduleName
Definition: record.h:103
moja::modules::cbm::ModuleInfoRecord::_id
Int64 _id
Definition: record.h:96
moja::modules::cbm::FluxRecord::~FluxRecord
~FluxRecord()
Definition: record.h:234
moja::modules::cbm::StdAgeAreaRow
std::tuple< Int64, Int64, Int64, double > StdAgeAreaRow
Definition: record.h:335
moja::modules::cbm::AgeClassRow
Poco::Tuple< Int64, Int64, Int64 > AgeClassRow
Definition: record.h:359
moja::modules::cbm::ModuleInfoRecord::getId
Int64 getId() const
Definition: record.h:92
moja::modules::cbm::StdDisturbanceRow
std::tuple< Int64, Int64, Int64, Int64, double > StdDisturbanceRow
Definition: record.h:201
moja::modules::cbm::AgeAreaRecord::_id
Int64 _id
Definition: record.h:351
moja::modules::cbm::FluxRecord::_distId
Poco::Nullable< Int64 > _distId
Definition: record.h:251
moja::modules::cbm::ModuleInfoRow
Poco::Tuple< Int64, int, int, int, int, std::string > ModuleInfoRow
Definition: record.h:79
moja::modules::cbm::LocationErrorRecord
Definition: record.h:311
moja::modules::cbm::ClassifierSetRecord::getId
Int64 getId() const
Definition: record.h:189
moja::modules::cbm::ErrorRecord::_id
Int64 _id
Definition: record.h:301
moja::modules::cbm::StdErrorRow
std::tuple< Int64, std::string, std::string > StdErrorRow
Definition: record.h:285
moja::modules::cbm::LocationErrorRecord::setId
void setId(Int64 id)
Definition: record.h:321
moja::modules::cbm::PoolInfoRecord::merge
void merge(const PoolInfoRecord &other)
Definition: record.h:141
moja::modules::cbm::DateRow
Poco::Tuple< Int64, int, int, int, int, double, double > DateRow
Definition: record.h:18
moja::modules::cbm::ClassifierSetRecord::setId
void setId(Int64 id)
Definition: record.h:188
moja::modules::cbm::StdDisturbanceTypeRow
std::tuple< Int64, int, std::string > StdDisturbanceTypeRow
Definition: record.h:108
moja::modules::cbm::StdFluxRow
std::tuple< Int64, Int64, Int64, std::optional< Int64 >, Int64, Int64, double > StdFluxRow
Definition: record.h:228
moja::modules::cbm::LandClassRecord
Definition: record.h:156
moja::modules::cbm::DisturbanceRecord::getId
Int64 getId() const
Definition: record.h:213
moja::modules::cbm::DateRecord::_yearsInStep
double _yearsInStep
Definition: record.h:45
moja::modules::cbm::PoolInfoRecord
Definition: record.h:133
moja::modules::cbm::FluxRecord::_locationId
Int64 _locationId
Definition: record.h:249
moja::modules::cbm::PoolInfoRecord::~PoolInfoRecord
~PoolInfoRecord()
Definition: record.h:136
moja::modules::cbm::StdLandClassRow
std::tuple< Int64, std::string > StdLandClassRow
Definition: record.h:155
moja::modules::cbm::DateRecord
Definition: record.h:20
moja::modules::cbm::AgeAreaRecord::_locationId
Int64 _locationId
Definition: record.h:354
moja::modules::cbm::PoolRecord
Definition: record.h:260
moja::modules::cbm::AgeClassRecord::_startAge
Int64 _startAge
Definition: record.h:377
moja::modules::cbm::AgeAreaRecord::setId
void setId(Int64 id)
Definition: record.h:346
moja::modules::cbm::LocationErrorRecord::_id
Int64 _id
Definition: record.h:326
moja::modules::cbm::ErrorRecord::setId
void setId(Int64 id)
Definition: record.h:296
moja::modules::cbm::DisturbanceTypeRecord::setId
void setId(Int64 id)
Definition: record.h:119
moja::modules::cbm::TemporalLocationRecord::_dateId
Int64 _dateId
Definition: record.h:72
moja::modules::cbm::PoolInfoRecord::setId
void setId(Int64 id)
Definition: record.h:142
moja::modules::cbm::LocationErrorRecord::_errorId
Int64 _errorId
Definition: record.h:330
moja::modules::cbm::ClassifierSetRecord::_classifierValues
std::vector< Poco::Nullable< std::string > > _classifierValues
Definition: record.h:196
moja::modules::cbm::TemporalLocationRow
Poco::Tuple< Int64, Int64, Int64, Int64, Poco::Nullable< Int64 >, double > TemporalLocationRow
Definition: record.h:49
moja::modules::cbm::LandClassRow
Poco::Tuple< Int64, std::string > LandClassRow
Definition: record.h:154
moja::modules::cbm::FluxRecord
Definition: record.h:229
moja::modules::cbm::StdModuleInfoRow
std::tuple< Int64, int, int, int, int, std::string > StdModuleInfoRow
Definition: record.h:80
moja::modules::cbm::LocationErrorRecord::merge
void merge(const LocationErrorRecord &other)
Definition: record.h:320
moja::modules::cbm::TemporalLocationRecord::setId
void setId(Int64 id)
Definition: record.h:63
moja::modules::cbm::ClassifierSetRecord::merge
void merge(const ClassifierSetRecord &other)
Definition: record.h:187
moja::modules::cbm::PoolRecord::setId
void setId(Int64 id)
Definition: record.h:270
moja::modules::cbm::PoolInfoRecord::_id
Int64 _id
Definition: record.h:147
moja::modules::cbm::FluxRecord::setId
void setId(Int64 id)
Definition: record.h:241
moja::modules::cbm::ErrorRecord::~ErrorRecord
~ErrorRecord()
Definition: record.h:289
moja::modules::cbm::LandClassRecord::setId
void setId(Int64 id)
Definition: record.h:166
moja::modules::cbm::AgeAreaRecord::~AgeAreaRecord
~AgeAreaRecord()
Definition: record.h:339
moja::modules::cbm::LocationErrorRow
Poco::Tuple< Int64, Int64, Int64 > LocationErrorRow
Definition: record.h:309
moja::modules::cbm::PoolRecord::getId
Int64 getId() const
Definition: record.h:271
moja::modules::cbm::DateRecord::_month
int _month
Definition: record.h:42
moja::modules::cbm::ModuleInfoRecord::_libType
int _libType
Definition: record.h:99
moja::modules::cbm::TemporalLocationRecord::~TemporalLocationRecord
~TemporalLocationRecord()
Definition: record.h:56
moja::modules::cbm::AgeAreaRecord::getId
Int64 getId() const
Definition: record.h:347
moja::modules::cbm::StdLocationErrorRow
std::tuple< Int64, Int64, Int64 > StdLocationErrorRow
Definition: record.h:310
moja::modules::cbm::DateRecord::_day
int _day
Definition: record.h:43
moja::modules::cbm::PoolInfoRecord::getId
Int64 getId() const
Definition: record.h:143
moja::modules::cbm::LandClassRecord::getId
Int64 getId() const
Definition: record.h:167
moja::modules::cbm::FluxRecord::_srcPoolId
Int64 _srcPoolId
Definition: record.h:252
moja::modules::cbm::ErrorRecord::getId
Int64 getId() const
Definition: record.h:297
moja::modules::cbm::StdTemporalLocationRow
std::tuple< Int64, Int64, Int64, Int64, std::optional< Int64 >, double > StdTemporalLocationRow
Definition: record.h:50
moja::modules::cbm::AgeAreaRecord
Definition: record.h:336
moja::modules::cbm::FluxRecord::_dstPoolId
Int64 _dstPoolId
Definition: record.h:253
moja::modules::cbm::AgeClassRecord
Definition: record.h:361
moja::modules::cbm::AgeAreaRecord::_area
double _area
Definition: record.h:356
moja::modules::cbm::ModuleInfoRecord::_moduleId
int _moduleId
Definition: record.h:102
moja::modules::cbm::DisturbanceTypeRecord::_distTypeName
std::string _distTypeName
Definition: record.h:128
moja::modules::cbm::ClassifierSetRecord::~ClassifierSetRecord
~ClassifierSetRecord()
Definition: record.h:182
moja::modules::cbm::DateRecord::merge
void merge(const DateRecord &other)
Definition: record.h:31
moja::modules::cbm::DisturbanceRow
Poco::Tuple< Int64, Int64, Int64, Int64, double > DisturbanceRow
Definition: record.h:200
moja::modules::cbm::ErrorRecord::merge
void merge(const ErrorRecord &other)
Definition: record.h:295
moja::modules::cbm::PoolRecord::_locationId
Int64 _locationId
Definition: record.h:278
moja::modules::cbm::ErrorRow
Poco::Tuple< Int64, std::string, std::string > ErrorRow
Definition: record.h:284
moja::modules::cbm::AgeClassRecord::setId
void setId(Int64 id)
Definition: record.h:371
moja::modules::cbm::LocationErrorRecord::_locationId
Int64 _locationId
Definition: record.h:329
moja::modules::cbm::AgeClassRecord::_id
Int64 _id
Definition: record.h:376
moja::modules::cbm::DisturbanceTypeRecord::merge
void merge(const DisturbanceTypeRecord &other)
Definition: record.h:118
moja::modules::cbm::StdPoolRow
std::tuple< Int64, Int64, Int64, double > StdPoolRow
Definition: record.h:259
moja::modules::cbm::PoolRecord::_poolId
Int64 _poolId
Definition: record.h:279
moja::modules::cbm::PoolRecord::_id
Int64 _id
Definition: record.h:275
moja::modules::cbm::LocationErrorRecord::getId
Int64 getId() const
Definition: record.h:322
moja::modules::cbm::AgeClassRecord::_endAge
Int64 _endAge
Definition: record.h:378
moja::modules::cbm::DisturbanceTypeRecord
Definition: record.h:109
moja::modules::cbm::PoolInfoRecord::_name
std::string _name
Definition: record.h:150
moja::modules::cbm::TemporalLocationRecord::_landClassId
Int64 _landClassId
Definition: record.h:73
moja::modules::cbm::DateRecord::setId
void setId(Int64 id)
Definition: record.h:32
moja::modules::cbm::DisturbanceRecord::_id
Int64 _id
Definition: record.h:217
moja::modules::cbm::DisturbanceRecord::_area
double _area
Definition: record.h:223
moja::modules::cbm::DisturbanceTypeRecord::_distTypeCode
int _distTypeCode
Definition: record.h:127
moja::modules::cbm::FluxRecord::getId
Int64 getId() const
Definition: record.h:242
moja::modules::cbm::TemporalLocationRecord::getId
Int64 getId() const
Definition: record.h:64
moja::modules::cbm::DisturbanceRecord::~DisturbanceRecord
~DisturbanceRecord()
Definition: record.h:205
moja::modules::cbm::DisturbanceTypeRow
Poco::Tuple< Int64, int, std::string > DisturbanceTypeRow
Definition: record.h:107
moja::modules::cbm::LandClassRecord::merge
void merge(const LandClassRecord &other)
Definition: record.h:165
moja::modules::cbm::ClassifierSetRow
Poco::Tuple< Int64, std::vector< Poco::Nullable< std::string > > > ClassifierSetRow
Definition: record.h:178
moja::modules::cbm::DateRecord::~DateRecord
~DateRecord()
Definition: record.h:25
moja::modules::cbm::AgeClassRecord::merge
void merge(const AgeClassRecord &other)
Definition: record.h:370
moja::modules::cbm::AgeClassRecord::getId
Int64 getId() const
Definition: record.h:372
moja::modules::cbm::DisturbanceTypeRecord::_id
Int64 _id
Definition: record.h:124
moja::modules::cbm::DisturbanceRecord::_locationId
Int64 _locationId
Definition: record.h:220
moja::modules::cbm::TemporalLocationRecord::_area
double _area
Definition: record.h:75
moja::modules::cbm::DateRecord::getId
Int64 getId() const
Definition: record.h:33
moja::modules::cbm::AgeAreaRow
Poco::Tuple< Int64, Int64, Int64, double > AgeAreaRow
Definition: record.h:334
moja::modules::cbm::PoolRow
Poco::Tuple< Int64, Int64, Int64, double > PoolRow
Definition: record.h:258
moja::modules::cbm::ModuleInfoRecord::_libInfoId
int _libInfoId
Definition: record.h:100
moja::modules::cbm::ModuleInfoRecord::_moduleType
int _moduleType
Definition: record.h:101
moja::modules::cbm::ErrorRecord
Definition: record.h:286
moja::modules::cbm::LocationErrorRecord::~LocationErrorRecord
~LocationErrorRecord()
Definition: record.h:314
moja::modules::cbm::DisturbanceTypeRecord::getId
Int64 getId() const
Definition: record.h:120
moja::modules::cbm::DisturbanceRecord::_previousLocationId
Int64 _previousLocationId
Definition: record.h:222
moja
Definition: ageclasshelper.cpp:10
moja::modules::cbm::LandClassRecord::_name
std::string _name
Definition: record.h:174
moja::modules::cbm::TemporalLocationRecord::_classifierSetId
Int64 _classifierSetId
Definition: record.h:71
moja::modules::cbm::StdDateRow
std::tuple< Int64, int, int, int, int, double, double > StdDateRow
Definition: record.h:19
moja::modules::cbm::DateRecord::_step
int _step
Definition: record.h:40
moja::modules::cbm::StdAgeClassRow
std::tuple< Int64, Int64, Int64 > StdAgeClassRow
Definition: record.h:360
moja::modules::cbm::PoolInfoRow
Poco::Tuple< Int64, std::string > PoolInfoRow
Definition: record.h:132
moja::modules::cbm::AgeClassRecord::~AgeClassRecord
~AgeClassRecord()
Definition: record.h:364
moja::modules::cbm::ModuleInfoRecord
Definition: record.h:81
moja::modules::cbm::DateRecord::_fracOfStep
double _fracOfStep
Definition: record.h:44
moja::modules::cbm::FluxRow
Poco::Tuple< Int64, Int64, Int64, Poco::Nullable< Int64 >, Int64, Int64, double > FluxRow
Definition: record.h:227
moja::modules::cbm::ModuleInfoRecord::setId
void setId(Int64 id)
Definition: record.h:91
moja::modules::cbm::DisturbanceRecord
Definition: record.h:202