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

#include "proto_create_domain.hpp"

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

Public Member Functions

 CreateDomain (iroha::protocol::Command &command)
 
const interface::types::DomainIdTypedomainId () const override
 
const interface::types::RoleIdTypeuserDefaultRole () const override
 
- Public Member Functions inherited from shared_model::interface::CreateDomain
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::NonCopyableModelPrimitive< CreateDomain >
 NonCopyableModelPrimitive ()=default
 
 NonCopyableModelPrimitive (const NonCopyableModelPrimitive &)=delete
 
 NonCopyableModelPrimitive (NonCopyableModelPrimitive &&) noexcept=default
 
NonCopyableModelPrimitiveoperator= (const NonCopyableModelPrimitive &)=delete
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~NonCopyableModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::NonCopyableModelPrimitive< CreateDomain >
using ModelType = CreateDomain
 

Constructor & Destructor Documentation

shared_model::proto::CreateDomain::CreateDomain ( iroha::protocol::Command &  command)
explicit

Member Function Documentation

const interface::types::DomainIdType & shared_model::proto::CreateDomain::domainId ( ) const
overridevirtual
Returns
Id of the domain to create

Implements shared_model::interface::CreateDomain.

const interface::types::RoleIdType & shared_model::proto::CreateDomain::userDefaultRole ( ) const
overridevirtual
Returns
default role of the user in the domain

Implements shared_model::interface::CreateDomain.


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