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

#include "proto_set_quorum.hpp"

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

Public Member Functions

template<typename CommandType >
 SetQuorum (CommandType &&command)
 
 SetQuorum (const SetQuorum &o)
 
 SetQuorum (SetQuorum &&o) noexcept
 
const interface::types::AccountIdTypeaccountId () const override
 
interface::types::QuorumType newQuorum () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::SetQuorum, iroha::protocol::Command, SetQuorum >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Command & getTransport () const
 
- Public Member Functions inherited from shared_model::interface::SetQuorum
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< SetQuorum >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< SetQuorum > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

const interface::types::AccountIdType & shared_model::proto::SetQuorum::accountId ( ) const
overridevirtual
Returns
Id of the account to set quorum

Implements shared_model::interface::SetQuorum.

interface::types::QuorumType shared_model::proto::SetQuorum::newQuorum ( ) const
overridevirtual
Returns
value of a new quorum

Implements shared_model::interface::SetQuorum.


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