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

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

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename CommandType >
shared_model::proto::CreateRole::CreateRole ( CommandType &&  command)
explicit

Here is the call graph for this function:

shared_model::proto::CreateRole::CreateRole ( const CreateRole o)
shared_model::proto::CreateRole::CreateRole ( CreateRole &&  o)
noexcept

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

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: