Mirror reflection library 0.5.13
|
MetaLocator provides meta-data about a location in a container. More...
#include <mirror/doc/concepts_container.hpp>
Public Types | |
typedef Range< unspecified > | signature |
Signature specifying the kinds of additional parameters for go_to. | |
typedef Locator | locator_type |
The type of the Locator returned by go_to. | |
Static Public Member Functions | |
static locator_type | go_to (Container container,...) |
Gets a locator for the location reflected by this MetaLocator. | |
static std::string | base_name (void) |
Returns the base name of the reflected entity. | |
Friends | |
meta_locator_tag | categorize_meta_object (MetaLocator) |
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. |
MetaLocator provides meta-data about a location in a container.
typedef Range<unspecified> mirror::MetaLocator::signature |
Signature specifying the kinds of additional parameters for go_to.
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 locator_type mirror::MetaLocator::go_to | ( | Container | container, |
... | |||
) | [static] |
Gets a locator for the location reflected by this MetaLocator.
This function has one mandatory argument - the container to operate on. The other arguments are determined by the signature of the locator operation.
meta_locator_tag categorize_meta_object | ( | MetaLocator | ) | [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.