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

Public Member Functions

 Impl (TransportType &&ref)
 

Public Attributes

TransportType proto_
 
const ProtoQueryResponseVariantType variant_
 
const QueryResponseVariantType ivariant_ {variant_}
 

Constructor & Destructor Documentation

◆ Impl()

shared_model::proto::BlockQueryResponse::Impl::Impl ( TransportType &&  ref)
inlineexplicit

Member Data Documentation

◆ ivariant_

const QueryResponseVariantType shared_model::proto::BlockQueryResponse::Impl::ivariant_ {variant_}

◆ proto_

TransportType shared_model::proto::BlockQueryResponse::Impl::proto_

◆ variant_

const ProtoQueryResponseVariantType shared_model::proto::BlockQueryResponse::Impl::variant_
Initial value:
{
[this]() -> decltype(variant_) {
auto &ar = proto_;
switch (ar.response_case()) {
IROHA_BIND_TYPE(kBlockErrorResponse, BlockErrorResponse, ar);
IROHA_BIND_TYPE(kBlockResponse, BlockResponse, ar);
default:
case iroha::protocol::BlockQueryResponse::ResponseCase::
RESPONSE_NOT_SET:
assert(!"Unexpected response case.");
};
}()}

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