hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::ModelPrimitive< Model > Class Template Referenceabstract

#include "model_primitive.hpp"

Inheritance diagram for shared_model::interface::ModelPrimitive< Model >:
Inheritance graph
Collaboration diagram for shared_model::interface::ModelPrimitive< Model >:
Collaboration graph

Public Types

using ModelType = Model
 
- Public Types inherited from Cloneable< ModelPrimitive< Model > >
using base_type = ModelPrimitive< Model >
 

Public Member Functions

virtual std::string toString () const
 
virtual bool operator== (const ModelType &rhs) const =0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< Model > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from Cloneable< ModelPrimitive< Model > >
virtual ModelPrimitive< Model > * clone () const =0
 

Detailed Description

template<typename Model>
class shared_model::interface::ModelPrimitive< Model >

ModelPrimitive is a base class of whole domain objects in system. This class required for guarantee consistent interface on all shared model objects.

Template Parameters
Model- your new style model

Member Typedef Documentation

template<typename Model>
using shared_model::interface::ModelPrimitive< Model >::ModelType = Model

Reference for model type.

Constructor & Destructor Documentation

template<typename Model>
virtual shared_model::interface::ModelPrimitive< Model >::~ModelPrimitive ( )
virtualdefault

Here is the caller graph for this function:

Member Function Documentation

template<typename Model>
virtual bool shared_model::interface::ModelPrimitive< Model >::operator!= ( const ModelType rhs) const
inlinevirtual
template<typename Model>
virtual bool shared_model::interface::ModelPrimitive< Model >::operator== ( const ModelType rhs) const
pure virtual

Implemented in shared_model::interface::TransactionResponse, shared_model::interface::ErrorQueryResponse, shared_model::interface::Query, shared_model::interface::Signable< Model, HashProvider >, shared_model::interface::Command, shared_model::interface::Signable< Transaction >, shared_model::interface::Signable< BlocksQuery >, shared_model::interface::Signable< Block >, shared_model::interface::Signable< Query >, shared_model::interface::QueryResponse, shared_model::interface::Account, shared_model::interface::AccountAsset, shared_model::interface::Asset, shared_model::interface::Amount, shared_model::interface::Domain, shared_model::interface::GetAccountDetail, shared_model::interface::Signature, shared_model::interface::BlockQueryResponse, shared_model::interface::TransferAsset, shared_model::interface::BatchMeta, shared_model::interface::TransactionsPageResponse, shared_model::interface::BlocksQuery, shared_model::interface::GetAccountAssetTransactions, shared_model::interface::QueryPayloadMeta, shared_model::interface::SetAccountDetail, shared_model::interface::CreateAsset, shared_model::interface::BlockResponse, shared_model::interface::CreateAccount, shared_model::interface::CreateRole, shared_model::interface::AccountResponse, shared_model::interface::Proposal, shared_model::interface::GetAccountTransactions, shared_model::interface::BlockErrorResponse, shared_model::interface::AbstractErrorResponse< Model >, shared_model::interface::AbstractTxResponse< Model >, shared_model::interface::AbstractErrorResponse< NoAccountDetailErrorResponse >, shared_model::interface::AbstractErrorResponse< StatefulFailedErrorResponse >, shared_model::interface::AbstractErrorResponse< NoAccountErrorResponse >, shared_model::interface::AbstractErrorResponse< NoRolesErrorResponse >, shared_model::interface::AbstractErrorResponse< NotSupportedErrorResponse >, shared_model::interface::AbstractErrorResponse< NoAssetErrorResponse >, shared_model::interface::AbstractErrorResponse< NoAccountAssetsErrorResponse >, shared_model::interface::AbstractErrorResponse< NoSignatoriesErrorResponse >, shared_model::interface::AbstractErrorResponse< StatelessFailedErrorResponse >, shared_model::interface::AbstractTxResponse< StatelessFailedTxResponse >, shared_model::interface::AbstractTxResponse< MstExpiredResponse >, shared_model::interface::AbstractTxResponse< StatefulValidTxResponse >, shared_model::interface::AbstractTxResponse< StatefulFailedTxResponse >, shared_model::interface::AbstractTxResponse< EnoughSignaturesCollectedResponse >, shared_model::interface::AbstractTxResponse< RejectedTxResponse >, shared_model::interface::AbstractTxResponse< CommittedTxResponse >, shared_model::interface::AbstractTxResponse< NotReceivedTxResponse >, shared_model::interface::AbstractTxResponse< MstPendingResponse >, shared_model::interface::AbstractTxResponse< StatelessValidTxResponse >, shared_model::interface::AddAssetQuantity, shared_model::interface::RevokePermission, shared_model::interface::SubtractAssetQuantity, shared_model::interface::Peer, shared_model::interface::RolePermissionsResponse, shared_model::interface::AddSignatory, shared_model::interface::AppendRole, shared_model::interface::DetachRole, shared_model::interface::GrantPermission, shared_model::interface::CreateDomain, shared_model::interface::RemoveSignatory, shared_model::interface::SetQuorum, shared_model::interface::AddPeer, shared_model::interface::RolesResponse, shared_model::interface::TransactionBatchImpl, shared_model::interface::TxPaginationMeta, shared_model::interface::GetRolePermissions, shared_model::interface::GetSignatories, shared_model::interface::AccountAssetResponse, shared_model::interface::TransactionsResponse, shared_model::interface::GetAccountAssets, shared_model::interface::GetAssetInfo, shared_model::interface::GetTransactions, shared_model::interface::AccountDetailResponse, shared_model::interface::AssetResponse, shared_model::interface::SignatoriesResponse, shared_model::interface::GetBlock, shared_model::interface::GetPendingTransactions, shared_model::interface::GetAccount, and shared_model::interface::GetRoles.

