#include <uuid.hpp>
Definition at line 57 of file uuid.hpp.
◆ TypeSize
Underlying integer value present octet count.
Enumerator |
---|
UUID16_SZ | |
UUID32_SZ | |
UUID128_SZ | |
Definition at line 60 of file uuid.hpp.
◆ uuid_t() [1/3]
jau::uuid_t::uuid_t |
( |
TypeSize const |
type_ | ) |
|
|
inlineprotected |
◆ ~uuid_t()
virtual jau::uuid_t::~uuid_t |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ uuid_t() [2/3]
jau::uuid_t::uuid_t |
( |
const uuid_t & |
o | ) |
|
|
defaultnoexcept |
◆ uuid_t() [3/3]
jau::uuid_t::uuid_t |
( |
uuid_t && |
o | ) |
|
|
defaultnoexcept |
◆ number()
|
inlinestaticconstexprnoexcept |
◆ getTypeSizeString() [1/2]
std::string uuid_t::getTypeSizeString |
( |
const TypeSize |
v | ) |
|
|
staticnoexcept |
◆ toTypeSize()
◆ create() [1/2]
◆ create() [2/2]
std::unique_ptr< uuid_t > uuid_t::create |
( |
const std::string & |
str | ) |
|
|
static |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ clone()
std::unique_ptr< uuid_t > uuid_t::clone |
( |
| ) |
const |
|
noexcept |
◆ operator==()
bool uuid_t::operator== |
( |
uuid_t const & |
o | ) |
const |
|
noexcept |
Strict equality operator.
Only returns true if type and value are equal.
- Parameters
-
o | other comparison argument |
- Returns
- true if equal, otherwise false.
Definition at line 94 of file uuid.cpp.
◆ operator!=()
bool jau::uuid_t::operator!= |
( |
uuid_t const & |
o | ) |
const |
|
inlinenoexcept |
Strict not-equal operator.
Returns true if type and/or value are not equal.
- Parameters
-
o | other comparison argument |
- Returns
- true if equal, otherwise false.
Definition at line 106 of file uuid.hpp.
◆ equivalent()
bool uuid_t::equivalent |
( |
uuid_t const & |
o | ) |
const |
|
noexcept |
Relaxed equality operator.
Returns true if both uuid values are equivalent.
If their uuid_t type differs, i.e. their TypeSize, both values will be transformed to uuid128_t before comparison.
Potential uuid128_t conversion is performed using toUUDI128(), placing the sub-uuid at index 12 on BT_BASE_UUID (default).
- Parameters
-
o | other comparison argument |
- Returns
- true if equal, otherwise false.
Definition at line 109 of file uuid.cpp.
◆ getTypeSize()
TypeSize jau::uuid_t::getTypeSize |
( |
| ) |
const |
|
inlinenoexcept |
◆ getTypeSizeInt()
◆ getTypeSizeString() [2/2]
std::string jau::uuid_t::getTypeSizeString |
( |
| ) |
const |
|
inlinenoexcept |
◆ toUUID128()
◆ data()
virtual const uint8_t * jau::uuid_t::data |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ toString()
virtual std::string jau::uuid_t::toString |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ toUUID128String()
◆ put()
The documentation for this class was generated from the following files: