hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::generators::QueryGenerator Class Reference

#include "query_generator.hpp"

Collaboration diagram for iroha::model::generators::QueryGenerator:
Collaboration graph

Public Member Functions

std::shared_ptr< GetAccountgenerateGetAccount (ts64_t timestamp, std::string creator, uint64_t query_counter, std::string account_id)
 
std::shared_ptr< GetAccountAssetsgenerateGetAccountAssets (ts64_t timestamp, std::string creator, uint64_t query_counter, std::string account_id, std::string asset_id)
 
std::shared_ptr< GetAccountDetailgenerateGetAccountDetail (ts64_t timestamp, std::string creator, uint64_t query_counter, std::string account_id, std::string creator_account_id)
 
std::shared_ptr< GetSignatoriesgenerateGetSignatories (ts64_t timestamp, std::string creator, uint64_t query_counter, std::string account_id)
 
std::shared_ptr< GetAccountTransactionsgenerateGetAccountTransactions (ts64_t timestamp, std::string creator, uint64_t query_counter, std::string account_id)
 
std::shared_ptr< GetAccountAssetTransactionsgenerateGetAccountAssetTransactions (ts64_t timestamp, std::string creator, uint64_t query_counter, std::string account_id, std::string asset_id)
 
std::shared_ptr< GetTransactionsgenerateGetTransactions (ts64_t timestamp, const std::string &creator, uint64_t query_counter, const std::vector< iroha::hash256_t > &tx_hashes)
 
std::shared_ptr< GetAssetInfogenerateGetAssetInfo ()
 
std::shared_ptr< GetRolesgenerateGetRoles ()
 
std::shared_ptr< GetRolePermissionsgenerateGetRolePermissions ()
 
void setQueryMetaData (std::shared_ptr< Query > query, ts64_t timestamp, std::string creator, uint64_t query_counter)
 

Member Function Documentation

std::shared_ptr< GetAccount > iroha::model::generators::QueryGenerator::generateGetAccount ( ts64_t  timestamp,
std::string  creator,
uint64_t  query_counter,
std::string  account_id 
)

Here is the caller graph for this function:

std::shared_ptr< GetAccountAssets > iroha::model::generators::QueryGenerator::generateGetAccountAssets ( ts64_t  timestamp,
std::string  creator,
uint64_t  query_counter,
std::string  account_id,
std::string  asset_id 
)

Here is the caller graph for this function:

std::shared_ptr< GetAccountAssetTransactions > iroha::model::generators::QueryGenerator::generateGetAccountAssetTransactions ( ts64_t  timestamp,
std::string  creator,
uint64_t  query_counter,
std::string  account_id,
std::string  asset_id 
)

Here is the caller graph for this function:

std::shared_ptr< GetAccountDetail > iroha::model::generators::QueryGenerator::generateGetAccountDetail ( ts64_t  timestamp,
std::string  creator,
uint64_t  query_counter,
std::string  account_id,
std::string  creator_account_id 
)
std::shared_ptr< GetAccountTransactions > iroha::model::generators::QueryGenerator::generateGetAccountTransactions ( ts64_t  timestamp,
std::string  creator,
uint64_t  query_counter,
std::string  account_id 
)

Here is the caller graph for this function:

std::shared_ptr< GetAssetInfo > iroha::model::generators::QueryGenerator::generateGetAssetInfo ( )

Generate default query GetAssetInfo

Returns
default GetAssetInfo
std::shared_ptr< GetRolePermissions > iroha::model::generators::QueryGenerator::generateGetRolePermissions ( )

Generate default query GetRolePermissions

Returns
default GetRolePermissions
std::shared_ptr< GetRoles > iroha::model::generators::QueryGenerator::generateGetRoles ( )

Generate default query GetRoles

Returns
default GetRoles
std::shared_ptr< GetSignatories > iroha::model::generators::QueryGenerator::generateGetSignatories ( ts64_t  timestamp,
std::string  creator,
uint64_t  query_counter,
std::string  account_id 
)

Here is the caller graph for this function:

std::shared_ptr< GetTransactions > iroha::model::generators::QueryGenerator::generateGetTransactions ( ts64_t  timestamp,
const std::string creator,
uint64_t  query_counter,
const std::vector< iroha::hash256_t > &  tx_hashes 
)

Here is the caller graph for this function:

void iroha::model::generators::QueryGenerator::setQueryMetaData ( std::shared_ptr< Query query,
ts64_t  timestamp,
std::string  creator,
uint64_t  query_counter 
)

Here is the caller graph for this function:


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