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

#include <FMTspatialnodescache.hpp>

Public Types

typedef std::unordered_map< Core::FMToutputnode, FMTnodecache, Core::FMToutputnodehasher, Core::FMToutputnodevaluecomparatorucaching
 

Public Member Functions

 FMTspatialnodescache ()=default
 
 ~FMTspatialnodescache ()
 
 FMTspatialnodescache (const std::vector< FMTcoordinate > &mapping)
 
 FMTspatialnodescache (const FMTspatialnodescache &rhs)
 
FMTspatialnodescacheoperator= (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 ()
 

Member Typedef Documentation

◆ ucaching

Constructor & Destructor Documentation

◆ FMTspatialnodescache() [1/3]

Spatial::FMTspatialnodescache::FMTspatialnodescache ( )
default

◆ ~FMTspatialnodescache()

Spatial::FMTspatialnodescache::~FMTspatialnodescache ( )

◆ FMTspatialnodescache() [2/3]

Spatial::FMTspatialnodescache::FMTspatialnodescache ( const std::vector< FMTcoordinate > &  mapping)

◆ FMTspatialnodescache() [3/3]

Spatial::FMTspatialnodescache::FMTspatialnodescache ( const FMTspatialnodescache rhs)

Member Function Documentation

◆ begin()

ucaching::iterator Spatial::FMTspatialnodescache::begin ( )

◆ empty()

bool Spatial::FMTspatialnodescache::empty ( ) const

◆ end()

ucaching::iterator Spatial::FMTspatialnodescache::end ( )

◆ erasenode()

void Spatial::FMTspatialnodescache::erasenode ( const Core::FMToutputnode node)

◆ getactualnodecache()

FMTnodecache * Spatial::FMTspatialnodescache::getactualnodecache ( )

◆ getnode()

const std::vector< FMTcoordinate > & Spatial::FMTspatialnodescache::getnode ( const Core::FMToutputnode node,
const Models::FMTmodel model,
bool &  exactnode 
)

◆ insert()

void Spatial::FMTspatialnodescache::insert ( const FMTspatialnodescache rhs)

◆ isworthy()

bool Spatial::FMTspatialnodescache::isworthy ( const Core::FMToutputnode node) const

◆ operator=()

FMTspatialnodescache & Spatial::FMTspatialnodescache::operator= ( const FMTspatialnodescache rhs)

◆ removeperiod()

void Spatial::FMTspatialnodescache::removeperiod ( const int &  period)

◆ set()

void Spatial::FMTspatialnodescache::set ( const Core::FMToutputnode node)

◆ setnode()

void Spatial::FMTspatialnodescache::setnode ( const Core::FMToutputnode node,
const std::vector< FMTcoordinate > &  coordinates 
)

◆ setnodecache()

void Spatial::FMTspatialnodescache::setnodecache ( ucaching::iterator  cashit)

◆ size()

size_t Spatial::FMTspatialnodescache::size ( ) const

◆ swap()

void Spatial::FMTspatialnodescache::swap ( FMTspatialnodescache rhs)

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