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

#include "domain.hpp"

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

Public Member Functions

virtual const types::DomainIdTypedomainId () const =0
 
virtual const types::RoleIdTypedefaultRole () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< Domain >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< Domain >
using ModelType = Domain
 

Detailed Description

Domain object represents administrative unit within the system

Member Function Documentation

virtual const types::RoleIdType& shared_model::interface::Domain::defaultRole ( ) const
pure virtual
Returns
Default role of domain

Implemented in shared_model::proto::Domain, and shared_model::plain::Domain.

Here is the caller graph for this function:

virtual const types::DomainIdType& shared_model::interface::Domain::domainId ( ) const
pure virtual
Returns
Identity of domain

Implemented in shared_model::proto::Domain, and shared_model::plain::Domain.

Here is the caller graph for this function:

bool shared_model::interface::Domain::operator== ( const ModelType rhs) const
inlineoverridevirtual

Checks equality of objects inside

Parameters
rhs- other wrapped value
Returns
true, if wrapped objects are same

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

Here is the call graph for this function:

std::string shared_model::interface::Domain::toString ( ) const
inlineoverridevirtual

Stringify the data.

Returns
the content of asset.

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

Here is the call graph for this function:


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