Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::data_range< T, Validator > Struct Template Reference

#include <chain_config_helper.hpp>

Collaboration diagram for sysio::chain::data_range< T, Validator >:

Public Member Functions

 data_range (T &c, Validator val)
 
 data_range (T &c, vector< fc::unsigned_int > &&id_list, const Validator &val)
 

Public Attributes

Tconfig
 
vector< fc::unsigned_intids
 
Validator validator
 

Detailed Description

template<typename T, typename Validator>
struct sysio::chain::data_range< T, Validator >

helper class to serialize only selected ids of the class

Definition at line 11 of file chain_config_helper.hpp.

Constructor & Destructor Documentation

◆ data_range() [1/2]

template<typename T , typename Validator >
sysio::chain::data_range< T, Validator >::data_range ( T & c,
Validator val )
inline

◆ data_range() [2/2]

template<typename T , typename Validator >
sysio::chain::data_range< T, Validator >::data_range ( T & c,
vector< fc::unsigned_int > && id_list,
const Validator & val )
inline

Definition at line 18 of file chain_config_helper.hpp.

19 : data_range(c, val){
20 ids = std::move(id_list);
21 }
data_range(T &c, Validator val)
vector< fc::unsigned_int > ids

Member Data Documentation

◆ config

template<typename T , typename Validator >
T& sysio::chain::data_range< T, Validator >::config

Definition at line 13 of file chain_config_helper.hpp.

◆ ids

template<typename T , typename Validator >
vector<fc::unsigned_int> sysio::chain::data_range< T, Validator >::ids

Definition at line 14 of file chain_config_helper.hpp.

◆ validator

template<typename T , typename Validator >
Validator sysio::chain::data_range< T, Validator >::validator

Definition at line 15 of file chain_config_helper.hpp.


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