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

#include "proto_transfer_asset.hpp"

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

Public Member Functions

 TransferAsset (iroha::protocol::Command &command)
 
const interface::Amountamount () const override
 
const interface::types::AssetIdTypeassetId () const override
 
const interface::types::AccountIdTypesrcAccountId () const override
 
const interface::types::AccountIdTypedestAccountId () const override
 
const interface::types::DescriptionTypedescription () const override
 
- Public Member Functions inherited from shared_model::interface::TransferAsset
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< TransferAsset >
 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< TransferAsset >
using ModelType = TransferAsset
 

Constructor & Destructor Documentation

shared_model::proto::TransferAsset::TransferAsset ( iroha::protocol::Command &  command)
explicit

Member Function Documentation

const interface::Amount & shared_model::proto::TransferAsset::amount ( ) const
overridevirtual
Returns
asset amount to transfer

Implements shared_model::interface::TransferAsset.

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

Implements shared_model::interface::TransferAsset.

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

Implements shared_model::interface::TransferAsset.

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

Implements shared_model::interface::TransferAsset.

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

Implements shared_model::interface::TransferAsset.


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