Mirror reflection library - Rubber type-erasure utility 0.5.13

rubber::meta_inheritance Class Reference

Class erasing the type of Mirror's MetaInheritances. More...

#include <rubber/meta_objects.hpp>

Inheritance diagram for rubber::meta_inheritance:
Collaboration diagram for rubber::meta_inheritance:

List of all members.

Public Member Functions

template<typename MetaInheritance >
 meta_inheritance (MetaInheritance mo)
 Constructor erasing the type of a MetaInheritance.
const specifierinheritance_type (void) const
 Returns the inheritance type specifier of the base class.
const specifieraccess_type (void) const
 Returns the access type specifier of the base class.
meta_class base_class (void) const
 Returns a meta_class reflecting the base class in the inheritance.
meta_class derived_class (void) const
 Returns a meta_class reflecting the derived class in the inheritance.
int uid (void) const
 Returns a (run-time) unique identifier of the meta-object.
aux::return_value
< meta_meta_object >::type 
self (void) const
 Returns the meta_meta_object reflecting this meta-object.
puddle::meta_object_category category (void) const
 Returns the category of this meta-object.
bool is_X (void) const
 A set of member functions indicating this meta-object's category.

Friends

bool operator== (const meta_object &a, const meta_object &b)
 Equality comparison.
bool operator!= (const meta_object &a, const meta_object &b)
 Inequality comparison.
bool operator<= (const meta_object &a, const meta_object &b)
 Less-equal comparison.
bool operator>= (const meta_object &a, const meta_object &b)
 Greater-equal comparison.
bool operator< (const meta_object &a, const meta_object &b)
 Less-than comparison.
bool operator> (const meta_object &a, const meta_object &b)
 Greater-than comparison.

Detailed Description

Class erasing the type of Mirror's MetaInheritances.

See also:
mirror::MetaInheritance

Member Function Documentation

bool rubber::meta_object::is_X ( void  ) const [inherited]

A set of member functions indicating this meta-object's category.

This is not a single member-function, it is instead a set of functions like is_type, is_namespace, is_variable, etc. returning true or false based on whether this meta-object is of a particular kind.

See also:
category
as

The documentation for this class 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.