Mirror reflection library 0.5.13

mirror::reflected< Type > Struct Template Reference

Meta-function reflecting the type passed as template parameter. More...

#include <mirror/mirror_fwd.hpp>

List of all members.

Public Types

typedef aux::reflect_type
< Type >::type 
type
typedef MetaType type
 MetaType reflecting the Type.

Detailed Description

template<class Type>
struct mirror::reflected< Type >

Meta-function reflecting the type passed as template parameter.

This meta-function template returns a the MetaType, MetaClass of MetaEnum reflecting the Type passed as the template parameter. This meta-function is the prefered way of type reflection and should be used instead of the MIRRORED_TYPE, MIRRORED_CLASS and MIRRORED_ENUM macros whenever possible.

See also:
MetaType
MetaClass
MetaEnum
required_param_of
Examples:

mirror/example/hello_world.cpp, mirror/example/meta_prog_14.cpp, mirror/example/typenames_05.cpp, and mirror/example/various_04.cpp.


The documentation for this struct was generated from the following files:

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.