FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTfuturdevelopment.hpp
Go to the documentation of this file.
1/*
2Copyright (c) 2019 Gouvernement du Québec
3
4SPDX-License-Identifier: LiLiQ-R-1.1
5License-Filename: LICENSES/EN/LiLiQ-R11unicode.txt
6*/
7
8#ifndef FMTfuturdevelopment_H_INCLUDED
9#define FMTfuturdevelopment_H_INCLUDED
10
11#include "FMTdevelopment.hpp"
12#include <boost/serialization/serialization.hpp>
13#include <memory>
14#include <boost/serialization/export.hpp>
15
16namespace Core
17{
18 // DocString: FMTfuturdevelopment
24 {
25 // DocString: FMTfuturdevelopment::serialize
29 friend class boost::serialization::access;
30 template<class Archive>
31 void serialize(Archive& ar, const unsigned int version)
32 {
33 try {
34 ar & boost::serialization::make_nvp("development", boost::serialization::base_object<FMTdevelopment>(*this));
35 }catch (...)
36 {
37 _exhandler->printexceptions("", "FMTfuturdevelopment::serialize", __LINE__, __FILE__);
38 }
39 }
40 public:
41 // DocString: FMTfuturdevelopment()
46 // DocString: ~FMTfuturdevelopment()
51 // DocString: FMTfuturdevelopment(const FMTdevelopment&)
56 // DocString: FMTfuturdevelopment(const FMTfuturdevelopment&)
61 // DocString: FMTfuturdevelopment::operator==
65 bool operator == (const FMTfuturdevelopment& rhs) const;
66 // DocString: FMTfuturdevelopment::operator=
70 FMTfuturdevelopment& operator = (const FMTfuturdevelopment& rhs);
71 // DocString: FMTfuturdevelopment::operator=
75 std::unique_ptr<FMTdevelopment> Clone() const override;
76 // DocString: FMTfuturdevelopment::getarea
80 double getarea() const override;
81
82 };
83}
84
85BOOST_CLASS_EXPORT_KEY(Core::FMTfuturdevelopment)
86#endif // FMTDEV_H_INCLUDED
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTdevelopment.hpp:44
Definition: FMTfuturdevelopment.hpp:24
double getarea() const override
FMTfuturdevelopment(const FMTfuturdevelopment &rhs)
std::unique_ptr< FMTdevelopment > Clone() const override
FMTfuturdevelopment(const FMTdevelopment &dev)
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTaction.hpp:31