hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
add_signatory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_ADD_SIGNATORY_HPP
7 #define IROHA_SHARED_MODEL_ADD_SIGNATORY_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
14 
18  class AddSignatory : public ModelPrimitive<AddSignatory> {
19  public:
23  virtual const types::PubkeyType &pubkey() const = 0;
27  virtual const types::AccountIdType &accountId() const = 0;
28 
29  std::string toString() const override;
30 
31  bool operator==(const ModelType &rhs) const override;
32  };
33  } // namespace interface
34 } // namespace shared_model
35 
36 #endif // IROHA_SHARED_MODEL_ADD_SIGNATORY_HPP
Definition: add_signatory.hpp:18
bool operator==(const ModelType &rhs) const override
Definition: add_signatory.cpp:21
std::string toString() const override
Definition: add_signatory.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
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
virtual const types::AccountIdType & accountId() const =0
virtual const types::PubkeyType & pubkey() const =0
Definition: public_key.hpp:16
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12