#include "signable.hpp"


Classes | |
| class | SignatureSetTypeOps |
Public Member Functions | |
| 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 Model &rhs) const override |
| bool | equalsByValue (const Model &rhs) const |
| virtual const types::HashType & | hash () const =0 |
| std::string | toString () const override |
Public Member Functions inherited from shared_model::interface::ModelPrimitive< Model > | |
| virtual bool | operator!= (const ModelType &rhs) const |
| virtual | ~ModelPrimitive ()=default |
Protected Types | |
| template<typename T > | |
| using | SignatureSetType = std::unordered_set< T, SignatureSetTypeOps, SignatureSetTypeOps > |
Static Protected Member Functions | |
| static auto | makeHash (const types::BlobType &payload) |
Additional Inherited Members | |
Public Types inherited from shared_model::interface::ModelPrimitive< Model > | |
| using | ModelType = Model |
Interface provides signatures and adds them to model object
| Model | - your model |
|
protected |
|
pure virtual |
Attach signature to object
|
pure virtual |
Implemented in shared_model::proto::Query, shared_model::proto::Transaction, shared_model::proto::Block, and shared_model::proto::BlocksQuery.
|
pure virtual |
Implemented in shared_model::proto::Transaction, shared_model::proto::Query, shared_model::proto::Block, and shared_model::proto::BlocksQuery.

|
inline |
Provides comaprison based on equality objects only
| rhs | - another model object |

|
pure virtual |
Implemented in shared_model::proto::Transaction, shared_model::proto::Query, shared_model::proto::Block, and shared_model::proto::BlocksQuery.

|
inlinestaticprotected |
|
inlineoverridevirtual |
Provides comparison based on equality of objects and signatures.
| rhs | - another model object |
Implements shared_model::interface::ModelPrimitive< Model >.
|
pure virtual |
Implemented in shared_model::proto::Block, shared_model::proto::Query, shared_model::proto::Transaction, and shared_model::proto::BlocksQuery.
|
pure virtual |
Implemented in shared_model::proto::Transaction, shared_model::proto::Query, shared_model::proto::Block, and shared_model::proto::BlocksQuery.

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