Skip to content

QuantumGate::Extender::GetLocalVersion

Karel Donk edited this page Jun 10, 2018 · 3 revisions

Gets the QuantumGate module version of the QuantumGate instance hosting the extender.

Signature

Result<std::tuple<UInt, UInt, UInt, UInt>> GetLocalVersion() const noexcept;

Return values

Returns a QuantumGate::Result object containing, upon successful completion, a std::tuple containing the version numbers. The QuantumGate::Result can be equal to one of the following QuantumGate::ResultCodes:

Value Description
QuantumGate::ResultCode::Succeeded The operation succeeded.
QuantumGate::ResultCode::ExtenderHasNoLocalInstance The operation failed because the extender hasn't been added to a QuantumGate instance.

The returned version numbers in the optional std::pair are the same as QuantumGate::Local::GetVersion.

Clone this wiki locally