![]() |
FMT 1.2.0
Forest management tools for forest planning
|
Simple container for a GCBM transition, only useful when working with GCBM. More...
#include <FMTGCBMTransition.h>
Public Member Functions | |
| FMTGCBMTransition () | |
| Default constructor for FMTGCBMTransition. | |
| FMTGCBMTransition (const int &lageafter, const std::map< std::string, std::string > <hemes, const std::string &lname) | |
| Construct a GCBM transition from the age after, the themes and the name. | |
| FMTGCBMTransition (const FMTGCBMTransition &rhs) | |
| Copy constructor for FMTGCBMTransition. | |
| FMTGCBMTransition & | operator= (const FMTGCBMTransition &rhs) |
| Copy assignment operator for FMTGCBMTransition. | |
| bool | operator== (const FMTGCBMTransition &rhs) const |
| Equality comparison operator of FMTGCBMTransition. | |
| bool | operator!= (const FMTGCBMTransition &rhs) const |
| Inequality comparison operator of FMTGCBMTransition. | |
| ~FMTGCBMTransition ()=default | |
| Default destructor for FMTGCBMTransition. | |
Public Attributes | |
| int | ageafter |
| Describe the age set on the strata after the disturbance. | |
| std::map< std::string, std::string > | themes |
| Map where's the key is the theme name and the element is the new attribute set after the transition. | |
| std::string | name |
| The name of the GCBM transition. | |
Friends | |
| class | boost::serialization::access |
| Serialize the FMTGCBMTransition for multiprocessing across multiple cpus (pickle in Python). | |
Simple container for a GCBM transition, only useful when working with GCBM.
| Core::FMTGCBMTransition::FMTGCBMTransition | ( | ) |
Default constructor for FMTGCBMTransition.
| Core::FMTGCBMTransition::FMTGCBMTransition | ( | const int & | lageafter, |
| const std::map< std::string, std::string > & | lthemes, | ||
| const std::string & | lname | ||
| ) |
Construct a GCBM transition from the age after, the themes and the name.
| [in] | lageafter | the age set on the strata after the disturbance. |
| [in] | lthemes | the map of theme name to new attribute. |
| [in] | lname | the name of the transition. |
| Core::FMTGCBMTransition::FMTGCBMTransition | ( | const FMTGCBMTransition & | rhs | ) |
Copy constructor for FMTGCBMTransition.
| [in] | rhs | the FMTGCBMTransition to copy. |
|
default |
Default destructor for FMTGCBMTransition.
| bool Core::FMTGCBMTransition::operator!= | ( | const FMTGCBMTransition & | rhs | ) | const |
Inequality comparison operator of FMTGCBMTransition.
| [in] | rhs | the transition to compare with. |
| FMTGCBMTransition & Core::FMTGCBMTransition::operator= | ( | const FMTGCBMTransition & | rhs | ) |
Copy assignment operator for FMTGCBMTransition.
| [in] | rhs | the FMTGCBMTransition to copy. |
| bool Core::FMTGCBMTransition::operator== | ( | const FMTGCBMTransition & | rhs | ) | const |
Equality comparison operator of FMTGCBMTransition.
| [in] | rhs | the transition to compare with. |
|
friend |
Serialize the FMTGCBMTransition for multiprocessing across multiple cpus (pickle in Python).
| Archive | the archive type. |
| [in,out] | ar | the archive to serialize to or from. |
| [in] | version | the serialization version. |
| int Core::FMTGCBMTransition::ageafter |
Describe the age set on the strata after the disturbance.
| std::string Core::FMTGCBMTransition::name |
The name of the GCBM transition.
| std::map<std::string, std::string> Core::FMTGCBMTransition::themes |
Map where's the key is the theme name and the element is the new attribute set after the transition.