8#ifndef FMTSerie_Hm_included
9#define FMTSerie_Hm_included
36 FMTSerie(
const std::string& p_serie,
int p_length);
43 FMTSerie(
const std::vector<std::string>& p_serie,
int p_length);
51 FMTSerie(
const std::vector<std::string>& p_serie,
52 bool p_asap,
bool p_alap);
76 operator std::string()
const;
83 bool operator == (
const FMTSerie& p_RHS)
const;
90 bool operator != (
const FMTSerie& p_RHS)
const;
97 bool operator < (
const FMTSerie & p_RHS)
const;
133 std::vector<std::string> m_serie;
139 static const std::string m_SEPERATOR;
#define FMTEXPORT
Definition: FMTutility.h:125
Class keeping the information of a serie of actions in a given order.
Definition: FMTSerie.h:23
bool isAllowedInSerie(const std::vector< std::string > &p_SerieMask) const
Return true if the given actions are allowed in the serie.
const std::vector< std::string > & getActions() const
Return the actions of the serie.
FMTSerie(const std::vector< std::string > &p_serie, int p_length)
Initialize a serie from a vector of strings.
const std::string getSerie() const
Return the string of the serie.
bool isALAP() const
Return true if the serie is as late as possible.
FMTSerie(const std::string &p_serie, int p_length)
Initialize a serie from a string description.
FMTSerie()
Default constructor for FMTSerie.
int getLength() const
Return the length of the serie.
bool isASAP() const
Return true if the serie is as soon as possible.
FMTSerie(const std::vector< std::string > &p_serie, bool p_asap, bool p_alap)
Initialize a serie from a vector of strings with ASAP and ALAP flags.
bool isEmpty() const
Return true if the serie is empty.
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34