FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Core::FMTSerie Class Reference

The class keep information of a serie of actions in a given order. More...

#include <FMTSerie.hpp>

Public Member Functions

 FMTSerie (const std::string &p_serie, int p_length)
 Initialize a FMTSerie using the string description and the length of the serie.
 
int getLength () const
 Return the length of the serie.
 
std::string getSerie () const
 Return the string of the serie.
 
bool operator== (const FMTSerie &p_RHS) const
 Check if two series are equal.
 
bool operator!= (const FMTSerie &p_RHS) const
 Check if two series are not equal.
 
bool operator< (const FMTSerie &p_RHS) const
 Check if this serie is less then the p_RHS serie.
 
bool operator> (const FMTSerie &p_RHS) const
 Check if this serie is greater then the p_RHS serie.
 

Detailed Description

The class keep information of a serie of actions in a given order.

Constructor & Destructor Documentation

◆ FMTSerie()

Core::FMTSerie::FMTSerie ( const std::string &  p_serie,
int  p_length 
)

Initialize a FMTSerie using the string description and the length of the serie.

Parameters
[in]p_seriethe string of the serie
[in]p_lengththe length of the serie in period.

Member Function Documentation

◆ getLength()

int Core::FMTSerie::getLength ( ) const

Return the length of the serie.

Returns
Return the length of the serie.

◆ getSerie()

std::string Core::FMTSerie::getSerie ( ) const

Return the string of the serie.

Returns
Return the string of the serie.

◆ operator!=()

bool Core::FMTSerie::operator!= ( const FMTSerie p_RHS) const

Check if two series are not equal.

Returns
true if 2 series are nor equal.

◆ operator<()

bool Core::FMTSerie::operator< ( const FMTSerie p_RHS) const

Check if this serie is less then the p_RHS serie.

Returns
true this serie is less then the p_RHS serie.

◆ operator==()

bool Core::FMTSerie::operator== ( const FMTSerie p_RHS) const

Check if two series are equal.

Returns
true if 2 series are equal.

◆ operator>()

bool Core::FMTSerie::operator> ( const FMTSerie p_RHS) const

Check if this serie is greater then the p_RHS serie.

Returns
true this serie is less then the p_RHS serie.

The documentation for this class was generated from the following file: