8#ifndef FMTlookup_Hm_included
9#define FMTlookup_Hm_included
12#include <boost/functional/hash.hpp>
22 template<
class inmemory,
class po
inter>
56 FMTLookup(
const inmemory& des,
const pointer& dev) :
123 template<
class inmemory,
class po
inter>
124 struct hash<
Core::FMTLookup<inmemory,pointer>>
134 return boost::hash<std::string>()(*lookup.pointerobject);
Lookup helper holding an in-memory object and a pointer to a keyed object, used for hashing and compa...
Definition: FMTLookup.h:24
const pointer * pointerobject
Definition: FMTLookup.h:27
bool operator==(const FMTLookup &rhs) const
Equality comparison operator of FMTLookup.
Definition: FMTLookup.h:112
FMTLookup()=default
Default constructor for FMTLookup.
bool operator<(const FMTLookup &rhs) const
Less than comparison operator of FMTLookup.
Definition: FMTLookup.h:92
FMTLookup(const inmemory &des, const pointer &dev)
Construct a lookup for keeping from an in-memory object and a pointer.
Definition: FMTLookup.h:56
FMTLookup(const FMTLookup &rhs)
Copy constructor for FMTLookup.
Definition: FMTLookup.h:66
inmemory memoryobject
Definition: FMTLookup.h:26
FMTLookup(const pointer &ptr)
Construct a lookup for searching from a pointer.
Definition: FMTLookup.h:44
FMTLookup & operator=(const FMTLookup &rhs)
Copy assignment operator for FMTLookup.
Definition: FMTLookup.h:77
~FMTLookup()=default
Default destructor for FMTLookup.
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34
Definition: FMTAction.h:463
std::size_t operator()(const Core::FMTLookup< inmemory, pointer > &lookup) const
Definition: FMTLookup.h:126