Mirror reflection library - Puddle compile-time layer 0.5.13

puddle::MetaMetaObject Struct Reference

MetaMetaObject is a type reflecting a meta_object. More...

#include <puddle/doc/concepts.hpp>

Inheritance diagram for puddle::MetaMetaObject:
Collaboration diagram for puddle::MetaMetaObject:

List of all members.

Public Member Functions

std::string construct_name (void) const
 Returns the name of the reflected language construct.
Range< MetaMetaObjectgeneralizations (void) const
 Returns the range of generalizations for the reflected MetaObject.
mirror::meta_meta_object_tag category (void) const
std::string base_name (void) const
 Returns the base name of the reflected entity.
CompileTimeString static_name (void) const
 Returns a compile-time string containing the base_name.
template<typename Category >
Boolean is_a (Category) const
 Returns true if the meta-object is of the specified Category.

Friends

Boolean operator== (MetaObject, MetaObject)
 Equality comparison.
Boolean operator!= (MetaObject, MetaObject)
 Inequality comparison.

Detailed Description


Member Function Documentation

std::string puddle::MetaNamedObject::base_name ( void  ) const [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.

mirror::meta_meta_object_tag puddle::MetaMetaObject::category ( void  ) const
std::string puddle::MetaMetaObject::construct_name ( void  ) const

Returns the name of the reflected language construct.

This function returns a human readable name of the language construct (type, class, namespace, member variable, etc.) reflected by this meta-object.

Range<MetaMetaObject> puddle::MetaMetaObject::generalizations ( void  ) const

Returns the range of generalizations for the reflected MetaObject.

This member function returns a range of MetaMetaObjects that reflect the generalizations of the MetaObject reflected by this MetaMetaObject.

template<typename Category >
Boolean puddle::MetaObject::is_a ( Category  ) const [inherited]

Returns true if the meta-object is of the specified Category.

Template Parameters:
Categorya meta-object category tag type
See also:
mirror::meta_object_tag
mirror::categorize_meta_object
mirror::meta_object_category

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.