34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* UUID.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/01/06 11:13:23 by maldavid #+# #+# */
|
|
/* Updated: 2024/01/07 01:44:21 by maldavid ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef __MLX_UUID__
|
|
#define __MLX_UUID__
|
|
|
|
#include <cstdint>
|
|
|
|
namespace mlx
|
|
{
|
|
class UUID
|
|
{
|
|
public:
|
|
UUID();
|
|
UUID(uint64_t uuid);
|
|
|
|
inline operator uint64_t() const { return _uuid; }
|
|
|
|
private:
|
|
uint64_t _uuid;
|
|
};
|
|
}
|
|
|
|
#endif
|