xentara-utils v2.0.4
The Xentara Utility Library
|
A UUID that can be used as a template parameter. More...
#include <xentara/utils/tparam/Uuid.hpp>
Public Member Functions | |
constexpr | Uuid (const core::Uuid &uuid) noexcept |
Constructor that sets the UUID. | |
constexpr | operator core::Uuid () const noexcept |
Conversion to a regular Uuid. | |
constexpr auto | uuid () const noexcept -> core::Uuid |
Conversion to a regular Uuid. | |
template<tools::CharType Char, typename CharTraits = std::char_traits<Char>> | |
auto | toBasicString () const -> string::BasicFixedString< Char, core::Uuid::kStringSize, CharTraits > |
Converts the UUID to a string. | |
auto | toString () const -> std::string |
Converts the UUID to a string of type char. | |
auto | toWString () const -> std::wstring |
Converts the UUID to a string of type wchar_t. | |
auto | toU8String () const -> std::u8string |
Converts the UUID to a string of type char8_t. | |
auto | toU16String () const -> std::u16string |
Converts the UUID to a string of type char16_t. | |
auto | toU32String () const -> std::u32string |
Converts the UUID to a string of type char32_t. | |
constexpr auto | operator== (const core::Uuid &rhs) const -> bool |
Comparison operator. | |
constexpr auto | operator<=> (const core::Uuid &rhs) const -> std::strong_ordering |
Three-Way-Comparison operator. | |
constexpr auto | isNull () const noexcept -> bool |
Determines if the UUID is 00000000-0000-0000-0000-000000000000 | |
A UUID that can be used as a template parameter.
This class behaves just like core::Uuid, but can be used as a template parameter.
|
constexprnoexcept |
Constructor that sets the UUID.
|
constexprnoexcept |
Determines if the UUID is 00000000-0000-0000-0000-000000000000
|
constexprnoexcept |
Conversion to a regular Uuid.
|
constexpr |
Three-Way-Comparison operator.
|
constexpr |
Comparison operator.
auto xentara::utils::tparam::Uuid::toBasicString | ( | ) | const -> string::BasicFixedString<Char, core::Uuid::kStringSize, CharTraits> |
Converts the UUID to a string.
auto xentara::utils::tparam::Uuid::toString | ( | ) | const -> std::string |
Converts the UUID to a string of type char.
auto xentara::utils::tparam::Uuid::toU16String | ( | ) | const -> std::u16string |
Converts the UUID to a string of type char16_t.
auto xentara::utils::tparam::Uuid::toU32String | ( | ) | const -> std::u32string |
Converts the UUID to a string of type char32_t.
auto xentara::utils::tparam::Uuid::toU8String | ( | ) | const -> std::u8string |
Converts the UUID to a string of type char8_t.
auto xentara::utils::tparam::Uuid::toWString | ( | ) | const -> std::wstring |
Converts the UUID to a string of type wchar_t.
|
constexprnoexcept |
Conversion to a regular Uuid.