summaryrefslogtreecommitdiff
path: root/include/erebos/uuid.h
blob: 9b615f83423cda2404a90b8905d8caba3e6ad4a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <array>
#include <string>

namespace erebos {

struct UUID
{
	explicit UUID(std::string);
	explicit operator std::string() const;

	bool operator==(const UUID &) const;
	bool operator!=(const UUID &) const;

	std::array<uint8_t, 16> uuid;
};

}