Mirror reflection library 0.5.13
|
MetaNamedObject is a type reflecting a construct (type, ...) having a name. More...
#include <mirror/doc/concepts.hpp>
Static Public Member Functions | |
static std::string | base_name (void) |
Returns the base name of the reflected entity. | |
Friends | |
meta_named_object_tag | categorize_meta_object (MetaNamedObject) |
struct | is_a< MetaObject, ConceptTag > |
Meta-function for checking if the MetaObject conforms to a concept. | |
meta_object_tag | categorize_meta_object (MetaObject) |
MetaNamedObject is a type reflecting a construct (type, ...) having a name.
MetaNamedObject reflects base-level constructs which are identified by a name (identifier). Examples of named objects are types, namespaces, classes, functions, class members, etc. even if some of them might be anonymous. Meta objects reflecting these named objects provide functions for getting their names.
static std::string mirror::MetaNamedObject::base_name | ( | void | ) | [static] |
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.
meta_named_object_tag categorize_meta_object | ( | MetaNamedObject | ) | [friend] |
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.