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

Public Member Functions

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

Public Attributes

TransportType proto_
 
ProtoQueryVariantType variant_
 
QueryVariantType ivariant_ {variant_}
 
interface::types::BlobType blob_ {makeBlob(proto_)}
 
interface::types::BlobType payload_ {makeBlob(proto_.payload())}
 
SignatureSetType< proto::Signature > signatures_
 

Constructor & Destructor Documentation

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

Member Data Documentation

interface::types::BlobType iroha::protocol::Query::Impl::blob_ {makeBlob(proto_)}
QueryVariantType iroha::protocol::Query::Impl::ivariant_ {variant_}
interface::types::BlobType iroha::protocol::Query::Impl::payload_ {makeBlob(proto_.payload())}
TransportType iroha::protocol::Query::Impl::proto_
SignatureSetType<proto::Signature> iroha::protocol::Query::Impl::signatures_
Initial value:
{[this] {
SignatureSetType<proto::Signature> set;
if (proto_.has_signature()) {
set.emplace(proto_.signature());
}
return set;
}()}
ProtoQueryVariantType iroha::protocol::Query::Impl::variant_
Initial value:
{[this] {
const auto &ar = proto_;
int which = ar.payload()
.GetDescriptor()
->FindFieldByNumber(ar.payload().query_case())
->index_in_oneof();
template load<ProtoQueryVariantType>(std::forward<decltype(ar)>(ar),
which);
}()}

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