Developer World
Spresense SDK Library v3.3.0-375c679
TypeHolder< T > Class Template Reference
Inheritance diagram for TypeHolder< T >:
Collaboration diagram for TypeHolder< T >:

Public Member Functions

 TypeHolder (const T &data)
 
T & get ()
 
const T & get () const
 
virtual id_t id () const
 
- Public Member Functions inherited from TypeHolderBase
template<typename T >
bool is_type () const
 
template<typename T >
T & get ()
 
template<typename T >
const T & get () const
 
template<typename T >
T & get_any (bool size_check=true)
 
template<typename T >
const T & get_any (bool size_check=true) const
 
size_t size () const
 
void dump () const
 
virtual id_t id () const =0
 

Static Public Member Functions

static size_t type_size ()
 

Additional Inherited Members

- Public Types inherited from TypeHolderBase
typedef size_t(* id_t) ()
 

Member Function Documentation

◆ id()

virtual id_t id ( ) const
inlinevirtual

Implements TypeHolderBase.


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