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

#include "proto_add_asset_quantity.hpp"

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

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements shared_model::interface::AddAssetQuantity.

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

Implements shared_model::interface::AddAssetQuantity.


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