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

#include "proto_create_role.hpp"

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

Public Member Functions

 CreateRole (iroha::protocol::Command &command)
 
const interface::types::RoleIdTyperoleName () const override
 
const interface::RolePermissionSetrolePermissions () const override
 
std::string toString () const override
 
- Public Member Functions inherited from shared_model::interface::CreateRole
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< CreateRole >
 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< CreateRole >
using ModelType = CreateRole
 

Constructor & Destructor Documentation

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

Here is the call graph for this function:

Member Function Documentation

const interface::types::RoleIdType & shared_model::proto::CreateRole::roleName ( ) const
overridevirtual
Returns
Id of the domain to create

Implements shared_model::interface::CreateRole.

Here is the caller graph for this function:

const interface::RolePermissionSet & shared_model::proto::CreateRole::rolePermissions ( ) const
overridevirtual
Returns
permissions associated with the role

Implements shared_model::interface::CreateRole.

Here is the caller graph for this function:

std::string shared_model::proto::CreateRole::toString ( ) const
overridevirtual

Make string representation of object for development

Returns
string with internal state of object

Implements shared_model::interface::CreateRole.

Here is the call graph for this function:


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