Mirror reflection library 0.5.13

mirror::MetaMemberFunction Struct Reference

MetaMemberFunction is a meta-object reflecting a member function. More...

#include <mirror/doc/concepts.hpp>

Inheritance diagram for mirror::MetaMemberFunction:
Collaboration diagram for mirror::MetaMemberFunction:

List of all members.

Public Types

typedef ConstnessTag constness
 Specifies the constness of the member function.
typedef MetaClass scope
 The class in which the member is defined.
typedef AccessTypeTag access_type
 The access type tag.
typedef MetaType result_type
 MetaType reflecting the return type of the function.
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.

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 constness< MetaMemberFunction >
 Meta-function returning the constness of the member function.
meta_member_function_tag categorize_meta_object (MetaMemberFunction)
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)
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.
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)
struct members< MetaScope >

Detailed Description

MetaMemberFunction is a meta-object reflecting a member function.

See also:
meta_member_function_tag
meta_object_category
categorize_meta_object

Member Typedef Documentation

The access type tag.

Tag reflecting the access type (private | protected | public) for the reflected class member variable, function or constructor.

See also:
AccessTypeTag

Specifies the constness of the member function.

See also:
ConstnessTag

StorageClassTag indicating the storage class or linkage of function.

The storage_class typedef is an alternate name for this specifier

See also:
storage_class

StorageClassTag indicating the storage class or linkage of function.

The linkage typedef is an alternate name for this specifier tag

See also:
linkage

Member Function Documentation

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.

Examples:
mirror/example/meta_prog_01.cpp, mirror/example/meta_prog_02.cpp, mirror/example/meta_prog_04.cpp, mirror/example/meta_prog_05.cpp, mirror/example/meta_prog_06.cpp, mirror/example/meta_prog_07.cpp, mirror/example/meta_prog_08.cpp, mirror/example/meta_prog_09.cpp, mirror/example/meta_prog_10.cpp, and mirror/example/meta_prog_11.cpp.
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.

See also:
MIRROR_USING_NAMESPACE

Friends And Related Function Documentation

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.

Returns:
AccessTypeTag
meta_member_function_tag categorize_meta_object ( MetaMemberFunction  ) [friend]
See also:
meta_object_category
categorize_meta_object(const T&)
meta_object_tag categorize_meta_object ( MetaObject  ) [friend, inherited]

This function can be used to determine if a type is a MetaObject

See also:
meta_object_category
categorize_meta_object(const T&)
meta_function_tag categorize_meta_object ( MetaFunction  ) [friend, inherited]
See also:
meta_object_category
categorize_meta_object(const T&)
meta_scope_tag categorize_meta_object ( MetaScope  ) [friend, inherited]
See also:
meta_object_category
categorize_meta_object(const T&)
meta_scoped_object_tag categorize_meta_object ( MetaScopedObject  ) [friend, inherited]
See also:
meta_object_category
categorize_meta_object(const T&)
meta_class_member_tag categorize_meta_object ( MetaClassMember  ) [friend, inherited]
See also:
meta_object_category
categorize_meta_object(const T&)
meta_named_scoped_object_tag categorize_meta_object ( MetaNamedScopedObject  ) [friend, inherited]
See also:
meta_object_category
categorize_meta_object(const T&)
meta_named_object_tag categorize_meta_object ( MetaNamedObject  ) [friend, inherited]
See also:
meta_object_category
categorize_meta_object(const T&)
friend struct constness< MetaMemberFunction > [friend]

Meta-function returning the constness of the member function.

This meta-function "returns" the same ConstnessTag as the constness member typedef, but is better suited for algorithms using lambda placeholder expressions.

Returns:
ConstnessTag
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.

Returns:
BooleanConstantType
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.

Returns:
StorageClassTag
friend struct members< MetaScope > [friend, inherited]

Meta-function returning a range of MetaScopedObjects which are reflecting the individual members of the scope.

See also:
members
mp::range
Returns:
Range<MetaScopedObject>
friend struct parameters< MetaFunction > [friend, inherited]

Returns a range of MetaVariables reflecting the parameters.

See also:
MetaVariable
mp::range
Returns:
Range<MetaVariable>
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.

Returns:
MetaType
friend struct scope< MetaClassMember > [friend, inherited]

Meta-function returning the scope of the class member.

This meta-function "returns" the same MetaScope as the scope member typedef, but is better suited for algorithms using lambda placeholder expressions.

Returns:
MetaClass
friend struct scope< MetaScopedObject > [friend, inherited]

Meta-function returning the scope of the scoped object.

This meta-function "returns" the same MetaScope as the scope member typedef, but is better suited for algorithms using lambda placeholder expressions.

Returns:
MetaScope

The documentation for this struct was generated from the following file:

Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.