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

template<typename CommandType >
 AppendRole (CommandType &&command)
 
 AppendRole (const AppendRole &o)
 
 AppendRole (AppendRole &&o) noexcept
 
const interface::types::AccountIdTypeaccountId () const override
 
const interface::types::RoleIdTyperoleName () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::AppendRole, iroha::protocol::Command, AppendRole >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Command & getTransport () const
 
- 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::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::proto::CopyableProto< interface::AppendRole, iroha::protocol::Command, AppendRole >
using TransportType = iroha::protocol::Command
 
- 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 shared_model::proto::CopyableProto< interface::AppendRole, iroha::protocol::Command, AppendRole >
interface::AppendRole::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::AppendRole, iroha::protocol::Command, AppendRole >
detail::ReferenceHolder< iroha::protocol::Command > proto_
 

Constructor & Destructor Documentation

template<typename CommandType >
shared_model::proto::AppendRole::AppendRole ( CommandType &&  command)
explicit
shared_model::proto::AppendRole::AppendRole ( const AppendRole o)
shared_model::proto::AppendRole::AppendRole ( AppendRole &&  o)
noexcept

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: