OpenLexocad
27.0
|
Opaque container for meta conversion functions. More...
#include <entt.hpp>
Public Member Functions | |
meta_conv (const internal::meta_conv_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... | |
meta_any | convert (const void *instance) const ENTT_NOEXCEPT |
Converts an instance to a given type. More... | |
operator bool () const ENTT_NOEXCEPT | |
Returns true if a meta object is valid, false otherwise. More... | |
bool | operator== (const meta_conv &other) const ENTT_NOEXCEPT |
Checks if two meta objects refer to the same node. More... | |
Opaque container for meta conversion functions.
|
inline |
Constructs an instance from a given node.
curr | The underlying node with which to construct the instance. |
|
inline |
Converts an instance to a given type.
instance | The instance to convert. |
|
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.