OpenLexocad
27.1
|
Extended meta factory to be used for reflection purposes. More...
#include <entt.hpp>
Public Member Functions | |
extended_meta_factory (entt::internal::meta_prop_node **target) | |
Constructs an extended factory from a given node. More... | |
template<typename PropertyOrKey , typename... Value> | |
auto | prop (PropertyOrKey &&property_or_key, Value &&... value) && |
Assigns a property to the last meta object created. More... | |
template<typename... Property> | |
auto | props (Property... property) && |
Assigns properties to the last meta object created. More... | |
![]() | |
auto | type (const ENTT_ID_TYPE identifier) ENTT_NOEXCEPT |
Extends a meta type by assigning it an identifier. More... | |
auto | type () ENTT_NOEXCEPT |
Extends a meta type by assigning it an identifier. More... | |
template<typename Base > | |
auto | base () ENTT_NOEXCEPT |
Assigns a meta base to a meta type. More... | |
template<typename To > | |
auto | conv () ENTT_NOEXCEPT |
Assigns a meta conversion function to a meta type. More... | |
template<auto Candidate> | |
auto | conv () ENTT_NOEXCEPT |
Assigns a meta conversion function to a meta type. More... | |
template<auto Func, typename Policy = as_is_t> | |
auto | ctor () ENTT_NOEXCEPT |
Assigns a meta constructor to a meta type. More... | |
template<typename... Args> | |
auto | ctor () ENTT_NOEXCEPT |
Assigns a meta constructor to a meta type. More... | |
template<auto Func> | |
auto | dtor () ENTT_NOEXCEPT |
Assigns a meta destructor to a meta type. More... | |
template<auto Data, typename Policy = as_is_t> | |
auto | data (const ENTT_ID_TYPE identifier) ENTT_NOEXCEPT |
Assigns a meta data to a meta type. More... | |
template<auto Setter, auto Getter, typename Policy = as_is_t> | |
auto | data (const ENTT_ID_TYPE identifier) ENTT_NOEXCEPT |
Assigns a meta data to a meta type by means of its setter and getter. More... | |
template<auto Candidate, typename Policy = as_is_t> | |
auto | func (const ENTT_ID_TYPE identifier) ENTT_NOEXCEPT |
Assigns a meta funcion to a meta type. More... | |
void | reset () ENTT_NOEXCEPT |
Resets a meta type and all its parts. More... | |
Extended meta factory to be used for reflection purposes.
TURN_OFF_DOXYGEN
Type | Reflected type for which the factory was created. |
Spec | Property specialization pack used to disambiguate overloads. |
|
inline |
Constructs an extended factory from a given node.
target | The underlying node to which to assign the properties. |
|
inline |
Assigns a property to the last meta object created.
Both the key and the value (if any) must be at least copy constructible.
PropertyOrKey | Type of the property or property key. |
Value | Optional type of the property value. |
property_or_key | Property or property key. |
value | Optional property value. |
|
inline |
Assigns properties to the last meta object created.
Both the keys and the values (if any) must be at least copy constructible.
Property | Types of the properties. |
property | Properties to assign to the last meta object created. |