FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTyieldrequest.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
9
10#include "FMTobject.hpp"
11#include "FMTmask.hpp"
12
13
14namespace Graph
15{
16 class FMTgraphvertextoyield;
17}
18
19
20
21#ifndef FMTYIELDREQUEST_H_INCLUDED
22#define FMTYIELDREQUEST_H_INCLUDED
23
24namespace Core
25{
26 class FMTdevelopment;
27 class FMTyieldhandler;
28 class FMTyields;
29 // DocString: FMTyieldrequest
35 class FMTyieldrequest final : public FMTobject
36 {
37 friend class FMTyields;
38 mutable std::vector<const std::unique_ptr<FMTyieldhandler>*> datas;
39 mutable FMTmask resume_mask;
40 FMTdevelopment const* development;
41 Graph::FMTgraphvertextoyield const* graphvertex;
42 private:
43 void updatedata(const FMTyields& yields) const;
44 public:
45 FMTyieldrequest(const FMTdevelopment& ldevelopment,
46 const Graph::FMTgraphvertextoyield& lgraphvertex);
47 FMTyieldrequest(const FMTdevelopment& ldevelopment,
48 const FMTyieldrequest& oldrequest);
49 FMTyieldrequest(const FMTdevelopment& ldevelopment);
50 FMTyieldrequest() = default;
51 FMTyieldrequest(const FMTyieldrequest& rhs) = default;
54 const std::vector<const std::unique_ptr<FMTyieldhandler>*>&getdatas() const;
57 };
58
59
60
61}
62
63
64#endif // FMTYLD_H_INCLUDED
Definition: FMTdevelopment.hpp:44
Definition: FMTmask.hpp:96
Definition: FMTobject.hpp:50
Definition: FMTyieldrequest.hpp:36
FMTyieldrequest(const FMTdevelopment &ldevelopment)
FMTyieldrequest(const FMTdevelopment &ldevelopment, const FMTyieldrequest &oldrequest)
FMTyieldrequest(const FMTdevelopment &ldevelopment, const Graph::FMTgraphvertextoyield &lgraphvertex)
const Core::FMTmask & getresumemask() const
FMTyieldrequest(const FMTyieldrequest &rhs)=default
FMTyieldrequest & operator=(const FMTyieldrequest &rhs)=default
const Graph::FMTgraphvertextoyield * getvertexgraphinfo() const
const std::vector< const std::unique_ptr< FMTyieldhandler > * > & getdatas() const
const FMTdevelopment & getdevelopment() const
Definition: FMTyields.hpp:40
Definition: FMTgraphvertextoyield.hpp:27
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTaction.hpp:31
Namespace for using/building unidirectional graphs in FMT.
Definition: FMTareaparser.hpp:31