|
|
constexpr | UUID () |
| | Constructs an invalid (default) UUID with all bytes set to the invalid constant.
|
| | UUID (const fltp04 &other) noexcept |
| | Constructs a UUID by appending a fltp04 value to a zero-initialized UUID.
|
| | UUID (const fltp08 &other) noexcept |
| | Constructs a UUID by appending a fltp08 value to a zero-initialized UUID.
|
| | UUID (const sint01 &other) noexcept |
| | Constructs a UUID by appending a sint01 value to a zero-initialized UUID.
|
| | UUID (const sint02 &other) noexcept |
| | Constructs a UUID by appending a sint02 value to a zero-initialized UUID.
|
| | UUID (const sint04 &other) noexcept |
| | Constructs a UUID by appending a sint04 value to a zero-initialized UUID.
|
| | UUID (const sint08 &other) noexcept |
| | Constructs a UUID by appending a sint08 value to a zero-initialized UUID.
|
| | UUID (const uint01 &other) noexcept |
| | Constructs a UUID by appending a uint01 value to a zero-initialized UUID.
|
| | UUID (const uint02 &other) noexcept |
| | Constructs a UUID by appending a uint02 value to a zero-initialized UUID.
|
| | UUID (const uint04 &other) noexcept |
| | Constructs a UUID by appending a uint04 value to a zero-initialized UUID.
|
| | UUID (const uint08 &other) noexcept |
| | Constructs a UUID by appending a uint08 value to a zero-initialized UUID.
|
| constexpr | UUID (const Vector< 16, uint01 > &bytes) noexcept |
| | Constructs a UUID from a raw 16-byte vector.
|
| UUID | appendBoolUUID (bool offset) const |
| | Appends a boolean value to this UUID, producing a new derived UUID.
|
| template<size_t t_size> |
| UUID | appendUUID (const char(&value)[t_size]) |
| | Appends a string literal to this UUID by converting it to a StringView first.
|
| UUID | appendUUID (const StringView &identifier) const |
| | Appends a string identifier to this UUID, producing a new derived UUID.
|
| template<size_t t_size, class t_type> |
| UUID | appendUUID (const t_type(&value)[t_size]) |
| | Appends each element of a C-style array to this UUID sequentially, producing a new derived UUID.
|
| UUID | appendUUID (const UUID &offset) const |
| | Appends another UUID to this UUID, producing a new derived UUID.
|
| UUID | appendUUID (const Vector< 3, fltp04 > &offset) const |
| | Appends a 3D float vector to this UUID, producing a new derived UUID.
|
| template<uint01 t_size, class t_type> |
| UUID | appendUUID (const Vector< t_size, t_type > &offset) const |
| | Appends each element of a vector to this UUID sequentially, producing a new derived UUID.
|
| UUID | appendUUID (fltp04 offset) const |
| | Appends a fltp04 value to this UUID, producing a new derived UUID.
|
| UUID | appendUUID (fltp08 offset) const |
| | Appends a fltp08 value to this UUID, producing a new derived UUID.
|
| UUID | appendUUID (sint04 offset) const |
| | Appends a sint04 value to this UUID, producing a new derived UUID.
|
| UUID | appendUUID (sint08 offset) const |
| | Appends a sint08 value to this UUID, producing a new derived UUID.
|
| UUID | appendUUID (uint04 offset) const |
| | Appends a uint04 value to this UUID, producing a new derived UUID.
|
| UUID | appendUUID (uint08 offset) const |
| | Appends a uint08 value to this UUID, producing a new derived UUID.
|
| uint01 * | getUniquePointer () const |
| constexpr size_t | hash () const |
| | Computes a hash value for this UUID by XOR-folding the upper and lower 8 bytes.
|
| constexpr size_t | operator() () const |
| | Function call operator that returns the hash of this UUID.
|
| bool | operator< (const UUID &other) const |
| | Less-than comparison operator using lexicographic byte ordering.
|
| bool | operator<= (const UUID &other) const |
| | Less-than-or-equal comparison operator using lexicographic byte ordering.
|
| bool | operator> (const UUID &other) const |
| | Greater-than comparison operator using lexicographic byte ordering.
|
| bool | operator>= (const UUID &other) const |
| | Greater-than-or-equal comparison operator using lexicographic byte ordering.
|
| constexpr decltype(auto) | as () const |
| | Returns the vector as a new time of vector.
|
| constexpr uint01 | dimensionalIndex () const |
| | Used with template arguments MAX or MIN, Gets the dimensional index for the value that is either max or min.
|
| constexpr uint01 | dimensionalValue () const |
| | Used with template arguments MAX or MIN, Gets the dimensional value for the value that is either max or min.
|
| constexpr t_magnitude_type | magnitude () const |
| | Vectors are commonly used to model forces such as wind, sea current, gravity, and electromagnetism.
|
| constexpr uint01 | magnitudeSquared () const |
| | Vectors are commonly used to model forces such as wind, sea current, gravity, and electromagnetism.
|
| constexpr Vector< t_dims, t_norm_type > | normalized (Vector< t_dims, t_norm_type > value_if_nan=Constant< Vector< t_dims, t_norm_type > >::Invalid) const |
| | Gets the normalized, or unit length representation of this vector.
|
| constexpr | operator uint01 & () |
| | For Single dimensional objects, they may also be considered a scaler, thus allow implicit conversion from a vector to a scaler when the dimension of the vector is 1.
|
| constexpr Vector< t_dims, uint01 > | operator- () const |
| | Negation operator.
|
| constexpr Vector< t_dims, uint01 > & | operator= (const uint01 &scaler) |
| | Assignment operator.
|
| constexpr uint01 & | operator[] (uint01 dimension_index) |
| | Accesses the value of a certain dimension.
|
| constexpr uint01 | product () const |
| | Returns the product, or value of each dimension multiplied together.
|
| constexpr uint01 | sum () const |
| | Returns the sum, or value of each dimension added together.
|
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer systems.
The term globally unique identifier (GUID) is also used.
UUIDs are for practical purposes unique, without depending for their uniqueness on a central registration authority or coordination between the parties generating them, unlike most other numbering schemes. While the probability that a UUID will be duplicated is not zero, it is close enough to zero to be negligible.
Thus, anyone can create a UUID and use it to identify something with near certainty that the identifier does not duplicate one that has already been, or will be, created to identify something else. Information labeled with UUIDs by independent parties can therefore be later combined into a single database, or transmitted on the same channel, without needing to resolve conflicts between identifiers.
Author: Tyler Parke
Date: 2017-11-17
Definition at line 60 of file UUID.h.