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

 GrantPermission (iroha::protocol::Command &command)
 
const interface::types::AccountIdTypeaccountId () const override
 
interface::permissions::Grantable permissionName () const override
 
std::string toString () const override
 
- 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
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< GrantPermission >
using ModelType = GrantPermission
 

Constructor & Destructor Documentation

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

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: