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

#include "proto_grant_permission.hpp"

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

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

const interface::types::AccountIdType & shared_model::proto::GrantPermission::accountId ( ) const
overridevirtual
Returns
Id of the account to whom grant permission

Implements shared_model::interface::GrantPermission.

Here is the caller graph for this function:

interface::permissions::Grantable shared_model::proto::GrantPermission::permissionName ( ) const
overridevirtual
Returns
permission to grant

Implements shared_model::interface::GrantPermission.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Make string developer representation of object

Returns
string with internal state of object

Implements shared_model::interface::GrantPermission.

Here is the call graph for this function:


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