hyperledger/iroha
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 >
 Type of container with all concrete query response. More...
 
- Public Types inherited from shared_model::interface::ModelPrimitive< QueryResponse >
using ModelType = QueryResponse
 
- Public Types inherited from Cloneable< ModelPrimitive< QueryResponse > >
using base_type = ModelPrimitive< 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
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< QueryResponse > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from Cloneable< ModelPrimitive< QueryResponse > >
virtual ModelPrimitive< QueryResponse > * clone () const =0
 

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
Returns
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
overridevirtual

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
Returns
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
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

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


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