Unravel Engine C++ Reference
|
Typedefs | |
using | attributes = std::map<std::string, meta_any> |
using | attribute = attributes::value_type |
using | property_predicate_t = std::function<bool(const meta_any&)> |
Functions | |
auto | copy_meta_any (const entt::meta_any &src) -> entt::meta_any |
auto | get_derived_types (const meta_type &t) -> std::vector< meta_type > |
auto | as_derived (meta_any &obj) -> bool |
auto | get_derived_type (meta_any &obj) -> meta_type |
auto | get_attribute (const meta_custom &custom, const char *name) -> const meta_any & |
auto | get_attribute (const meta_type &t, const char *name) -> const meta_any & |
auto | get_attribute (const meta_data &prop, const char *name) -> const meta_any & |
auto | get_pretty_name (const meta_type &t) -> std::string |
auto | get_name (const meta_type &t) -> std::string |
auto | get_pretty_name (const meta_custom &t) -> std::string |
auto | get_name (const meta_custom &t) -> std::string |
auto | get_name (const meta_data &prop) -> std::string |
auto | get_pretty_name (const meta_data &prop) -> std::string |
auto | property_predicate (property_predicate_t predicate) -> property_predicate_t |
template<typename T > | |
auto | get_attribute_as (const meta_custom &custom, const char *name) -> T |
template<> | |
auto | get_attribute_as< std::string > (const meta_custom &custom, const char *name) -> std::string |
template<typename T > | |
auto | get_attribute_as (const meta_type &t, const char *name) -> T |
template<typename T > | |
auto | get_attribute_as (const meta_data &prop, const char *name) -> T |
template<typename Value , typename... Args> | |
auto | make_custom (Args &&...args) -> entt::meta_custom |
using entt::attribute = attributes::value_type |
Definition at line 19 of file reflection.h.
using entt::attributes = std::map<std::string, meta_any> |
Definition at line 18 of file reflection.h.
using entt::property_predicate_t = std::function<bool(const meta_any&)> |
Definition at line 85 of file reflection.h.
REFLECTION_EXPORT auto entt::as_derived | ( | meta_any & | obj | ) | -> bool |
Definition at line 53 of file reflection.cpp.
REFLECTION_EXPORT auto entt::copy_meta_any | ( | const entt::meta_any & | src | ) | -> entt::meta_any |
Definition at line 27 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_attribute | ( | const meta_custom & | custom, |
const char * | name ) -> const meta_any & |
Definition at line 84 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_attribute | ( | const meta_data & | prop, |
const char * | name ) -> const meta_any & |
Definition at line 106 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_attribute | ( | const meta_type & | t, |
const char * | name ) -> const meta_any & |
Definition at line 101 of file reflection.cpp.
auto entt::get_attribute_as | ( | const meta_custom & | custom, |
const char * | name ) -> T |
Definition at line 24 of file reflection.h.
auto entt::get_attribute_as | ( | const meta_data & | prop, |
const char * | name ) -> T |
Definition at line 61 of file reflection.h.
auto entt::get_attribute_as | ( | const meta_type & | t, |
const char * | name ) -> T |
Definition at line 53 of file reflection.h.
|
inline |
Definition at line 35 of file reflection.h.
REFLECTION_EXPORT auto entt::get_derived_type | ( | meta_any & | obj | ) | -> meta_type |
Definition at line 65 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_derived_types | ( | const meta_type & | t | ) | -> std::vector< meta_type > |
Definition at line 48 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_name | ( | const meta_custom & | t | ) | -> std::string |
Definition at line 142 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_name | ( | const meta_data & | prop | ) | -> std::string |
Definition at line 152 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_name | ( | const meta_type & | t | ) | -> std::string |
Definition at line 121 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_pretty_name | ( | const meta_custom & | t | ) | -> std::string |
Definition at line 132 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_pretty_name | ( | const meta_data & | prop | ) | -> std::string |
Definition at line 157 of file reflection.cpp.
REFLECTION_EXPORT auto entt::get_pretty_name | ( | const meta_type & | t | ) | -> std::string |
Definition at line 111 of file reflection.cpp.
auto entt::make_custom | ( | Args &&... | args | ) | -> entt::meta_custom |
Definition at line 91 of file reflection.h.
REFLECTION_EXPORT auto entt::property_predicate | ( | property_predicate_t | predicate | ) | -> property_predicate_t |
Definition at line 167 of file reflection.cpp.