GCBM
moja.modules.cbm
include
moja
modules
cbm
treespecies.h
Go to the documentation of this file.
1
#ifndef MOJA_MODULES_CBM_TREESPECIES_H_
2
#define MOJA_MODULES_CBM_TREESPECIES_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
14
enum class
SpeciesType
{
Softwood
= 1,
Hardwood
};
15
16
class
CBM_API
TreeSpecies
{
17
public
:
18
TreeSpecies
() {}
19
virtual
~TreeSpecies
() {}
20
21
TreeSpecies
(
int
speciesID,
SpeciesType
speciesType);
22
23
int
speciesID()
const
;
24
SpeciesType
speciesType()
const
;
25
26
private
:
27
int
_speciesID = 0;
28
SpeciesType
_speciesType =
SpeciesType::Softwood
;
29
};
30
31
}}}
32
#endif
moja::modules::cbm::TreeSpecies
Definition:
treespecies.h:16
moja::modules::cbm
Definition:
ageclasshelper.cpp:12
moja::modules::cbm::TreeSpecies::TreeSpecies
TreeSpecies()
Definition:
treespecies.h:18
moja::modules::cbm::SpeciesType
SpeciesType
Enumeration of tree species type, softwood or hardwood.
Definition:
treespecies.h:14
moja::modules::cbm::SpeciesType::Hardwood
@ Hardwood
moja::modules::cbm::SpeciesType::Softwood
@ Softwood
moja
Definition:
ageclasshelper.cpp:10
moja::modules::cbm::TreeSpecies::~TreeSpecies
virtual ~TreeSpecies()
Definition:
treespecies.h:19
Generated by
1.8.17