8#ifndef FMToutputparser_H_INCLUDED
9#define FMToutputparser_H_INCLUDED
13#include <boost/regex.hpp>
23 class FMToutputsource;
38 const static boost::regex rxoutput;
41 const static boost::regex rxsource;
44 const static boost::regex rxtar;
47 const static boost::regex rxgrp;
50 const static boost::regex rxoutputconstant;
55 void readnfill(std::vector<Core::FMToutput>* outputs,
56 const std::vector<Core::FMTtheme>& themes,
57 const std::vector<Core::FMTaction>& actions,
59 const std::string& location);
65 const std::string& strvalue,
67 const int& themetarget,
68 const size_t& lastoutput,
69 std::string& lastoperator,
70 std::vector<std::string>& stroperators,
71 std::vector<Core::FMToutputsource>& sources,
72 std::vector<Core::FMToperator>& operators)
const;
99 std::vector<Core::FMToutput>
read(
const std::vector<Core::FMTtheme>& themes,
100 const std::vector<Core::FMTaction>& actions,
102 const std::string& location);
109 std::vector<Core::FMToutput>
addoutputs(
const std::vector<Core::FMToutput> oldoutputs,
110 const std::vector<Core::FMTtheme>& themes,
111 const std::vector<Core::FMTaction>& actions,
113 const std::string& location,
114 std::vector<std::string> outputsnames = std::vector<std::string>());
119 void write(
const std::vector<Core::FMToutput>& outputs,
const std::string& location)
const;
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTconstants.hpp:29
Definition: FMTyields.hpp:40
Definition: FMToutputparser.hpp:35
std::vector< Core::FMToutput > addoutputs(const std::vector< Core::FMToutput > oldoutputs, const std::vector< Core::FMTtheme > &themes, const std::vector< Core::FMTaction > &actions, const Core::FMTyields &ylds, const Core::FMTconstants &constants, const std::string &location, std::vector< std::string > outputsnames=std::vector< std::string >())
FMToutputparser(const FMToutputparser &rhs)=default
std::vector< Core::FMToutput > read(const std::vector< Core::FMTtheme > &themes, const std::vector< Core::FMTaction > &actions, const Core::FMTyields &ylds, const Core::FMTconstants &constants, const std::string &location)
void write(const std::vector< Core::FMToutput > &outputs, const std::string &location) const
~FMToutputparser()=default
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