8#ifndef FMTLIF_Hm_included
9#define FMTLIF_Hm_included
12#include <boost/serialization/serialization.hpp>
13#include <boost/serialization/nvp.hpp>
14#include <boost/serialization/export.hpp>
31 friend class boost::serialization::access;
32 template<
class Archive>
33 void serialize(Archive& ar,
const unsigned int version)
35 ar & boost::serialization::make_nvp(
"data", boost::serialization::base_object<
FMTList<int>>(*
this));
86 operator std::string()
const;
102 const std::vector<FMTTheme>& originalthemes,
103 std::vector<FMTTheme>& newthemes,
bool compressdata=
false)
const;
#define FMTEXPORT
Definition: FMTutility.h:125
List holding the maximum age of aggregates of developments.
Definition: FMTLifespans.h:23
FMTLifespans()
Default constructor for FMTLifespans.
FMTLifespans preSolve(const FMTMaskFilter &filter, const std::vector< FMTTheme > &originalthemes, std::vector< FMTTheme > &newthemes, bool compressdata=false) const
Presolve the lifespans by eliminating list elements and presolving the masks.
void update() override
Override the FMTList update function, to be called after any change to the list.
FMTLifespans(const FMTLifespans &rhs)
Copy constructor for FMTLifespans.
void swap(FMTLifespans &rhs)
Swap this FMTLifespans with another.
~FMTLifespans()=default
Default destructor for FMTLifespans.
Definition: FMTAreaParser.h:32
Filter built from masks used to preSolve and postsolve FMTMask objects.
Definition: FMTMaskFilter.h:31
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34