Here is the caller graph for this function:

template<typename Model>
virtual std::string shared_model::interface::ModelPrimitive< Model >::toString ( ) const
inlinevirtual

Make string developer representation of object

Returns
string with internal state of object

Reimplemented in shared_model::interface::TransactionResponse, shared_model::interface::Signable< Model, HashProvider >, shared_model::interface::Signable< Transaction >, shared_model::interface::Signable< BlocksQuery >, shared_model::interface::Signable< Block >, shared_model::interface::Signable< Query >, shared_model::interface::ErrorQueryResponse, shared_model::interface::Query, shared_model::interface::Command, shared_model::crypto::Blob, shared_model::interface::QueryResponse, shared_model::interface::Transaction, shared_model::interface::Amount, shared_model::interface::Signature, shared_model::interface::Account, shared_model::interface::GetAccountDetail, shared_model::interface::Proposal, shared_model::interface::BlockQueryResponse, shared_model::crypto::Keypair, shared_model::interface::Block, shared_model::crypto::Hash, shared_model::interface::TransferAsset, shared_model::interface::AccountAsset, shared_model::interface::Asset, shared_model::interface::TransactionsPageResponse, shared_model::interface::BlocksQuery, shared_model::interface::GetAccountAssetTransactions, shared_model::interface::SetAccountDetail, shared_model::interface::CreateAsset, shared_model::interface::Domain, shared_model::interface::CreateAccount, shared_model::interface::CreateRole, shared_model::interface::AccountResponse, shared_model::proto::GrantPermission, shared_model::interface::GetAccountTransactions, shared_model::proto::RevokePermission, shared_model::interface::BlockResponse, shared_model::proto::CreateRole, shared_model::interface::AddAssetQuantity, shared_model::interface::RevokePermission, shared_model::interface::SubtractAssetQuantity, shared_model::interface::Peer, shared_model::interface::TransactionBatchImpl, shared_model::interface::RolePermissionsResponse, shared_model::proto::RolePermissionsResponse, shared_model::interface::AddSignatory, shared_model::interface::AppendRole, shared_model::interface::DetachRole, shared_model::interface::GrantPermission, shared_model::interface::AbstractErrorResponse< Model >, shared_model::interface::AbstractTxResponse< Model >, shared_model::interface::AbstractErrorResponse< NoAccountDetailErrorResponse >, shared_model::interface::AbstractErrorResponse< StatefulFailedErrorResponse >, shared_model::interface::AbstractErrorResponse< NoAccountErrorResponse >, shared_model::interface::AbstractErrorResponse< NoRolesErrorResponse >, shared_model::interface::AbstractErrorResponse< NotSupportedErrorResponse >, shared_model::interface::AbstractErrorResponse< NoAssetErrorResponse >, shared_model::interface::AbstractErrorResponse< NoAccountAssetsErrorResponse >, shared_model::interface::AbstractErrorResponse< NoSignatoriesErrorResponse >, shared_model::interface::AbstractErrorResponse< StatelessFailedErrorResponse >, shared_model::interface::AbstractTxResponse< StatelessFailedTxResponse >, shared_model::interface::AbstractTxResponse< MstExpiredResponse >, shared_model::interface::AbstractTxResponse< StatefulValidTxResponse >, shared_model::interface::AbstractTxResponse< StatefulFailedTxResponse >, shared_model::interface::AbstractTxResponse< EnoughSignaturesCollectedResponse >, shared_model::interface::AbstractTxResponse< RejectedTxResponse >, shared_model::interface::AbstractTxResponse< CommittedTxResponse >, shared_model::interface::AbstractTxResponse< NotReceivedTxResponse >, shared_model::interface::AbstractTxResponse< MstPendingResponse >, shared_model::interface::AbstractTxResponse< StatelessValidTxResponse >, shared_model::interface::CreateDomain, shared_model::interface::RemoveSignatory, shared_model::interface::SetQuorum, shared_model::interface::BlockErrorResponse, shared_model::interface::AddPeer, shared_model::interface::RolesResponse, shared_model::interface::TxPaginationMeta, shared_model::crypto::Signed, shared_model::interface::GetRolePermissions, shared_model::interface::GetSignatories, shared_model::interface::AccountAssetResponse, shared_model::interface::TransactionsResponse, shared_model::interface::GetAccountAssets, shared_model::interface::GetAssetInfo, shared_model::interface::GetTransactions, shared_model::interface::AccountDetailResponse, shared_model::interface::AssetResponse, shared_model::interface::SignatoriesResponse, shared_model::crypto::PrivateKey, shared_model::crypto::PublicKey, shared_model::interface::BatchMeta, shared_model::interface::GetBlock, shared_model::interface::GetPendingTransactions, shared_model::interface::GetAccount, shared_model::crypto::Seed, and shared_model::interface::GetRoles.


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