acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
uuid.h
1// Created by camilo on 2025-01-08 02:51 <3ThomasBorregaardSorensen!!
2#pragma once
3
4
5namespace platform
6{
7
8
9 struct uuid_t
10 {
11 ulong data1;
12 ::u16 data2;
13 ::u16 data3;
14 ::u8 data4[8];
15 };
16
17 // 128-bit
18 // 16 bytes
19 class CLASS_DECL_ACME uuid
20 {
21 public:
22
23 union
24 {
25 uuid_t m_uuid;
26 ::u8 m_u8a[16];
27
28 };
29
30
31 uuid();
32 uuid(const uuid_t & uuid_t);
33 uuid(const uuid & uuid);
34
35 ::string as_string() const;
36
37
38
39
40 };
41
42
43
44
45
46} // namespace platform
47
48
49
include "thread/AutoLock.h"
Definition _forward_declaration.h:877
Definition uuid.h:10