hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_transactions.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_TRANSACTIONS_HPP
7 #define IROHA_SHARED_MODEL_GET_TRANSACTIONS_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
14  class GetTransactions : public ModelPrimitive<GetTransactions> {
15  public:
17  using TransactionHashesType = std::vector<interface::types::HashType>;
18 
22  virtual const TransactionHashesType &transactionHashes() const = 0;
23 
24  std::string toString() const override;
25 
26  bool operator==(const ModelType &rhs) const override;
27  };
28  } // namespace interface
29 } // namespace shared_model
30 
31 #endif // IROHA_SHARED_MODEL_GET_TRANSACTIONS_HPP
Definition: get_transactions.hpp:14
std::string toString() const override
Definition: get_transactions.cpp:14
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
virtual const TransactionHashesType & transactionHashes() const =0
std::vector< interface::types::HashType > TransactionHashesType
type of hashes collection
Definition: get_transactions.hpp:17
bool operator==(const ModelType &rhs) const override
Definition: get_transactions.cpp:22
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12