Mirror reflection library 0.5.13

mirror::MetaNamedObject Struct Reference

MetaNamedObject is a type reflecting a construct (type, ...) having a name. More...

#include <mirror/doc/concepts.hpp>

Inheritance diagram for mirror::MetaNamedObject:
Collaboration diagram for mirror::MetaNamedObject:

List of all members.

Static Public Member Functions

static std::string base_name (void)
 Returns the base name of the reflected entity.

Friends

meta_named_object_tag categorize_meta_object (MetaNamedObject)
struct is_a< MetaObject, ConceptTag >
 Meta-function for checking if the MetaObject conforms to a concept.
meta_object_tag categorize_meta_object (MetaObject)

Detailed Description

MetaNamedObject is a type reflecting a construct (type, ...) having a name.

MetaNamedObject reflects base-level constructs which are identified by a name (identifier). Examples of named objects are types, namespaces, classes, functions, class members, etc. even if some of them might be anonymous. Meta objects reflecting these named objects provide functions for getting their names.

See also:
meta_named_object_tag
meta_object_category
categorize_meta_object

Member Function Documentation

static std::string mirror::MetaNamedObject::base_name ( void  ) [static]

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.


Friends And Related Function Documentation

meta_named_object_tag categorize_meta_object ( MetaNamedObject  ) [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&)
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

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.