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

#include "create_asset.hpp"

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

Public Types

using PrecisionType = uint8_t
 Precision type. More...
 
- Public Types inherited from shared_model::interface::ModelPrimitive< CreateAsset >
using ModelType = CreateAsset
 

Public Member Functions

virtual const types::AssetNameTypeassetName () const =0
 
virtual const types::DomainIdTypedomainId () const =0
 
virtual const PrecisionTypeprecision () const =0
 
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
 

Detailed Description

Create asset in Iroha domain

Member Typedef Documentation

Precision type.

Member Function Documentation

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

Implemented in shared_model::proto::CreateAsset.

Here is the caller graph for this function:

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

Implemented in shared_model::proto::CreateAsset.

Here is the caller graph for this function:

bool shared_model::interface::CreateAsset::operator== ( const ModelType rhs) const
overridevirtual

Implements shared_model::interface::ModelPrimitive< CreateAsset >.

Here is the call graph for this function:

virtual const PrecisionType& shared_model::interface::CreateAsset::precision ( ) const
pure virtual
Returns
precision of the asset

Implemented in shared_model::proto::CreateAsset.

Here is the caller graph for this function:

std::string shared_model::interface::CreateAsset::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

Reimplemented from shared_model::interface::ModelPrimitive< CreateAsset >.

Here is the call graph for this function:


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