#include "command.hpp"
Public Types | |
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... | |
![]() | |
using | ModelType = Command |
![]() | |
using | base_type = ModelPrimitive< Command > |
Public Member Functions | |
virtual const CommandVariantType & | get () const =0 |
std::string | toString () const override |
bool | operator== (const ModelType &rhs) const override |
![]() | |
virtual bool | operator!= (const ModelType &rhs) const |
virtual | ~ModelPrimitive ()=default |
![]() | |
virtual | ~Cloneable ()=default |
Additional Inherited Members | |
![]() | |
virtual ModelPrimitive< Command > * | clone () const =0 |
Class provides commands container for all commands in system. General note: this class is container for commands, not a base class.
Type of variant, that handle concrete command.
|
pure virtual |
Implemented in shared_model::proto::Command.
|
overridevirtual |
Implements shared_model::interface::ModelPrimitive< Command >.
|
overridevirtual |
Make string developer representation of object
Reimplemented from shared_model::interface::ModelPrimitive< Command >.