diff options
Diffstat (limited to 'ACE/ace/UUID.h')
-rw-r--r-- | ACE/ace/UUID.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ACE/ace/UUID.h b/ACE/ace/UUID.h index 5ed3877da89..3745fc25fdf 100644 --- a/ACE/ace/UUID.h +++ b/ACE/ace/UUID.h @@ -43,12 +43,12 @@ namespace ACE_Utils typedef u_char Node_ID[NODE_ID_SIZE]; /// Get the node id - Node_ID & node_ID (void); + Node_ID & node_ID (); /** * @overload */ - const Node_ID & node_ID (void) const; + const Node_ID & node_ID () const; /// Test for equality. bool operator == (const UUID_Node & right) const; @@ -86,7 +86,7 @@ namespace ACE_Utils enum { BINARY_SIZE = 16 }; /// Constructor - UUID (void); + UUID (); #ifndef ACE_LACKS_SSCANF /// Constructs a UUID from a string representation. @@ -96,36 +96,36 @@ namespace ACE_Utils UUID (const UUID &right); // Destructor - ~UUID (void); + ~UUID (); - ACE_UINT32 time_low (void) const; + ACE_UINT32 time_low () const; void time_low (ACE_UINT32); - ACE_UINT16 time_mid (void) const; + ACE_UINT16 time_mid () const; void time_mid (ACE_UINT16); - ACE_UINT16 time_hi_and_version (void) const; + ACE_UINT16 time_hi_and_version () const; void time_hi_and_version (ACE_UINT16); - u_char clock_seq_hi_and_reserved (void) const; + u_char clock_seq_hi_and_reserved () const; void clock_seq_hi_and_reserved (u_char); - u_char clock_seq_low (void) const; + u_char clock_seq_low () const; void clock_seq_low (u_char); - UUID_Node & node (void); - const UUID_Node & node (void) const; + UUID_Node & node (); + const UUID_Node & node () const; void node (const UUID_Node & node); - ACE_CString* thr_id (void); + ACE_CString* thr_id (); void thr_id (char*); - ACE_CString* pid (void); + ACE_CString* pid (); void pid (char*); /// Returns a string representation of the UUID - const ACE_CString* to_string (void) const; + const ACE_CString* to_string () const; #ifndef ACE_LACKS_SSCANF /// Set the value using a string @@ -140,7 +140,7 @@ namespace ACE_Utils bool operator != (const UUID &right) const; /// Compute a hash value for the UUID. - unsigned long hash (void) const; + unsigned long hash () const; /// Assign an existing UUID to this UUID. const UUID & operator = (const UUID & rhs); @@ -149,7 +149,7 @@ namespace ACE_Utils private: /// Initialize the UUID - void init (void); + void init (); /** * Helper method to convert from a string UUID. @@ -203,14 +203,14 @@ namespace ACE_Utils enum {ACE_UUID_CLOCK_SEQ_MASK = 0x3FFF}; /// Default constructor. - UUID_Generator(void); + UUID_Generator(); /// Destructor. ~UUID_Generator(); /// Initialize the UUID generator /// @deprecated This method may go away in some future release. - void init (void); + void init (); /// Format timestamp, clockseq, and nodeID into an UUID of the /// specified version and variant. For generating UUID's with @@ -227,7 +227,7 @@ namespace ACE_Utils /// The locking strategy prevents multiple generators from accessing /// the UUID_state at the same time. Get the locking strategy. - ACE_SYNCH_MUTEX* lock (void); + ACE_SYNCH_MUTEX* lock (); /// Set a new locking strategy and return the old one. void lock (ACE_SYNCH_MUTEX* lock, bool release_lock); |