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

#include "subtract_asset_quantity.hpp"

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

Public Member Functions

virtual const types::AssetIdTypeassetId () const =0
 
virtual const Amountamount () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< SubtractAssetQuantity >
 NonCopyableModelPrimitive ()=default
 
 NonCopyableModelPrimitive (const NonCopyableModelPrimitive &)=delete
 
 NonCopyableModelPrimitive (NonCopyableModelPrimitive &&) noexcept=default
 
NonCopyableModelPrimitiveoperator= (const NonCopyableModelPrimitive &)=delete
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~NonCopyableModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::NonCopyableModelPrimitive< SubtractAssetQuantity >
using ModelType = SubtractAssetQuantity
 

Detailed Description

Subtract amount of asset from an account

Member Function Documentation

virtual const Amount& shared_model::interface::SubtractAssetQuantity::amount ( ) const
pure virtual
Returns
quantity of asset for subtracting

Implemented in shared_model::proto::SubtractAssetQuantity.

Here is the caller graph for this function:

virtual const types::AssetIdType& shared_model::interface::SubtractAssetQuantity::assetId ( ) const
pure virtual
Returns
asset identifier

Implemented in shared_model::proto::SubtractAssetQuantity.

Here is the caller graph for this function:

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

Implements shared_model::interface::NonCopyableModelPrimitive< SubtractAssetQuantity >.

Here is the call graph for this function:

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

Make string representation of object for development

Returns
string with internal state of object

Reimplemented from shared_model::interface::NonCopyableModelPrimitive< SubtractAssetQuantity >.

Here is the call graph for this function:


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