hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT > Class Template Reference

#include "blocks_query_template.hpp"

Collaboration diagram for shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >:
Collaboration graph

Public Member Functions

 TemplateBlocksQueryBuilder ()
 
auto createdTime (interface::types::TimestampType created_time) const
 
auto creatorAccountId (const interface::types::AccountIdType &creator_account_id) const
 
auto queryCounter (interface::types::CounterType query_counter) const
 
auto build () const
 

Static Public Attributes

static const int total = RequiredFields::TOTAL
 

Friends

template<int , typename , typename >
class TemplateBlocksQueryBuilder
 

Detailed Description

template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
class shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >

Template blocks query builder for creating new types of builders by means of replacing template parameters

Template Parameters
S– field counter for checking that all required fields are set
SV– stateless validator called when build method is invoked
BT– build type of built object returned by build method

Constructor & Destructor Documentation

template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >::TemplateBlocksQueryBuilder ( )
inline

Member Function Documentation

template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
auto shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >::build ( ) const
inline
template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
auto shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >::createdTime ( interface::types::TimestampType  created_time) const
inline
template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
auto shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >::creatorAccountId ( const interface::types::AccountIdType creator_account_id) const
inline
template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
auto shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >::queryCounter ( interface::types::CounterType  query_counter) const
inline

Friends And Related Function Documentation

template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
template<int , typename , typename >
friend class TemplateBlocksQueryBuilder
friend

Member Data Documentation

template<int S = 0, typename SV = validation::DefaultUnsignedBlocksQueryValidator, typename BT = UnsignedWrapper<BlocksQuery>>
const int shared_model::proto::TemplateBlocksQueryBuilder< S, SV, BT >::total = RequiredFields::TOTAL
static

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