#include "query.hpp"


Public Types | |
| using | QueryVariantType = wrap< GetAccount, GetSignatories, GetAccountTransactions, GetAccountAssetTransactions, GetTransactions, GetAccountAssets, GetAccountDetail, GetRoles, GetRolePermissions, GetAssetInfo, GetPendingTransactions, GetBlock, GetPeers, GetEngineReceipts > |
| Type of variant, that handle concrete query. More... | |
Public Types inherited from shared_model::interface::ModelPrimitive< Query > | |
| using | ModelType = Query |
Public Member Functions | |
| virtual const QueryVariantType & | get () const =0 |
| virtual const types::AccountIdType & | creatorAccountId () const =0 |
| virtual types::CounterType | queryCounter () const =0 |
| std::string | toString () const override |
| bool | operator== (const ModelType &rhs) const override |
Public Member Functions inherited from shared_model::interface::Signable< Query > | |
| virtual types::SignatureRangeType | signatures () const=0 |
| virtual bool | addSignature (types::SignedHexStringView signed_blob, types::PublicKeyHexStringView public_key)=0 |
| virtual types::TimestampType | createdTime () const=0 |
| virtual const types::BlobType & | payload () const=0 |
| virtual const types::BlobType & | blob () const=0 |
| bool | operator== (const Query &rhs) const override |
| bool | equalsByValue (const Query &rhs) const |
| virtual const types::HashType & | hash () const=0 |
| std::string | toString () const override |
Public Member Functions inherited from shared_model::interface::ModelPrimitive< Query > | |
| virtual bool | operator!= (const ModelType &rhs) const |
| virtual | ~ModelPrimitive ()=default |
Additional Inherited Members | |
Protected Types inherited from shared_model::interface::Signable< Query > | |
| using | SignatureSetType = std::unordered_set< T, SignatureSetTypeOps, SignatureSetTypeOps > |
Static Protected Member Functions inherited from shared_model::interface::Signable< Query > | |
| static auto | makeHash (const types::BlobType &payload) |
Class Query provides container with one of concrete query available in system. General note: this class is container for queries but not a base class.
Type of variant, that handle concrete query.
|
pure virtual |
Implemented in shared_model::proto::Query.

|
pure virtual |
Implemented in shared_model::proto::Query.

|
override |
|
pure virtual |
Query counter - incremental variable reflect for number of sent to system queries plus 1. Required for preventing replay attacks.
Implemented in shared_model::proto::Query.

|
overridevirtual |
Make string developer representation of object
Reimplemented from shared_model::interface::ModelPrimitive< Query >.
