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

#include <FMTGCBMtransition.hpp>

Collaboration diagram for Core::FMTGCBMtransition:
[legend]

Public Member Functions

 FMTGCBMtransition ()
 
 FMTGCBMtransition (const int &lageafter, const std::map< std::string, std::string > &lthemes, const std::string &lname)
 
 FMTGCBMtransition (const FMTGCBMtransition &rhs)
 
FMTGCBMtransitionoperator= (const FMTGCBMtransition &rhs)
 
bool operator== (const FMTGCBMtransition &rhs) const
 
bool operator!= (const FMTGCBMtransition &rhs) const
 
 ~FMTGCBMtransition ()=default
 

Public Attributes

int ageafter
 Describe the age set on the strata after the disturbance.
 
std::map< std::string, std::string > themes
 Map where's the key is the theme name and the element is the new attribute set after the transition.
 
std::string name
 The name of the GCBM transition.
 

Friends

class boost::serialization::access
 

Detailed Description

FMTGCBMtransition is a class that act like a simple container for a GCBM transition. It is only usefull when working with GCBM.

Constructor & Destructor Documentation

◆ FMTGCBMtransition() [1/3]

Core::FMTGCBMtransition::FMTGCBMtransition ( )

Default constructor for FMTGCBMtransition

◆ FMTGCBMtransition() [2/3]

Core::FMTGCBMtransition::FMTGCBMtransition ( const int &  lageafter,
const std::map< std::string, std::string > &  lthemes,
const std::string &  lname 
)

Constructor for FMTGCBMtransition for ageafter,themes and name of the transition.

◆ FMTGCBMtransition() [3/3]

Core::FMTGCBMtransition::FMTGCBMtransition ( const FMTGCBMtransition rhs)

FMTGCBMtransition copy constructor.

◆ ~FMTGCBMtransition()

Core::FMTGCBMtransition::~FMTGCBMtransition ( )
default

Default destructor for FMTGCBMtransition

Member Function Documentation

◆ operator!=()

bool Core::FMTGCBMtransition::operator!= ( const FMTGCBMtransition rhs) const

FMTGCBMtransition equality operator.

◆ operator=()

FMTGCBMtransition & Core::FMTGCBMtransition::operator= ( const FMTGCBMtransition rhs)

FMTGCBMtransition assignment operator.

◆ operator==()

bool Core::FMTGCBMtransition::operator== ( const FMTGCBMtransition rhs) const

FMTGCBMtransition equality operator.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

serialize function is for serialization, used to do multiprocessing across multiple cpus (pickle in Pyhton)

Member Data Documentation

◆ ageafter

int Core::FMTGCBMtransition::ageafter

Describe the age set on the strata after the disturbance.

◆ name

std::string Core::FMTGCBMtransition::name

The name of the GCBM transition.

◆ themes

std::map<std::string, std::string> Core::FMTGCBMtransition::themes

Map where's the key is the theme name and the element is the new attribute set after the transition.


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