hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::model::converters::PbCommandFactory Class Reference

#include "pb_command_factory.hpp"

Collaboration diagram for iroha::model::converters::PbCommandFactory:
Collaboration graph

Public Member Functions

 PbCommandFactory ()
 
protocol::AddAssetQuantity serializeAddAssetQuantity (const model::AddAssetQuantity &addAssetQuantity)
 
model::AddAssetQuantity deserializeAddAssetQuantity (const protocol::AddAssetQuantity &addAssetQuantity)
 
protocol::SubtractAssetQuantity serializeSubtractAssetQuantity (const model::SubtractAssetQuantity &subtractAssetQuantity)
 
model::SubtractAssetQuantity deserializeSubtractAssetQuantity (const protocol::SubtractAssetQuantity &subtractAssetQuantity)
 
protocol::AddPeer serializeAddPeer (const model::AddPeer &addPeer)
 
model::AddPeer deserializeAddPeer (const protocol::AddPeer &addPeer)
 
protocol::AddSignatory serializeAddSignatory (const model::AddSignatory &addSignatory)
 
model::AddSignatory deserializeAddSignatory (const protocol::AddSignatory &addSignatory)
 
protocol::CreateAsset serializeCreateAsset (const model::CreateAsset &createAsset)
 
model::CreateAsset deserializeCreateAsset (const protocol::CreateAsset &createAsset)
 
protocol::CreateAccount serializeCreateAccount (const model::CreateAccount &createAccount)
 
model::CreateAccount deserializeCreateAccount (const protocol::CreateAccount &createAccount)
 
protocol::CreateDomain serializeCreateDomain (const model::CreateDomain &createDomain)
 
model::CreateDomain deserializeCreateDomain (const protocol::CreateDomain &createDomain)
 
protocol::RemoveSignatory serializeRemoveSignatory (const model::RemoveSignatory &removeSignatory)
 
model::RemoveSignatory deserializeRemoveSignatory (const protocol::RemoveSignatory &removeSignatory)
 
protocol::SetAccountQuorum serializeSetQuorum (const model::SetQuorum &setAccountQuorum)
 
model::SetQuorum deserializeSetQuorum (const protocol::SetAccountQuorum &setAccountQuorum)
 
protocol::TransferAsset serializeTransferAsset (const model::TransferAsset &subtractAssetQuantity)
 
model::TransferAsset deserializeTransferAsset (const protocol::TransferAsset &subtractAssetQuantity)
 
protocol::AppendRole serializeAppendRole (const model::AppendRole &command)
 
model::AppendRole deserializeAppendRole (const protocol::AppendRole &command)
 
protocol::DetachRole serializeDetachRole (const model::DetachRole &command)
 
model::DetachRole deserializeDetachRole (const protocol::DetachRole &command)
 
protocol::CreateRole serializeCreateRole (const model::CreateRole &command)
 
model::CreateRole deserializeCreateRole (const protocol::CreateRole &command)
 
protocol::GrantPermission serializeGrantPermission (const model::GrantPermission &command)
 
model::GrantPermission deserializeGrantPermission (const protocol::GrantPermission &command)
 
protocol::RevokePermission serializeRevokePermission (const model::RevokePermission &command)
 
model::RevokePermission deserializeRevokePermission (const protocol::RevokePermission &command)
 
protocol::SetAccountDetail serializeSetAccountDetail (const model::SetAccountDetail &command)
 
model::SetAccountDetail deserializeSetAccountDetail (const protocol::SetAccountDetail &command)
 
protocol::Command serializeAbstractCommand (const model::Command &command)
 
std::shared_ptr< model::CommanddeserializeAbstractCommand (const protocol::Command &command)
 

Protected Attributes

boost::bimap< iroha::protocol::RolePermission, std::string > pb_role_map_
 
boost::bimap< iroha::protocol::GrantablePermission, std::string > pb_grant_map_
 

Detailed Description

Converting commands and proto commands

Constructor & Destructor Documentation

iroha::model::converters::PbCommandFactory::PbCommandFactory ( )

Member Function Documentation

std::shared_ptr< model::Command > iroha::model::converters::PbCommandFactory::deserializeAbstractCommand ( const protocol::Command &  command)

Here is the call graph for this function:

Here is the caller graph for this function:

model::AddAssetQuantity iroha::model::converters::PbCommandFactory::deserializeAddAssetQuantity ( const protocol::AddAssetQuantity &  addAssetQuantity)

Here is the caller graph for this function:

model::AddPeer iroha::model::converters::PbCommandFactory::deserializeAddPeer ( const protocol::AddPeer &  addPeer)

Here is the call graph for this function:

Here is the caller graph for this function:

model::AddSignatory iroha::model::converters::PbCommandFactory::deserializeAddSignatory ( const protocol::AddSignatory &  addSignatory)

Here is the call graph for this function:

Here is the caller graph for this function:

model::AppendRole iroha::model::converters::PbCommandFactory::deserializeAppendRole ( const protocol::AppendRole &  command)

Here is the caller graph for this function:

model::CreateAccount iroha::model::converters::PbCommandFactory::deserializeCreateAccount ( const protocol::CreateAccount &  createAccount)

Here is the call graph for this function:

Here is the caller graph for this function:

model::CreateAsset iroha::model::converters::PbCommandFactory::deserializeCreateAsset ( const protocol::CreateAsset &  createAsset)

