Opaque pointers to instances of any type.
More...
#include <meta.hpp>
Opaque pointers to instances of any type.
Definition at line 676 of file meta.hpp.
◆ meta_handle() [1/4]
| entt::meta_handle::meta_handle |
( |
| ) |
|
|
default |
◆ meta_handle() [2/4]
| entt::meta_handle::meta_handle |
( |
const meta_ctx & | ctx, |
|
|
auto & | value ) |
|
inline |
Creates a handle that points to an unmanaged object.
- Parameters
-
| ctx | The context from which to search for meta types. |
| value | An instance of an object to use to initialize the handle. |
Definition at line 693 of file meta.hpp.
◆ meta_handle() [3/4]
| entt::meta_handle::meta_handle |
( |
auto & | value | ) |
|
|
inline |
Creates a handle that points to an unmanaged object.
- Parameters
-
| value | An instance of an object to use to initialize the handle. |
Definition at line 701 of file meta.hpp.
◆ meta_handle() [4/4]
Context aware move constructor.
- Parameters
-
| area | The context from which to search for meta types. |
| other | The instance to move from. |
Definition at line 710 of file meta.hpp.
◆ operator bool()
| entt::meta_handle::operator bool |
( |
| ) |
const |
|
inlineexplicitnodiscardnoexcept |
Returns false if a handle is invalid, true otherwise.
- Returns
- False if the handle is invalid, true otherwise.
Definition at line 738 of file meta.hpp.
◆ operator->()
| meta_any * entt::meta_handle::operator-> |
( |
| ) |
|
|
inlinenodiscard |
Access operator for accessing the contained opaque object.
- Returns
- A wrapper that shares a reference to an unmanaged object.
Definition at line 746 of file meta.hpp.
◆ operator=() [1/2]
Default copy assignment operator, deleted on purpose.
- Returns
- This meta handle.
◆ operator=() [2/2]
Default move assignment operator.
- Returns
- This meta handle.
The documentation for this class was generated from the following file: