hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
create_domain.hpp
Go to the documentation of this file.
1 
5 #ifndef IROHA_CREATE_DOMAIN_HPP
6 #define IROHA_CREATE_DOMAIN_HPP
7 
8 #include "model/command.hpp"
9 
10 namespace iroha {
11  namespace model {
12 
16  struct CreateDomain : public Command {
21 
26 
27  bool operator==(const Command &command) const override;
28 
30 
35  CreateDomain(const std::string &domain_id,
36  const std::string &user_default_role)
37  : domain_id(domain_id), user_default_role(user_default_role) {}
38  };
39  } // namespace model
40 } // namespace iroha
41 #endif // IROHA_CREATE_DOMAIN_HPP
Definition: create_domain.hpp:16
Definition: command.hpp: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
Definition: block_query.hpp:16
CreateDomain()
Definition: create_domain.hpp:29
CreateDomain(const std::string &domain_id, const std::string &user_default_role)
Definition: create_domain.hpp:35
bool operator==(const Command &command) const override
Definition: model_operators.cpp:154
std::string domain_id
Definition: create_domain.hpp:20
std::string user_default_role
Definition: create_domain.hpp:25