GCBM
peatlandparameters.h
Go to the documentation of this file.
1 #ifndef MOJA_MODULES_CBM_PLPARAS_H_
2 #define MOJA_MODULES_CBM_PLPARAS_H_
3 
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/flint/modulebase.h"
6 
7 namespace moja {
8 namespace modules {
9 namespace cbm {
10 
11  enum class PeatlandType { Bog = 1, PoolFen, RichFen, Swamp };
12  enum class PeatlandLandCoverType { Open = 1, Treed, Forested };
13 
14 
15  class CBM_API PeatlandParameters {
16  public:
17  int spuId() const { return _spuId; }
18  PeatlandType peatlandType() const { return _peatlandType; }
19  PeatlandLandCoverType peatlandTreeClassifier() const { return _landCoverType; }
20 
21 
26  PeatlandParameters(int _spuId, PeatlandType _peatlandType, PeatlandLandCoverType _landCoverType);
27 
28  virtual void setValue(const DynamicObject& data) = 0;
29 
30  private:
31  int _spuId;
34  };
35 
36 }}}
37 #endif
moja::modules::cbm
Definition: ageclasshelper.cpp:12
moja::modules::cbm::PeatlandLandCoverType::Open
@ Open
moja::modules::cbm::PeatlandType::RichFen
@ RichFen
moja::modules::cbm::PeatlandLandCoverType::Forested
@ Forested
moja::modules::cbm::PeatlandParameters::peatlandType
PeatlandType peatlandType() const
Definition: peatlandparameters.h:18
moja::modules::cbm::PeatlandParameters::_landCoverType
PeatlandLandCoverType _landCoverType
Definition: peatlandparameters.h:33
moja::modules::cbm::PeatlandParameters::peatlandTreeClassifier
PeatlandLandCoverType peatlandTreeClassifier() const
Definition: peatlandparameters.h:19
moja::modules::cbm::PeatlandParameters
Definition: peatlandparameters.h:15
moja::modules::cbm::PeatlandParameters::PeatlandParameters
PeatlandParameters()
Default constructor
Definition: peatlandparameters.h:25
moja::modules::cbm::PeatlandParameters::spuId
int spuId() const
Definition: peatlandparameters.h:17
moja::modules::cbm::PeatlandLandCoverType::Treed
@ Treed
moja::modules::cbm::PeatlandLandCoverType
PeatlandLandCoverType
Definition: peatlandparameters.h:12
moja::modules::cbm::PeatlandType
PeatlandType
Definition: peatlandparameters.h:11
moja::modules::cbm::PeatlandParameters::_peatlandType
PeatlandType _peatlandType
Definition: peatlandparameters.h:32
moja::modules::cbm::PeatlandType::PoolFen
@ PoolFen
moja::modules::cbm::PeatlandType::Bog
@ Bog
moja::modules::cbm::PeatlandType::Swamp
@ Swamp
moja
Definition: ageclasshelper.cpp:10
moja::modules::cbm::PeatlandParameters::_spuId
int _spuId
Definition: peatlandparameters.h:31