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 >
 Type of variant, that handle concrete command. More...
- Public Types inherited from shared_model::interface::ModelPrimitive< Command >
using ModelType = Command
- Public Types inherited from Cloneable< ModelPrimitive< Command > >
using base_type = ModelPrimitive< Command >

Public Member Functions

 Command (Command &&o) noexcept
 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
virtual ~ModelPrimitive ()=default
- Public Member Functions inherited from Cloneable< ModelPrimitive< Command > >
virtual ~Cloneable ()=default

Protected Member Functions

Commandclone () const override

Member Typedef Documentation

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

Constructor & Destructor Documentation

shared_model::proto::Command::Command ( Command &&  o)
shared_model::proto::Command::Command ( TransportType ref)

Here is the call graph for this function:

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

Here is the caller graph for this function:

Member Function Documentation

Command * shared_model::proto::Command::clone ( ) const

Polymorphic clone constructor. Method guarantees deep-copy.

pointer to cloned object

Implements Cloneable< ModelPrimitive< Command > >.

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: