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

#include "proto_create_asset.hpp"

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

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

const interface::types::AssetNameType & shared_model::proto::CreateAsset::assetName ( ) const
overridevirtual
Returns
Asset name to create

Implements shared_model::interface::CreateAsset.

const interface::types::DomainIdType & shared_model::proto::CreateAsset::domainId ( ) const
overridevirtual
Returns
Iroha domain of the asset

Implements shared_model::interface::CreateAsset.

const CreateAsset::PrecisionType & shared_model::proto::CreateAsset::precision ( ) const
overridevirtual
Returns
precision of the asset

Implements shared_model::interface::CreateAsset.


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