Mirror reflection library 0.5.13
|
MetaParameter is a type reflecting a function parameter. More...
#include <mirror/doc/concepts.hpp>
Public Types | |
typedef IntegralConstantType | position |
The position of the parameter. | |
typedef StorageClassTag | storage_class |
The storage class tag. | |
typedef MetaType | type |
MetaType reflecting the type of the variable. | |
typedef MetaScope | scope |
A type reflecting the scope of the scoped object. | |
Static Public Member Functions | |
static std::string | full_name (void) |
Returns the full name of the reflected entity. | |
static std::string | local_name (void) |
Returns the local name of the reflected entity. | |
static std::string | base_name (void) |
Returns the base name of the reflected entity. | |
Friends | |
struct | parameter_position< MetaParameter > |
Meta-function returning the position of a parameter. | |
meta_parameter_tag | categorize_meta_object (MetaParameter) |
struct | storage_class< MetaVariable > |
Meta-function returning the storage class of the variable. | |
struct | type_of< MetaVariable > |
Meta-function returning the type of the variable. | |
meta_variable_tag | categorize_meta_object (MetaVariable) |
meta_named_scoped_object_tag | categorize_meta_object (MetaNamedScopedObject) |
meta_named_object_tag | categorize_meta_object (MetaNamedObject) |
meta_object_tag | categorize_meta_object (MetaObject) |
meta_scoped_object_tag | categorize_meta_object (MetaScopedObject) |
struct | is_a< MetaObject, ConceptTag > |
Meta-function for checking if the MetaObject conforms to a concept. | |
struct | scope< MetaScopedObject > |
Meta-function returning the scope of the scoped object. |
MetaParameter is a type reflecting a function parameter.
typedef MetaScope mirror::MetaScopedObject::scope [inherited] |
A type reflecting the scope of the scoped object.
This type conforms to the MetaScope concept and provides meta-data about the scope which encloses the construct reflected by this MetaScopedObject.
Reimplemented in mirror::MetaNamespace, mirror::MetaGlobalScope, mirror::MetaClassMember, mirror::MetaEnumValue, mirror::MetaFreeVariable, and mirror::MetaContainer.
typedef StorageClassTag mirror::MetaVariable::storage_class [inherited] |
The storage class tag.
Tag reflecting the storage class (auto|static|mutable|...) for the reflected variable.
static std::string mirror::MetaNamedObject::base_name | ( | void | ) | [static, inherited] |
Returns the base name of the reflected entity.
This function returns the base name of the reflected construct (type, class, namespace, member variable, etc.) without the nested name specifier.
static std::string mirror::MetaNamedScopedObject::full_name | ( | void | ) | [static, inherited] |
Returns the full name of the reflected entity.
This function returns the full name of the reflected construct (type, class, namespace, member variable, etc.) including the nested name specifier.
static std::string mirror::MetaNamedScopedObject::local_name | ( | void | ) | [static, inherited] |
Returns the local name of the reflected entity.
This function returns the local name of the reflected construct (type, class, namespace, member variable, etc.) including the partial or full nested name specifier, based on whether the parent scope or one of its enclosing scopes of the construct reflected by this MetaNamedScopedObject is used with the MIRROR_USING_NAMESPACE macro.
meta_parameter_tag categorize_meta_object | ( | MetaParameter | ) | [friend] |
meta_variable_tag categorize_meta_object | ( | MetaVariable | ) | [friend, inherited] |
meta_object_tag categorize_meta_object | ( | MetaObject | ) | [friend, inherited] |
This function can be used to determine if a type is a MetaObject
meta_scoped_object_tag categorize_meta_object | ( | MetaScopedObject | ) | [friend, inherited] |
meta_named_scoped_object_tag categorize_meta_object | ( | MetaNamedScopedObject | ) | [friend, inherited] |
meta_named_object_tag categorize_meta_object | ( | MetaNamedObject | ) | [friend, inherited] |
friend struct is_a< MetaObject, ConceptTag > [friend, inherited] |
Meta-function for checking if the MetaObject conforms to a concept.
This meta-function returns std::true_type if a MetaObject conforms to the concept identified by the ConceptTag
. Returns std::false_type otherwise.
friend struct parameter_position< MetaParameter > [friend] |
Meta-function returning the position of a parameter.
This meta-function "returns" the same IntegralConstantType as the position
member typedef, but is better suited for algorithms using lambda placeholder expressions.
friend struct scope< MetaScopedObject > [friend, inherited] |
friend struct storage_class< MetaVariable > [friend, inherited] |
Meta-function returning the storage class of the variable.
This meta-function "returns" the same StorageClassTag as the storage_class
member typedef, but is better suited for algorithms using lambda placeholder expressions.
friend struct type_of< MetaVariable > [friend, inherited] |