Mirror reflection library - Puddle compile-time layer 0.5.13
|
MetaScopedObject is a type reflecting a construct defined in a scope. More...
#include <puddle/doc/concepts.hpp>
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. |
MetaScopedObject is a type reflecting a construct defined in a scope.
mirror::meta_scoped_object_tag puddle::MetaScopedObject::category | ( | void | ) | const |
Reimplemented from puddle::MetaObject.
Reimplemented in puddle::MetaNamedScopedObject, puddle::MetaScope, puddle::MetaNamespace, puddle::MetaType, puddle::MetaTypedef, puddle::MetaTemplatedType, puddle::MetaTypeTemplate, puddle::MetaClass, puddle::MetaClassMember, puddle::MetaTemplatedClass, puddle::MetaEnum, puddle::MetaEnumValue, puddle::MetaVariable, puddle::MetaFreeVariable, puddle::MetaPlainFreeVariable, puddle::MetaMemberVariable, puddle::MetaPlainMemberVariable, puddle::MetaParameter, puddle::MetaFunction, puddle::MetaMemberFunction, puddle::MetaConstructor, puddle::MetaConversionOperator, puddle::MetaOverloadedFunctions, and puddle::MetaContainer.
Boolean puddle::MetaObject::is_a | ( | Category | ) | const [inherited] |
Returns true if the meta-object is of the specified Category.
Category | a meta-object category tag type |
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.
Reimplemented in puddle::MetaClassMember, puddle::MetaEnumValue, puddle::MetaFreeVariable, and puddle::MetaContainer.