#include <types.h>
Inheritance diagram for UL:
Public Member Functions | |
UL (const UInt8 *ID) | |
Construct a UL from a sequence of bytes. | |
UL (const SmartPtr< UL > ID) | |
Construct a UL as a copy of another UL. | |
UL (const UL &RHS) | |
Copy constructor. | |
UL (const UUID &RHS) | |
Construct a UL from an end-swapped UUID. | |
UL (const UUIDPtr &RHS) | |
Construct a UL from an end-swapped UUID. | |
UL (const UUID *RHS) | |
Construct a UL from an end-swapped UUID. | |
bool | operator== (const UL &RHS) const |
Fast compare a UL based on testing most-likely to fail bytes first. | |
bool | Matches (const UL &RHS) const |
Fast compare a UL based on testing most-likely to fail bytes first *IGNORING THE VERSION NUMBER*. | |
UL & | operator= (const UUID &RHS) |
Set a UL from a UUID, does end swapping. | |
UL & | operator= (const UUIDPtr &RHS) |
Set a UL from a UUID, does end swapping. | |
UL & | operator= (const UUID *RHS) |
Set a UL from a UUID, does end swapping. | |
std::string | GetString (void) const |
Produce a human-readable string in one of the "standard" formats. | |
Private Member Functions | |
UL () | |
Prevent default construction. |
UL | ( | ) | [private] |
Prevent default construction.
Construct a UL from a sequence of bytes.
bool operator== | ( | const UL & | RHS | ) | const [inline] |
Fast compare a UL based on testing most-likely to fail bytes first.
We use an unrolled loop with modified order for best efficiency DRAGONS: There may be a slightly faster way that will prevent pipeline stalling, but this is fast enough!
bool Matches | ( | const UL & | RHS | ) | const [inline] |
Fast compare a UL based on testing most-likely to fail bytes first *IGNORING THE VERSION NUMBER*.
We use an unrolled loop with modified order for best efficiency DRAGONS: There may be a slightly faster way that will prevent pipeline stalling, but this is fast enough!
std::string GetString | ( | void | ) | const [inline] |
Produce a human-readable string in one of the "standard" formats.
Reimplemented from Identifier< 16 >.