8#ifndef FMTfuturdevelopment_Hm_included
9#define FMTfuturdevelopment_Hm_included
12#include <boost/serialization/serialization.hpp>
14#include <boost/serialization/export.hpp>
79 std::unique_ptr<FMTDevelopment>
clone()
const override;
94 friend class boost::serialization::access;
95 template<
class Archive>
96 void serialize(Archive& ar,
const unsigned int version)
99 ar& boost::serialization::make_nvp(
"development", boost::serialization::base_object<FMTDevelopment>(*
this));
103 _exhandler->printExceptions(
"",
"FMTFuturDevelopment::serialize", __LINE__, __FILE__);
#define FMTEXPORT
Definition: FMTutility.h:125
Base class of FMTActualDevelopment and FMTFuturDevelopment representing a forest stand.
Definition: FMTDevelopment.h:44
Child class of FMTDevelopment representing a future stand generated by growth or transition,...
Definition: FMTFuturDevelopment.h:23
std::unique_ptr< FMTDevelopment > clone() const override
Return a unique pointer of FMTDevelopment cloning the future development.
FMTFuturDevelopment(const FMTDevelopment &dev)
Construct a future development from a development.
FMTFuturDevelopment & operator=(FMTFuturDevelopment &&rhs)
Move assignment operator for FMTFuturDevelopment.
FMTFuturDevelopment(const FMTFuturDevelopment &rhs)
Copy constructor for FMTFuturDevelopment.
FMTFuturDevelopment()
Default constructor for FMTFuturDevelopment.
FMTFuturDevelopment(FMTFuturDevelopment &&rhs)
Move copy constructor.
double getArea() const override
Return the area of the future development, which is 0.
~FMTFuturDevelopment()=default
Default destructor for FMTFuturDevelopment.
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34