BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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

constexpr static std::size_t index_in_base = IndexInBase
 
constexpr static bool is_derived = true
 
constexpr static 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

◆ container

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.

◆ field_container

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.

◆ reflector

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.

◆ type

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

◆ get() [1/2]

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.

◆ get() [2/2]

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.

◆ get_name()

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

◆ index_in_base

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

Definition at line 63 of file reflect.hpp.

◆ is_derived

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

Definition at line 64 of file reflect.hpp.

◆ pointer

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

Definition at line 65 of file reflect.hpp.


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