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::ModelPrimitive< AppendRole >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< AppendRole > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< AppendRole >
using ModelType = AppendRole
 
- Public Types inherited from Cloneable< ModelPrimitive< AppendRole > >
using base_type = ModelPrimitive< AppendRole >
 
- Protected Member Functions inherited from Cloneable< ModelPrimitive< AppendRole > >
virtual ModelPrimitive< AppendRole > * clone () const =0
 

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::ModelPrimitive< 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 developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:


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