BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Types | List of all members
fc::reflector< T > Struct Template Reference

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 std::false_type is_defined
 
using native_members = typelist::list<>
 A typelist with a field_reflection for each native member (non-inherited) of the struct. More...
 
using inherited_members = typelist::list<>
 A typelist with a field_reflection for each inherited member of the struct. More...
 
using members = typelist::list<>
 A typelist with a field_reflection for each member of the struct, starting with inherited members. More...
 
using base_classes = typelist::list<>
 A typelist of base classes for this type. More...
 

Detailed Description

template<typename T>
struct fc::reflector< T >

defines visit functions for T Unless this is specialized, visit() will not be defined for T.

Template Parameters
T- the type that will be visited.

The FC_REFLECT(TYPE,MEMBERS) or FC_STATIC_REFLECT_DERIVED(TYPE,BASES,MEMBERS) macro is used to specialize this class for your type.

Definition at line 25 of file reflect.hpp.

Member Typedef Documentation

template<typename T>
using fc::reflector< T >::base_classes = typelist::list<>

A typelist of base classes for this type.

Definition at line 149 of file reflect.hpp.

template<typename T>
using fc::reflector< T >::inherited_members = typelist::list<>

A typelist with a field_reflection for each inherited member of the struct.

Definition at line 145 of file reflect.hpp.

template<typename T>
typedef std::false_type fc::reflector< T >::is_defined

Definition at line 141 of file reflect.hpp.

template<typename T>
using fc::reflector< T >::members = typelist::list<>

A typelist with a field_reflection for each member of the struct, starting with inherited members.

Definition at line 147 of file reflect.hpp.

template<typename T>
using fc::reflector< T >::native_members = typelist::list<>

A typelist with a field_reflection for each native member (non-inherited) of the struct.

Definition at line 143 of file reflect.hpp.

template<typename T>
typedef T fc::reflector< T >::type

Definition at line 140 of file reflect.hpp.


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