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

#include "noncopyable_model_primitive.hpp"

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

Public Types

using ModelType = Model
 

Public Member Functions

 NonCopyableModelPrimitive ()=default
 
 NonCopyableModelPrimitive (const NonCopyableModelPrimitive &)=delete
 
NonCopyableModelPrimitiveoperator= (const NonCopyableModelPrimitive &)=delete
 
 NonCopyableModelPrimitive (NonCopyableModelPrimitive &&) noexcept=default
 
virtual std::string toString () const
 
virtual bool operator== (const ModelType &rhs) const =0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~NonCopyableModelPrimitive ()=default
 

Detailed Description

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

Base class of domain objects which are not intended to be copied.

Template Parameters
Model- shared model type

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename Model>
shared_model::interface::NonCopyableModelPrimitive< Model >::NonCopyableModelPrimitive ( )
default
template<typename Model>
shared_model::interface::NonCopyableModelPrimitive< Model >::NonCopyableModelPrimitive ( const NonCopyableModelPrimitive< Model > &  )
delete
template<typename Model>
shared_model::interface::NonCopyableModelPrimitive< Model >::NonCopyableModelPrimitive ( NonCopyableModelPrimitive< Model > &&  )
defaultnoexcept
template<typename Model>
virtual shared_model::interface::NonCopyableModelPrimitive< Model >::~NonCopyableModelPrimitive ( )
virtualdefault

Here is the caller graph for this function:

Member Function Documentation

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

Implemented in shared_model::interface::TransactionResponse, shared_model::interface::ErrorQueryResponse, shared_model::interface::Command, shared_model::interface::QueryResponse, shared_model::interface::PendingTransactionsPageResponse, shared_model::interface::BlockQueryResponse, shared_model::interface::TransferAsset, shared_model::interface::TransactionsPageResponse, shared_model::interface::SetAccountDetail, shared_model::interface::CreateAsset, shared_model::interface::AccountDetailResponse, shared_model::interface::BlockResponse, shared_model::interface::CreateAccount, shared_model::interface::AccountResponse, shared_model::interface::BlockErrorResponse, shared_model::interface::AddAssetQuantity, shared_model::interface::RevokePermission, shared_model::interface::SubtractAssetQuantity, shared_model::interface::AccountAssetResponse, 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::CreateRole, shared_model::interface::RolePermissionsResponse, shared_model::interface::AddSignatory, shared_model::interface::AppendRole, shared_model::interface::DetachRole, shared_model::interface::GrantPermission, shared_model::interface::Peer, shared_model::interface::PeersResponse, shared_model::interface::CreateDomain, shared_model::interface::RemoveSignatory, shared_model::interface::SetQuorum, shared_model::interface::AddPeer, shared_model::interface::AccountDetailPaginationMeta, shared_model::interface::RolesResponse, shared_model::interface::TransactionsResponse, shared_model::interface::AccountDetailRecordId, shared_model::interface::SignatoriesResponse, and shared_model::interface::AssetResponse.

Here is the caller graph for this function:

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

Make string representation of object for development

Returns
string with internal state of object

Reimplemented in shared_model::interface::TransactionResponse, shared_model::interface::ErrorQueryResponse, shared_model::interface::Command, shared_model::interface::QueryResponse, shared_model::interface::PendingTransactionsPageResponse, shared_model::interface::BlockQueryResponse, shared_model::interface::TransferAsset, shared_model::interface::TransactionsPageResponse, shared_model::interface::SetAccountDetail, shared_model::interface::CreateAsset, shared_model::interface::AccountDetailResponse, shared_model::interface::CreateAccount, shared_model::interface::AccountResponse, shared_model::interface::AddAssetQuantity, shared_model::interface::RevokePermission, shared_model::interface::SubtractAssetQuantity, shared_model::interface::AccountAssetResponse, shared_model::interface::BlockResponse, shared_model::interface::CreateRole, shared_model::interface::RolePermissionsResponse, shared_model::interface::AddSignatory, shared_model::interface::AppendRole, shared_model::interface::DetachRole, shared_model::interface::GrantPermission, shared_model::interface::Peer, shared_model::interface::BlockErrorResponse, shared_model::interface::AbstractErrorResponse< Model >, shared_model::interface::PeersResponse, 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::AddPeer, shared_model::interface::AccountDetailPaginationMeta, shared_model::interface::RolesResponse, shared_model::interface::TransactionsResponse, shared_model::interface::AccountDetailRecordId, shared_model::interface::SignatoriesResponse, shared_model::interface::AssetResponse, shared_model::proto::GrantPermission, shared_model::proto::CreateRole, shared_model::proto::RevokePermission, and shared_model::proto::RolePermissionsResponse.


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