hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_account_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_ACCOUNT_TRANSACTIONS_HPP
7 #define IROHA_SHARED_MODEL_GET_ACCOUNT_TRANSACTIONS_HPP
8 
9 #include <memory>
10 
13 
14 namespace shared_model {
15  namespace interface {
16  class TxPaginationMeta;
17 
22  : public ModelPrimitive<GetAccountTransactions> {
23  public:
27  virtual const types::AccountIdType &accountId() const = 0;
28 
30  virtual const TxPaginationMeta &paginationMeta() const = 0;
31 
32  std::string toString() const override;
33 
34  bool operator==(const ModelType &rhs) const override;
35  };
36  } // namespace interface
37 } // namespace shared_model
38 
39 #endif // IROHA_SHARED_MODEL_GET_ACCOUNT_TRANSACTIONS_HPP
virtual const TxPaginationMeta & paginationMeta() const =0
Get the query pagination metadata.
bool operator==(const ModelType &rhs) const override
Definition: get_account_transactions.cpp:21
std::string toString() const override
Definition: get_account_transactions.cpp:13
string(REPLACE".""/"CMAKE_SWIG_OUTDIR ${SWIG_JAVA_PKG}) else() set(CMAKE_SWIG_FLAGS"") endif() myswig_add_library(irohajava LANGUAGE java SOURCES bindings.i) unset(CMAKE_SWIG_FLAGS) swig_link_libraries(irohajava $
Definition: CMakeLists.txt:54
Definition: get_account_transactions.hpp:21
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
Provides query metadata for any transaction list pagination.
Definition: tx_pagination_meta.hpp:17
virtual const types::AccountIdType & accountId() const =0
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12