hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::QueryResponse Class Referencefinal

#include "proto_query_response.hpp"

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

Public Types

using TransportType = iroha::protocol::QueryResponse
 
- Public Types inherited from shared_model::interface::QueryResponse
using QueryResponseVariantType = w< AccountAssetResponse, AccountDetailResponse, AccountResponse, ErrorQueryResponse, SignatoriesResponse, TransactionsResponse, AssetResponse, RolesResponse, RolePermissionsResponse, TransactionsPageResponse, 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

 QueryResponse (const QueryResponse &o)
 
 QueryResponse (QueryResponse &&o) noexcept
 
 QueryResponse (const TransportType &queryResponse)
 
 QueryResponse (TransportType &&queryResponse)
 
 ~QueryResponse () override
 
const QueryResponseVariantTypeget () const override
 
const interface::types::HashTypequeryHash () const override
 
const TransportTypegetTransport () const
 
- Public Member Functions inherited from shared_model::interface::QueryResponse
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
 

Protected Member Functions

QueryResponseclone () const override
 

Member Typedef Documentation

using shared_model::proto::QueryResponse::TransportType = iroha::protocol::QueryResponse

Constructor & Destructor Documentation

shared_model::proto::QueryResponse::QueryResponse ( const QueryResponse o)

Here is the caller graph for this function:

shared_model::proto::QueryResponse::QueryResponse ( QueryResponse &&  o)
defaultnoexcept
shared_model::proto::QueryResponse::QueryResponse ( const TransportType queryResponse)
explicit
shared_model::proto::QueryResponse::QueryResponse ( TransportType &&  queryResponse)
explicit

Here is the call graph for this function:

shared_model::proto::QueryResponse::~QueryResponse ( )
overridedefault

Here is the caller graph for this function:

Member Function Documentation

QueryResponse * shared_model::proto::QueryResponse::clone ( ) const
overrideprotectedvirtual

Polymorphic clone constructor. Method guarantees deep-copy.

Returns
pointer to cloned object

Implements Cloneable< ModelPrimitive< QueryResponse > >.

Here is the call graph for this function:

const QueryResponse::QueryResponseVariantType & shared_model::proto::QueryResponse::get ( ) const
overridevirtual
Returns
reference to const variant with concrete qr

Implements shared_model::interface::QueryResponse.

const QueryResponse::TransportType & shared_model::proto::QueryResponse::getTransport ( ) const
const interface::types::HashType & shared_model::proto::QueryResponse::queryHash ( ) const
overridevirtual
Returns
hash of corresponding query

Implements shared_model::interface::QueryResponse.


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