Extended meta factory to be used for reflection purposes.
More...
#include <entt.hpp>
|
| 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...
|
|
template<typename Type, typename... Spec>
class entt::extended_meta_factory< Type, Spec >
Extended meta factory to be used for reflection purposes.
TURN_OFF_DOXYGEN
- Template Parameters
-
Type | Reflected type for which the factory was created. |
Spec | Property specialization pack used to disambiguate overloads. |
◆ extended_meta_factory()
template<typename Type , typename... Spec>
Constructs an extended factory from a given node.
- Parameters
-
target | The underlying node to which to assign the properties. |
◆ prop()
template<typename Type , typename... Spec>
template<typename PropertyOrKey , typename... Value>
Assigns a property to the last meta object created.
Both the key and the value (if any) must be at least copy constructible.
- Template Parameters
-
PropertyOrKey | Type of the property or property key. |
Value | Optional type of the property value. |
- Parameters
-
property_or_key | Property or property key. |
value | Optional property value. |
- Returns
- A meta factory for the parent type.
◆ props()
template<typename Type , typename... Spec>
template<typename... Property>
Assigns properties to the last meta object created.
Both the keys and the values (if any) must be at least copy constructible.
- Template Parameters
-
Property | Types of the properties. |
- Parameters
-
property | Properties to assign to the last meta object created. |
- Returns
- A meta factory for the parent type.
The documentation for this class was generated from the following file:
- D:/CadworkJobs/SoftwareProjekte/Lexocad/LexoGit/Lexocad/lexocad/Base/include/Base/entt.hpp