FMT 1.2.0
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTutility.h
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 FMTUTILS_Hm_included
9#define FMTUTILS_Hm_included
10
11#define FMT_DBL_TOLERANCE 1.e-08
12#define FMT_STR_SEPARATOR "\t "
13#include <string>
14
15namespace Core
16{
17// DocString: FMToutputlevel
22 {
26 };
27// DocString: FMTsection
32 {
36 Action = 4,
38 Yield = 6,
44 Empty=12
45 };
46
47// DocString: FMTkwor
51enum class FMTkwor
52 {
53 Source =1,
54 Target =2
55 };
56
57// DocString: FMTyldtype
62 {
66 FMTmodelyld = 4
67 };
68
69// DocString: FMTyieldparserop
74 {
75 FMTnone = 0,
76 FMTrange = 1,
77 FMTmultiply = 2,
78 FMTsum = 3,
79 FMTsubstract = 4,
80 FMTytp = 5,
81 FMTmai = 6,
82 FMTcai= 7,
83 FMTdivide= 8,
84 FMTequation = 9,
85 FMTendpoint = 10,
87 FMTdelta = 12,
88 FMTmodelpred = 13,
89 FMTdistance = 14,
90 FMTmax = 15,
91 FMTmin = 16,
92 FMTShift = 17,
93 COUNT = 18
94 };
95
96// DocString: FMTotar
101 {
104 val = 3,
106 level = 5
107 };
108
109// DocString: FMTsection_str
115const char* FMTsection_str(FMTsection section);
116
117#ifndef FMTEXPORT
118#if defined FMTSHAREDLIB && _MSC_VER
119#define FMTEXPORT __declspec(dllexport)
120#elif defined FMTSHAREDLIB
121#define FMTEXPORT __attribute__ ((dllexport))
122#elif defined FMTLIBIMPORT && _MSC_VER
123#define FMTEXPORT __declspec(dllimport)
124#else
125#define FMTEXPORT
126#endif
127#endif
128}
129
130namespace boost
131{
132 namespace serialization
133 {
134 class access;
135 }
136}
137
138
139
140#endif // FMTUTILS_Hm_included
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34
FMTsection
Enumerator describing the sections of a Woodstock model.
Definition: FMTutility.h:32
@ Control
Definition: FMTutility.h:33
@ Constants
Definition: FMTutility.h:41
@ Area
Definition: FMTutility.h:35
@ Outputs
Definition: FMTutility.h:39
@ Optimize
Definition: FMTutility.h:40
@ Landscape
Definition: FMTutility.h:34
@ Schedule
Definition: FMTutility.h:42
@ Action
Definition: FMTutility.h:36
@ Transition
Definition: FMTutility.h:37
@ Empty
Definition: FMTutility.h:44
@ Yield
Definition: FMTutility.h:38
@ Lifespan
Definition: FMTutility.h:43
FMTyldtype
Enumerator describing the type of a yield (age, time, complex, model).
Definition: FMTutility.h:62
@ FMTmodelyld
Definition: FMTutility.h:66
@ FMTcomplexyld
Definition: FMTutility.h:65
@ FMTageyld
Definition: FMTutility.h:63
@ FMTtimeyld
Definition: FMTutility.h:64
FMTkwor
Enumerator describing the source or target keyword of a transition.
Definition: FMTutility.h:52
FMTyieldparserop
Enumerator describing the operators usable in the yield section.
Definition: FMTutility.h:74
FMToutputlevel
Enumerator describing the level of detail of an output (standard, total only, development).
Definition: FMTutility.h:22
@ developpement
Definition: FMTutility.h:25
@ totalonly
Definition: FMTutility.h:24
@ standard
Definition: FMTutility.h:23
FMTotar
Enumerator describing the target of an output (inventory, actual, value, time yield,...
Definition: FMTutility.h:101
@ actual
Definition: FMTutility.h:103
@ val
Definition: FMTutility.h:104
@ level
Definition: FMTutility.h:106
@ timeyld
Definition: FMTutility.h:105
@ inventory
Definition: FMTutility.h:102
const char * FMTsection_str(FMTsection section)
Return the string representation of a section.
Definition: FMTAction.h:463