uuid Class Reference

A 16-byte universally unique identifier. More...

#include <uuid.hpp>

Inheritance diagram for uuid:
byte_array< 16 >

List of all members.

Public Member Functions

std::string str () const
 UUID standard string format: 8-4-4-4-12 (36 chars, 32 alphanumeric chars and 4 hyphens).

Static Public Member Functions

static uuid copy ()
 Make a copy.
static uuid copy (const char *bytes)
 Return a uuid copied from bytes.
static uuid random ()
 Return a simple randomly-generated UUID.

Detailed Description

A 16-byte universally unique identifier.


Member Function Documentation

static uuid copy ( const char *  bytes  )  [static]

Return a uuid copied from bytes.

Bytes must point to at least 16 bytes. If `bytes == 0` the UUID is zero-initialized.

static uuid random (  )  [static]

Return a simple randomly-generated UUID.

This is used by the Proton library to generate default UUIDs.

For specific security, performance, or uniqueness requirements, you may want to use a better UUID generator or some other form of identifier entirely.

std::string str (  )  const

UUID standard string format: 8-4-4-4-12 (36 chars, 32 alphanumeric chars and 4 hyphens).


The documentation for this class was generated from the following file:

Generated on 17 Jan 2019 for Qpid Proton C++ by  doxygen 1.6.1