Mirror reflection library - Puddle compile-time layer 0.5.13
|
MetaTraversal reflects a container element traversal method. More...
#include <puddle/doc/concepts.hpp>
Public Member Functions | |
MetaContainer | container (void) const |
The container that this traversal belongs to. | |
mirror::Traversal | start (Container container) const |
Starts a new traversal of elements. | |
mirror::meta_traversal_tag | category (void) const |
std::string | base_name (void) const |
Returns the base name of the reflected entity. | |
CompileTimeString | static_name (void) const |
Returns a compile-time string containing the base_name. | |
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. |
MetaTraversal reflects a container element traversal method.
std::string puddle::MetaNamedObject::base_name | ( | void | ) | const [inherited] |
Returns the base name of the reflected entity.
This function returns the base name of the reflected construct (type, class, namespace, member variable, etc.) without the nested name specifier.
mirror::meta_traversal_tag puddle::MetaTraversal::category | ( | void | ) | const |
Reimplemented from puddle::MetaNamedObject.
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 |