#include <uuid.h>
Public Member Functions | |
| uuid () | |
| Create a NULL UUID. | |
| uuid (uint8_t *bytes) | |
| Create a UUID directly from 128 bits of data. | |
| uuid (const text &str) | |
| Create a valid Version 3 MD5 URL UUID. | |
| uuid (struct timeval tv) | |
| Create a valid Version 1 time-based UUID. | |
| uuid (const uuid &ref) | |
| Create a UUID which is an exact copy of another. | |
| uuid | operator= (const uuid &ref) |
| const char * | toString () const |
| Get the standard string representation of the UUID. | |
| const uint8_t * | getBytes () const |
| Get the array of bytes. | |
| karoo::uuid::uuid | ( | const text & | str | ) |
Create a valid Version 3 MD5 URL UUID.
| str | the URL string (does not need to be null terminated.) |
| karoo::uuid::uuid | ( | struct timeval | tv | ) |
Create a valid Version 1 time-based UUID.
| tv | time stamp |
| karoo::uuid::uuid | ( | const uuid & | ref | ) |
Create a UUID which is an exact copy of another.
| ref | the UUID to copy byte-by-byte |
| const char* karoo::uuid::toString | ( | ) | const |
Get the standard string representation of the UUID.
1.5.8