FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTscheduleparser.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 FMTscheduleparser_H_INCLUDED
9#define FMTscheduleparser_H_INCLUDED
10
11#include "FMTparser.hpp"
12#include "FMTutility.hpp"
13#include <vector>
14#include <string>
15
16namespace Core {
17 class FMTtheme;
18 class FMTaction;
19 class FMTschedule;
20}
21
22namespace Parser
23{
24// DocString: FMTscheduleparser
30 {
31 // DocString: FMTscheduleparser::getvariable
36 int getvariable() const;
37 public:
38 // DocString: FMTscheduleparser()
43 // DocString: ~FMTscheduleparser()
47 ~FMTscheduleparser() = default;
48 // DocString: FMTscheduleparser(const FMTscheduleparser&)
53 // DocString: FMTscheduleparser::operator=
57 FMTscheduleparser& operator = (const FMTscheduleparser& rhs);
58 // DocString: FMTscheduleparser::read
64 std::vector<Core::FMTschedule>read(const std::vector<Core::FMTtheme>& themes,
65 const std::vector<Core::FMTaction>& actions,const std::string& location,double tolerance = FMT_DBL_TOLERANCE);
66 // DocString: FMTscheduleparser::write
70 void write(const std::vector<Core::FMTschedule>& schedules, const std::string& location) const;
71 };
72
73}
74
75
76#endif // FMTscheduleparser_H_INCLUDED
#define FMT_DBL_TOLERANCE
Definition: FMTutility.hpp:11
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTparser.hpp:66
Definition: FMTscheduleparser.hpp:30
std::vector< Core::FMTschedule > read(const std::vector< Core::FMTtheme > &themes, const std::vector< Core::FMTaction > &actions, const std::string &location, double tolerance=FMT_DBL_TOLERANCE)
FMTscheduleparser(const FMTscheduleparser &rhs)
void write(const std::vector< Core::FMTschedule > &schedules, const std::string &location) const
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTaction.hpp:31
Namespace handling all FMT's parsers. Everything related to I/O should be located in this namespace.
Definition: FMTactionparser.hpp:26