Support Forum       G3D Web Page     
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::_internal::FastPODTable_Entry< Key, Value, false > Struct Template Reference

Public Types

typedef Value * StoredValueType
 

Public Member Functions

bool inUse () const
 
void releaseValue ()
 
void setInUse ()
 
Value & valueRef ()
 
const Value & valueRef () const
 

Static Public Member Functions

static StoredValueType newStoredValue ()
 

Public Attributes

Key key
 
StoredValueType value
 Pointers are used so that the m_slot array will be tightly packed in memory even if sizeof(Value) is large. More...
 

Member Typedef Documentation

◆ StoredValueType

template<typename Key , typename Value >
typedef Value* G3D::_internal::FastPODTable_Entry< Key, Value, false >::StoredValueType

Member Function Documentation

◆ inUse()

template<typename Key , typename Value >
bool G3D::_internal::FastPODTable_Entry< Key, Value, false >::inUse ( ) const
inline

◆ newStoredValue()

template<typename Key , typename Value >
static StoredValueType G3D::_internal::FastPODTable_Entry< Key, Value, false >::newStoredValue ( )
inlinestatic

◆ releaseValue()

template<typename Key , typename Value >
void G3D::_internal::FastPODTable_Entry< Key, Value, false >::releaseValue ( )
inline

◆ setInUse()

template<typename Key , typename Value >
void G3D::_internal::FastPODTable_Entry< Key, Value, false >::setInUse ( )
inline

◆ valueRef() [1/2]

template<typename Key , typename Value >
Value& G3D::_internal::FastPODTable_Entry< Key, Value, false >::valueRef ( )
inline

◆ valueRef() [2/2]

template<typename Key , typename Value >
const Value& G3D::_internal::FastPODTable_Entry< Key, Value, false >::valueRef ( ) const
inline

Member Data Documentation

◆ key

template<typename Key , typename Value >
Key G3D::_internal::FastPODTable_Entry< Key, Value, false >::key

◆ value

template<typename Key , typename Value >
StoredValueType G3D::_internal::FastPODTable_Entry< Key, Value, false >::value

Pointers are used so that the m_slot array will be tightly packed in memory even if sizeof(Value) is large.

This is nullptr if the Entry is not currently being used.


documentation generated on Wed Nov 24 2021 08:02:03 using doxygen 1.8.15