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

#include "account_asset.hpp"

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

Public Member Functions

virtual const types::AccountIdTypeaccountId () const =0
 
virtual const types::AssetIdTypeassetId () const =0
 
virtual const Amountbalance () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< AccountAsset >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< AccountAsset >
using ModelType = AccountAsset
 

Detailed Description

Representation of wallet in system

Member Function Documentation

virtual const types::AccountIdType& shared_model::interface::AccountAsset::accountId ( ) const
pure virtual
Returns
Identity of user, for fetching data

Implemented in shared_model::proto::AccountAsset.

Here is the caller graph for this function:

virtual const types::AssetIdType& shared_model::interface::AccountAsset::assetId ( ) const
pure virtual
Returns
Identity of asset, for fetching data

Implemented in shared_model::proto::AccountAsset.

Here is the caller graph for this function:

virtual const Amount& shared_model::interface::AccountAsset::balance ( ) const
pure virtual
Returns
Current balance

Implemented in shared_model::proto::AccountAsset.

Here is the caller graph for this function:

bool shared_model::interface::AccountAsset::operator== ( const ModelType rhs) const
inlineoverridevirtual

Checks equality of objects inside

Parameters
rhs- other wrapped value
Returns
true, if wrapped objects are same

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

Here is the call graph for this function:

std::string shared_model::interface::AccountAsset::toString ( ) const
inlineoverridevirtual

Stringify the data.

Returns
the content of account asset.

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

Here is the call graph for this function:


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