Opaque container for meta destructors.
More...
#include <entt.hpp>
Opaque container for meta destructors.
◆ meta_dtor()
entt::meta_dtor::meta_dtor |
( |
const internal::meta_dtor_node * |
curr = nullptr | ) |
|
|
inline |
Constructs an instance from a given node.
- Parameters
-
curr | The underlying node with which to construct the instance. |
◆ invoke()
bool entt::meta_dtor::invoke |
( |
meta_handle |
handle | ) |
const |
|
inline |
Destroys an instance of the underlying type.
It must be possible to cast the instance to the parent type of the meta destructor. Otherwise, invoking the meta destructor results in an undefined behavior.
- Parameters
-
handle | An opaque pointer to an instance of the underlying type. |
- Returns
- True in case of success, false otherwise.
◆ operator bool()
entt::meta_dtor::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Returns true if a meta object is valid, false otherwise.
- Returns
- True if the meta object is valid, false otherwise.
◆ operator==()
bool entt::meta_dtor::operator== |
( |
const meta_dtor & |
other | ) |
const |
|
inline |
Checks if two meta objects refer to the same node.
- Parameters
-
other | The meta object with which to compare. |
- Returns
- True if the two meta objects refer to the same node, false otherwise.
◆ parent()
Returns the meta type to which a meta object belongs.
- Returns
- The meta type to which the meta object belongs.
The documentation for this struct was generated from the following file:
- D:/CadworkJobs/Softwareprojekte/Lexocad/V27.0/lexocad/Base/include/Base/entt.hpp