hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::protocol::QueryResponse::Impl Struct Reference
Collaboration diagram for iroha::protocol::QueryResponse::Impl:
Collaboration graph

Public Member Functions

 Impl (const TransportType &ref)
 
 Impl (TransportType &&ref)
 

Public Attributes

TransportType proto_
 
const ProtoQueryResponseVariantType variant_
 
const QueryResponseVariantType ivariant_ {variant_}
 
const crypto::Hash hash_
 

Constructor & Destructor Documentation

iroha::protocol::QueryResponse::Impl::Impl ( const TransportType ref)
inlineexplicit
iroha::protocol::QueryResponse::Impl::Impl ( TransportType &&  ref)
inlineexplicit

Member Data Documentation

const crypto::Hash iroha::protocol::QueryResponse::Impl::hash_
Initial value:
{
iroha::hexstringToBytestring(proto_.query_hash()).get()}
const QueryResponseVariantType iroha::protocol::QueryResponse::Impl::ivariant_ {variant_}
TransportType iroha::protocol::QueryResponse::Impl::proto_
const ProtoQueryResponseVariantType iroha::protocol::QueryResponse::Impl::variant_
Initial value:
{[this] {
const auto &ar = proto_;
int which =
ar.GetDescriptor()->FindFieldByNumber(ar.response_case())->index();
template load<ProtoQueryResponseVariantType>(
std::forward<decltype(ar)>(ar), which);
}()}

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