A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
uuid.h File Reference

Random identifier generation shared across A11 subsystems. More...

#include <cstdint>
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  a11
 

Functions

std::uint64_t a11::RandomUint64 ()
 64 random bits from a thread-local generator.
 
std::string a11::NewUuid ()
 Generate a random RFC 4122 version 4 UUID in canonical text form.
 
std::string a11::NewShortId (int hex_digits=12)
 Generate a short random identifier as lowercase hexadecimal.
 
std::string a11::NewStreamId (std::string_view prefix="")
 Generate a stream identifier: prefix and 128 random bits as hex.
 

Detailed Description

Random identifier generation shared across A11 subsystems.