FuncDoodle
Loading...
Searching...
No Matches
UUID.h File Reference

Defines a custom 16-byte UUID (universally unique identifier). More...

#include <array>
#include <iostream>
#include <memory.h>
#include <ostream>

Go to the source code of this file.

Classes

class  FuncDoodle::UUID
 Represents a single 16-byte opaque uuid-like unique identifier. More...
struct  FuncDoodle::UUID::Hash
 Hash functor for using UUID as an associative-container key. More...

Namespaces

namespace  FuncDoodle
 The FuncDoodle C++ namespace.

Detailed Description

Defines a custom 16-byte UUID (universally unique identifier).

This file contains the UUID class used in FuncDoodle themes.

The implementation uses a fixed 16-byte array and provides:

  • String serialization/deserialization
  • Equality and ordering operators
  • Simple FNV-based hashing support
  • Basic arithmetic operators (XOR and -)
Note
This UUID implementation is custom and does NOT follow RFC 4122.
Warning
Operator+ and operator- are not mathematically meaningful UUID operations; they are used purely for internal utility behavior.