Mirror reflection library 0.5.13
|
MetaTraversal provides meta-data about a container traversal. More...
#include <mirror/doc/concepts_container.hpp>
Public Types | |
typedef Range< unspecified > | signature |
Signature specifying the kinds of additional parameters for start. | |
typedef Traversal | traversal_type |
The type of the Traversal returned by start. | |
Static Public Member Functions | |
static traversal_type | start (Container container,...) |
Starts a traversal of the container passed as argument. | |
static std::string | base_name (void) |
Returns the base name of the reflected entity. | |
Friends | |
meta_traversal_tag | categorize_meta_object (MetaTraversal) |
meta_named_object_tag | categorize_meta_object (MetaNamedObject) |
meta_object_tag | categorize_meta_object (MetaObject) |
struct | is_a< MetaObject, ConceptTag > |
Meta-function for checking if the MetaObject conforms to a concept. |
MetaTraversal provides meta-data about a container traversal.
typedef Range<unspecified> mirror::MetaTraversal::signature |
Signature specifying the kinds of additional parameters for start.
static std::string mirror::MetaNamedObject::base_name | ( | void | ) | [static, 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.
static traversal_type mirror::MetaTraversal::start | ( | Container | container, |
... | |||
) | [static] |
Starts a traversal of the container passed as argument.
This function has one mandatory argument - the container to operate on. The other arguments are determined by the signature of the traversal operation.
meta_traversal_tag categorize_meta_object | ( | MetaTraversal | ) | [friend] |
meta_named_object_tag categorize_meta_object | ( | MetaNamedObject | ) | [friend, inherited] |
meta_object_tag categorize_meta_object | ( | MetaObject | ) | [friend, inherited] |
This function can be used to determine if a type is a MetaObject
friend struct is_a< MetaObject, ConceptTag > [friend, inherited] |
Meta-function for checking if the MetaObject conforms to a concept.
This meta-function returns std::true_type if a MetaObject conforms to the concept identified by the ConceptTag
. Returns std::false_type otherwise.