#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/AnyDataWrapper.h>
|
void const * | m_ptr = nullptr |
|
std::type_index | m_type = typeid( void ) |
|
Definition at line 33 of file AnyDataWrapper.h.
◆ Ptr()
template<typename T>
AnyDataWrapperBase::Ptr::Ptr |
( |
T const * | t | ) |
|
|
inline |
◆ get()
template<typename T>
T const * AnyDataWrapperBase::Ptr::get |
( |
| ) |
const |
|
inline |
Definition at line 45 of file AnyDataWrapper.h.
45 {
46 if ( std::is_void_v<T> ||
m_type == std::type_index(
typeid( T ) ) )
return static_cast<T const*
>(
m_ptr );
47 struct bad_AnyDataWrapper_Ptr_cast : std::bad_cast {};
48 throw bad_AnyDataWrapper_Ptr_cast{};
49 }
◆ operator void const *()
AnyDataWrapperBase::Ptr::operator void const * |
( |
| ) |
const |
|
inline |
◆ type()
std::type_index AnyDataWrapperBase::Ptr::type |
( |
| ) |
const |
|
inline |
◆ m_ptr
void const* AnyDataWrapperBase::Ptr::m_ptr = nullptr |
|
private |
◆ m_type
std::type_index AnyDataWrapperBase::Ptr::m_type = typeid( void ) |
|
private |
The documentation for this class was generated from the following file: