![]() |
FMT 1.2.0
Forest management tools for forest planning
|
List holding the maximum age of aggregates of developments. More...
#include <FMTLifespans.h>
Public Member Functions | |
| void | swap (FMTLifespans &rhs) |
| Swap this FMTLifespans with another. | |
| FMTLifespans () | |
| Default constructor for FMTLifespans. | |
| ~FMTLifespans ()=default | |
| Default destructor for FMTLifespans. | |
| FMTLifespans (const FMTLifespans &rhs) | |
| Copy constructor for FMTLifespans. | |
| FMTLifespans & | operator= (const FMTLifespans &rhs) |
| Copy assignment operator for FMTLifespans. | |
| bool | operator== (const FMTLifespans &rhs) const |
| Equality comparison operator of FMTLifespans. | |
| bool | operator!= (const FMTLifespans &rhs) const |
| Inequality comparison operator of FMTLifespans. | |
| operator std::string () const | |
| Return a string representation of the FMTLifespans section (.lif). | |
| void | update () override |
| Override the FMTList update function, to be called after any change to the list. | |
| FMTLifespans | preSolve (const FMTMaskFilter &filter, const std::vector< FMTTheme > &originalthemes, std::vector< FMTTheme > &newthemes, bool compressdata=false) const |
| Presolve the lifespans by eliminating list elements and presolving the masks. | |
Friends | |
| class | boost::serialization::access |
| Serialize the FMTLifespans through its base FMTList<int> for multiprocessing across multiple cpus (pickle in Python). | |
List holding the maximum age of aggregates of developments.
Derived from FMTList<int>, each element is a maximum age for a FMTMask. Used by the parser and to generate the default _DEATH action and transition.
| Core::FMTLifespans::FMTLifespans | ( | ) |
Default constructor for FMTLifespans.
|
default |
Default destructor for FMTLifespans.
| Core::FMTLifespans::FMTLifespans | ( | const FMTLifespans & | rhs | ) |
Copy constructor for FMTLifespans.
| [in] | rhs | the FMTLifespans to copy. |
| Core::FMTLifespans::operator std::string | ( | ) | const |
Return a string representation of the FMTLifespans section (.lif).
| bool Core::FMTLifespans::operator!= | ( | const FMTLifespans & | rhs | ) | const |
Inequality comparison operator of FMTLifespans.
| [in] | rhs | the FMTLifespans to compare with. |
| FMTLifespans & Core::FMTLifespans::operator= | ( | const FMTLifespans & | rhs | ) |
Copy assignment operator for FMTLifespans.
| [in] | rhs | the FMTLifespans to copy. |
| bool Core::FMTLifespans::operator== | ( | const FMTLifespans & | rhs | ) | const |
Equality comparison operator of FMTLifespans.
| [in] | rhs | the FMTLifespans to compare with. |
| FMTLifespans Core::FMTLifespans::preSolve | ( | const FMTMaskFilter & | filter, |
| const std::vector< FMTTheme > & | originalthemes, | ||
| std::vector< FMTTheme > & | newthemes, | ||
| bool | compressdata = false |
||
| ) | const |
Presolve the lifespans by eliminating list elements and presolving the masks.
| [in] | filter | the mask filter. |
| [in] | originalthemes | the original themes. |
| [in,out] | newthemes | the presolved themes. |
| [in] | compressdata | if true compresses the data. |
| void Core::FMTLifespans::swap | ( | FMTLifespans & | rhs | ) |
Swap this FMTLifespans with another.
| [in,out] | rhs | the FMTLifespans to swap with. |
|
override |
Override the FMTList update function, to be called after any change to the list.
|
friend |
Serialize the FMTLifespans through its base FMTList<int> for multiprocessing across multiple cpus (pickle in Python).
| Archive | the archive type. |
| [in,out] | ar | the archive to serialize to or from. |
| [in] | version | the serialization version. |