OpenLexocad
27.0
|
Opaque container for meta base classes. More...
#include <entt.hpp>
Public Member Functions | |
meta_base (const internal::meta_base_node *curr=nullptr) ENTT_NOEXCEPT | |
Constructs an instance from a given node. More... | |
meta_type | parent () const ENTT_NOEXCEPT |
Returns the meta type to which a meta object belongs. More... | |
meta_type | type () const ENTT_NOEXCEPT |
Returns the meta type of the underlying object. More... | |
void * | cast (void *instance) const ENTT_NOEXCEPT |
Casts an instance from a parent type to a base type. More... | |
operator bool () const ENTT_NOEXCEPT | |
Returns true if a meta object is valid, false otherwise. More... | |
bool | operator== (const meta_base &other) const ENTT_NOEXCEPT |
Checks if two meta objects refer to the same node. More... | |
Opaque container for meta base classes.
|
inline |
Constructs an instance from a given node.
curr | The underlying node with which to construct the instance. |
|
inline |
Casts an instance from a parent type to a base type.
instance | The instance to cast. |
|
inlineexplicit |
Returns true if a meta object is valid, false otherwise.
|
inline |
Checks if two meta objects refer to the same node.
other | The meta object with which to compare. |
|
inline |
Returns the meta type to which a meta object belongs.
|
inline |
Returns the meta type of the underlying object.