Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::QueryResponse Class Referenceabstract

#include "query_response.hpp"

Inheritance diagram for shared_model::interface::QueryResponse:
Inheritance graph
Collaboration diagram for shared_model::interface::QueryResponse:
Collaboration graph

Public Types

using QueryResponseVariantType = w< AccountAssetResponse, AccountDetailResponse, AccountResponse, ErrorQueryResponse, SignatoriesResponse, TransactionsResponse, AssetResponse, RolesResponse, RolePermissionsResponse, TransactionsPageResponse, PendingTransactionsPageResponse, BlockResponse, PeersResponse >
 Type of container with all concrete query response. More...
- Public Types inherited from shared_model::interface::ModelPrimitive< QueryResponse >
using ModelType = QueryResponse

Public Member Functions

virtual const QueryResponseVariantTypeget () const =0
virtual const interface::types::HashTypequeryHash () const =0
std::string toString () const override
bool operator== (const ModelType &rhs) const override
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< QueryResponse >
virtual bool operator!= (const ModelType &rhs) const
virtual ~ModelPrimitive ()=default

Detailed Description

Class QueryResponse(qr) provides container with concrete query responses available in the system. General note: this class is container for QRs but not a base class.

Member Typedef Documentation

Member Function Documentation

virtual const QueryResponseVariantType& shared_model::interface::QueryResponse::get ( ) const
pure virtual
reference to const variant with concrete qr

Implemented in shared_model::proto::QueryResponse.

Here is the caller graph for this function:

bool shared_model::interface::QueryResponse::operator== ( const ModelType rhs) const

Implements shared_model::interface::ModelPrimitive< QueryResponse >.

Here is the call graph for this function:

virtual const interface::types::HashType& shared_model::interface::QueryResponse::queryHash ( ) const
pure virtual
hash of corresponding query

Implemented in shared_model::proto::QueryResponse.

Here is the caller graph for this function:

std::string shared_model::interface::QueryResponse::toString ( ) const

Make string developer representation of object

string with internal state of object

Reimplemented from shared_model::interface::ModelPrimitive< QueryResponse >.

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