Mirror reflection library - Lagoon run-time layer 0.5.13
|
#include <lagoon/interfaces.hpp>
Public Member Functions | |
virtual range< meta_namespace > | namespaces (void)=0 |
Returns the nested namespaces of this namespace. | |
virtual range< meta_free_variable > | free_variables (void)=0 |
Returns the free variables of this namespace. | |
virtual range < meta_overloaded_functions > | free_functions (void)=0 |
Returns the (overloaded) free functions of this namespace. | |
shared< meta_free_variable > | variable_ (const std::string &name) |
Convenience function returning a meta_variable by name. | |
shared< meta_namespace > | namespace_ (const std::string &name) |
Convenience function returning a meta_namespace by name. | |
shared< meta_type > | type_ (const std::string &name) |
Convenience function returning a meta_type by name. | |
shared< meta_class > | class_ (const std::string &name) |
Convenience function returning a meta_class by name. | |
shared< meta_typedef > | typedef_ (const std::string &name) |
Convenience function returning a meta_typedef by name. | |
shared< meta_type_template > | template_ (const std::string &name) |
Convenience function returning a meta_type_template by name. | |
virtual range < meta_named_scoped_object > | members (void)=0 |
This member function returns the members of the scope. | |
template<typename Interface > | |
shared< Interface > | find_member (const std::string &name) |
Convenience member function for finding a member by base_name. | |
virtual std::string | full_name (void)=0 |
Returns the full name of the reflected construct. | |
virtual std::string | local_name (void)=0 |
Returns the local name of the reflected construct. | |
virtual std::string | base_name (void)=0 |
Returns the base name of the reflected construct. | |
virtual shared< meta_meta_object > | self (void) const =0 |
returns meta-data about this meta-object | |
Static Protected Member Functions | |
static void * | _sel_ptr (void) |
template<typename... P> | |
static void * | _sel_ptr (void *p, P *...pp) |
This interface provides meta-data about the global scope
virtual std::string lagoon::meta_named_object::base_name | ( | void | ) | [pure virtual, inherited] |
Returns the base name of the reflected construct.
This member function returns the base name i.e. the name without the nested name specifier of the construct reflected by this meta-object.
shared<Interface> lagoon::meta_scope::find_member | ( | const std::string & | name | ) | [inline, inherited] |
Convenience member function for finding a member by base_name.
Interface | the required interface of the member |
name | the base name to search the member by |
virtual std::string lagoon::meta_named_scoped_object::local_name | ( | void | ) | [pure virtual, inherited] |
Returns the local name of the reflected construct.
Available only if the LAGOON_MNSO_WITH_LOCAL_NAME preprocessor symbol is set to a nonzero integer value.