Go to the documentation of this file.
28 #ifndef RTTR_PROPERTY_H_
29 #define RTTR_PROPERTY_H_
31 #include "rttr/detail/base/core_prerequisites.h"
32 #include "rttr/detail/misc/class_item_mapper.h"
50 class property_wrapper_base;
116 class RTTR_API property
124 bool is_valid() const RTTR_NOEXCEPT;
131 explicit operator
bool() const RTTR_NOEXCEPT;
150 bool is_readonly() const RTTR_NOEXCEPT;
160 bool is_static() const RTTR_NOEXCEPT;
169 bool is_enumeration() const RTTR_NOEXCEPT;
197 type get_type() const RTTR_NOEXCEPT;
207 type get_declaring_type() const RTTR_NOEXCEPT;
248 bool operator==(const
property& other) const RTTR_NOEXCEPT;
255 bool operator!=(const
property& other) const RTTR_NOEXCEPT;
259 property(const detail::property_wrapper_base* wrapper) RTTR_NOEXCEPT;
262 friend T detail::create_item(const detail::class_item_to_wrapper_t<T>* wrapper);
264 friend T detail::create_invalid_item();
267 const detail::property_wrapper_base* m_wrapper;
272 #endif // RTTR_PROPERTY_H_
The enumeration class provides several meta information about an enum.
Definition: enumeration.h:137
Definition: access_levels.h:33
The class template basic_string_view describes an non-owning reference to a constant contiguous seque...
Definition: string_view.h:73
The property class provides several meta information about a property and gives read/write access to ...
Definition: property.h:141
The instance class is used for forwarding the instance of an object to invoke a property or method.
Definition: instance.h:72
The variant class allows to store data of any type and convert between these types transparently.
Definition: variant.h:222
The type class holds the type information for any arbitrary object.
Definition: type.h:195
The argument class is used for forwarding arguments to properties or methods.
Definition: argument.h:76
access_levels
The access_levels enum represents the three access modifiers, which can be used in classes to encapsu...
Definition: access_levels.h:70