hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::permissions Namespace Reference

Functions

interface::permissions::Role fromTransport (iroha::protocol::RolePermission perm) noexcept
 
iroha::protocol::RolePermission toTransport (interface::permissions::Role r)
 
std::string toString (interface::permissions::Role r)
 
interface::permissions::Grantable fromTransport (iroha::protocol::GrantablePermission perm) noexcept
 
iroha::protocol::GrantablePermission toTransport (interface::permissions::Grantable r)
 
std::string toString (interface::permissions::Grantable r)
 
std::vector< std::stringtoString (const interface::PermissionSet< interface::permissions::Role > &set)
 
std::vector< std::stringtoString (const interface::PermissionSet< interface::permissions::Grantable > &set)
 

Function Documentation

interface::permissions::Role shared_model::proto::permissions::fromTransport ( iroha::protocol::RolePermission  perm)
noexcept

Perform deserialization without checks

Parameters
permprotocol object for conversion
Returns
sm object

Here is the caller graph for this function:

interface::permissions::Grantable shared_model::proto::permissions::fromTransport ( iroha::protocol::GrantablePermission  perm)
noexcept

Perform deserialization without checks

Parameters
permprotocol object for conversion
Returns
sm object
std::string shared_model::proto::permissions::toString ( interface::permissions::Role  r)
Parameters
smobject for conversion
Returns
its string representation

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

std::vector< std::string > shared_model::proto::permissions::toString ( const interface::PermissionSet< interface::permissions::Role > &  set)
Parameters
setfor stringify
Returns
vector of string representation of set elements

Here is the call graph for this function:

std::vector< std::string > shared_model::proto::permissions::toString ( const interface::PermissionSet< interface::permissions::Grantable > &  set)
Parameters
setfor stringify
Returns
vector of string representation of set elements

Here is the call graph for this function:

iroha::protocol::RolePermission shared_model::proto::permissions::toTransport ( interface::permissions::Role  r)
Parameters
smobject for conversion
Returns
protobuf object

Here is the caller graph for this function:

iroha::protocol::GrantablePermission shared_model::proto::permissions::toTransport ( interface::permissions::Grantable  r)
Parameters
smobject for conversion
Returns
protobuf object