hyperledger/iroha
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

Classes

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 >
 Type of variant, that handle concrete command. More...
 
- Public Types inherited from shared_model::interface::NonCopyableModelPrimitive< 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::NonCopyableModelPrimitive< Command >
 NonCopyableModelPrimitive ()=default
 
 NonCopyableModelPrimitive (const NonCopyableModelPrimitive &)=delete
 
 NonCopyableModelPrimitive (NonCopyableModelPrimitive &&) noexcept=default
 
NonCopyableModelPrimitiveoperator= (const NonCopyableModelPrimitive &)=delete
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~NonCopyableModelPrimitive ()=default
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

shared_model::proto::Command::Command ( TransportType ref)
explicit

Here is the call graph for this function:

shared_model::proto::Command::~Command ( )
overridedefault

Here is the caller graph for this function:

Member Function Documentation

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

Implements shared_model::interface::Command.


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