Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::Command Class Referencefinal

#include "proto_command.hpp"

Inheritance diagram for shared_model::proto::Command:
Inheritance graph
Collaboration diagram for shared_model::proto::Command:
Collaboration graph


struct  Impl

Public Types

using TransportType = iroha::protocol::Command
- Public Types inherited from shared_model::interface::Command
using CommandVariantType = wrap< AddAssetQuantity, AddPeer, AddSignatory, AppendRole, CreateAccount, CreateAsset, CreateDomain, CreateRole, DetachRole, GrantPermission, RemoveSignatory, RevokePermission, SetAccountDetail, SetQuorum, SubtractAssetQuantity, TransferAsset, RemovePeer, CompareAndSetAccountDetail, SetSettingValue >
 Type of variant, that handle concrete command. More...
- Public Types inherited from shared_model::interface::ModelPrimitive< Command >
using ModelType = Command

Public Member Functions

 Command (TransportType &ref)
 ~Command () override
const CommandVariantTypeget () const override
- Public Member Functions inherited from shared_model::interface::Command
std::string toString () const override
bool operator== (const ModelType &rhs) const override
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< Command >
virtual bool operator== (const ModelType &rhs) const=0
virtual bool operator!= (const ModelType &rhs) const
virtual ~ModelPrimitive ()=default

Member Typedef Documentation

◆ TransportType

using shared_model::proto::Command::TransportType = iroha::protocol::Command

Constructor & Destructor Documentation

◆ Command()

shared_model::proto::Command::Command ( TransportType ref)
Here is the call graph for this function:

◆ ~Command()

shared_model::proto::Command::~Command ( )
Here is the caller graph for this function:

Member Function Documentation

◆ get()

const Command::CommandVariantType & shared_model::proto::Command::get ( ) const
reference to const variant with concrete command

Implements shared_model::interface::Command.

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