8#ifndef FMTMASKTRAN_H_INCLUDED
9#define FMTMASKTRAN_H_INCLUDED
14#include <boost/serialization/serialization.hpp>
30 friend class boost::serialization::access;
31 template<
class Archive>
32 void serialize(Archive& ar,
const unsigned int version)
34 ar & boost::serialization::make_nvp(
"maskfilter", boost::serialization::base_object<FMTmaskfilter>(*
this));
35 ar & boost::serialization::make_nvp(
"specification", boost::serialization::base_object<FMTspec>(*
this));
36 ar & BOOST_SERIALIZATION_NVP(mask);
37 ar & BOOST_SERIALIZATION_NVP(proportion);
41 void build(
const std::string& lmask,
const std::vector<FMTtheme>& themes);
46 const double& lproportion);
52 const std::vector<FMTtheme>& themes,
const bool& reset_age)
const;
53 std::map<std::string, std::string>
get(
const std::vector<FMTtheme>& themes)
const;
60 operator std::string()
const override;
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTdevelopment.hpp:44
Definition: FMTmask.hpp:96
Definition: FMTmaskfilter.hpp:27
Definition: FMTbounds.hpp:342
Definition: FMTtransitionmask.hpp:29
FMTtransitionmask(const FMTtransitionmask &rhs, const FMTmask &lmask, const std::vector< FMTtheme > &themes)
void setproportion(double newproportion)
FMTtransitionmask(const FMTtransitionmask &rhs)
FMTtransitionmask(const std::string &lmask, const std::vector< FMTtheme > &themes, const double &lproportion)
double getproportion() const
void setmask(const Core::FMTmask &mtmask)
std::map< std::string, std::string > get(const std::vector< FMTtheme > &themes) const
FMTdevelopment disturb(const Core::FMTdevelopment &dev, const FMTyields &yields, const std::vector< FMTtheme > &themes, const bool &reset_age) const
FMTtransitionmask presolve(const FMTmaskfilter &filter, const std::vector< FMTtheme > &presolvedthemes) const
~FMTtransitionmask()=default
FMTmask trans(const FMTmask &basemask) const
Definition: FMTyields.hpp:40
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTaction.hpp:31