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

#include "domain.hpp"

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

Public Member Functions

template<typename DomainType >
 Domain (DomainType &&domain)
 
 Domain (const Domain &o)
 
 Domain (Domain &&o) noexcept
 
const interface::types::DomainIdTypedomainId () const override
 
const interface::types::RoleIdTypedefaultRole () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::Domain, iroha::protocol::Domain, Domain >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Domain & getTransport () const
 
- 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
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< Domain > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename DomainType >
shared_model::proto::Domain::Domain ( DomainType &&  domain)
inlineexplicit
shared_model::proto::Domain::Domain ( const Domain o)
inline
shared_model::proto::Domain::Domain ( Domain &&  o)
inlinenoexcept

Member Function Documentation

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

Implements shared_model::interface::Domain.

const interface::types::DomainIdType& shared_model::proto::Domain::domainId ( ) const
inlineoverridevirtual
Returns
Identity of domain

Implements shared_model::interface::Domain.


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