35 #include "Utilities/STL/MxString.h" 40 class random_generator_pure;
47 std::aligned_storage_t<16> uuidImpl;
51 boost::uuids::uuid& GetImpl();
52 const boost::uuids::uuid& GetImpl()
const;
53 size_t GetHashCode()
const;
54 bool operator==(
const UUID& other)
const;
55 bool operator< (
const UUID& other)
const;
56 bool operator!=(
const UUID& other)
const;
57 bool operator> (
const UUID& other)
const;
58 bool operator<=(
const UUID& other)
const;
59 bool operator>=(
const UUID& other)
const;
61 operator MxString()
const;
64 std::ostream& operator<<(std::ostream& out,
const UUID& uuid);
65 std::istream& operator>>(std::istream& in,
UUID& uuid);
69 std::aligned_storage_t<8> generator;
70 boost::uuids::random_generator_pure& GetGeneratorImpl();
79 static UUID GetNull();
85 #define HASH_ALGORITHM(NAMESPACE)\ 88 template<typename T> struct hash;\ 90 struct hash<MxEngine::UUID>\ 92 std::size_t operator()(const MxEngine::UUID& Id) const\ 94 return Id.GetHashCode();\ 100 HASH_ALGORITHM(eastl)
101 #undef HASH_ALGORITHM
Definition: Application.cpp:49