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

template<typename CommandType >
 CreateDomain (CommandType &&command)
 
 CreateDomain (const CreateDomain &o)
 
 CreateDomain (CreateDomain &&o) noexcept
 
const interface::types::DomainIdTypedomainId () const override
 
const interface::types::RoleIdTypeuserDefaultRole () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::CreateDomain, iroha::protocol::Command, CreateDomain >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Command & getTransport () const
 
- 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::ModelPrimitive< CreateDomain >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< CreateDomain > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<typename CommandType >
shared_model::proto::CreateDomain::CreateDomain ( CommandType &&  command)
explicit
shared_model::proto::CreateDomain::CreateDomain ( const CreateDomain o)
shared_model::proto::CreateDomain::CreateDomain ( CreateDomain &&  o)
noexcept

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: