hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
get_account_detail.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_GET_ACCOUNT_DETAIL_HPP
7 #define IROHA_SHARED_MODEL_GET_ACCOUNT_DETAIL_HPP
8 
9 #include <boost/optional.hpp>
10 
13 
14 namespace shared_model {
15  namespace interface {
28  class GetAccountDetail : public ModelPrimitive<GetAccountDetail> {
29  public:
33  virtual const types::AccountIdType &accountId() const = 0;
34 
38  virtual boost::optional<types::AccountDetailKeyType> key() const = 0;
39 
43  virtual boost::optional<types::AccountIdType> writer() const = 0;
44 
45  std::string toString() const override;
46 
47  bool operator==(const ModelType &rhs) const override;
48  };
49  } // namespace interface
50 } // namespace shared_model
51 
52 #endif // IROHA_SHARED_MODEL_GET_ACCOUNT_DETAIL_HPP
virtual boost::optional< types::AccountIdType > writer() const =0
bool operator==(const ModelType &rhs) const override
Definition: get_account_detail.cpp:20
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
Definition: get_account_detail.hpp:28
virtual const types::AccountIdType & accountId() const =0
virtual boost::optional< types::AccountDetailKeyType > key() const =0
std::string toString() const override
Definition: get_account_detail.cpp:11
Definition: model_primitive.hpp:23
Definition: command_executor.hpp:12