FMT 0.9.8
Forest management tools for forest planning
|
#include <FMTspatialnodescache.hpp>
Public Types | |
typedef std::unordered_map< Core::FMToutputnode, FMTnodecache, Core::FMToutputnodehasher, Core::FMToutputnodevaluecomparator > | ucaching |
Public Member Functions | |
FMTspatialnodescache ()=default | |
~FMTspatialnodescache () | |
FMTspatialnodescache (const std::vector< FMTcoordinate > &mapping) | |
FMTspatialnodescache (const FMTspatialnodescache &rhs) | |
FMTspatialnodescache & | operator= (const FMTspatialnodescache &rhs) |
const std::vector< FMTcoordinate > & | getnode (const Core::FMToutputnode &node, const Models::FMTmodel &model, bool &exactnode) |
void | setnode (const Core::FMToutputnode &node, const std::vector< FMTcoordinate > &coordinates) |
void | removeperiod (const int &period) |
void | set (const Core::FMToutputnode &node) |
FMTnodecache * | getactualnodecache () |
void | setnodecache (ucaching::iterator cashit) |
void | swap (FMTspatialnodescache &rhs) |
void | erasenode (const Core::FMToutputnode &node) |
bool | isworthy (const Core::FMToutputnode &node) const |
bool | empty () const |
size_t | size () const |
void | insert (const FMTspatialnodescache &rhs) |
ucaching::iterator | begin () |
ucaching::iterator | end () |
typedef std::unordered_map<Core::FMToutputnode, FMTnodecache, Core::FMToutputnodehasher, Core::FMToutputnodevaluecomparator> Spatial::FMTspatialnodescache::ucaching |
|
default |
Spatial::FMTspatialnodescache::~FMTspatialnodescache | ( | ) |
Spatial::FMTspatialnodescache::FMTspatialnodescache | ( | const std::vector< FMTcoordinate > & | mapping | ) |
Spatial::FMTspatialnodescache::FMTspatialnodescache | ( | const FMTspatialnodescache & | rhs | ) |
ucaching::iterator Spatial::FMTspatialnodescache::begin | ( | ) |
bool Spatial::FMTspatialnodescache::empty | ( | ) | const |
ucaching::iterator Spatial::FMTspatialnodescache::end | ( | ) |
void Spatial::FMTspatialnodescache::erasenode | ( | const Core::FMToutputnode & | node | ) |
FMTnodecache * Spatial::FMTspatialnodescache::getactualnodecache | ( | ) |
const std::vector< FMTcoordinate > & Spatial::FMTspatialnodescache::getnode | ( | const Core::FMToutputnode & | node, |
const Models::FMTmodel & | model, | ||
bool & | exactnode | ||
) |
void Spatial::FMTspatialnodescache::insert | ( | const FMTspatialnodescache & | rhs | ) |
bool Spatial::FMTspatialnodescache::isworthy | ( | const Core::FMToutputnode & | node | ) | const |
FMTspatialnodescache & Spatial::FMTspatialnodescache::operator= | ( | const FMTspatialnodescache & | rhs | ) |
void Spatial::FMTspatialnodescache::removeperiod | ( | const int & | period | ) |
void Spatial::FMTspatialnodescache::set | ( | const Core::FMToutputnode & | node | ) |
void Spatial::FMTspatialnodescache::setnode | ( | const Core::FMToutputnode & | node, |
const std::vector< FMTcoordinate > & | coordinates | ||
) |
void Spatial::FMTspatialnodescache::setnodecache | ( | ucaching::iterator | cashit | ) |
size_t Spatial::FMTspatialnodescache::size | ( | ) | const |
void Spatial::FMTspatialnodescache::swap | ( | FMTspatialnodescache & | rhs | ) |