CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::detailv3::SherwoodV3Entry< T > Struct Template Reference

#include <CeresEngine/Foundation/Container/FlatHashMap.hpp>

Public Member Functions

 SherwoodV3Entry ()
 
 SherwoodV3Entry (const int8_t distance_from_desired)
 
 ~SherwoodV3Entry ()
 
bool has_value () const
 
bool is_empty () const
 
bool is_at_desired_position () const
 
template<typename... Args>
void emplace (const int8_t distance, Args &&... args)
 
void destroy_value ()
 

Static Public Member Functions

static SherwoodV3Entryempty_default_table ()
 

Public Attributes

int8_t distance_from_desired = -1
 
union { 
 
   T   value 
 
};  
 

Static Public Attributes

static constexpr int8_t special_end_value = 0
 

Constructor & Destructor Documentation

◆ SherwoodV3Entry() [1/2]

template<typename T >
CeresEngine::detailv3::SherwoodV3Entry< T >::SherwoodV3Entry ( )
inline

◆ SherwoodV3Entry() [2/2]

template<typename T >
CeresEngine::detailv3::SherwoodV3Entry< T >::SherwoodV3Entry ( const int8_t  distance_from_desired)
inline

◆ ~SherwoodV3Entry()

Member Function Documentation

◆ destroy_value()

template<typename T >
void CeresEngine::detailv3::SherwoodV3Entry< T >::destroy_value ( )
inline

◆ emplace()

template<typename T >
template<typename... Args>
void CeresEngine::detailv3::SherwoodV3Entry< T >::emplace ( const int8_t  distance,
Args &&...  args 
)
inline

◆ empty_default_table()

template<typename T >
static SherwoodV3Entry * CeresEngine::detailv3::SherwoodV3Entry< T >::empty_default_table ( )
inlinestatic

◆ has_value()

template<typename T >
bool CeresEngine::detailv3::SherwoodV3Entry< T >::has_value ( ) const
inline

◆ is_at_desired_position()

template<typename T >
bool CeresEngine::detailv3::SherwoodV3Entry< T >::is_at_desired_position ( ) const
inline

◆ is_empty()

template<typename T >
bool CeresEngine::detailv3::SherwoodV3Entry< T >::is_empty ( ) const
inline

Member Data Documentation

◆ [union]

◆ distance_from_desired

template<typename T >
int8_t CeresEngine::detailv3::SherwoodV3Entry< T >::distance_from_desired = -1

◆ special_end_value

template<typename T >
constexpr int8_t CeresEngine::detailv3::SherwoodV3Entry< T >::special_end_value = 0
staticconstexpr

◆ value


The documentation for this struct was generated from the following file: