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

template<typename CommandType >
 TransferAsset (CommandType &&command)
 
 TransferAsset (const TransferAsset &o)
 
 TransferAsset (TransferAsset &&o) noexcept
 
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::proto::CopyableProto< interface::TransferAsset, iroha::protocol::Command, TransferAsset >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Command & getTransport () const
 
- 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::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::proto::CopyableProto< interface::TransferAsset, iroha::protocol::Command, TransferAsset >
using TransportType = iroha::protocol::Command
 
- 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 shared_model::proto::CopyableProto< interface::TransferAsset, iroha::protocol::Command, TransferAsset >
interface::TransferAsset::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::TransferAsset, iroha::protocol::Command, TransferAsset >
detail::ReferenceHolder< iroha::protocol::Command > proto_
 

Constructor & Destructor Documentation

template<typename CommandType >
shared_model::proto::TransferAsset::TransferAsset ( CommandType &&  command)
explicit
shared_model::proto::TransferAsset::TransferAsset ( const TransferAsset o)
shared_model::proto::TransferAsset::TransferAsset ( TransferAsset &&  o)
noexcept

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: