Mirror reflection library - Lagoon run-time layer 0.5.13

lagoon::meta_meta_object Struct Reference

The interface for reflecting Lagoon's meta-objects. More...

#include <lagoon/interfaces.hpp>

List of all members.

Public Member Functions

std::string base_name (void) const
 Returns the base name of the reflected meta_object.
std::string construct_name (void) const
 Returns the name of the reflected language construct.
virtual range< meta_meta_objectgeneralizations (void) const =0
 Returns the range of generalizations for the reflected MetaObject.
Reflected meta-object categorization functions

These functions allow to determine the category of the meta_object reflected by this meta_meta_object.

meta_object_category category (void) const
 Returns the category of the reflected meta_object.
bool is_a (meta_object_category cat) const
 Returns true if the reflected meta-object is of the cat category.

Protected Member Functions

template<typename MetaMetaObject >
 meta_meta_object (MetaMetaObject)

Static Protected Member Functions

template<typename MetaObjectTag >
static meta_object_category get_category (MetaObjectTag tag)

Friends

template<typename MetaMetaObject , typename Interface >
shared< Interface > aux::get_meta_object (mirror::meta_meta_object_tag)

Detailed Description

The interface for reflecting Lagoon's meta-objects.

This interface can be used to get meta-data about a Lagoon's meta-object.

See also:
meta_object_category
mirror::MetaMetaObject

Member Function Documentation

std::string lagoon::meta_meta_object::base_name ( void  ) const [inline]

Returns the base name of the reflected meta_object.

This member function returns the base name i.e. the name without the nested name specifier of the construct reflected by this meta-object.

std::string lagoon::meta_meta_object::construct_name ( void  ) const [inline]

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.

virtual range<meta_meta_object> lagoon::meta_meta_object::generalizations ( void  ) const [pure virtual]

Returns the range of generalizations for the reflected MetaObject.

This member function returns a range of meta_meta_objects that reflect the generalizations of the meta-object reflected by this meta_meta_object.

This member function is available only if the LAGOON_MMO_WITH_GENERALIZATIONS preprocessor symbol is set to a non-zero integer.


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.