defines visit functions for T Unless this is specialized, visit() will not be defined for T. More...
#include <reflect.hpp>
Public Types | |
| typedef T | type |
| typedef boost::fusion::vector | base_class_types |
| typedef boost::false_type | is_defined |
Static Public Member Functions | |
| template<typename Visitor > | |
| static void | visit (const Visitor &v) |
| T | - the type that will be visited. |
The MACE_REFLECT(TYPE,MEMBERS) or MACE_REFLECT_DERIVED(TYPE,BASES,MEMBERS) macro is used to specialize this class for your type.
Definition at line 53 of file reflect.hpp.
| static void mace::reflect::reflector< T >::visit | ( | const Visitor & | v | ) | [inline, static] |
| Visitor | a function object of the form: |
struct functor { template<typename MemberPtr, MemberPtr m> void operator()( const char* name )const; };
| v | a functor that will be called for each member on T |
Definition at line 72 of file reflect.hpp.
1.8.0