diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-08-21 10:46:22 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-08-21 10:46:22 +0000 |
commit | b26cb3b8ff2017629f0982951036c8d3c90bf96d (patch) | |
tree | 383e4698acdfc1876f8c6cd070940c9e12c16153 /ACE/ace/UUID.h | |
parent | 4e078b75c71935355a93f7d974bc7908617c3ba9 (diff) | |
download | ATCD-b26cb3b8ff2017629f0982951036c8d3c90bf96d.tar.gz |
Mon Aug 21 10:45:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/UUID.h')
-rw-r--r-- | ACE/ace/UUID.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ACE/ace/UUID.h b/ACE/ace/UUID.h index ac0233b12ba..bc7eda72b6c 100644 --- a/ACE/ace/UUID.h +++ b/ACE/ace/UUID.h @@ -114,6 +114,9 @@ namespace ACE_Utils /// Returns a string representation of the UUID const ACE_CString* to_string (void); + /// Set the value using a string + void from_string (const ACE_CString& uuid_string); + static UUID NIL_UUID; /// Equality Operations @@ -127,6 +130,8 @@ namespace ACE_Utils //bool operator>= (const UUID &right) const; private: + void from_string_i (const ACE_CString& uuidString); + // Copy constructor and assignment operator were not implemented // correctly, so I removed their implementation as an easy solution. UUID (const UUID&); @@ -185,8 +190,7 @@ namespace ACE_Utils /// Set a new locking strategy and return the old one. ACE_SYNCH_MUTEX* lock (ACE_SYNCH_MUTEX*lock, - int release_lock); - + bool release_lock); private: @@ -215,7 +219,7 @@ namespace ACE_Utils UUID_State uuid_state_; ACE_SYNCH_MUTEX* lock_; - int destroy_lock_; + bool destroy_lock_; }; typedef ACE_Singleton<UUID_Generator, ACE_SYNCH_MUTEX> UUID_GENERATOR; |