Class Ase::CustomDataKey
template <typename T>
ClassList > Ase > CustomDataKey
CustomDataKey objects are used to identify and manage custom data members ofCustomDataContainer objects.
#include <utils.hh>
Inherits the following classes: Ase::VirtualBase
Public Functions
Type | Name |
---|---|
CustomDataKey () = default |
|
T | extract (const std::any & any) |
virtual T | fallback () Return default T instance. |
bool | has_value (const std::any & any) |
const std::type_info & | type () noexcept const Return the typeid of T. |
Protected Functions inherited from Ase::VirtualBase
See Ase::VirtualBase
Type | Name |
---|---|
virtual | ~VirtualBase () noexcept = 0 |
Public Functions Documentation
function CustomDataKey [2/2]
explicit Ase::CustomDataKey::CustomDataKey () = default
function extract
inline T Ase::CustomDataKey::extract (
const std::any & any
)
function fallback
inline virtual T Ase::CustomDataKey::fallback ()
function has_value
inline bool Ase::CustomDataKey::has_value (
const std::any & any
)
function type
inline const std::type_info & Ase::CustomDataKey::type () noexcept const
The documentation for this class was generated from the following file /__w/anklang/anklang/ase/utils.hh