Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::plain::Domain Class Referencefinal

#include "domain.hpp"

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

Public Member Functions

 Domain (const interface::types::DomainIdType &domain_id, const interface::types::RoleIdType &default_role_id)
const interface::types::DomainIdTypedomainId () const override
const interface::types::RoleIdTypedefaultRole () const override
- Public Member Functions inherited from shared_model::interface::Domain
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

Constructor & Destructor Documentation

◆ Domain()

shared_model::plain::Domain::Domain ( const interface::types::DomainIdType domain_id,
const interface::types::RoleIdType default_role_id 

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Member Function Documentation

◆ defaultRole()

const shared_model::interface::types::RoleIdType & shared_model::plain::Domain::defaultRole ( ) const
Default role of domain

Implements shared_model::interface::Domain.

◆ domainId()

const shared_model::interface::types::DomainIdType & shared_model::plain::Domain::domainId ( ) const
Identity of domain

Implements shared_model::interface::Domain.

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