Skip to content

QuantumGate::UUID::TryParse

Karel Donk edited this page Oct 22, 2018 · 3 revisions

Attempts to parse a UUID from a given string.

Signature

static const bool TryParse(const WChar* str, UUID& uuid) noexcept;
static const bool TryParse(const String& str, UUID& uuid) noexcept;

Parameters

Name Description
str The string containing a UUID, e.g. c3f306bf-5f50-9986-cbc9-7e4fa7c362a8.
uuid A reference to the QuantumGate::UUID object to store the result into.

Return values

Returns true when the operation completes successfully and otherwise false. Upon successful completion the uuid parameter will contain the parsed result.

Clone this wiki locally