8#ifndef FMTGCBMTRANSITION_H_INCLUDED
9#define FMTGCBMTRANSITION_H_INCLUDED
13#include <boost/serialization/string.hpp>
14#include <boost/serialization/serialization.hpp>
15#include <boost/serialization/export.hpp>
33 friend class boost::serialization::access;
34 template<
class Archive>
35 void serialize(Archive& ar,
const unsigned int version)
37 ar & BOOST_SERIALIZATION_NVP(ageafter);
38 ar & BOOST_SERIALIZATION_NVP(themes);
39 ar & BOOST_SERIALIZATION_NVP(name);
47 std::map<std::string, std::string>
themes;
60 FMTGCBMtransition(
const int& lageafter,
const std::map<std::string, std::string>& lthemes,
const std::string& lname);
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTGCBMtransition.hpp:28
FMTGCBMtransition(const int &lageafter, const std::map< std::string, std::string > <hemes, const std::string &lname)
~FMTGCBMtransition()=default
FMTGCBMtransition(const FMTGCBMtransition &rhs)
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.hpp:47
int ageafter
Describe the age set on the strata after the disturbance.
Definition: FMTGCBMtransition.hpp:44
std::string name
The name of the GCBM transition.
Definition: FMTGCBMtransition.hpp:50
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTaction.hpp:31