28 #ifndef __RTTR_PROPERTY_H__
29 #define __RTTR_PROPERTY_H__
43 class property_container_base;
117 bool is_valid()
const;
124 operator bool()
const;
133 bool is_readonly()
const;
144 bool is_static()
const;
154 bool is_enumeration()
const;
173 bool is_array()
const;
182 std::string get_name()
const;
191 type get_type()
const;
201 type get_declaring_type()
const;
214 bool set_value(detail::instance
object, detail::argument arg)
const;
225 variant get_value(detail::instance
object)
const;
235 variant get_metadata(
int key)
const;
245 variant get_metadata(
const std::string& key)
const;
252 bool operator==(
const property& other)
const;
259 bool operator!=(
const property& other)
const;
264 property(
const detail::property_container_base* container =
nullptr);
266 const detail::property_container_base* _container;
271 #endif // __RTTR_PROPERTY_H__
This class holds the type information for any arbitrary object.
Definition: type.h:165
The enumeration class provides several meta information about an enum.
Definition: enumeration.h:96
The property class provides several meta information about a property and gives read/write access to ...
Definition: property.h:109
The variant class allows to store data of any type and convert between these types transparently...
Definition: variant.h:125
#define RTTR_API
Definition: core_prerequisites.h:124