hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::BlocksQuery Class Referenceabstract

#include "blocks_query.hpp"

Inheritance diagram for shared_model::interface::BlocksQuery:
Inheritance graph
Collaboration diagram for shared_model::interface::BlocksQuery:
Collaboration graph

Public Member Functions

virtual const types::AccountIdTypecreatorAccountId () 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< BlocksQuery >
virtual types::SignatureRangeType signatures () const =0
 
virtual bool addSignature (const crypto::Signed &signed_blob, const crypto::PublicKey &public_key)=0
 
virtual types::TimestampType createdTime () const =0
 
virtual const types::BlobTypepayload () const =0
 
virtual const types::BlobTypeblob () const =0
 
bool operator== (const BlocksQuery &rhs) const override
 
bool equalsByValue (const BlocksQuery &rhs) const
 
virtual const types::HashTypehash () const
 
std::string toString () const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< BlocksQuery >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< BlocksQuery > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< BlocksQuery >
using ModelType = BlocksQuery
 
- Public Types inherited from Cloneable< ModelPrimitive< BlocksQuery > >
using base_type = ModelPrimitive< BlocksQuery >
 
- Protected Types inherited from shared_model::interface::Signable< BlocksQuery >
using SignatureSetType = std::unordered_set< T, SignatureSetTypeOps, SignatureSetTypeOps >
 
- Protected Member Functions inherited from Cloneable< ModelPrimitive< BlocksQuery > >
virtual ModelPrimitive< BlocksQuery > * clone () const =0
 

Detailed Description

Class BlocksQuery provides container with one of concrete query available in system. General note: this class is container for queries but not a base class.

Member Function Documentation

const interface::types::AccountIdType & shared_model::proto::BlocksQuery::creatorAccountId ( ) const
pure virtual
Returns
id of query creator

Implemented in shared_model::proto::FINAL, shared_model::proto::FINAL, shared_model::proto::FINAL, and shared_model::proto::FINAL.

Here is the caller graph for this function:

bool shared_model::interface::BlocksQuery::operator== ( const ModelType rhs) const
overridevirtual

Implements shared_model::interface::ModelPrimitive< BlocksQuery >.

Here is the call graph for this function:

interface::types::CounterType shared_model::proto::BlocksQuery::queryCounter ( ) const
pure virtual

Query counter - incremental variable reflect for number of sent to system queries plus 1. Required for preventing replay attacks.

Returns
attached query counter

Implemented in shared_model::proto::FINAL, shared_model::proto::FINAL, and shared_model::proto::FINAL.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string shared_model::interface::BlocksQuery::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

Reimplemented from shared_model::interface::ModelPrimitive< BlocksQuery >.

Here is the call graph for this function:


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