Just™ Game Engine
engine
include
jng
core
GUID.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 Konstanty Misiak
3
*
4
* SPDX-License-Identifier: MIT
5
*/
6
7
#pragma once
8
#include "
jng/core/base.hpp
"
9
10
namespace
jng
{
11
12
class
GUID
13
{
14
public
:
15
GUID
();
16
explicit
GUID
(
u64
guid) : m_GUID{ guid } {}
17
GUID
(
const
GUID
&) =
default
;
18
19
operator
u64
()
const
{
return
m_GUID; }
20
private
:
21
u64
m_GUID;
22
};
23
24
}
// namespace jng
base.hpp
jng::GUID
Definition:
GUID.hpp:13
jng::GUID::GUID
GUID()
Definition:
GUID.cpp:17
jng::GUID::GUID
GUID(const GUID &)=default
jng::GUID::GUID
GUID(u64 guid)
Definition:
GUID.hpp:16
jng
Definition:
base.hpp:11
jng::u64
uint64_t u64
Definition:
base.hpp:42
Generated on Sun Aug 14 2022 10:20:15 for Just™ Game Engine by
1.9.4