Mirror reflection library - Puddle compile-time layer 0.5.13

puddle::MetaContainer Struct Reference

MetaContainer reflects a container of elements. More...

#include <puddle/doc/concepts.hpp>

Inheritance diagram for puddle::MetaContainer:
Collaboration diagram for puddle::MetaContainer:

List of all members.

Public Member Functions

MetaScope scope (void) const
 MetaScope reflecting the class or namespace this container belongs to.
MetaType element_type (void) const
 Returns a MetaType reflecting the element type of the container.
MetaTraversal default_traversal (void) const
 Returns a MetaTraversal reflecting the default traversal method.
Range< MetaTraversaltraversals (void) const
 Returns a Range of MetaTraversals reflecting all traversal methods.
Range< MetaInserterinserters (void) const
 Returns a Range of MetaInserters reflecting insertion methods.
Range< MetaErasererasers (void) const
 Returns a Range of MetaErasers reflecting element removal methods.
mirror::meta_container_tag category (void) const
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

MetaContainer reflects a container of elements.

See also:
mirror::MetaContainer
mirror::meta_container_tag

Member Function Documentation

mirror::meta_container_tag puddle::MetaContainer::category ( void  ) const
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
MetaScope puddle::MetaContainer::scope ( void  ) const

MetaScope reflecting the class or namespace this container belongs to.

The resulting MetaScope is a MetaClass for most containers, but it is for example the MetaGlobalScope for array containers.

Reimplemented from puddle::MetaScopedObject.


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.