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

#include "permission_to_string.hpp"

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

Public Member Functions

virtual ~PermissionToString ()=default
 
virtual std::string toString (permissions::Role r)=0
 
virtual std::string toString (permissions::Grantable r)=0
 
virtual std::vector< std::string > toString (const RolePermissionSet &set)=0
 
virtual std::vector< std::string > toString (const GrantablePermissionSet &set)=0
 

Constructor & Destructor Documentation

virtual shared_model::interface::PermissionToString::~PermissionToString ( )
virtualdefault

Member Function Documentation

virtual std::string shared_model::interface::PermissionToString::toString ( permissions::Role  r)
pure virtual
Parameters
smobject for conversion
Returns
its string representation

Implemented in shared_model::proto::ProtoPermissionToString.

virtual std::string shared_model::interface::PermissionToString::toString ( permissions::Grantable  r)
pure virtual
Parameters
smobject for conversion
Returns
its string representation

Implemented in shared_model::proto::ProtoPermissionToString.

virtual std::vector<std::string> shared_model::interface::PermissionToString::toString ( const RolePermissionSet set)
pure virtual
Parameters
setfor stringify
Returns
vector of string representation of set elements

Implemented in shared_model::proto::ProtoPermissionToString, and shared_model::proto::ProtoPermissionToString.

virtual std::vector<std::string> shared_model::interface::PermissionToString::toString ( const GrantablePermissionSet set)
pure virtual
Parameters
setfor stringify
Returns
vector of string representation of set elements

Implemented in shared_model::proto::ProtoPermissionToString, and shared_model::proto::ProtoPermissionToString.


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