hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::DetachRole Class Referencefinal

#include "proto_detach_role.hpp"

Inheritance diagram for shared_model::proto::DetachRole:
Inheritance graph
Collaboration diagram for shared_model::proto::DetachRole:
Collaboration graph

Public Member Functions

template<typename CommandType >
 DetachRole (CommandType &&command)
 
 DetachRole (const DetachRole &o)
 
 DetachRole (DetachRole &&o) noexcept
 
const interface::types::AccountIdTypeaccountId () const override
 
const interface::types::RoleIdTyperoleName () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::DetachRole, iroha::protocol::Command, DetachRole >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Command & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::DetachRole
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< DetachRole >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< DetachRole > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::DetachRole, iroha::protocol::Command, DetachRole >
using TransportType = iroha::protocol::Command
 
- Public Types inherited from shared_model::interface::ModelPrimitive< DetachRole >
using ModelType = DetachRole
 
- Public Types inherited from Cloneable< ModelPrimitive< DetachRole > >
using base_type = ModelPrimitive< DetachRole >
 
- Protected Member Functions inherited from shared_model::proto::CopyableProto< interface::DetachRole, iroha::protocol::Command, DetachRole >
interface::DetachRole::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::DetachRole, iroha::protocol::Command, DetachRole >
detail::ReferenceHolder< iroha::protocol::Command > proto_
 

Constructor & Destructor Documentation

template<typename CommandType >
shared_model::proto::DetachRole::DetachRole ( CommandType &&  command)
explicit
shared_model::proto::DetachRole::DetachRole ( const DetachRole o)
shared_model::proto::DetachRole::DetachRole ( DetachRole &&  o)
noexcept

Member Function Documentation

const interface::types::AccountIdType & shared_model::proto::DetachRole::accountId ( ) const
overridevirtual
Returns
Account to remove the role

Implements shared_model::interface::DetachRole.

const interface::types::RoleIdType & shared_model::proto::DetachRole::roleName ( ) const
overridevirtual
Returns
Role name to remove from account

Implements shared_model::interface::DetachRole.


The documentation for this class was generated from the following files: