src/basics.h

changeset 1440
265b2e95a8e8
parent 1433
bd3a9e237ef5
equal deleted inserted replaced
1436:241d3e452b32 1440:265b2e95a8e8
43 public: \ 43 public: \
44 using Self = SELF; \ 44 using Self = SELF; \
45 using Super = SUPER; 45 using Super = SUPER;
46 46
47 class LDObject; 47 class LDObject;
48
49 class Uuid
50 {
51 public:
52 constexpr Uuid() : a{0}, b{0} {}
53 Uuid(Uuid&&) = default;
54 Uuid(const Uuid&) = default;
55 QString toString() const;
56 Uuid& operator++();
57
58 private:
59 quint64 a;
60 quint64 b;
61 };
62
63 constexpr Uuid NULL_UUID = {};
48 64
49 enum Axis 65 enum Axis
50 { 66 {
51 X, 67 X,
52 Y, 68 Y,

mercurial