hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
call_model.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_CALL_MODEL_HPP
7 #define IROHA_SHARED_MODEL_CALL_MODEL_HPP
8 
9 #include <string>
10 
11 namespace shared_model::interface {
12 
13  class CallModel {
14  public:
15  virtual ~CallModel();
16 
17  virtual const std::string &name() const = 0;
18 
19  virtual const std::string &version() const = 0;
20 
21  std::string toString() const;
22 
23  bool operator==(const CallModel &rhs) const;
24  };
25 } // namespace shared_model::interface
26 
27 #endif
virtual const std::string & version() const =0
Definition: command_executor.hpp:13
Definition: call_model.hpp:13
std::string toString() const
Definition: call_model.cpp:18
virtual const std::string & name() const =0
bool operator==(const CallModel &rhs) const
Definition: call_model.cpp:26