CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::detail::IsActiveAdapter Class Reference

Classes

struct  is_type_expression_t< decltype(reinterpret_cast< const T * >(0) ->isActive(Height()))> >
 
struct  IsActiveAccessor
 

Static Public Member Functions

template<typename T >
static bool IsActive (const T &value, Height height)
 

Private Types

enum  IsActiveType { IsActiveType::Unsupported, IsActiveType::Supported }
 
using UnsupportedIsActiveFlag = std::integral_constant< IsActiveType, IsActiveType::Unsupported >
 
using SupportedIsActiveFlag = std::integral_constant< IsActiveType, IsActiveType::Supported >
 

Static Private Member Functions

template<typename T >
static bool IsActive (const T &, Height, UnsupportedIsActiveFlag)
 
template<typename T >
static bool IsActive (const T &value, Height height, SupportedIsActiveFlag)
 

Member Typedef Documentation

◆ SupportedIsActiveFlag

◆ UnsupportedIsActiveFlag

Member Enumeration Documentation

◆ IsActiveType

Enumerator
Unsupported 
Supported 

Member Function Documentation

◆ IsActive() [1/3]

template<typename T >
static bool catapult::cache::detail::IsActiveAdapter::IsActive ( const T &  ,
Height  ,
UnsupportedIsActiveFlag   
)
inlinestaticprivate

◆ IsActive() [2/3]

template<typename T >
static bool catapult::cache::detail::IsActiveAdapter::IsActive ( const T &  value,
Height  height 
)
inlinestatic
Here is the caller graph for this function:

◆ IsActive() [3/3]

template<typename T >
static bool catapult::cache::detail::IsActiveAdapter::IsActive ( const T &  value,
Height  height,
SupportedIsActiveFlag   
)
inlinestaticprivate

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