Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::GrantPermission Class Referenceabstract

#include "grant_permission.hpp"

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

Public Member Functions

virtual const types::AccountIdTypeaccountId () const =0
virtual permissions::Grantable permissionName () const =0
std::string toString () const override=0
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

Detailed Description

Grant permission to the account

Member Function Documentation

virtual const types::AccountIdType& shared_model::interface::GrantPermission::accountId ( ) const
pure virtual
Id of the account to whom grant permission

Implemented in shared_model::proto::GrantPermission.

Here is the caller graph for this function:

bool shared_model::interface::GrantPermission::operator== ( const ModelType rhs) const

Implements shared_model::interface::ModelPrimitive< GrantPermission >.

Here is the call graph for this function:

virtual permissions::Grantable shared_model::interface::GrantPermission::permissionName ( ) const
pure virtual
permission to grant

Implemented in shared_model::proto::GrantPermission.

Here is the caller graph for this function:

std::string shared_model::interface::GrantPermission::toString ( ) const
overridepure virtual

Make string developer representation of object

string with internal state of object

Reimplemented from shared_model::interface::ModelPrimitive< GrantPermission >.

Implemented in shared_model::proto::GrantPermission.

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