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

#include "proto_subtract_asset_quantity.hpp"

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

Public Member Functions

template<typename CommandType >
 SubtractAssetQuantity (CommandType &&command)
 
 SubtractAssetQuantity (const SubtractAssetQuantity &o)
 
 SubtractAssetQuantity (SubtractAssetQuantity &&o) noexcept
 
const interface::types::AssetIdTypeassetId () const override
 
const interface::Amountamount () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::SubtractAssetQuantity, iroha::protocol::Command, SubtractAssetQuantity >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Command & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::SubtractAssetQuantity
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< SubtractAssetQuantity >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< SubtractAssetQuantity > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::SubtractAssetQuantity, iroha::protocol::Command, SubtractAssetQuantity >
using TransportType = iroha::protocol::Command
 
- Public Types inherited from shared_model::interface::ModelPrimitive< SubtractAssetQuantity >
using ModelType = SubtractAssetQuantity
 
- Public Types inherited from Cloneable< ModelPrimitive< SubtractAssetQuantity > >
using base_type = ModelPrimitive< SubtractAssetQuantity >
 
- Protected Member Functions inherited from shared_model::proto::CopyableProto< interface::SubtractAssetQuantity, iroha::protocol::Command, SubtractAssetQuantity >
interface::SubtractAssetQuantity::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::SubtractAssetQuantity, iroha::protocol::Command, SubtractAssetQuantity >
detail::ReferenceHolder< iroha::protocol::Command > proto_
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements shared_model::interface::SubtractAssetQuantity.

const interface::types::AssetIdType & shared_model::proto::SubtractAssetQuantity::assetId ( ) const
overridevirtual
Returns
asset identifier

Implements shared_model::interface::SubtractAssetQuantity.


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