Loading...
Searching...
No Matches
Public Member Functions | List of all members
bitpit::LevelSetValueCacheEntry< bool > Struct Reference
Inheritance diagram for bitpit::LevelSetValueCacheEntry< bool >:
Inheritance graph
[legend]
Collaboration diagram for bitpit::LevelSetValueCacheEntry< bool >:
Collaboration graph
[legend]

Public Member Functions

 LevelSetValueCacheEntry ()
 
 LevelSetValueCacheEntry (const bool &value)
 
 LevelSetValueCacheEntry (const std::vector< bool >::reference &value)
 
bool operator* () const
 
- Public Member Functions inherited from bitpit::LevelSetValueCacheBaseEntry< bool >
 LevelSetValueCacheBaseEntry (bool valid)
 
bool isValid () const
 

Additional Inherited Members

- Static Protected Attributes inherited from bitpit::LevelSetValueCacheBaseEntry< bool >
static const bool m_dummyValue
 

Detailed Description

Definition at line 129 of file levelSetCache.hpp.

Constructor & Destructor Documentation

◆ LevelSetValueCacheEntry() [1/3]

bitpit::LevelSetValueCacheEntry< bool >::LevelSetValueCacheEntry ( )

Constructor for invalid entries.

Definition at line 37 of file levelSetCache.cpp.

◆ LevelSetValueCacheEntry() [2/3]

bitpit::LevelSetValueCacheEntry< bool >::LevelSetValueCacheEntry ( const bool & value)
explicit

Constructor for valid entries.

Parameters
valueis the cached value

Definition at line 49 of file levelSetCache.cpp.

◆ LevelSetValueCacheEntry() [3/3]

bitpit::LevelSetValueCacheEntry< bool >::LevelSetValueCacheEntry ( const std::vector< bool >::reference & value)
explicit

Constructor for valid entries.

Parameters
valueis the cached value

Definition at line 61 of file levelSetCache.cpp.

Member Function Documentation

◆ operator*()

bool bitpit::LevelSetValueCacheEntry< bool >::operator* ( ) const

Get the stored value.

Trying to deference an invalid entry results in undefined behaviour.

Definition at line 73 of file levelSetCache.cpp.


The documentation for this struct was generated from the following files:
--- layout: doxygen_footer ---