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

#include "query_template.hpp"

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

Public Member Functions

 TemplateQueryBuilder (const SV &validator=SV())
 
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 getAccount (const interface::types::AccountIdType &account_id) const
 
auto getSignatories (const interface::types::AccountIdType &account_id) const
 
auto getAccountTransactions (const interface::types::AccountIdType &account_id, interface::types::TransactionsNumberType page_size, const boost::optional< interface::types::HashType > &first_hash=boost::none) const
 
auto getAccountAssetTransactions (const interface::types::AccountIdType &account_id, const interface::types::AssetIdType &asset_id, interface::types::TransactionsNumberType page_size, const boost::optional< interface::types::HashType > &first_hash=boost::none) const
 
auto getAccountAssets (const interface::types::AccountIdType &account_id) const
 
auto getAccountDetail (const interface::types::AccountIdType &account_id="", const interface::types::AccountDetailKeyType &key="", const interface::types::AccountIdType &writer="")
 
auto getBlock (interface::types::HeightType height) const
 
auto getRoles () const
 
auto getAssetInfo (const interface::types::AssetIdType &asset_id) const
 
auto getRolePermissions (const interface::types::RoleIdType &role_id) const
 
template<typename Collection >
auto getTransactions (const Collection &hashes) const
 
auto getTransactions (std::initializer_list< interface::types::HashType > hashes) const
 
template<typename... Hash>
auto getTransactions (const Hash &...hashes) const
 
auto getPendingTransactions () const
 
auto build () const
 

Static Public Attributes

static const int total = RequiredFields::TOTAL
 

Friends

template<int , typename , typename >
class TemplateQueryBuilder
 

Detailed Description

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
class shared_model::proto::TemplateQueryBuilder< S, SV, BT >

Template query builder for creating new types of query 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::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
shared_model::proto::TemplateQueryBuilder< S, SV, BT >::TemplateQueryBuilder ( const SV &  validator = SV())
inline

Member Function Documentation

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::build ( ) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::createdTime ( interface::types::TimestampType  created_time) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::creatorAccountId ( const interface::types::AccountIdType creator_account_id) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getAccount ( const interface::types::AccountIdType account_id) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getAccountAssets ( const interface::types::AccountIdType account_id) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getAccountAssetTransactions ( const interface::types::AccountIdType account_id,
const interface::types::AssetIdType asset_id,
interface::types::TransactionsNumberType  page_size,
const boost::optional< interface::types::HashType > &  first_hash = boost::none 
) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getAccountDetail ( const interface::types::AccountIdType account_id = "",
const interface::types::AccountDetailKeyType key = "",
const interface::types::AccountIdType writer = "" 
)
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getAccountTransactions ( const interface::types::AccountIdType account_id,
interface::types::TransactionsNumberType  page_size,
const boost::optional< interface::types::HashType > &  first_hash = boost::none 
) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getAssetInfo ( const interface::types::AssetIdType asset_id) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getBlock ( interface::types::HeightType  height) const
inline
template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getPendingTransactions ( ) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getRolePermissions ( const interface::types::RoleIdType role_id) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getRoles ( ) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getSignatories ( const interface::types::AccountIdType account_id) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
template<typename Collection >
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getTransactions ( const Collection &  hashes) const
inline

Here is the caller graph for this function:

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getTransactions ( std::initializer_list< interface::types::HashType hashes) const
inline
template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
template<typename... Hash>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::getTransactions ( const Hash &...  hashes) const
inline
template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
auto shared_model::proto::TemplateQueryBuilder< S, SV, BT >::queryCounter ( interface::types::CounterType  query_counter) const
inline

Here is the caller graph for this function:

Friends And Related Function Documentation

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
template<int , typename , typename >
friend class TemplateQueryBuilder
friend

Member Data Documentation

template<int S = 0, typename SV = validation::DefaultUnsignedQueryValidator, typename BT = UnsignedWrapper<Query>>
const int shared_model::proto::TemplateQueryBuilder< S, SV, BT >::total = RequiredFields::TOTAL
static

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