Mirror reflection library - Lagoon run-time layer 0.5.13
|
Functions | |
template<typename Type > | |
shared< meta_type > | lagoon::reflected_type (void) |
Function for reflecting types. | |
template<typename Class > | |
shared< meta_class > | lagoon::reflected_class (void) |
Function for reflecting classes. | |
shared< meta_namespace > | lagoon::reflected_global_scope (void) |
Function reflecting the global scope. |
Lagoon implements several reflection functions that can be used for obtaining run-time meta-objects reflecting namespaces, types, classes, etc.
shared<meta_class> lagoon::reflected_class | ( | void | ) | [inline] |
Function for reflecting classes.
This function returns a pointer to an meta_class reflecting the class passed as the template parameter Class
Class | the class to be reflected |
References MIRRORED_CLASS.
shared<meta_namespace> lagoon::reflected_global_scope | ( | void | ) | [inline] |
Function reflecting the global scope.
This function returns a pointer to a meta_namespace reflecting the global scope.
References MIRRORED_GLOBAL_SCOPE.
shared<meta_type> lagoon::reflected_type | ( | void | ) | [inline] |
Function for reflecting types.
This function returns a pointer to an meta_type reflecting the type passed as the template parameter Type
Type | the type to be reflected |
References MIRRORED_TYPE.