Mirror reflection library - Puddle compile-time layer 0.5.13
Functions

Puddle - Reflection expressions

Functions

template<typename Type >
reflected< Type >::type puddle::reflected_type (void)
 Reflects the Type passed as template parameter.
template<typename MirrorMetaObject >
aux::wrap< MirrorMetaObject >::type puddle::adapt (void)
 Wraps a Mirror's meta-object.

Detailed Description

Puddle provides several reflection functions that can be used for obtaining compile-time meta-objects reflecting namespaces, types, classes, etc.


Function Documentation

template<typename MirrorMetaObject >
aux::wrap<MirrorMetaObject>::type puddle::adapt ( void  )

Wraps a Mirror's meta-object.

This function wraps a type conforming to one of the Mirror's concepts and returns an object whose type conforms to a Puddle's concept corresponding to the MirrorMetaObject concept.

Examples:
puddle/example/print_all.cpp.
template<typename Type >
reflected<Type>::type puddle::reflected_type ( void  )

Reflects the Type passed as template parameter.

This function returns an object whose type conforms to the puddle::MetaType concept, which reflects the type passed to the function as the template parameter.

Template Parameters:
Typethe type to be reflected
See also:
mirror::MetaType
puddle::MetaType

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.