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 CopyableProto<interface::QueryPayloadMeta,
17  iroha::protocol::QueryPayloadMeta,
18  QueryPayloadMeta> {
19  public:
20  template <typename QueryPayloadMetaType>
21  explicit QueryPayloadMeta(QueryPayloadMetaType &&query);
22 
24 
25  QueryPayloadMeta(QueryPayloadMeta &&o) noexcept;
26 
27  const interface::types::AccountIdType &creatorAccountId() const override;
28 
30 
32  };
33  } // namespace proto
34 } // namespace shared_model
35 
36 #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: command_executor.hpp:12
Definition: trivial_proto.hpp:45
const interface::types::AccountIdType & creatorAccountId() const override
Definition: proto_query_payload_meta.cpp:28
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:64