jaulib v1.3.6
Jau Support Library (C++, Java, ..)
|
#include <uuid.hpp>
Public Member Functions | |
uuid32_t (const std::string &str) | |
uuid32_t (const uuid32_t &o) noexcept=default | |
uuid32_t (uint32_t const v) noexcept | |
uuid32_t (uint8_t const *const buffer, lb_endian_t const le_or_be) noexcept | |
uuid32_t (uuid32_t &&o) noexcept=default | |
const uint8_t * | data () const noexcept override |
returns the pointer to the uuid data of size getTypeSize() | |
uuid32_t & | operator= (const uuid32_t &o) noexcept=default |
uuid32_t & | operator= (uuid32_t &&o) noexcept=default |
jau::nsize_t | put (uint8_t *const buffer, lb_endian_t const le_or_be) const noexcept override |
std::string | toString () const noexcept override |
Returns the string representation in BE network order, i.e. | |
std::string | toUUID128String (uuid128_t const &base_uuid=BT_BASE_UUID, jau::nsize_t const le_octet_index=12) const noexcept override |
Returns the uuid128_t string representation in BE network order, i.e. | |
![]() | |
uuid_t (const uuid_t &o) noexcept=default | |
uuid_t (uuid_t &&o) noexcept=default | |
virtual | ~uuid_t () noexcept=default |
std::unique_ptr< uuid_t > | clone () const noexcept |
bool | equivalent (uuid_t const &o) const noexcept |
Relaxed equality operator. | |
TypeSize | getTypeSize () const noexcept |
jau::nsize_t | getTypeSizeInt () const noexcept |
std::string | getTypeSizeString () const noexcept |
bool | operator!= (uuid_t const &o) const noexcept |
Strict not-equal operator. | |
uuid_t & | operator= (const uuid_t &o) noexcept=default |
uuid_t & | operator= (uuid_t &&o) noexcept=default |
bool | operator== (uuid_t const &o) const noexcept |
Strict equality operator. | |
uuid128_t | toUUID128 (uuid128_t const &base_uuid=BT_BASE_UUID, jau::nsize_t const uuid32_le_octet_index=12) const noexcept |
Public Attributes | |
uint32_t | value |
Additional Inherited Members | |
![]() | |
enum class | TypeSize : jau::nsize_t { UUID16_SZ =2 , UUID32_SZ =4 , UUID128_SZ =16 } |
Underlying integer value present octet count. More... | |
![]() | |
static std::unique_ptr< uuid_t > | create (const std::string &str) |
static std::unique_ptr< uuid_t > | create (TypeSize const t, uint8_t const *const buffer, lb_endian_t const le_or_be) |
static std::string | getTypeSizeString (const TypeSize v) noexcept |
static constexpr jau::nsize_t | number (const TypeSize rhs) noexcept |
static TypeSize | toTypeSize (const jau::nsize_t size) |
![]() | |
uuid_t (TypeSize const type_) | |
|
inlinenoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlineoverridevirtualnoexcept |
returns the pointer to the uuid data of size getTypeSize()
Implements jau::uuid_t.
Definition at line 198 of file uuid.hpp.
|
overridevirtualnoexcept |
Returns the string representation in BE network order, i.e.
00000000-0000-1000-8000-00805F9B34FB
.
Implements jau::uuid_t.
Definition at line 154 of file uuid.cpp.
|
overridevirtualnoexcept |
Returns the uuid128_t string representation in BE network order, i.e.
00000000-0000-1000-8000-00805F9B34FB
.
Implements jau::uuid_t.
|
inlineoverridevirtualnoexcept |
Implements jau::uuid_t.
Definition at line 204 of file uuid.hpp.