Opaque wrapper for meta conversion functions.
More...
#include <entt.hpp>
|
using | node_type = internal::meta_conv_node |
| Node type.
|
|
Opaque wrapper for meta conversion functions.
◆ meta_conv()
entt::meta_conv::meta_conv |
( |
const node_type * |
curr = nullptr | ) |
|
|
inline |
Constructs an instance from a given node.
- Parameters
-
curr | The underlying node with which to construct the instance. |
◆ convert()
meta_any entt::meta_conv::convert |
( |
const void * |
instance | ) |
const |
|
inline |
Converts an instance to the underlying type.
- Parameters
-
instance | The instance to convert. |
- Returns
- An opaque pointer to the instance to convert.
◆ operator bool()
entt::meta_conv::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Returns true if a meta object is valid, false otherwise.
- Returns
- True if the meta object is valid, false otherwise.
◆ parent()
Returns the meta type to which a meta object belongs.
- Returns
- The meta type to which the meta object belongs.
◆ type()
Returns the meta type of the underlying object.
- Returns
- The meta type of the underlying object, if any.
The documentation for this struct was generated from the following file: