Mirror reflection library - Lagoon run-time layer 0.5.13
Functions

Lagoon - Reflection functions

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.

Detailed Description

Lagoon implements several reflection functions that can be used for obtaining run-time meta-objects reflecting namespaces, types, classes, etc.


Function Documentation

template<typename Class >
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

Template Parameters:
Classthe class to be reflected
See also:
reflected_type
Examples:
lagoon/example/members_03.cpp.

References MIRRORED_CLASS.

shared<meta_namespace> lagoon::reflected_global_scope ( void  ) [inline]
template<typename Type >
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

Template Parameters:
Typethe type to be reflected
See also:
reflected_class
Examples:
lagoon/example/various_01.cpp.

References MIRRORED_TYPE.


Copyright © 2006-2011 Matus Chochlik, University of Zilina, Zilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Fri Dec 16 2011 by Doxygen (version 1.7.3).
Important note: Although the 'boostified' version of Mirror uses the Boost C++ libraries Coding Guidelines and is implemented inside of the boost namespace, it IS NOT an officially reviewed and accepted Boost library. Mirror is being developed with the intention to be submitted for review for inclusion to the Boost C++ libraries.