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

#include "append_role.hpp"

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

Public Member Functions

virtual const types::AccountIdTypeaccountId () const =0
 
virtual const types::RoleIdTyperoleName () const =0
 
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
 

Detailed Description

Add role to account used in Iroha

Member Function Documentation

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

Implemented in shared_model::proto::AppendRole.

Here is the caller graph for this function:

bool shared_model::interface::AppendRole::operator== ( const ModelType rhs) const
overridevirtual

Implements shared_model::interface::NonCopyableModelPrimitive< AppendRole >.

Here is the call graph for this function:

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

Implemented in shared_model::proto::AppendRole.

Here is the caller graph for this function:

std::string shared_model::interface::AppendRole::toString ( ) const
overridevirtual

Make string representation of object for development

Returns
string with internal state of object

Reimplemented from shared_model::interface::NonCopyableModelPrimitive< AppendRole >.

Here is the call graph for this function:


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