Loading...
Searching...
No Matches
bitpit::LevelSetValueCacheBaseEntry< value_t > Class Template Reference
Inheritance diagram for bitpit::LevelSetValueCacheBaseEntry< value_t >:

Public Member Functions

 LevelSetValueCacheBaseEntry (bool valid)
 
bool isValid () const
 

Static Protected Attributes

static const value_t m_dummyValue
 

Detailed Description

template<typename value_t>
class bitpit::LevelSetValueCacheBaseEntry< value_t >

Definition at line 100 of file levelSetCache.hpp.

Constructor & Destructor Documentation

◆ LevelSetValueCacheBaseEntry()

template<typename value_t>
bitpit::LevelSetValueCacheBaseEntry< value_t >::LevelSetValueCacheBaseEntry ( bool valid)

Constructor.

Parameters
validif 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.

Member Function Documentation

◆ isValid()

template<typename value_t>
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.

Member Data Documentation

◆ m_dummyValue

template<typename value_t>
const value_t bitpit::LevelSetValueCacheBaseEntry< value_t >::m_dummyValue
staticprotected

Definition at line 108 of file levelSetCache.hpp.


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