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 
23  QueryPayloadMeta(const QueryPayloadMeta &o);
24 
25  QueryPayloadMeta(QueryPayloadMeta &&o) noexcept;
26 
27  const interface::types::AccountIdType &creatorAccountId() const override;
28 
29  interface::types::CounterType queryCounter() const override;
30 
31  interface::types::TimestampType createdTime() const override;
32  };
33  } // namespace proto
34 } // namespace shared_model
35 
36 #endif // IROHA_SHARED_MODEL_PROTO_QUERY_HPP
#define FINAL
Definition: swig_keyword_hider.hpp:17
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
Definition: range_types.hpp:19
uint64_t CounterType
Type of counter.
Definition: types.hpp:65
Definition: command_executor.hpp:12
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:61