hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
query_payload_meta.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_QUERY_PAYLOAD_META_HPP
7 #define IROHA_SHARED_MODEL_QUERY_PAYLOAD_META_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
14 
19  class QueryPayloadMeta : public ModelPrimitive<QueryPayloadMeta> {
20  public:
24  virtual const types::AccountIdType &creatorAccountId() const = 0;
25 
31  virtual types::CounterType queryCounter() const = 0;
32 
36  virtual types::TimestampType createdTime() const = 0;
37 
38  bool operator==(const ModelType &rhs) const override;
39  };
40  } // namespace interface
41 } // namespace shared_model
42 #endif // IROHA_SHARED_MODEL_QUERY_PAYLOAD_META_HPP
bool operator==(const ModelType &rhs) const override
Definition: query_payload_meta.cpp:11
virtual const types::AccountIdType & creatorAccountId() const =0
virtual types::CounterType queryCounter() const =0
Definition: query_payload_meta.hpp:19
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
virtual types::TimestampType createdTime() const =0
uint64_t CounterType
Type of counter.
Definition: types.hpp:63
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:61