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

#include "proto_append_role.hpp"

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

Public Member Functions

 AppendRole (iroha::protocol::Command &command)
 
const interface::types::AccountIdTypeaccountId () const override
 
const interface::types::RoleIdTyperoleName () const override
 
- Public Member Functions inherited from shared_model::interface::AppendRole
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< AppendRole >
 NonCopyableModelPrimitive ()=default
 
 NonCopyableModelPrimitive (const NonCopyableModelPrimitive &)=delete
 
 NonCopyableModelPrimitive (NonCopyableModelPrimitive &&) noexcept=default
 
NonCopyableModelPrimitiveoperator= (const NonCopyableModelPrimitive &)=delete
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~NonCopyableModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::NonCopyableModelPrimitive< AppendRole >
using ModelType = AppendRole
 

Constructor & Destructor Documentation

shared_model::proto::AppendRole::AppendRole ( iroha::protocol::Command &  command)
explicit

Member Function Documentation

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

Implements shared_model::interface::AppendRole.

const interface::types::RoleIdType & shared_model::proto::AppendRole::roleName ( ) const
overridevirtual
Returns
Role name to add to account

Implements shared_model::interface::AppendRole.


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