FMT
0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Include
FMTfunctioncall.hpp
Go to the documentation of this file.
1
/*
2
Copyright (c) 2019 Gouvernement du Québec
3
4
SPDX-License-Identifier: LiLiQ-R-1.1
5
License-Filename: LICENSES/EN/LiLiQ-R11unicode.txt
6
*/
7
8
#ifndef FMTfunctioncall_H_INCLUDED
9
#define FMTfunctioncall_H_INCLUDED
10
11
#include <string>
12
13
14
15
namespace
Core
16
{
17
enum class
FMTfkey
18
{
19
expo
= 1,
20
ln
= 2,
21
notvalid
= 3
22
};
23
24
class
FMTfunctioncall
25
{
26
FMTfkey
key;
27
public
:
28
FMTfunctioncall
();
29
FMTfunctioncall
(
const
std::string& base);
30
double
call
(
const
double
& rhs)
const
;
31
FMTfunctioncall
(
const
FMTfunctioncall
& rhs);
32
FMTfunctioncall
&
operator =
(
const
FMTfunctioncall
& rhs);
33
bool
valid
()
const
;
34
~FMTfunctioncall
() =
default
;
35
};
36
}
37
38
#endif
Core::FMTfunctioncall
Definition:
FMTfunctioncall.hpp:25
Core::FMTfunctioncall::FMTfunctioncall
FMTfunctioncall(const std::string &base)
Core::FMTfunctioncall::call
double call(const double &rhs) const
Core::FMTfunctioncall::~FMTfunctioncall
~FMTfunctioncall()=default
Core::FMTfunctioncall::operator=
FMTfunctioncall & operator=(const FMTfunctioncall &rhs)
Core::FMTfunctioncall::valid
bool valid() const
Core::FMTfunctioncall::FMTfunctioncall
FMTfunctioncall(const FMTfunctioncall &rhs)
Core::FMTfunctioncall::FMTfunctioncall
FMTfunctioncall()
Core
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition:
FMTaction.hpp:31
Core::FMTfkey
FMTfkey
Definition:
FMTfunctioncall.hpp:18
Core::FMTfkey::expo
@ expo
Core::FMTfkey::notvalid
@ notvalid
Core::FMTfkey::ln
@ ln
Generated by
1.9.6