8#ifndef FMTGCBMTRANSITION_Hm_included
9#define FMTGCBMTRANSITION_Hm_included
13#include <boost/serialization/string.hpp>
14#include <boost/serialization/serialization.hpp>
15#include <boost/serialization/export.hpp>
35 friend class boost::serialization::access;
36 template<
class Archive>
37 void serialize(Archive& ar,
const unsigned int version)
39 ar & BOOST_SERIALIZATION_NVP(ageafter);
40 ar & BOOST_SERIALIZATION_NVP(themes);
41 ar & BOOST_SERIALIZATION_NVP(name);
49 std::map<std::string, std::string>
themes;
65 FMTGCBMTransition(
const int& lageafter,
const std::map<std::string, std::string>& lthemes,
const std::string& lname);
#define FMTEXPORT
Definition: FMTutility.h:125
Simple container for a GCBM transition, only useful when working with GCBM.
Definition: FMTGCBMTransition.h:27
~FMTGCBMTransition()=default
Default destructor for FMTGCBMTransition.
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.
std::string name
The name of the GCBM transition.
Definition: FMTGCBMTransition.h:52
FMTGCBMTransition(const FMTGCBMTransition &rhs)
Copy constructor for FMTGCBMTransition.
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.
Definition: FMTGCBMTransition.h:49
int ageafter
Describe the age set on the strata after the disturbance.
Definition: FMTGCBMTransition.h:46
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34