|
|
|
@ -61,10 +61,10 @@ public:
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
plUUID(); |
|
|
|
|
plUUID( const char * s ); |
|
|
|
|
plUUID(const plString& s); |
|
|
|
|
plUUID(const plUUID& other); |
|
|
|
|
plUUID(const Uuid& uuid); |
|
|
|
|
|
|
|
|
|
void Clear(); |
|
|
|
|
bool IsNull() const; |
|
|
|
|
bool IsSet() const { return !IsNull(); } |
|
|
|
@ -78,7 +78,9 @@ public:
|
|
|
|
|
plString AsString() const; |
|
|
|
|
void Read(hsStream* s); |
|
|
|
|
void Write(hsStream* s); |
|
|
|
|
operator plString ( void ) const { return AsString();} |
|
|
|
|
|
|
|
|
|
operator bool () const { return !IsNull(); } |
|
|
|
|
inline bool operator ! () const { return IsNull(); } |
|
|
|
|
|
|
|
|
|
bool operator==(const plUUID& other) const { |
|
|
|
|
return IsEqualTo(&other); |
|
|
|
@ -89,6 +91,7 @@ public:
|
|
|
|
|
bool operator<(const plUUID& other) const { |
|
|
|
|
return CompareTo(&other) == -1; |
|
|
|
|
} |
|
|
|
|
operator plString (void) const { return AsString(); } |
|
|
|
|
operator Uuid () const; |
|
|
|
|
|
|
|
|
|
static plUUID Generate(); |
|
|
|
|