hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_query_payload_meta.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PROTO_QUERY_PAYLOAD_META_HPP
7 #define IROHA_SHARED_MODEL_PROTO_QUERY_PAYLOAD_META_HPP
8 
11 #include "queries.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
15  class QueryPayloadMeta final
16  : public TrivialProto<interface::QueryPayloadMeta,
17  iroha::protocol::QueryPayloadMeta> {
18  public:
19  template <typename QueryPayloadMetaType>
20  explicit QueryPayloadMeta(QueryPayloadMetaType &&query);
21 
23 
24  QueryPayloadMeta(QueryPayloadMeta &&o) noexcept;
25 
26  const interface::types::AccountIdType &creatorAccountId() const override;
27 
29 
31  };
32  } // namespace proto
33 } // namespace shared_model
34 
35 #endif // IROHA_SHARED_MODEL_PROTO_QUERY_HPP
interface::types::TimestampType createdTime() const override
Definition: proto_query_payload_meta.cpp:37
interface::types::CounterType queryCounter() const override
Definition: proto_query_payload_meta.cpp:33
std::string AccountIdType
Type of account id.
Definition: types.hpp:39
QueryPayloadMeta(QueryPayloadMetaType &&query)
Definition: proto_query_payload_meta.cpp:12
Definition: proto_query_payload_meta.hpp:15
uint64_t CounterType
Type of counter.
Definition: types.hpp:66
Definition: trivial_proto.hpp:19
Definition: command_executor.hpp:12
const interface::types::AccountIdType & creatorAccountId() const override
Definition: proto_query_payload_meta.cpp:28
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:64