Opaque wrapper for properties of any type.
More...
#include <meta.hpp>
Opaque wrapper for properties of any type.
Definition at line 768 of file meta.hpp.
◆ meta_prop()
entt::meta_prop::meta_prop |
( |
const meta_ctx & | area, |
|
|
internal::meta_prop_node | curr ) |
|
inlinenoexcept |
Context aware constructor for meta objects.
- Parameters
-
area | The context from which to search for meta types. |
curr | The underlying node with which to construct the instance. |
Definition at line 777 of file meta.hpp.
◆ operator bool()
entt::meta_prop::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
Returns true if an object is valid, false otherwise.
- Returns
- True if the object is valid, false otherwise.
Definition at line 801 of file meta.hpp.
◆ operator==()
Checks if two objects refer to the same type.
- Parameters
-
other | The object with which to compare. |
- Returns
- True if the objects refer to the same type, false otherwise.
Definition at line 810 of file meta.hpp.
◆ value() [1/2]
Returns the stored value by reference.
- Returns
- A wrapper containing the value stored with the property.
Definition at line 793 of file meta.hpp.
◆ value() [2/2]
meta_any entt::meta_prop::value |
( |
| ) |
const |
|
inline |
Returns the stored value by const reference.
- Returns
- A wrapper containing the value stored with the property.
Definition at line 785 of file meta.hpp.
The documentation for this struct was generated from the following file: