Public Member Functions | |
LevelSetValueCacheBaseEntry (bool valid) | |
bool | isValid () const |
Static Protected Attributes | |
static const value_t | m_dummyValue = value_t{} |
Definition at line 100 of file levelSetCache.hpp.
bitpit::LevelSetValueCacheBaseEntry< value_t >::LevelSetValueCacheBaseEntry | ( | bool | valid | ) |
Constructor.
valid | if set to true, the cache entry is considered valid otherwise the cache entry is \considered invalid. Valid cache entry can be deferenced to access the cached value. Trying to deference an invalid entry results in undefined behaviour. |
Definition at line 44 of file levelSetCache.tpp.
bool bitpit::LevelSetValueCacheBaseEntry< value_t >::isValid | ( | ) | const |
Check if the cache entry is valid.
Valid cache entry can be deferenced to access the cached value. Trying to deference an invalid entry results in undefined behaviour.
Definition at line 56 of file levelSetCache.tpp.
|
staticprotected |
Dummy value to be used for invalid entries.
Definition at line 108 of file levelSetCache.hpp.