hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
add_peer.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_ADD_PEER_HPP
7 #define IROHA_SHARED_MODEL_ADD_PEER_HPP
8 
12 
13 namespace shared_model {
14  namespace interface {
15 
19  class AddPeer : public ModelPrimitive<AddPeer> {
20  public:
25  virtual const interface::Peer &peer() const = 0;
26 
27  std::string toString() const override;
28 
29  bool operator==(const ModelType &rhs) const override;
30  };
31  } // namespace interface
32 } // namespace shared_model
33 
34 #endif // IROHA_SHARED_MODEL_ADD_PEER_HPP
virtual const interface::Peer & peer() const =0
Definition: peer.hpp:18
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
std::string toString() const override
Definition: add_peer.cpp:13
bool operator==(const ModelType &rhs) const override
Definition: add_peer.cpp:21
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12
Definition: add_peer.hpp:19