Here is the caller graph for this function:

model::CreateDomain iroha::model::converters::PbCommandFactory::deserializeCreateDomain ( const protocol::CreateDomain &  createDomain)

Here is the caller graph for this function:

model::CreateRole iroha::model::converters::PbCommandFactory::deserializeCreateRole ( const protocol::CreateRole &  command)

Here is the caller graph for this function:

model::DetachRole iroha::model::converters::PbCommandFactory::deserializeDetachRole ( const protocol::DetachRole &  command)

Here is the caller graph for this function:

model::GrantPermission iroha::model::converters::PbCommandFactory::deserializeGrantPermission ( const protocol::GrantPermission &  command)

Here is the caller graph for this function:

model::RemoveSignatory iroha::model::converters::PbCommandFactory::deserializeRemoveSignatory ( const protocol::RemoveSignatory &  removeSignatory)

Here is the call graph for this function:

Here is the caller graph for this function:

model::RevokePermission iroha::model::converters::PbCommandFactory::deserializeRevokePermission ( const protocol::RevokePermission &  command)

Here is the caller graph for this function:

model::SetAccountDetail iroha::model::converters::PbCommandFactory::deserializeSetAccountDetail ( const protocol::SetAccountDetail &  command)

Here is the caller graph for this function:

model::SetQuorum iroha::model::converters::PbCommandFactory::deserializeSetQuorum ( const protocol::SetAccountQuorum &  setAccountQuorum)

Here is the caller graph for this function:

model::SubtractAssetQuantity iroha::model::converters::PbCommandFactory::deserializeSubtractAssetQuantity ( const protocol::SubtractAssetQuantity &  subtractAssetQuantity)

Here is the caller graph for this function:

model::TransferAsset iroha::model::converters::PbCommandFactory::deserializeTransferAsset ( const protocol::TransferAsset &  subtractAssetQuantity)

Here is the caller graph for this function:

protocol::Command iroha::model::converters::PbCommandFactory::serializeAbstractCommand ( const model::Command command)

Here is the call graph for this function:

Here is the caller graph for this function:

protocol::AddAssetQuantity iroha::model::converters::PbCommandFactory::serializeAddAssetQuantity ( const model::AddAssetQuantity addAssetQuantity)

Here is the caller graph for this function:

protocol::AddPeer iroha::model::converters::PbCommandFactory::serializeAddPeer ( const model::AddPeer addPeer)

Here is the call graph for this function:

Here is the caller graph for this function:

protocol::AddSignatory iroha::model::converters::PbCommandFactory::serializeAddSignatory ( const model::AddSignatory addSignatory)

Here is the call graph for this function:

Here is the caller graph for this function:

protocol::AppendRole iroha::model::converters::PbCommandFactory::serializeAppendRole ( const model::AppendRole command)

Here is the caller graph for this function:

protocol::CreateAccount iroha::model::converters::PbCommandFactory::serializeCreateAccount ( const model::CreateAccount createAccount)

Here is the call graph for this function:

Here is the caller graph for this function:

protocol::CreateAsset iroha::model::converters::PbCommandFactory::serializeCreateAsset ( const model::CreateAsset createAsset)

Here is the caller graph for this function:

protocol::CreateDomain iroha::model::converters::PbCommandFactory::serializeCreateDomain ( const model::CreateDomain createDomain)

Here is the caller graph for this function:

protocol::CreateRole iroha::model::converters::PbCommandFactory::serializeCreateRole ( const model::CreateRole command)

Here is the caller graph for this function:

protocol::DetachRole iroha::model::converters::PbCommandFactory::serializeDetachRole ( const model::DetachRole command)

Here is the caller graph for this function:

protocol::GrantPermission iroha::model::converters::PbCommandFactory::serializeGrantPermission ( const model::GrantPermission command)

Here is the caller graph for this function:

protocol::RemoveSignatory iroha::model::converters::PbCommandFactory::serializeRemoveSignatory ( const model::RemoveSignatory removeSignatory)

Here is the call graph for this function:

Here is the caller graph for this function:

protocol::RevokePermission iroha::model::converters::PbCommandFactory::serializeRevokePermission ( const model::RevokePermission command)

Here is the caller graph for this function:

protocol::SetAccountDetail iroha::model::converters::PbCommandFactory::serializeSetAccountDetail ( const model::SetAccountDetail command)

Here is the caller graph for this function:

protocol::SetAccountQuorum iroha::model::converters::PbCommandFactory::serializeSetQuorum ( const model::SetQuorum setAccountQuorum)

Here is the caller graph for this function:

protocol::SubtractAssetQuantity iroha::model::converters::PbCommandFactory::serializeSubtractAssetQuantity ( const model::SubtractAssetQuantity subtractAssetQuantity)

Here is the caller graph for this function:

protocol::TransferAsset iroha::model::converters::PbCommandFactory::serializeTransferAsset ( const model::TransferAsset subtractAssetQuantity)

Here is the caller graph for this function:

Member Data Documentation

boost::bimap<iroha::protocol::GrantablePermission, std::string> iroha::model::converters::PbCommandFactory::pb_grant_map_
protected
boost::bimap<iroha::protocol::RolePermission, std::string> iroha::model::converters::PbCommandFactory::pb_role_map_
protected

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