Mirror reflection library - Puddle compile-time layer 0.5.13

puddle::MetaScopedObject Struct Reference

MetaScopedObject is a type reflecting a construct defined in a scope. More...

#include <puddle/doc/concepts.hpp>

Inheritance diagram for puddle::MetaScopedObject:
Collaboration diagram for puddle::MetaScopedObject:

List of all members.

Public Member Functions

MetaScope scope (void) const
 Returns a meta-object reflecting the scope of the scoped object.
mirror::meta_scoped_object_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

MetaScopedObject is a type reflecting a construct defined in a scope.

See also:
mirror::MetaScopedObject
mirror::meta_scoped_object_tag

Member Function Documentation

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::MetaScopedObject::scope ( void  ) const

Returns a meta-object reflecting the scope of the scoped object.

The resulting type conforms to the MetaScope concept and provides meta-data about the scope which encloses the construct reflected by this MetaScopedObject.

See also:
MetaScope

Reimplemented in puddle::MetaClassMember, puddle::MetaEnumValue, puddle::MetaFreeVariable, and puddle::MetaContainer.


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.