BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
A template to store compile-time information about a field in a reflected struct. More...
#include <reflect.hpp>
Public Types | |
using | container = Container |
using | type = Member |
using | reflector = fc::reflector< type > |
Static Public Member Functions | |
static type & | get (container &c) |
Given a reference to the container type, get a reference to the field. More... | |
static const type & | get (const container &c) |
static const char * | get_name () |
Get the name of the field. More... | |
Static Public Attributes | |
constexpr static std::size_t | index = Index |
constexpr static bool | is_derived = false |
constexpr static type container::* | pointer = field |
A template to store compile-time information about a field in a reflected struct.
Container | The type of the struct or class containing the field |
Member | The type of the field |
field | A pointer-to-member for the reflected field |
Definition at line 41 of file reflect.hpp.
using fc::field_reflection< Index, Container, Member, field >::container = Container |
Definition at line 42 of file reflect.hpp.
using fc::field_reflection< Index, Container, Member, field >::reflector = fc::reflector<type> |
Definition at line 44 of file reflect.hpp.
using fc::field_reflection< Index, Container, Member, field >::type = Member |
Definition at line 43 of file reflect.hpp.
|
inlinestatic |
Definition at line 51 of file reflect.hpp.
|
inlinestatic |
Given a reference to the container type, get a reference to the field.
Definition at line 50 of file reflect.hpp.
|
inlinestatic |
Get the name of the field.
Definition at line 53 of file reflect.hpp.
|
staticconstexpr |
Definition at line 45 of file reflect.hpp.
|
staticconstexpr |
Definition at line 46 of file reflect.hpp.
|
staticconstexpr |
Definition at line 47 of file reflect.hpp.