hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_account_detail_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_PROTO_ACCOUNT_DETAIL_RESPONSE_HPP
7 #define IROHA_PROTO_ACCOUNT_DETAIL_RESPONSE_HPP
8 
12 #include "qry_responses.pb.h"
13 
14 namespace shared_model {
15  namespace proto {
17  : public CopyableProto<interface::AccountDetailResponse,
18  iroha::protocol::QueryResponse,
19  AccountDetailResponse> {
20  public:
21  template <typename QueryResponseType>
22  explicit AccountDetailResponse(QueryResponseType &&queryResponse);
23 
25 
27 
28  const interface::types::DetailType &detail() const override;
29 
30  private:
31  const iroha::protocol::AccountDetailResponse &account_detail_response_;
32  };
33  } // namespace proto
34 } // namespace shared_model
35 
36 #endif // IROHA_PROTO_ACCOUNT_DETAIL_RESPONSE_HPP
const interface::types::DetailType & detail() const override
Definition: proto_account_detail_response.cpp:30
std::string DetailType
Type of detail.
Definition: types.hpp:71
AccountDetailResponse(QueryResponseType &&queryResponse)
Definition: proto_account_detail_response.cpp:12
Definition: proto_account_detail_response.hpp:16
Definition: command_executor.hpp:12
Definition: trivial_proto.hpp:45