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

#include "transfer_asset.hpp"

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

Public Member Functions

virtual const types::AccountIdTypesrcAccountId () const =0
 
virtual const types::AccountIdTypedestAccountId () const =0
 
virtual const types::AssetIdTypeassetId () const =0
 
virtual const Amountamount () const =0
 
virtual const types::DescriptionTypedescription () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< TransferAsset >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< TransferAsset > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< TransferAsset >
using ModelType = TransferAsset
 
- Public Types inherited from Cloneable< ModelPrimitive< TransferAsset > >
using base_type = ModelPrimitive< TransferAsset >
 
- Protected Member Functions inherited from Cloneable< ModelPrimitive< TransferAsset > >
virtual ModelPrimitive< TransferAsset > * clone () const =0
 

Detailed Description

Grant permission to account

Member Function Documentation

virtual const Amount& shared_model::interface::TransferAsset::amount ( ) const
pure virtual
Returns
asset amount to transfer

Implemented in shared_model::proto::TransferAsset.

Here is the caller graph for this function:

virtual const types::AssetIdType& shared_model::interface::TransferAsset::assetId ( ) const
pure virtual
Returns
Id of the asset to transfer

Implemented in shared_model::proto::TransferAsset.

Here is the caller graph for this function:

virtual const types::DescriptionType& shared_model::interface::TransferAsset::description ( ) const
pure virtual
Returns
message of the transfer

Implemented in shared_model::proto::TransferAsset.

Here is the caller graph for this function:

virtual const types::AccountIdType& shared_model::interface::TransferAsset::destAccountId ( ) const
pure virtual
Returns
Id of the account to which transfer assets

Implemented in shared_model::proto::TransferAsset.

Here is the caller graph for this function:

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

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

Here is the call graph for this function:

virtual const types::AccountIdType& shared_model::interface::TransferAsset::srcAccountId ( ) const
pure virtual
Returns
Id of the account from which transfer assets

Implemented in shared_model::proto::TransferAsset.

Here is the caller graph for this function:

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

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:


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