ASL
Loading...
Searching...
No Matches
Uuid Class Reference

Detailed Description

Represents an UUID which can be generated to be unique.

Uuid u = Uuid::generate(); // this is a binary ID (16 bytes)
String s = u; // convert to a string representation
String represents a character string that behaves similarly to JavaScript strings in that it can be c...
Definition String.h:126
Represents an UUID which can be generated to be unique.
Definition Uuid.h:26
static Uuid generate()
Generates an UUID (version 4) with a global generator.

Or directly:

#include <asl/Uuid.h>

Public Member Functions

 Uuid (const String &s)
 Constructs an UUID from a string representation.
 
String operator* () const
 Returns a string representation of this UUID.
 
byteoperator[] (int i)
 Returns the i-th byte of the identifier (out of 16)
 

Static Public Member Functions

static Uuid generate ()
 Generates an UUID (version 4) with a global generator.
 

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