Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Ase::CustomDataKey< T > Class Template Reference

CustomDataKey objects are used to identify and manage custom data members of CustomDataContainer objects. More...

#include "utils.hh"

Inheritance diagram for Ase::CustomDataKey< T >:
[legend]

Public Member Functions

virtual T fallback ()
 Return default T instance.
 
const std::type_infotype () const noexcept
 Return the typeid of T.
 
bool has_value (const std::any &any)
 
extract (const std::any &any)
 

Detailed Description

template<typename T>
class Ase::CustomDataKey< T >

CustomDataKey objects are used to identify and manage custom data members of CustomDataContainer objects.

Definition at line 81 of file utils.hh.

Member Function Documentation

◆ extract()

template<typename T >
T Ase::CustomDataKey< T >::extract ( const std::any any)

Definition at line 89 of file utils.hh.

◆ fallback()

template<typename T >
virtual T Ase::CustomDataKey< T >::fallback ( )
virtual

Return default T instance.

Definition at line 86 of file utils.hh.

◆ has_value()

template<typename T >
bool Ase::CustomDataKey< T >::has_value ( const std::any any)

Definition at line 88 of file utils.hh.

◆ type()

template<typename T >
const std::type_info & Ase::CustomDataKey< T >::type ( ) const
noexcept

Return the typeid of T.

Definition at line 87 of file utils.hh.


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