8#ifndef FMTactionparser_H_INCLUDED
9#define FMTactionparser_H_INCLUDED
12#include <boost/regex.hpp>
37 const static boost::regex rxsection;
40 const static boost::regex rxoperator;
46 std::vector<Core::FMTaction*> sameactionas(
const std::string& all_set, std::vector<Core::FMTaction>& actions)
const;
56 std::map<std::string, std::vector<std::string>>valagg(std::vector<Core::FMTaction>& actions, std::map<std::string, std::vector<std::string>>& aggregates);
61 std::vector<std::vector<std::string>> cleanactionseries(
const std::vector<std::vector<std::string>>& series)
const;
88 std::vector<Core::FMTaction>
read(
const std::vector<Core::FMTtheme>& themes,
90 const std::string& location);
96 void write(
const std::vector<Core::FMTaction>& actions,
97 const std::string& location,
bool withgcbmagg =
false)
const;
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTconstants.hpp:29
Definition: FMTbounds.hpp:342
Definition: FMTyields.hpp:40
Definition: FMTactionparser.hpp:33
std::vector< Core::FMTaction > read(const std::vector< Core::FMTtheme > &themes, const Core::FMTyields &yields, const Core::FMTconstants &constants, const std::string &location)
std::vector< Core::FMTaction > getGCBMactionsaggregate(const std::vector< Core::FMTaction > &actions) const
~FMTactionparser()=default
FMTactionparser(const FMTactionparser &rhs)=default
void write(const std::vector< Core::FMTaction > &actions, const std::string &location, bool withgcbmagg=false) const
Definition: FMTparser.hpp:66
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