method.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 array_range class provides a view into an underlying data structure with lower and upper limits.
Definition array_range.h:64
The instance class is used for forwarding the instance of an object to invoke a property or method.
Definition instance.h:48
The method class provides several meta information about a method and can be invoked.
Definition method.h:121
variant get_metadata(const variant &key) const
Returns the meta data for the given key key.
bool is_static() const noexcept
Returns true if this method is static method, otherwise false.
type get_return_type() const noexcept
Returns the type object of the return type.
type get_declaring_type() const noexcept
Returns the class that declares this method.
string_view get_signature() const noexcept
Returns the signature of this method as readable string.
bool is_valid() const noexcept
Returns true if this method is valid, otherwise false.
variant invoke_variadic(instance object, std::vector< argument > args) const
Invokes the method represented by the current instance object, using the specified parameters.
array_range< parameter_info > get_parameter_infos() const noexcept
Returns an ordered range of parameter_info objects, which matches the signature of the method.
access_levels get_access_level() const noexcept
Returns the access level with which this method was registered.
variant invoke(instance object) const
Invokes the method represented by the current instance object.
The parameter_info class provides several meta information about a parameter.
Definition parameter_info.h:109
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 Thu May 22 2025 04:13:40 for rttr - 0.9.6 by doxygen.