28#ifndef DOXYGEN_SHOULD_SKIP_THIS
76 return *
static_cast<T*
>(m_ptr);
84 return *
static_cast<const T*
>(m_ptr);
95#ifndef DOXYGEN_SHOULD_SKIP_THIS
A handle to an object or an id.
Definition: Handle.h:40
Id asId() const
Get the contained id.
Definition: Handle.h:67
Handle(T &object)
Coonstructor with an object.
Definition: Handle.h:59
Handle(Id id)
Constructor with an id.
Definition: Handle.h:50
void * m_ptr
Definition: Handle.h:90
T & as()
Get the reference to the object.
Definition: Handle.h:75
const T & as() const
Get the reference to the object.
Definition: Handle.h:83
Handle()=default
Default constructor.
Id m_id
Definition: Handle.h:89
uint64_t Id
An identifier.
Definition: Id.h:37
The namespace for gf classes.