hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
set_quorum.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_SET_QUORUM_HPP
7 #define IROHA_SHARED_MODEL_SET_QUORUM_HPP
8 
11 
12 namespace shared_model {
13  namespace interface {
17  class SetQuorum : public ModelPrimitive<SetQuorum> {
18  public:
22  virtual const types::AccountIdType &accountId() const = 0;
26  virtual types::QuorumType newQuorum() const = 0;
27 
28  std::string toString() const override;
29 
30  bool operator==(const ModelType &rhs) const override;
31  };
32  } // namespace interface
33 } // namespace shared_model
34 
35 #endif // IROHA_SHARED_MODEL_SET_QUORUM_HPP
bool operator==(const ModelType &rhs) const override
Definition: set_quorum.cpp:19
Definition: set_quorum.hpp:17
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 types::AccountIdType & accountId() const =0
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
virtual types::QuorumType newQuorum() const =0
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12
uint16_t QuorumType
Type of Quorum used in transaction and set quorum.
Definition: types.hpp:59
std::string toString() const override
Definition: set_quorum.cpp:11