Mirror reflection library 0.5.13
|
MetaConstructor reflects a type / class constructor. More...
#include <mirror/doc/concepts.hpp>
Public Types | |
typedef MetaType | result_type |
MetaType reflecting the constructed type. | |
typedef StorageClassTag | storage_class |
StorageClassTag indicating the storage class or linkage of function. | |
typedef StorageClassTag | linkage |
StorageClassTag indicating the storage class or linkage of function. | |
typedef MetaScope | scope |
A type reflecting the scope of the scoped object. | |
typedef MetaClass | scope |
The class in which the member is defined. | |
typedef AccessTypeTag | access_type |
The access type tag. | |
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 | |
meta_constructor_tag | categorize_meta_object (MetaConstructor) |
struct | result_type< MetaFunction > |
Meta-function returning the result type of the function. | |
struct | linkage< MetaFunction > |
Meta-function returning the linkage of the function. | |
struct | parameters< MetaFunction > |
Returns a range of MetaVariables reflecting the parameters. | |
meta_function_tag | categorize_meta_object (MetaFunction) |
meta_scope_tag | categorize_meta_object (MetaScope) |
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 | members< MetaScope > |
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. | |
struct | scope< MetaClassMember > |
Meta-function returning the scope of the class member. | |
struct | access_type< MetaClassMember > |
Meta-function returning the access type of the class member. | |
meta_class_member_tag | categorize_meta_object (MetaClassMember) |
MetaConstructor reflects a type / class constructor.
typedef AccessTypeTag mirror::MetaClassMember::access_type [inherited] |
The access type tag.
Tag reflecting the access type (private | protected | public) for the reflected class member variable, function or constructor.
typedef StorageClassTag mirror::MetaFunction::linkage [inherited] |
StorageClassTag indicating the storage class or linkage of function.
The storage_class typedef is an alternate name for this specifier
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::MetaFunction::storage_class [inherited] |
StorageClassTag indicating the storage class or linkage of function.
The linkage typedef is an alternate name for this specifier tag
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.
friend struct access_type< MetaClassMember > [friend, inherited] |
Meta-function returning the access type of the class member.
This meta-function "returns" the same AccessTypeTag as the access_type
member typedef, but is better suited for algorithms using lambda placeholder expressions.
meta_function_tag categorize_meta_object | ( | MetaFunction | ) | [friend, inherited] |
meta_named_scoped_object_tag categorize_meta_object | ( | MetaNamedScopedObject | ) | [friend, inherited] |
meta_named_object_tag categorize_meta_object | ( | MetaNamedObject | ) | [friend, inherited] |
meta_class_member_tag categorize_meta_object | ( | MetaClassMember | ) | [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_constructor_tag categorize_meta_object | ( | MetaConstructor | ) | [friend] |
meta_scope_tag categorize_meta_object | ( | MetaScope | ) | [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 linkage< MetaFunction > [friend, inherited] |
Meta-function returning the linkage of the function.
This meta-function "returns" the same StorageClassTag as the linkage
member typedef, but is better suited for algorithms using lambda placeholder expressions.
friend struct parameters< MetaFunction > [friend, inherited] |
Returns a range of MetaVariables reflecting the parameters.
friend struct result_type< MetaFunction > [friend, inherited] |
Meta-function returning the result type of the function.
This meta-function "returns" the same MetaType as the result_type
member typedef, but is better suited for algorithms using lambda placeholder expressions.
friend struct scope< MetaClassMember > [friend, inherited] |
friend struct scope< MetaScopedObject > [friend, inherited] |