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 100 #endif // GF_HANDLE_H void * m_ptr
Definition: Handle.h:90
Id asId() const
Get the contained id.
Definition: Handle.h:67
const T & as() const
Get the reference to the object.
Definition: Handle.h:83
Id m_id
Definition: Handle.h:89
The namespace for gf classes.
Definition: Action.h:35
uint64_t Id
An identifier.
Definition: Id.h:37
T & as()
Get the reference to the object.
Definition: Handle.h:75
A handle to an object or an id.
Definition: Handle.h:40
Handle(Id id)
Constructor with an id.
Definition: Handle.h:50
Handle(T &object)
Coonstructor with an object.
Definition: Handle.h:59