BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field > Struct Template Reference

#include <reflect.hpp>

Public Types

using container = Derived
 
using field_container = Base
 
using type = Member
 
using reflector = fc::reflector< type >
 

Static Public Member Functions

static typeget (container &c)
 
static const typeget (const container &c)
 
static const char * get_name ()
 

Static Public Attributes

static constexpr std::size_t index_in_base = IndexInBase
 
static constexpr bool is_derived = true
 
static constexpr type field_container::* pointer = field
 

Detailed Description

template<std::size_t IndexInBase, typename Base, typename Derived, typename Member, Member Base::* field>
struct fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >

Basically the same as field_reflection, but for inherited fields Note that inherited field reflections do not have an index field; indexes are for native fields only

Definition at line 58 of file reflect.hpp.

Member Typedef Documentation

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
using fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::container = Derived

Definition at line 59 of file reflect.hpp.

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
using fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::field_container = Base

Definition at line 60 of file reflect.hpp.

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
using fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::reflector = fc::reflector<type>

Definition at line 62 of file reflect.hpp.

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
using fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::type = Member

Definition at line 61 of file reflect.hpp.

Member Function Documentation

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
static type& fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::get ( container c)
inlinestatic

Definition at line 67 of file reflect.hpp.

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
static const type& fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::get ( const container c)
inlinestatic

Definition at line 72 of file reflect.hpp.

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
static const char* fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::get_name ( )
inlinestatic

Definition at line 76 of file reflect.hpp.

Member Data Documentation

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
constexpr std::size_t fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::index_in_base = IndexInBase
static

Definition at line 63 of file reflect.hpp.

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
constexpr bool fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::is_derived = true
static

Definition at line 64 of file reflect.hpp.

template<std::size_t IndexInBase, typename Base , typename Derived , typename Member , Member Base::* field>
constexpr type field_container::* fc::inherited_field_reflection< IndexInBase, Base, Derived, Member, field >::pointer = field
static

Definition at line 65 of file reflect.hpp.


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