property.h
Go to the documentation of this file.
The argument class is used for forwarding arguments to properties or methods.
Definition argument.h:52
The enumeration class provides several meta information about an enum.
Definition enumeration.h:113
The instance class is used for forwarding the instance of an object to invoke a property or method.
Definition instance.h:48
The property class provides several meta information about a property and gives read/write access to ...
Definition property.h:117
bool set_value(instance object, argument arg) const
Set the property of the given instance object to the given value arg.
variant get_value(instance object) const
Returns the current property value of the given instance object.
bool is_readonly() const noexcept
Returns true if this property is read only, otherwise false.
bool is_static() const noexcept
Returns true if this property is static property, otherwise false.
bool is_valid() const noexcept
Returns true if this property is valid, otherwise false.
enumeration get_enumeration() const noexcept
Returns the enumerator if this property is an enum type; otherwise the returned value is not valid.
type get_type() const noexcept
Returns the underlying type object of this property.
bool is_enumeration() const noexcept
Returns true if the underlying property is an enumeration.
variant get_metadata(const variant &key) const
Returns the meta data for the given key key.
access_levels get_access_level() const noexcept
Returns the access level with which this property was registered.
type get_declaring_type() const noexcept
Returns the type of the class or struct that declares this property.
The variant class allows to store data of any type and convert between these types transparently.
Definition variant.h:198
Definition access_levels.h:34
access_levels
The access_levels enum represents the three access modifiers, which can be used in classes to encapsu...
Definition access_levels.h:46
basic_string_view< char > string_view
A class to hold a reference to a continuous sequence of char objects.
Definition string_view.h:493
Generated on Wed Mar 19 2025 15:41:30 for rttr - 0.9.6 by doxygen.