Mirror reflection library - Rubber type-erasure utility 0.5.13
|
Class erasing the type of Mirror's MetaContainers. More...
#include <rubber/meta_objects.hpp>
Public Member Functions | |
template<typename MetaContainer > | |
meta_container (MetaContainer mo) | |
Constructor erasing the type of a MetaContainer. | |
meta_type | element_type (void) const |
Returns meta-type reflecting the element type of the container. | |
meta_traversal | default_traversal (void) const |
Returns meta-type reflecting the default traversal method. | |
range< meta_traversal > | traversals (void) const |
Returns the element traversal methods of the container. | |
range< meta_locator > | locators (void) const |
Returns the element location methods of the container. | |
range< meta_inserter > | inserters (void) const |
Returns the element insertion methods of the container. | |
range< meta_eraser > | erasers (void) const |
Returns the element removal methods of the container. | |
meta_scope | scope (void) const |
Returns the scope of the reflected scoped object. | |
int | uid (void) const |
Returns a (run-time) unique identifier of the meta-object. | |
aux::return_value < meta_meta_object >::type | self (void) const |
Returns the meta_meta_object reflecting this meta-object. | |
puddle::meta_object_category | category (void) const |
Returns the category of this meta-object. | |
bool | is_X (void) const |
A set of member functions indicating this meta-object's category. | |
Friends | |
bool | operator== (const meta_object &a, const meta_object &b) |
Equality comparison. | |
bool | operator!= (const meta_object &a, const meta_object &b) |
Inequality comparison. | |
bool | operator<= (const meta_object &a, const meta_object &b) |
Less-equal comparison. | |
bool | operator>= (const meta_object &a, const meta_object &b) |
Greater-equal comparison. | |
bool | operator< (const meta_object &a, const meta_object &b) |
Less-than comparison. | |
bool | operator> (const meta_object &a, const meta_object &b) |
Greater-than comparison. |
Class erasing the type of Mirror's MetaContainers.
bool rubber::meta_object::is_X | ( | void | ) | const [inherited] |
A set of member functions indicating this meta-object's category.
This is not a single member-function, it is instead a set of functions like is_type, is_namespace, is_variable, etc. returning true or false based on whether this meta-object is of a particular kind.