hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
proto_role_permissions_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_PROTO_ROLE_PERMISSIONS_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_PROTO_ROLE_PERMISSIONS_RESPONSE_HPP
8 
11 #include "qry_responses.pb.h"
12 
13 namespace shared_model {
14  namespace proto {
16  : public CopyableProto<interface::RolePermissionsResponse,
17  iroha::protocol::QueryResponse,
18  RolePermissionsResponse> {
19  public:
20  template <typename QueryResponseType>
21  explicit RolePermissionsResponse(QueryResponseType &&queryResponse);
22 
24 
26 
27  const interface::RolePermissionSet &rolePermissions() const override;
28 
29  std::string toString() const override;
30 
31  private:
32  const iroha::protocol::RolePermissionsResponse &role_permissions_response_;
33 
34  const interface::RolePermissionSet role_permissions_;
35  };
36  } // namespace proto
37 } // namespace shared_model
38 
39 #endif // IROHA_SHARED_MODEL_PROTO_ROLE_PERMISSIONS_RESPONSE_HPP
const interface::RolePermissionSet & rolePermissions() const override
Definition: proto_role_permissions_response.cpp:45
std::string toString() const override
Definition: proto_role_permissions_response.cpp:49
Definition: permissions.hpp:92
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
RolePermissionsResponse(QueryResponseType &&queryResponse)
Definition: proto_role_permissions_response.cpp:16
Definition: command_executor.hpp:12
Definition: proto_role_permissions_response.hpp:15
Definition: trivial_proto.hpp:45