diff options
Diffstat (limited to 'ACE/ace')
227 files changed, 1029 insertions, 1029 deletions
diff --git a/ACE/ace/ATM_Acceptor.inl b/ACE/ace/ATM_Acceptor.inl index 8e4aef7fa02..55a7b1807d2 100644 --- a/ACE/ace/ATM_Acceptor.inl +++ b/ACE/ace/ATM_Acceptor.inl @@ -3,7 +3,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void -ACE_ATM_Acceptor::dump (void) const +ACE_ATM_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_ATM_Acceptor::dump"); diff --git a/ACE/ace/ATM_Addr.cpp b/ACE/ace/ATM_Addr.cpp index 74c32b6fcb7..57e4e2639f0 100644 --- a/ACE/ace/ATM_Addr.cpp +++ b/ACE/ace/ATM_Addr.cpp @@ -119,7 +119,7 @@ ACE_ATM_Addr::~ACE_ATM_Addr (void) // Return the address. void * -ACE_ATM_Addr::get_addr (void) const +ACE_ATM_Addr::get_addr () const { ACE_TRACE ("ACE_ATM_Addr::get_addr"); return (void *) &this->atm_addr_; @@ -434,7 +434,7 @@ ACE_ATM_Addr::addr_to_string (ACE_TCHAR addr[], } const ACE_TCHAR * -ACE_ATM_Addr::addr_to_string (void) const +ACE_ATM_Addr::addr_to_string () const { ACE_TRACE ("ACE_ATM_Addr::addr_to_string"); @@ -496,7 +496,7 @@ ACE_ATM_Addr::operator == (const ACE_ATM_Addr &sap) const } void -ACE_ATM_Addr::dump (void) const +ACE_ATM_Addr::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_ATM_Addr::dump"); diff --git a/ACE/ace/ATM_Addr.h b/ACE/ace/ATM_Addr.h index def7f35878c..9f0a72e9d4a 100644 --- a/ACE/ace/ATM_Addr.h +++ b/ACE/ace/ATM_Addr.h @@ -140,16 +140,16 @@ public: * is non-reentrant since it returns a pointer to a static data * area.) */ - const ACE_TCHAR *addr_to_string (void) const; + const ACE_TCHAR *addr_to_string () const; /// Return a pointer to the underlying network address. - virtual void *get_addr (void) const; + virtual void *get_addr () const; /// Set a pointer to the address. virtual void set_addr (const void *, int); /// Return the selector for network address. - u_char get_selector (void) const; + u_char get_selector () const; /// Set the selector for the network address. void set_selector (u_char selector); diff --git a/ACE/ace/ATM_Addr.inl b/ACE/ace/ATM_Addr.inl index d1f7e2c4d18..5d0b8faae9c 100644 --- a/ACE/ace/ATM_Addr.inl +++ b/ACE/ace/ATM_Addr.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE u_char -ACE_ATM_Addr::get_selector (void) const +ACE_ATM_Addr::get_selector () const { ACE_TRACE ("ACE_ATM_Addr::get_selector"); #if defined (ACE_HAS_FORE_ATM_XTI) diff --git a/ACE/ace/ATM_Connector.inl b/ACE/ace/ATM_Connector.inl index 3980c234b2c..4493be6afa8 100644 --- a/ACE/ace/ATM_Connector.inl +++ b/ACE/ace/ATM_Connector.inl @@ -3,7 +3,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void -ACE_ATM_Connector::dump (void) const +ACE_ATM_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_ATM_Connector::dump"); diff --git a/ACE/ace/ATM_Params.inl b/ACE/ace/ATM_Params.inl index 59ec331b53e..57376a0caf4 100644 --- a/ACE/ace/ATM_Params.inl +++ b/ACE/ace/ATM_Params.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void -ACE_ATM_Params::dump (void) const +ACE_ATM_Params::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_ATM_Params::dump"); @@ -47,7 +47,7 @@ ACE_ATM_Params::~ACE_ATM_Params (void) ACE_INLINE int -ACE_ATM_Params::get_protocol_family (void) const +ACE_ATM_Params::get_protocol_family () const { ACE_TRACE ("ACE_ATM_Params::get_protocol_family"); return protocol_family_; @@ -63,7 +63,7 @@ ACE_ATM_Params::set_protocol_family (int family) ACE_INLINE int -ACE_ATM_Params::get_protocol (void) const +ACE_ATM_Params::get_protocol () const { ACE_TRACE ("ACE_ATM_Params::get_protocol"); return protocol_; @@ -79,7 +79,7 @@ ACE_ATM_Params::set_protocol (int protocol) ACE_INLINE int -ACE_ATM_Params::get_type (void) const +ACE_ATM_Params::get_type () const { ACE_TRACE ("ACE_ATM_Params::get_type"); return type_; @@ -143,7 +143,7 @@ ACE_ATM_Params::set_flags( u_long flags) ACE_INLINE int -ACE_ATM_Params::get_reuse_addr (void) const +ACE_ATM_Params::get_reuse_addr () const { ACE_TRACE ("ACE_ATM_Params::get_reuse_addr"); return reuse_addr_; @@ -159,7 +159,7 @@ ACE_ATM_Params::set_reuse_addr (int reuse_addr) ACE_INLINE const char* -ACE_ATM_Params::get_device (void) const +ACE_ATM_Params::get_device () const { ACE_TRACE ("ACE_ATM_Params::get_device"); return device_; @@ -167,7 +167,7 @@ ACE_ATM_Params::get_device (void) const ACE_INLINE Param_Info* -ACE_ATM_Params::get_info (void) const +ACE_ATM_Params::get_info () const { ACE_TRACE ("ACE_ATM_Params::get_info"); return info_; @@ -183,7 +183,7 @@ ACE_ATM_Params::set_info (Param_Info* info) ACE_INLINE int -ACE_ATM_Params::get_rw_flag (void) const +ACE_ATM_Params::get_rw_flag () const { ACE_TRACE ("ACE_ATM_Params::get_rw_flag"); return rw_flag_; @@ -199,7 +199,7 @@ ACE_ATM_Params::set_rw_flag (int rw_flag) ACE_INLINE Param_Udata* -ACE_ATM_Params::get_user_data (void) const +ACE_ATM_Params::get_user_data () const { ACE_TRACE ("ACE_ATM_Params::get_user_data"); return udata_; @@ -215,7 +215,7 @@ ACE_ATM_Params::set_user_data (Param_Udata *udata) ACE_INLINE int -ACE_ATM_Params::get_oflag (void) const +ACE_ATM_Params::get_oflag () const { ACE_TRACE ("ACE_ATM_Params::get_oflag"); return oflag_; diff --git a/ACE/ace/ATM_QoS.inl b/ACE/ace/ATM_QoS.inl index 479079e993e..8ac4d7aa09a 100644 --- a/ACE/ace/ATM_QoS.inl +++ b/ACE/ace/ATM_QoS.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void -ACE_ATM_QoS::dump (void) const +ACE_ATM_QoS::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_ATM_QoS::dump"); diff --git a/ACE/ace/ATM_Stream.cpp b/ACE/ace/ATM_Stream.cpp index f87ac4def1c..e750a457702 100644 --- a/ACE/ace/ATM_Stream.cpp +++ b/ACE/ace/ATM_Stream.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_ATM_Stream) char* -ACE_ATM_Stream::get_peer_name (void) const +ACE_ATM_Stream::get_peer_name () const { ACE_TRACE ("ACE_ATM_Stream::get_peer_name"); #if defined (ACE_HAS_FORE_ATM_XTI) @@ -127,7 +127,7 @@ ACE_ATM_Stream::get_peer_name (void) const } ACE_HANDLE -ACE_ATM_Stream::get_handle (void) const +ACE_ATM_Stream::get_handle () const { ACE_TRACE ("ACE_ATM_Stream::get_handle"); #if defined (ACE_HAS_FORE_ATM_XTI) || defined (ACE_HAS_FORE_ATM_WS2) || defined (ACE_HAS_LINUX_ATM) diff --git a/ACE/ace/ATM_Stream.h b/ACE/ace/ATM_Stream.h index 300d0563e7a..a905ce05bd7 100644 --- a/ACE/ace/ATM_Stream.h +++ b/ACE/ace/ATM_Stream.h @@ -56,13 +56,13 @@ public: int close (void); /// Get the underlying handle. - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// Get the underlying stream. ATM_Stream& get_stream (void); /// Get the name of the connected host. - char* get_peer_name (void) const; + char* get_peer_name () const; /// Get the VPI and VCI of the stream. int get_vpi_vci (ACE_UINT16 &vpi, diff --git a/ACE/ace/ATM_Stream.inl b/ACE/ace/ATM_Stream.inl index eda7ca9bc81..803af75770c 100644 --- a/ACE/ace/ATM_Stream.inl +++ b/ACE/ace/ATM_Stream.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void -ACE_ATM_Stream::dump (void) const +ACE_ATM_Stream::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_ATM_Stream::dump"); diff --git a/ACE/ace/Activation_Queue.h b/ACE/ace/Activation_Queue.h index 3d41fd0f4a4..2e5d8f75f1f 100644 --- a/ACE/ace/Activation_Queue.h +++ b/ACE/ace/Activation_Queue.h @@ -118,19 +118,19 @@ public: int enqueue (ACE_Method_Request *new_method_request, ACE_Time_Value *tv = 0); /// Get the current number of method objects in the queue. - size_t method_count (void) const; + size_t method_count () const; /// Returns 1 if the queue is empty, 0 otherwise. - int is_empty (void) const; + int is_empty () const; /// Returns 1 if the queue is full, 0 otherwise. - int is_full (void) const; + int is_full () const; /// Dump the state of an request. void dump () const; /// Get a pointer to the underlying queue. - ACE_Message_Queue<ACE_SYNCH> *queue (void) const; + ACE_Message_Queue<ACE_SYNCH> *queue () const; /// Set the pointer to the underlying queue. void queue (ACE_Message_Queue<ACE_SYNCH> *q); diff --git a/ACE/ace/Activation_Queue.inl b/ACE/ace/Activation_Queue.inl index b464dbdef10..3b259ce7625 100644 --- a/ACE/ace/Activation_Queue.inl +++ b/ACE/ace/Activation_Queue.inl @@ -2,25 +2,25 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE size_t -ACE_Activation_Queue::method_count (void) const +ACE_Activation_Queue::method_count () const { return queue_->message_count (); } ACE_INLINE int -ACE_Activation_Queue::is_full (void) const +ACE_Activation_Queue::is_full () const { return queue_->is_full (); } ACE_INLINE int -ACE_Activation_Queue::is_empty (void) const +ACE_Activation_Queue::is_empty () const { return queue_->is_empty (); } ACE_INLINE ACE_Message_Queue<ACE_SYNCH> * -ACE_Activation_Queue::queue (void) const +ACE_Activation_Queue::queue () const { return queue_; } diff --git a/ACE/ace/Asynch_Acceptor.cpp b/ACE/ace/Asynch_Acceptor.cpp index c518c3a62fc..b8fb1c16fa6 100644 --- a/ACE/ace/Asynch_Acceptor.cpp +++ b/ACE/ace/Asynch_Acceptor.cpp @@ -192,7 +192,7 @@ ACE_Asynch_Acceptor<HANDLER>::set_handle (ACE_HANDLE listen_handle) } template <class HANDLER> ACE_HANDLE -ACE_Asynch_Acceptor<HANDLER>::get_handle (void) const +ACE_Asynch_Acceptor<HANDLER>::get_handle () const { return this->listen_handle_; } @@ -418,7 +418,7 @@ ACE_Asynch_Acceptor<HANDLER>::parse_address (const } template <class HANDLER> ACE_HANDLE -ACE_Asynch_Acceptor<HANDLER>::handle (void) const +ACE_Asynch_Acceptor<HANDLER>::handle () const { return this->listen_handle_; } @@ -447,7 +447,7 @@ ACE_Asynch_Acceptor<HANDLER>::make_handler (void) } template <class HANDLER> bool -ACE_Asynch_Acceptor<HANDLER>::pass_addresses (void) const +ACE_Asynch_Acceptor<HANDLER>::pass_addresses () const { return this->pass_addresses_; } @@ -459,7 +459,7 @@ ACE_Asynch_Acceptor<HANDLER>::pass_addresses (bool new_value) } template <class HANDLER> bool -ACE_Asynch_Acceptor<HANDLER>::validate_new_connection (void) const +ACE_Asynch_Acceptor<HANDLER>::validate_new_connection () const { return this->validate_new_connection_; } @@ -471,7 +471,7 @@ ACE_Asynch_Acceptor<HANDLER>::validate_new_connection (bool new_value) } template <class HANDLER> int -ACE_Asynch_Acceptor<HANDLER>::reissue_accept (void) const +ACE_Asynch_Acceptor<HANDLER>::reissue_accept () const { return this->reissue_accept_; } @@ -483,7 +483,7 @@ ACE_Asynch_Acceptor<HANDLER>::reissue_accept (int new_value) } template <class HANDLER> size_t -ACE_Asynch_Acceptor<HANDLER>::bytes_to_read (void) const +ACE_Asynch_Acceptor<HANDLER>::bytes_to_read () const { return this->bytes_to_read_; } diff --git a/ACE/ace/Asynch_Acceptor.h b/ACE/ace/Asynch_Acceptor.h index 03efa702e8d..36b3aa1ca76 100644 --- a/ACE/ace/Asynch_Acceptor.h +++ b/ACE/ace/Asynch_Acceptor.h @@ -115,7 +115,7 @@ public: int number_of_initial_accepts = -1); /// Get the underlying handle. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; /** * Set the underlying listen handle. It is the user's responsibility @@ -183,28 +183,28 @@ public: /// Get flag that indicates if parsing and passing of addresses to /// the service_handler is necessary. - virtual bool pass_addresses (void) const; + virtual bool pass_addresses () const; /// Set flag that indicates if parsing and passing of addresses to /// the service_handler is necessary. virtual void pass_addresses (bool new_value); /// Get flag that indicates if address validation is required. - virtual bool validate_new_connection (void) const; + virtual bool validate_new_connection () const; /// Set flag that indicates if address validation is required. virtual void validate_new_connection (bool new_value); /// Get flag that indicates if a new accept should be reissued when a accept /// completes. - virtual int reissue_accept (void) const; + virtual int reissue_accept () const; /// Set flag that indicates if a new accept should be reissued when a accept /// completes. virtual void reissue_accept (int new_value); /// Get bytes to be read with the <accept> call. - virtual size_t bytes_to_read (void) const; + virtual size_t bytes_to_read () const; /// Set bytes to be read with the <accept> call. virtual void bytes_to_read (size_t new_value); @@ -215,7 +215,7 @@ protected: virtual void handle_accept (const ACE_Asynch_Accept::Result &result); /// Return the listen handle. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Set the listen handle. void handle (ACE_HANDLE h); diff --git a/ACE/ace/Asynch_Connector.cpp b/ACE/ace/Asynch_Connector.cpp index 5391ca5ad5e..3d35f0d4aa4 100644 --- a/ACE/ace/Asynch_Connector.cpp +++ b/ACE/ace/Asynch_Connector.cpp @@ -239,7 +239,7 @@ ACE_Asynch_Connector<HANDLER>::make_handler (void) } template <class HANDLER> bool -ACE_Asynch_Connector<HANDLER>::pass_addresses (void) const +ACE_Asynch_Connector<HANDLER>::pass_addresses () const { return this->pass_addresses_; } @@ -251,7 +251,7 @@ ACE_Asynch_Connector<HANDLER>::pass_addresses (bool new_value) } template <class HANDLER> bool -ACE_Asynch_Connector<HANDLER>::validate_new_connection (void) const +ACE_Asynch_Connector<HANDLER>::validate_new_connection () const { return this->validate_new_connection_; } diff --git a/ACE/ace/Asynch_Connector.h b/ACE/ace/Asynch_Connector.h index 584c29fb0dd..1777cd0c904 100644 --- a/ACE/ace/Asynch_Connector.h +++ b/ACE/ace/Asynch_Connector.h @@ -113,12 +113,12 @@ public: /// Set and get flag that indicates if parsing and passing of /// addresses to the service_handler is necessary. - virtual bool pass_addresses (void) const; + virtual bool pass_addresses () const; virtual void pass_addresses (bool new_value); /// Set and get flag that indicates if address validation is /// required. - virtual bool validate_new_connection (void) const; + virtual bool validate_new_connection () const; virtual void validate_new_connection (bool new_value); protected: diff --git a/ACE/ace/Asynch_IO.h b/ACE/ace/Asynch_IO.h index 9d2803ad7db..55e339e5f81 100644 --- a/ACE/ace/Asynch_IO.h +++ b/ACE/ace/Asynch_IO.h @@ -103,13 +103,13 @@ class ACE_Export ACE_Asynch_Result { public: /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This is the ACT associated with the handle on which the @@ -120,10 +120,10 @@ public: * * @@ This is not implemented for POSIX4 platforms. Returns 0. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fails. - unsigned long error (void) const; + unsigned long error () const; /** * On WIN32, this returns the event associated with the OVERLAPPED @@ -131,7 +131,7 @@ public: * * This returns ACE_INVALID_HANDLE on POSIX4-Unix platforms. */ - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /** * This really makes sense only when doing file I/O. @@ -141,8 +141,8 @@ public: * @@ On POSIX4-Unix, offset_high should be supported using * aiocb64. */ - unsigned long offset (void) const; - unsigned long offset_high (void) const; + unsigned long offset () const; + unsigned long offset_high () const; /** * Priority of the operation. @@ -154,7 +154,7 @@ public: * * On Win32, this is a no-op. */ - int priority (void) const; + int priority () const; /** * POSIX4 real-time signal number to be used for the @@ -162,7 +162,7 @@ public: * default, ACE_SIGRTMIN is used to issue {aio_} calls. This is a no-op * on non-POSIX4 systems and returns 0. */ - int signal_number (void) const; + int signal_number () const; /// Destructor. @@ -174,7 +174,7 @@ protected: ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation); /// Get the implementation class. - ACE_Asynch_Result_Impl *implementation (void) const; + ACE_Asynch_Result_Impl *implementation () const; /// Implementation class. ACE_Asynch_Result_Impl *implementation_; @@ -250,7 +250,7 @@ public: // = Access methods. /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; /// Destructor. virtual ~ACE_Asynch_Operation (void); @@ -260,7 +260,7 @@ protected: ACE_Asynch_Operation (void); /// Return the underlying implementation class. - virtual ACE_Asynch_Operation_Impl *implementation (void) const = 0; + virtual ACE_Asynch_Operation_Impl *implementation () const = 0; /// Get a proactor for/from the user ACE_Proactor *get_proactor (ACE_Proactor *user_proactor, @@ -356,7 +356,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Implementation class that all methods will be forwarded to. @@ -384,16 +384,16 @@ public: public: /// The number of bytes which were requested at the start of the /// asynchronous read. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for reading. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Get the implementation class. - ACE_Asynch_Read_Stream_Result_Impl *implementation (void) const; + ACE_Asynch_Read_Stream_Result_Impl *implementation () const; protected: /// Constructor. @@ -510,7 +510,7 @@ public: /// Return the underlying implementation class. /// @todo (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Implementation class that all methods will be forwarded to. @@ -538,16 +538,16 @@ public: public: /// The number of bytes which were requested at the start of the /// asynchronous write. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Message block that contains the data to be written. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for writing. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Get the implementation class. - ACE_Asynch_Write_Stream_Result_Impl *implementation (void) const; + ACE_Asynch_Write_Stream_Result_Impl *implementation () const; protected: /// Constructor. @@ -657,7 +657,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Delegation/implementation class that all methods will be @@ -691,7 +691,7 @@ public: public: /// Get the implementation class. - ACE_Asynch_Read_File_Result_Impl *implementation (void) const; + ACE_Asynch_Read_File_Result_Impl *implementation () const; protected: /// Constructor. This implementation will not be deleted. @@ -792,7 +792,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Implementation object. @@ -825,7 +825,7 @@ public: public: /// Get the implementation class. - ACE_Asynch_Write_File_Result_Impl *implementation (void) const; + ACE_Asynch_Write_File_Result_Impl *implementation () const; protected: /// Constructor. This implementation will not be deleted. @@ -928,7 +928,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Delegation/implementation class that all methods will be @@ -956,19 +956,19 @@ public: public: /// The number of bytes which were requested at the start of the /// asynchronous accept. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for accepting new connections. - ACE_HANDLE listen_handle (void) const; + ACE_HANDLE listen_handle () const; /// I/O handle for the new connection. - ACE_HANDLE accept_handle (void) const; + ACE_HANDLE accept_handle () const; /// Get the implementation. - ACE_Asynch_Accept_Result_Impl *implementation (void) const; + ACE_Asynch_Accept_Result_Impl *implementation () const; protected: /// Constructor. Implementation will not be deleted. @@ -1032,7 +1032,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Delegation/implementation class that all methods will be @@ -1060,10 +1060,10 @@ public: public: /// I/O handle for the connection. - ACE_HANDLE connect_handle (void) const; + ACE_HANDLE connect_handle () const; /// Get the implementation. - ACE_Asynch_Connect_Result_Impl *implementation (void) const; + ACE_Asynch_Connect_Result_Impl *implementation () const; protected: /// Constructor. Implementation will not be deleted. @@ -1157,7 +1157,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// The implementation class. @@ -1183,27 +1183,27 @@ public: public: /// Socket used for transmitting the file. - ACE_HANDLE socket (void) const; + ACE_HANDLE socket () const; /// File from which the data is read. - ACE_HANDLE file (void) const; + ACE_HANDLE file () const; /// Header and trailer data associated with this transmit file. - Header_And_Trailer *header_and_trailer (void) const; + Header_And_Trailer *header_and_trailer () const; /// The number of bytes which were requested at the start of the /// asynchronous transmit file. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Number of bytes per send requested at the start of the transmit /// file. - size_t bytes_per_send (void) const; + size_t bytes_per_send () const; /// Flags which were passed into transmit file. - unsigned long flags (void) const; + unsigned long flags () const; /// Get the implementation class. - ACE_Asynch_Transmit_File_Result_Impl *implementation (void) const; + ACE_Asynch_Transmit_File_Result_Impl *implementation () const; protected: /// Constructor. @@ -1244,25 +1244,25 @@ public: size_t trailer_bytes = 0); /// Get header which goes before the file data. - ACE_Message_Block *header (void) const; + ACE_Message_Block *header () const; /// Set header which goes before the file data. void header (ACE_Message_Block *message_block); /// Get size of the header data. - size_t header_bytes (void) const; + size_t header_bytes () const; /// Set size of the header data. void header_bytes (size_t bytes); /// Get trailer which goes after the file data. - ACE_Message_Block *trailer (void) const; + ACE_Message_Block *trailer () const; /// Set trailer which goes after the file data. void trailer (ACE_Message_Block *message_block); /// Get size of the trailer data. - size_t trailer_bytes (void) const; + size_t trailer_bytes () const; /// Set size of the trailer data. void trailer_bytes (size_t bytes); @@ -1366,7 +1366,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Implementation class that all methods will be forwarded to. @@ -1394,22 +1394,22 @@ public: public: /// The number of bytes which were requested at the start of the /// asynchronous read. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data - ACE_Message_Block *message_block (void) const; + ACE_Message_Block *message_block () const; /// The flags used in the read - int flags (void) const; + int flags () const; /// The address of where the packet came from int remote_address (ACE_Addr& addr) const; /// I/O handle used for reading. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Get the implementation class. - ACE_Asynch_Read_Dgram_Result_Impl *implementation (void) const; + ACE_Asynch_Read_Dgram_Result_Impl *implementation () const; protected: /// Constructor. @@ -1499,7 +1499,7 @@ public: /// Return the underlying implementation class. // (this should be protected...) - virtual ACE_Asynch_Operation_Impl *implementation (void) const; + virtual ACE_Asynch_Operation_Impl *implementation () const; protected: /// Implementation class that all methods will be forwarded to. @@ -1527,19 +1527,19 @@ public: public: /// The number of bytes which were requested at the start of the /// asynchronous write. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Message block which contains the sent data - ACE_Message_Block *message_block (void) const; + ACE_Message_Block *message_block () const; /// The flags using in the write - int flags (void) const; + int flags () const; /// I/O handle used for writing. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Get the implementation class. - ACE_Asynch_Write_Dgram_Result_Impl *implementation (void) const; + ACE_Asynch_Write_Dgram_Result_Impl *implementation () const; protected: /// Constructor. @@ -1634,7 +1634,7 @@ public: * called by the ACE_Asynch_* classes when an ACE_INVALID_HANDLE is * passed to {open}. */ - virtual ACE_HANDLE handle (void) const; + virtual ACE_HANDLE handle () const; /// Set the ACE_HANDLE value for this Handler. virtual void handle (ACE_HANDLE); diff --git a/ACE/ace/Asynch_IO_Impl.h b/ACE/ace/Asynch_IO_Impl.h index a4ec996df19..01880bc1dbc 100644 --- a/ACE/ace/Asynch_IO_Impl.h +++ b/ACE/ace/Asynch_IO_Impl.h @@ -49,30 +49,30 @@ public: virtual ~ACE_Asynch_Result_Impl (void); /// Number of bytes transferred by the operation. - virtual size_t bytes_transferred (void) const = 0; + virtual size_t bytes_transferred () const = 0; /// ACT associated with the operation. - virtual const void *act (void) const = 0; + virtual const void *act () const = 0; /// Did the operation succeed? - virtual int success (void) const = 0; + virtual int success () const = 0; /// This ACT is not the same as the ACT associated with the /// asynchronous operation. - virtual const void *completion_key (void) const = 0; + virtual const void *completion_key () const = 0; /// Error value if the operation fail. - virtual u_long error (void) const = 0; + virtual u_long error () const = 0; /// Event associated with the OVERLAPPED structure. - virtual ACE_HANDLE event (void) const = 0; + virtual ACE_HANDLE event () const = 0; /// This really make sense only when doing file I/O. - virtual u_long offset (void) const = 0; - virtual u_long offset_high (void) const = 0; + virtual u_long offset () const = 0; + virtual u_long offset_high () const = 0; /// Priority of the operation. - virtual int priority (void) const = 0; + virtual int priority () const = 0; /** * POSIX4 real-time signal number to be used for the @@ -80,7 +80,7 @@ public: * default, SIGRTMIN is used to issue <aio_> calls. This is a no-op * on non-POSIX4 systems and returns 0. */ - virtual int signal_number (void) const = 0; + virtual int signal_number () const = 0; // protected: // @@ -133,7 +133,7 @@ public: // = Access methods. /// Return the underlying proactor. - virtual ACE_Proactor* proactor (void) const = 0; + virtual ACE_Proactor* proactor () const = 0; protected: /// Do-nothing constructor. @@ -191,13 +191,13 @@ public: /// The number of bytes which were requested at the start of the /// asynchronous read. - virtual size_t bytes_to_read (void) const = 0; + virtual size_t bytes_to_read () const = 0; /// Message block which contains the read data. - virtual ACE_Message_Block &message_block (void) const = 0; + virtual ACE_Message_Block &message_block () const = 0; /// I/O handle used for reading. - virtual ACE_HANDLE handle (void) const = 0; + virtual ACE_HANDLE handle () const = 0; protected: /// Do-nothing constructor. @@ -255,13 +255,13 @@ public: /// The number of bytes which were requested at the start of the /// asynchronous write. - virtual size_t bytes_to_write (void) const = 0; + virtual size_t bytes_to_write () const = 0; /// Message block that contains the data to be written. - virtual ACE_Message_Block &message_block (void) const = 0; + virtual ACE_Message_Block &message_block () const = 0; /// I/O handle used for writing. - virtual ACE_HANDLE handle (void) const = 0; + virtual ACE_HANDLE handle () const = 0; protected: /// Do-nothing constructor. @@ -484,16 +484,16 @@ public: /// The number of bytes which were requested at the start of the /// asynchronous accept. - virtual size_t bytes_to_read (void) const = 0; + virtual size_t bytes_to_read () const = 0; /// Message block which contains the read data. - virtual ACE_Message_Block &message_block (void) const = 0; + virtual ACE_Message_Block &message_block () const = 0; /// I/O handle used for accepting new connections. - virtual ACE_HANDLE listen_handle (void) const = 0; + virtual ACE_HANDLE listen_handle () const = 0; /// I/O handle for the new connection. - virtual ACE_HANDLE accept_handle (void) const = 0; + virtual ACE_HANDLE accept_handle () const = 0; protected: /// Do-nothing constructor. @@ -542,7 +542,7 @@ public: virtual ~ACE_Asynch_Connect_Result_Impl (void); /// I/O handle for the connection. - virtual ACE_HANDLE connect_handle (void) const = 0; + virtual ACE_HANDLE connect_handle () const = 0; protected: /// Do-nothing constructor. @@ -592,24 +592,24 @@ public: virtual ~ACE_Asynch_Transmit_File_Result_Impl (void); /// Socket used for transmitting the file. - virtual ACE_HANDLE socket (void) const = 0; + virtual ACE_HANDLE socket () const = 0; /// File from which the data is read. - virtual ACE_HANDLE file (void) const = 0; + virtual ACE_HANDLE file () const = 0; /// Header and trailer data associated with this transmit file. - virtual ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer (void) const = 0; + virtual ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer () const = 0; /// The number of bytes which were requested at the start of the /// asynchronous transmit file. - virtual size_t bytes_to_write (void) const = 0; + virtual size_t bytes_to_write () const = 0; /// Number of bytes per send requested at the start of the transmit /// file. - virtual size_t bytes_per_send (void) const = 0; + virtual size_t bytes_per_send () const = 0; /// Flags which were passed into transmit file. - virtual u_long flags (void) const = 0; + virtual u_long flags () const = 0; protected: /// Do-nothing constructor. @@ -681,20 +681,20 @@ public: virtual ~ACE_Asynch_Read_Dgram_Result_Impl (void); /// Message block which contains the read data - virtual ACE_Message_Block *message_block (void) const = 0; + virtual ACE_Message_Block *message_block () const = 0; /// The number of bytes which were requested at the start of the /// asynchronous read. - virtual size_t bytes_to_read (void) const = 0; + virtual size_t bytes_to_read () const = 0; /// The address of where the packet came from virtual int remote_address (ACE_Addr& addr) const = 0; /// The flags used in the read - virtual int flags (void) const = 0; + virtual int flags () const = 0; /// I/O handle used for reading. - virtual ACE_HANDLE handle (void) const = 0; + virtual ACE_HANDLE handle () const = 0; protected: /// Do-nothing constructor. @@ -766,16 +766,16 @@ public: /// The number of bytes which were requested at the start of the /// asynchronous write. - virtual size_t bytes_to_write (void) const = 0; + virtual size_t bytes_to_write () const = 0; /// Message block which contains the sent data - virtual ACE_Message_Block *message_block (void) const = 0; + virtual ACE_Message_Block *message_block () const = 0; /// The flags using in the write - virtual int flags (void) const = 0; + virtual int flags () const = 0; /// I/O handle used for writing. - virtual ACE_HANDLE handle (void) const = 0; + virtual ACE_HANDLE handle () const = 0; protected: /// Do-nothing constructor. diff --git a/ACE/ace/Atomic_Op.cpp b/ACE/ace/Atomic_Op.cpp index e1075809b28..07490f3a425 100644 --- a/ACE/ace/Atomic_Op.cpp +++ b/ACE/ace/Atomic_Op.cpp @@ -258,7 +258,7 @@ ACE_Atomic_Op<ACE_Thread_Mutex, long>::init_functions (void) } void -ACE_Atomic_Op<ACE_Thread_Mutex, long>::dump (void) const +ACE_Atomic_Op<ACE_Thread_Mutex, long>::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); @@ -291,7 +291,7 @@ ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long>::init_functions (void) } void -ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long>::dump (void) const +ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long>::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); diff --git a/ACE/ace/Atomic_Op.h b/ACE/ace/Atomic_Op.h index 19033b89860..e0281c856e5 100644 --- a/ACE/ace/Atomic_Op.h +++ b/ACE/ace/Atomic_Op.h @@ -126,7 +126,7 @@ public: long exchange (long newval); /// Explicitly return @c value_. - long value (void) const; + long value () const; /// Dump the state of an object. void dump () const; @@ -224,7 +224,7 @@ public: unsigned long exchange (unsigned long newval); /// Explicitly return @c value_. - unsigned long value (void) const; + unsigned long value () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/Atomic_Op.inl b/ACE/ace/Atomic_Op.inl index 318339d0363..28a6c1a65ef 100644 --- a/ACE/ace/Atomic_Op.inl +++ b/ACE/ace/Atomic_Op.inl @@ -203,7 +203,7 @@ ACE_Atomic_Op<ACE_Thread_Mutex, long>::exchange (long newval) } ACE_INLINE long -ACE_Atomic_Op<ACE_Thread_Mutex, long>::value (void) const +ACE_Atomic_Op<ACE_Thread_Mutex, long>::value () const { return this->value_; } @@ -403,7 +403,7 @@ ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long>::exchange (unsigned long newval) } ACE_INLINE unsigned long -ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long>::value (void) const +ACE_Atomic_Op<ACE_Thread_Mutex, unsigned long>::value () const { return this->value_; } diff --git a/ACE/ace/Auto_IncDec_T.cpp b/ACE/ace/Auto_IncDec_T.cpp index 5d408c7dbf2..bb5b7b40fd1 100644 --- a/ACE/ace/Auto_IncDec_T.cpp +++ b/ACE/ace/Auto_IncDec_T.cpp @@ -21,7 +21,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Auto_IncDec) template <class ACE_SAFELY_INCREMENTABLE_DECREMENTABLE> void -ACE_Auto_IncDec<ACE_SAFELY_INCREMENTABLE_DECREMENTABLE>::dump (void) const +ACE_Auto_IncDec<ACE_SAFELY_INCREMENTABLE_DECREMENTABLE>::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Auto_IncDec<ACE_SAFELY_INCREMENTABLE_DECREMENTABLE>::dump"); diff --git a/ACE/ace/Based_Pointer_T.cpp b/ACE/ace/Based_Pointer_T.cpp index df983903c34..e3504108156 100644 --- a/ACE/ace/Based_Pointer_T.cpp +++ b/ACE/ace/Based_Pointer_T.cpp @@ -22,7 +22,7 @@ ACE_Based_Pointer<CONCRETE>::ACE_Based_Pointer (void) } template <class CONCRETE> void -ACE_Based_Pointer_Basic<CONCRETE>::dump (void) const +ACE_Based_Pointer_Basic<CONCRETE>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Based_Pointer_Basic<CONCRETE>::dump"); diff --git a/ACE/ace/Based_Pointer_T.h b/ACE/ace/Based_Pointer_T.h index 3834f465517..33085713804 100644 --- a/ACE/ace/Based_Pointer_T.h +++ b/ACE/ace/Based_Pointer_T.h @@ -98,7 +98,7 @@ public: void operator = (const ACE_Based_Pointer_Basic<CONCRETE> &); /// Dereference operator. - CONCRETE operator * (void) const; + CONCRETE operator * () const; /// Less than operator. bool operator < (const ACE_Based_Pointer_Basic<CONCRETE> &) const; @@ -128,7 +128,7 @@ public: operator CONCRETE *() const; /// Returns the underlying memory address of the smart pointer. - CONCRETE *addr (void) const; + CONCRETE *addr () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; diff --git a/ACE/ace/Based_Pointer_T.inl b/ACE/ace/Based_Pointer_T.inl index 04ab75831b4..c9b00d5c703 100644 --- a/ACE/ace/Based_Pointer_T.inl +++ b/ACE/ace/Based_Pointer_T.inl @@ -36,14 +36,14 @@ ACE_Based_Pointer<CONCRETE>::operator = (CONCRETE *rhs) } template <class CONCRETE> ACE_INLINE CONCRETE -ACE_Based_Pointer_Basic<CONCRETE>::operator *(void) const +ACE_Based_Pointer_Basic<CONCRETE>::operator *() const { ACE_TRACE ("ACE_Based_Pointer_Basic<CONCRETE>::operator *"); return *reinterpret_cast<CONCRETE *> (ACE_COMPUTE_BASED_POINTER (this)); } template <class CONCRETE> ACE_INLINE CONCRETE * -ACE_Based_Pointer_Basic<CONCRETE>::addr (void) const +ACE_Based_Pointer_Basic<CONCRETE>::addr () const { ACE_TRACE ("ACE_Based_Pointer_Basic<CONCRETE>::addr"); diff --git a/ACE/ace/CDR_Size.h b/ACE/ace/CDR_Size.h index 4590230a336..8ad197b03ac 100644 --- a/ACE/ace/CDR_Size.h +++ b/ACE/ace/CDR_Size.h @@ -45,13 +45,13 @@ public: ACE_CDR::Octet minor_version = ACE_CDR_GIOP_MINOR_VERSION); /// Returns @c false if an error has occurred. - bool good_bit (void) const; + bool good_bit () const; /// Reset current size. void reset (void); /// Return current size. - size_t total_length (void) const; + size_t total_length () const; // Return 0 on failure and 1 on success. //@{ @name Size-calculating pseudo-write operations diff --git a/ACE/ace/CDR_Size.inl b/ACE/ace/CDR_Size.inl index d138b3de13b..9a4e3fdeb77 100644 --- a/ACE/ace/CDR_Size.inl +++ b/ACE/ace/CDR_Size.inl @@ -14,7 +14,7 @@ ACE_SizeCDR::ACE_SizeCDR (ACE_CDR::Octet major_version, } ACE_INLINE bool -ACE_SizeCDR::good_bit (void) const +ACE_SizeCDR::good_bit () const { return this->good_bit_; } @@ -26,7 +26,7 @@ ACE_SizeCDR::reset (void) } ACE_INLINE size_t -ACE_SizeCDR::total_length (void) const +ACE_SizeCDR::total_length () const { return this->size_; } diff --git a/ACE/ace/Cache_Map_Manager_T.cpp b/ACE/ace/Cache_Map_Manager_T.cpp index b92876a7ffd..971b2d8b9da 100644 --- a/ACE/ace/Cache_Map_Manager_T.cpp +++ b/ACE/ace/Cache_Map_Manager_T.cpp @@ -391,7 +391,7 @@ ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMP } template <class KEY, class VALUE, class CMAP_TYPE, class ITERATOR_IMPL, class REVERSE_ITERATOR_IMPL, class CACHING_STRATEGY, class ATTRIBUTES> void -ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMPL, CACHING_STRATEGY, ATTRIBUTES>::dump (void) const +ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMPL, CACHING_STRATEGY, ATTRIBUTES>::dump () const { #if defined (ACE_HAS_DUMP) this->map_.dump (); diff --git a/ACE/ace/Cache_Map_Manager_T.h b/ACE/ace/Cache_Map_Manager_T.h index a090df83683..6a75854df24 100644 --- a/ACE/ace/Cache_Map_Manager_T.h +++ b/ACE/ace/Cache_Map_Manager_T.h @@ -190,10 +190,10 @@ public: int purge (void); /// Return the current size of the cache. - size_t current_size (void) const; + size_t current_size () const; /// Return the total size of the cache. - size_t total_size (void) const; + size_t total_size () const; /// Dumps the state of the object. void dump () const; @@ -274,7 +274,7 @@ public: /// Returns a reference to the internal element @c this is pointing /// to. - ACE_Reference_Pair<KEY, VALUE> operator* (void) const; + ACE_Reference_Pair<KEY, VALUE> operator* () const; // = STL styled iteration, compare, and reference functions. @@ -347,7 +347,7 @@ public: /// Returns a reference to the internal element @c this is pointing /// to. - ACE_Reference_Pair<KEY, VALUE> operator* (void) const; + ACE_Reference_Pair<KEY, VALUE> operator* () const; // = STL styled iteration, compare, and reference functions. diff --git a/ACE/ace/Cache_Map_Manager_T.inl b/ACE/ace/Cache_Map_Manager_T.inl index dc2a42ef0f5..84c276a7b84 100644 --- a/ACE/ace/Cache_Map_Manager_T.inl +++ b/ACE/ace/Cache_Map_Manager_T.inl @@ -10,13 +10,13 @@ ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMP } template <class KEY, class VALUE, class CMAP_TYPE, class ITERATOR_IMPL, class REVERSE_ITERATOR_IMPL, class CACHING_STRATEGY, class ATTRIBUTES> ACE_INLINE size_t -ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMPL, CACHING_STRATEGY, ATTRIBUTES>::current_size (void) const +ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMPL, CACHING_STRATEGY, ATTRIBUTES>::current_size () const { return this->map_.current_size (); } template <class KEY, class VALUE, class CMAP_TYPE, class ITERATOR_IMPL, class REVERSE_ITERATOR_IMPL, class CACHING_STRATEGY, class ATTRIBUTES> ACE_INLINE size_t -ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMPL, CACHING_STRATEGY, ATTRIBUTES>::total_size (void) const +ACE_Cache_Map_Manager<KEY, VALUE, CMAP_TYPE, ITERATOR_IMPL, REVERSE_ITERATOR_IMPL, CACHING_STRATEGY, ATTRIBUTES>::total_size () const { return this->map_.total_size (); } @@ -84,7 +84,7 @@ ACE_Cache_Map_Iterator<KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES> } template <class KEY, class VALUE, class IMPLEMENTATION, class CACHING_STRATEGY, class ATTRIBUTES> ACE_INLINE ACE_Reference_Pair<KEY, VALUE> -ACE_Cache_Map_Iterator<KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::operator* (void) const +ACE_Cache_Map_Iterator<KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::operator* () const { value_type retn ((*this->iterator_implementation_).ext_id_, (*this->iterator_implementation_).int_id_.first); @@ -126,7 +126,7 @@ ACE_Cache_Map_Iterator<KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES> } template <class KEY, class VALUE, class IMPLEMENTATION, class CACHING_STRATEGY, class ATTRIBUTES> ACE_INLINE void -ACE_Cache_Map_Iterator<KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::dump (void) const +ACE_Cache_Map_Iterator<KEY, VALUE, IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::dump () const { #if defined (ACE_HAS_DUMP) this->iterator_implementation_.dump (); @@ -178,7 +178,7 @@ ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRAT } template <class KEY, class VALUE, class REVERSE_IMPLEMENTATION, class CACHING_STRATEGY, class ATTRIBUTES> ACE_INLINE ACE_Reference_Pair<KEY, VALUE> -ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::operator* (void) const +ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::operator* () const { value_type retv ((*this->reverse_iterator_implementation_).ext_id_, (*this->reverse_iterator_implementation_).int_id_.first); @@ -221,7 +221,7 @@ ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRAT template <class KEY, class VALUE, class REVERSE_IMPLEMENTATION, class CACHING_STRATEGY, class ATTRIBUTES> ACE_INLINE void -ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::dump (void) const +ACE_Cache_Map_Reverse_Iterator<KEY, VALUE, REVERSE_IMPLEMENTATION, CACHING_STRATEGY, ATTRIBUTES>::dump () const { #if defined (ACE_HAS_DUMP) this->reverse_iterator_implementation_.dump (); diff --git a/ACE/ace/Caching_Strategies_T.h b/ACE/ace/Caching_Strategies_T.h index e7206290811..c46e30dd957 100644 --- a/ACE/ace/Caching_Strategies_T.h +++ b/ACE/ace/Caching_Strategies_T.h @@ -85,7 +85,7 @@ public: virtual CACHING_UTILITY &caching_utility (void) = 0; /// Dumps the state of the object. - virtual void dump (void) const = 0; + virtual void dump () const = 0; }; ////////////////////////////////////////////////////////////////////////// diff --git a/ACE/ace/Caching_Strategies_T.inl b/ACE/ace/Caching_Strategies_T.inl index dd9c9851326..68508f5e298 100644 --- a/ACE/ace/Caching_Strategies_T.inl +++ b/ACE/ace/Caching_Strategies_T.inl @@ -102,7 +102,7 @@ ACE_Caching_Strategy_Adapter<ATTRIBUTES, CACHING_UTILITY, IMPLEMENTATION>::cachi } template<class ATTRIBUTES, class CACHING_UTILITY, class IMPLEMENTATION> ACE_INLINE void -ACE_Caching_Strategy_Adapter<ATTRIBUTES, CACHING_UTILITY, IMPLEMENTATION>::dump (void) const +ACE_Caching_Strategy_Adapter<ATTRIBUTES, CACHING_UTILITY, IMPLEMENTATION>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Caching_Strategy_Adapter::dump"); @@ -191,7 +191,7 @@ ACE_LRU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::caching_utility (void) } template<class ATTRIBUTES, class CACHING_UTILITY> ACE_INLINE void -ACE_LRU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump (void) const +ACE_LRU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LRU_Caching_Strategy::dump"); @@ -268,7 +268,7 @@ ACE_LFU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::caching_utility (void) } template<class ATTRIBUTES, class CACHING_UTILITY> ACE_INLINE void -ACE_LFU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump (void) const +ACE_LFU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LFU_Caching_Strategy::dump"); @@ -356,7 +356,7 @@ ACE_FIFO_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::caching_utility (void) } template<class ATTRIBUTES, class CACHING_UTILITY> ACE_INLINE void -ACE_FIFO_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump (void) const +ACE_FIFO_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FIFO_Caching_Strategy::dump"); @@ -439,7 +439,7 @@ ACE_Null_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::caching_utility (void) } template<class ATTRIBUTES, class CACHING_UTILITY> ACE_INLINE void -ACE_Null_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump (void) const +ACE_Null_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Null_Caching_Strategy::dump"); diff --git a/ACE/ace/Capabilities.h b/ACE/ace/Capabilities.h index e43ace9d2dd..3529ec6c81b 100644 --- a/ACE/ace/Capabilities.h +++ b/ACE/ace/Capabilities.h @@ -68,7 +68,7 @@ class ACE_Export ACE_IntCapEntry : public ACE_CapEntry { public: ACE_IntCapEntry (int val); - int getval (void) const; + int getval () const; ACE_ALLOC_HOOK_DECLARE; protected: @@ -87,7 +87,7 @@ class ACE_Export ACE_StringCapEntry : public ACE_CapEntry { public: ACE_StringCapEntry (const ACE_TString &val); - ACE_TString getval (void) const; + ACE_TString getval () const; ACE_ALLOC_HOOK_DECLARE; protected: @@ -106,7 +106,7 @@ class ACE_Export ACE_BoolCapEntry : public ACE_CapEntry { public: ACE_BoolCapEntry (int val); - int getval (void) const; + int getval () const; ACE_ALLOC_HOOK_DECLARE; protected: diff --git a/ACE/ace/Capabilities.inl b/ACE/ace/Capabilities.inl index 0579ae6cd98..4745cd1c415 100644 --- a/ACE/ace/Capabilities.inl +++ b/ACE/ace/Capabilities.inl @@ -15,7 +15,7 @@ ACE_IntCapEntry::ACE_IntCapEntry (int val) } ACE_INLINE int -ACE_IntCapEntry::getval (void) const +ACE_IntCapEntry::getval () const { return val_; } @@ -28,7 +28,7 @@ ACE_StringCapEntry::ACE_StringCapEntry (const ACE_TString &val) } ACE_INLINE ACE_TString -ACE_StringCapEntry::getval (void) const +ACE_StringCapEntry::getval () const { return val_; } @@ -41,7 +41,7 @@ ACE_BoolCapEntry::ACE_BoolCapEntry (int val) } ACE_INLINE int -ACE_BoolCapEntry::getval (void) const +ACE_BoolCapEntry::getval () const { return val_; } diff --git a/ACE/ace/Compression/Compressor.cpp b/ACE/ace/Compression/Compressor.cpp index 191bc839a4c..4c1d2d20247 100644 --- a/ACE/ace/Compression/Compressor.cpp +++ b/ACE/ace/Compression/Compressor.cpp @@ -19,14 +19,14 @@ ACE_Compressor::~ACE_Compressor () } ACE_UINT64 -ACE_Compressor::compressed_bytes(void) const +ACE_Compressor::compressed_bytes() const { ACE_GUARD_RETURN( ACE_SYNCH_MUTEX, ace_mon, this->mutex_, 0 ); return this->compressed_bytes_; } ACE_UINT64 -ACE_Compressor::uncompressed_bytes(void) const +ACE_Compressor::uncompressed_bytes() const { ACE_GUARD_RETURN( ACE_SYNCH_MUTEX, ace_mon, this->mutex_, 0 ); return this->uncompressed_bytes_; @@ -49,7 +49,7 @@ ACE_Compressor::update_stats(ACE_UINT64 uncompressed_bytes, ACE_UINT64 compresse } float -ACE_Compressor::compression_ratio(void) const +ACE_Compressor::compression_ratio() const { ACE_GUARD_RETURN( ACE_SYNCH_MUTEX, ace_mon, this->mutex_, 0.0f ); if (this->uncompressed_bytes_ > 0) { diff --git a/ACE/ace/Compression/Compressor.h b/ACE/ace/Compression/Compressor.h index b20deb877bf..58c8207e1f5 100644 --- a/ACE/ace/Compression/Compressor.h +++ b/ACE/ace/Compression/Compressor.h @@ -48,9 +48,9 @@ enum ACE_CompressorId class ACE_Compression_Export ACE_Compressor { public: - ACE_CompressorId get_compressor_id(void) const; + ACE_CompressorId get_compressor_id() const; - ACE_UINT32 get_compression_level(void) const; + ACE_UINT32 get_compression_level() const; /** * Compress the @a in_ptr buffer for @a in_len into the @@ -86,17 +86,17 @@ public: /** * Return the current compressed bytes statistics counter. */ - virtual ACE_UINT64 compressed_bytes(void) const; + virtual ACE_UINT64 compressed_bytes() const; /** * Return the current uncompressed bytes statistics counter. */ - virtual ACE_UINT64 uncompressed_bytes(void) const; + virtual ACE_UINT64 uncompressed_bytes() const; /** * Return the current compression ratio statistics. */ - virtual float compression_ratio(void) const; + virtual float compression_ratio() const; /** * Reset the statistics to zero. diff --git a/ACE/ace/Compression/Compressor.inl b/ACE/ace/Compression/Compressor.inl index 5f9a10af74d..21914ac1063 100644 --- a/ACE/ace/Compression/Compressor.inl +++ b/ACE/ace/Compression/Compressor.inl @@ -2,13 +2,13 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_CompressorId -ACE_Compressor::get_compressor_id(void) const +ACE_Compressor::get_compressor_id() const { return this->compressor_id_; } ACE_INLINE ACE_UINT32 -ACE_Compressor::get_compression_level(void) const +ACE_Compressor::get_compression_level() const { return this->compression_level_; } diff --git a/ACE/ace/Configuration.h b/ACE/ace/Configuration.h index 7e89c4de42e..44af82ad93d 100644 --- a/ACE/ace/Configuration.h +++ b/ACE/ace/Configuration.h @@ -151,7 +151,7 @@ public: * @return Reference to the configuration's root section. Note that * it is a const reference. */ - virtual const ACE_Configuration_Section_Key& root_section (void) const; + virtual const ACE_Configuration_Section_Key& root_section () const; /** * Opens a named section in an existing section. @@ -585,7 +585,7 @@ public: /// hash function is required in order for this class to be usable by /// ACE_Hash_Map_Manager. - u_long hash (void) const; + u_long hash () const; // = Data members. diff --git a/ACE/ace/Connector.cpp b/ACE/ace/Connector.cpp index 5c2bd164acc..ebce134ea32 100644 --- a/ACE/ace/Connector.cpp +++ b/ACE/ace/Connector.cpp @@ -72,7 +72,7 @@ ACE_NonBlocking_Connect_Handler<SVC_HANDLER>::timer_id (long id) } template <typename SVC_HANDLER> void -ACE_NonBlocking_Connect_Handler<SVC_HANDLER>::dump (void) const +ACE_NonBlocking_Connect_Handler<SVC_HANDLER>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_NonBlocking_Connect_Handler<SVC_HANDLER>::dump"); @@ -219,7 +219,7 @@ ACE_NonBlocking_Connect_Handler<SVC_HANDLER>::resume_handler (void) } template <typename SVC_HANDLER, typename PEER_CONNECTOR> void -ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::dump (void) const +ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::dump"); @@ -279,7 +279,7 @@ ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::activate_svc_handler (SVC_HANDLER *s } template <typename SVC_HANDLER, typename PEER_CONNECTOR> PEER_CONNECTOR & -ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::connector (void) const +ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::connector () const { return const_cast<PEER_CONNECTOR &> (this->connector_); } @@ -663,7 +663,7 @@ ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::reactor (ACE_Reactor *reactor) } template <typename SVC_HANDLER, typename PEER_CONNECTOR> ACE_Reactor * -ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::reactor (void) const +ACE_Connector<SVC_HANDLER, PEER_CONNECTOR>::reactor () const { return this->reactor_; } @@ -978,19 +978,19 @@ ACE_Strategy_Connector<SVC_HANDLER, PEER_CONNECTOR>::activate_svc_handler (SVC_H } template <typename SVC_HANDLER, typename PEER_CONNECTOR> ACE_Creation_Strategy<SVC_HANDLER> * -ACE_Strategy_Connector<SVC_HANDLER, PEER_CONNECTOR>::creation_strategy (void) const +ACE_Strategy_Connector<SVC_HANDLER, PEER_CONNECTOR>::creation_strategy () const { return this->creation_strategy_; } template <typename SVC_HANDLER, typename PEER_CONNECTOR> ACE_Connect_Strategy<SVC_HANDLER, PEER_CONNECTOR> * -ACE_Strategy_Connector<SVC_HANDLER, PEER_CONNECTOR>::connect_strategy (void) const +ACE_Strategy_Connector<SVC_HANDLER, PEER_CONNECTOR>::connect_strategy () const { return this->connect_strategy_; } template <typename SVC_HANDLER, typename PEER_CONNECTOR> ACE_Concurrency_Strategy<SVC_HANDLER> * -ACE_Strategy_Connector<SVC_HANDLER, PEER_CONNECTOR>::concurrency_strategy (void) const +ACE_Strategy_Connector<SVC_HANDLER, PEER_CONNECTOR>::concurrency_strategy () const { return this->concurrency_strategy_; } diff --git a/ACE/ace/Connector.h b/ACE/ace/Connector.h index cb98eb22183..d611f9d6b99 100644 --- a/ACE/ace/Connector.h +++ b/ACE/ace/Connector.h @@ -469,9 +469,9 @@ public: virtual int close (void); // = Strategies accessors - virtual ACE_Creation_Strategy<SVC_HANDLER> *creation_strategy (void) const; - virtual ACE_Connect_Strategy<SVC_HANDLER, PEER_CONNECTOR> *connect_strategy (void) const; - virtual ACE_Concurrency_Strategy<SVC_HANDLER> *concurrency_strategy (void) const; + virtual ACE_Creation_Strategy<SVC_HANDLER> *creation_strategy () const; + virtual ACE_Connect_Strategy<SVC_HANDLER, PEER_CONNECTOR> *connect_strategy () const; + virtual ACE_Concurrency_Strategy<SVC_HANDLER> *concurrency_strategy () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; diff --git a/ACE/ace/DEV_Addr.h b/ACE/ace/DEV_Addr.h index 8a024d45a89..2609a3febc0 100644 --- a/ACE/ace/DEV_Addr.h +++ b/ACE/ace/DEV_Addr.h @@ -50,7 +50,7 @@ public: ACE_DEV_Addr &operator= (const ACE_DEV_Addr &); /// Return a pointer to the address. - virtual void *get_addr (void) const; + virtual void *get_addr () const; /// Transform the current address into string format. virtual int addr_to_string (ACE_TCHAR *addr, size_t) const; @@ -62,7 +62,7 @@ public: bool operator != (const ACE_DEV_Addr &SAP) const; /// Return the path name used for the rendezvous point. - const ACE_TCHAR *get_path_name (void) const; + const ACE_TCHAR *get_path_name () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/DEV_Addr.inl b/ACE/ace/DEV_Addr.inl index 3025745f2c0..922fdfaefe0 100644 --- a/ACE/ace/DEV_Addr.inl +++ b/ACE/ace/DEV_Addr.inl @@ -38,7 +38,7 @@ ACE_DEV_Addr::operator != (const ACE_DEV_Addr &sap) const // Return the path name used for the rendezvous point. ACE_INLINE const ACE_TCHAR * -ACE_DEV_Addr::get_path_name (void) const +ACE_DEV_Addr::get_path_name () const { ACE_TRACE ("ACE_DEV_Addr::get_path_name"); diff --git a/ACE/ace/DLL_Manager.h b/ACE/ace/DLL_Manager.h index 64612470e80..7e6b1fb552e 100644 --- a/ACE/ace/DLL_Manager.h +++ b/ACE/ace/DLL_Manager.h @@ -117,7 +117,7 @@ public: int close (int unload = 0); /// Return the current refcount. - sig_atomic_t refcount (void) const; + sig_atomic_t refcount () const; /// If @a symbol_name is in the symbol table of the DLL a pointer to /// the @a symbol_name is returned. Otherwise, returns 0. Set the @@ -257,7 +257,7 @@ public: int close_dll (const ACE_TCHAR *dll_name); /// Returns the current per-process UNLOAD_POLICY. - u_long unload_policy (void) const; + u_long unload_policy () const; /// Set the per-process UNLOAD_POLICY. If the policy is changed from /// LAZY to EAGER, then it will also unload any dlls with zero diff --git a/ACE/ace/Dev_Poll_Reactor.h b/ACE/ace/Dev_Poll_Reactor.h index 886ec3c78b3..88d30409c2e 100644 --- a/ACE/ace/Dev_Poll_Reactor.h +++ b/ACE/ace/Dev_Poll_Reactor.h @@ -374,10 +374,10 @@ class ACE_Export ACE_Dev_Poll_Reactor : public ACE_Reactor_Impl //@} /// Returns the current table size. - size_t size (void) const; + size_t size () const; /// Returns the maximum table size. - size_t max_size (void) const; + size_t max_size () const; /// Dump the state of an object. void dump () const; @@ -463,7 +463,7 @@ public: /// Get the timer queue /// @return The current @c ACE_Timer_Queue. - virtual ACE_Timer_Queue *timer_queue (void) const; + virtual ACE_Timer_Queue *timer_queue () const; /// Close down and release all resources. virtual int close (void); @@ -804,7 +804,7 @@ public: /// Returns the current size of the Reactor's internal descriptor /// table. - virtual size_t size (void) const; + virtual size_t size () const; /// Returns a reference to the Reactor's internal repository lock. virtual ACE_Lock &lock (void); diff --git a/ACE/ace/Dev_Poll_Reactor.inl b/ACE/ace/Dev_Poll_Reactor.inl index 2b69631f2c2..8a0332eb4e1 100644 --- a/ACE/ace/Dev_Poll_Reactor.inl +++ b/ACE/ace/Dev_Poll_Reactor.inl @@ -18,7 +18,7 @@ ACE_Dev_Poll_Reactor::Event_Tuple::Event_Tuple (ACE_Event_Handler *eh, // --------------------------------------------------------------------- ACE_INLINE size_t -ACE_Dev_Poll_Reactor::Handler_Repository::size (void) const +ACE_Dev_Poll_Reactor::Handler_Repository::size () const { ACE_TRACE ("ACE_Dev_Poll_Reactor::Handler_Repository::size"); @@ -26,7 +26,7 @@ ACE_Dev_Poll_Reactor::Handler_Repository::size (void) const } ACE_INLINE size_t -ACE_Dev_Poll_Reactor::Handler_Repository::max_size (void) const +ACE_Dev_Poll_Reactor::Handler_Repository::max_size () const { ACE_TRACE ("ACE_Dev_Poll_Reactor::Handler_Repository::max_size"); diff --git a/ACE/ace/Dirent_Selector.h b/ACE/ace/Dirent_Selector.h index 5f3051cf17e..a65d796476d 100644 --- a/ACE/ace/Dirent_Selector.h +++ b/ACE/ace/Dirent_Selector.h @@ -41,7 +41,7 @@ public: virtual ~ACE_Dirent_Selector (void); /// Return the length of the list of matching directory entries. - int length (void) const; + int length () const; /// Return the entry at @a index. ACE_DIRENT *operator[] (const int index) const; diff --git a/ACE/ace/Dirent_Selector.inl b/ACE/ace/Dirent_Selector.inl index 27651569b7d..dc5fa82859b 100644 --- a/ACE/ace/Dirent_Selector.inl +++ b/ACE/ace/Dirent_Selector.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE int -ACE_Dirent_Selector::length (void) const +ACE_Dirent_Selector::length () const { return n_; } diff --git a/ACE/ace/Dump_T.cpp b/ACE/ace/Dump_T.cpp index fc0833a9e39..240d2fbfc42 100644 --- a/ACE/ace/Dump_T.cpp +++ b/ACE/ace/Dump_T.cpp @@ -32,7 +32,7 @@ ACE_Dumpable_Adapter<Concrete>::operator->() const } template <class Concrete> void -ACE_Dumpable_Adapter<Concrete>::dump (void) const +ACE_Dumpable_Adapter<Concrete>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Dumpable_Adapter<Concrete>::dump"); diff --git a/ACE/ace/ETCL/ETCL_Constraint.cpp b/ACE/ace/ETCL/ETCL_Constraint.cpp index 3cb945b39ae..e5d6fe7dc6f 100644 --- a/ACE/ace/ETCL/ETCL_Constraint.cpp +++ b/ACE/ace/ETCL/ETCL_Constraint.cpp @@ -82,7 +82,7 @@ ETCL_Literal_Constraint::accept (ETCL_Constraint_Visitor* visitor) } Literal_Type -ETCL_Literal_Constraint::expr_type (void) const +ETCL_Literal_Constraint::expr_type () const { return this->type_; } @@ -93,12 +93,12 @@ ETCL_Literal_Constraint::operator= (const ETCL_Literal_Constraint& co) this->copy (co); } -ETCL_Literal_Constraint::operator ACE_CDR::Boolean (void) const +ETCL_Literal_Constraint::operator ACE_CDR::Boolean () const { return (this->type_ == ACE_ETCL_BOOLEAN) ? this->op_.bool_ : false; } -ETCL_Literal_Constraint::operator ACE_CDR::ULong (void) const +ETCL_Literal_Constraint::operator ACE_CDR::ULong () const { switch (this->type_) { diff --git a/ACE/ace/Event_Handler_T.cpp b/ACE/ace/Event_Handler_T.cpp index 51efca89136..6c403c143ca 100644 --- a/ACE/ace/Event_Handler_T.cpp +++ b/ACE/ace/Event_Handler_T.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Event_Handler_T) template <class T> void -ACE_Event_Handler_T<T>::dump (void) const +ACE_Event_Handler_T<T>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Event_Handler_T<T>::dump"); @@ -57,7 +57,7 @@ ACE_Event_Handler_T<T>::ACE_Event_Handler_T (T *op_handler, int delete_handler, } template<class T> ACE_HANDLE -ACE_Event_Handler_T<T>::get_handle (void) const +ACE_Event_Handler_T<T>::get_handle () const { ACE_TRACE ("ACE_Event_Handler_T<T>::get_handle"); return this->get_handle_ == 0 ? ACE_INVALID_HANDLE : (this->op_handler_->*get_handle_) (); diff --git a/ACE/ace/Event_Handler_T.h b/ACE/ace/Event_Handler_T.h index d904aec15be..258396372a8 100644 --- a/ACE/ace/Event_Handler_T.h +++ b/ACE/ace/Event_Handler_T.h @@ -63,7 +63,7 @@ public: // = Typedefs to simplify pointer-to-member-function registration. // Get/set the underlying handle. - typedef ACE_HANDLE (T::*GET_HANDLE) (void) const; + typedef ACE_HANDLE (T::*GET_HANDLE) () const; typedef void (T::*SET_HANDLE) (ACE_HANDLE); /// Handle I/O events. @@ -95,7 +95,7 @@ public: // = Override all the ACE_Event_Handler methods. // These methods all delegate down to the <T> operations handler. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; virtual void set_handle (ACE_HANDLE); virtual int handle_input (ACE_HANDLE fd = ACE_INVALID_HANDLE); virtual int handle_output (ACE_HANDLE fd = ACE_INVALID_HANDLE); diff --git a/ACE/ace/File_Lock.h b/ACE/ace/File_Lock.h index 12c06e062a3..c1a39a9669b 100644 --- a/ACE/ace/File_Lock.h +++ b/ACE/ace/File_Lock.h @@ -119,7 +119,7 @@ public: int tryacquire_read (short whence = 0, ACE_OFF_T start = 0, ACE_OFF_T len = 1); /// Get underlying ACE_HANDLE for the file. - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /** * Set underlying ACE_HANDLE. Note that this method assumes diff --git a/ACE/ace/File_Lock.inl b/ACE/ace/File_Lock.inl index fb9ae6e0c10..768f63500e4 100644 --- a/ACE/ace/File_Lock.inl +++ b/ACE/ace/File_Lock.inl @@ -76,7 +76,7 @@ ACE_File_Lock::remove (bool unlink_file) } ACE_INLINE ACE_HANDLE -ACE_File_Lock::get_handle (void) const +ACE_File_Lock::get_handle () const { // ACE_TRACE ("ACE_File_Lock::get_handle"); return this->lock_.handle_; diff --git a/ACE/ace/Filecache.h b/ACE/ace/Filecache.h index 4596edab25c..77e72483ff3 100644 --- a/ACE/ace/Filecache.h +++ b/ACE/ace/Filecache.h @@ -107,16 +107,16 @@ public: ~ACE_Filecache_Handle (void); /// Base address of memory mapped file. - void *address (void) const; + void *address () const; /// A handle (e.g., UNIX file descriptor, or NT file handle). - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Any associated error in handle creation and acquisition. - int error (void) const; + int error () const; /// The size of the file. - ACE_OFF_T size (void) const; + ACE_OFF_T size () const; protected: /// Default do nothing constructor. Prevent it from being called. @@ -264,24 +264,24 @@ public: int release (void); // = error_ accessors - int error (void) const; + int error () const; int error (int error_value, const ACE_TCHAR *s = ACE_TEXT ("ACE_Filecache_Object")); /// filename_ accessor - const ACE_TCHAR *filename (void) const; + const ACE_TCHAR *filename () const; /// handle_ accessor. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Base memory address for memory mapped file. - void *address (void) const; + void *address () const; /// size_ accessor. - ACE_OFF_T size (void) const; + ACE_OFF_T size () const; /// True if file on disk is newer than cached file. - int update (void) const; + int update () const; ACE_ALLOC_HOOK_DECLARE; diff --git a/ACE/ace/Future.cpp b/ACE/ace/Future.cpp index c2ec6adfcc7..7b4a37d414f 100644 --- a/ACE/ace/Future.cpp +++ b/ACE/ace/Future.cpp @@ -48,7 +48,7 @@ ACE_Future_Observer<T>::~ACE_Future_Observer (void) // Dump the state of an object. template <class T> void -ACE_Future_Rep<T>::dump (void) const +ACE_Future_Rep<T>::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); @@ -160,7 +160,7 @@ ACE_Future_Rep<T>::~ACE_Future_Rep (void) } template <class T> int -ACE_Future_Rep<T>::ready (void) const +ACE_Future_Rep<T>::ready () const { return this->value_ != 0; } @@ -353,7 +353,7 @@ ACE_Future<T>::set (const T &r) } template <class T> int -ACE_Future<T>::ready (void) const +ACE_Future<T>::ready () const { // We're ready if the ACE_Future_rep is ready... return this->future_rep_->ready (); @@ -411,7 +411,7 @@ ACE_Future<T>::operator = (const ACE_Future<T> &rhs) } template <class T> void -ACE_Future<T>::dump (void) const +ACE_Future<T>::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, diff --git a/ACE/ace/Future.h b/ACE/ace/Future.h index b206feaa511..8238511b765 100644 --- a/ACE/ace/Future.h +++ b/ACE/ace/Future.h @@ -197,7 +197,7 @@ private: static void assign (ACE_Future_Rep<T> *&rep, ACE_Future_Rep<T> *new_rep); /// Is result available? - int ready (void) const; + int ready () const; /// Pointer to the result. T *value_; @@ -313,7 +313,7 @@ public: operator T (); /// Check if the result is available. - int ready (void) const; + int ready () const; /** * Attaches the specified observer to a subject (this ACE_Future). diff --git a/ACE/ace/Future_Set.h b/ACE/ace/Future_Set.h index 57e8721fc71..638b4614a84 100644 --- a/ACE/ace/Future_Set.h +++ b/ACE/ace/Future_Set.h @@ -59,7 +59,7 @@ public: * ACE_Future_Set via the ACE_Future_Set::next_readable() method, * or when the ACE_Future_Set has not been assigned any subjects. */ - int is_empty (void) const; + int is_empty () const; /** * Enqueus the given ACE_Future into this objects queue when it is diff --git a/ACE/ace/Hash_Multi_Map_Manager_T.cpp b/ACE/ace/Hash_Multi_Map_Manager_T.cpp index 51da4e4e519..0290057722f 100644 --- a/ACE/ace/Hash_Multi_Map_Manager_T.cpp +++ b/ACE/ace/Hash_Multi_Map_Manager_T.cpp @@ -69,7 +69,7 @@ ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>::item () } template <class EXT_ID, class INT_ID> void -ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>::dump (void) const +ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); @@ -80,7 +80,7 @@ ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>::dump (void) const } template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> void -ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump (void) const +ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); @@ -456,7 +456,7 @@ ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::re // ------------------------------------------------------------ template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> void -ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump_i (void) const +ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump_i () const { ACE_TRACE ("ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump_i"); @@ -528,7 +528,7 @@ ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOC // ------------------------------------------------------------ template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> void -ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump_i (void) const +ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump_i () const { ACE_TRACE ("ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump_i"); diff --git a/ACE/ace/Hash_Multi_Map_Manager_T.h b/ACE/ace/Hash_Multi_Map_Manager_T.h index 29cce896653..adb6f67cde8 100644 --- a/ACE/ace/Hash_Multi_Map_Manager_T.h +++ b/ACE/ace/Hash_Multi_Map_Manager_T.h @@ -392,11 +392,11 @@ public: /// Returns the current number of @c ACE_Hash_Multi_Map_Entry objects in the /// hash table. - size_t current_size (void) const; + size_t current_size () const; /// Return the size of the array that's used to point to the /// linked lists of @c ACE_Hash_Multi_Map_Entry objects in the hash table. - size_t total_size (void) const; + size_t total_size () const; /** * Returns a reference to the underlying @c ACE_LOCK. This makes it @@ -575,7 +575,7 @@ protected: ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> *table (void); /// Accessor of the current size attribute - size_t cur_size (void) const; + size_t cur_size () const; private: /** @@ -622,13 +622,13 @@ public: int next (ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> *&next_entry) const; /// Returns 1 when all items have been seen, else 0. - int done (void) const; + int done () const; /// Returns a reference to the interal element this object is pointing to. - ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>& operator* (void) const; + ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>& operator* () const; /// Returns a pointer to the interal element this object is pointing to. - ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>* operator-> (void) const; + ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>* operator-> () const; /// Returns reference the @c Hash_Multi_Map_Manager that is being iterated /// over. @@ -651,7 +651,7 @@ protected: int reverse_i (void); /// Dump the state of an object. - void dump_i (void) const; + void dump_i () const; /// Map we are iterating over. ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK> *map_man_; @@ -688,13 +688,13 @@ public: int next (ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> *&next_entry) const; /// Returns 1 when all items have been seen, else 0. - int done (void) const; + int done () const; /// Returns a reference to the interal element this object is pointing to. - ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>& operator* (void) const; + ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>& operator* () const; /// Returns a pointer to the interal element this object is pointing to. - ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>* operator-> (void) const; + ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>* operator-> () const; /// Returns reference the @c Hash_Multi_Map_Manager that is being iterated /// over. @@ -717,7 +717,7 @@ protected: int reverse_i (void); /// Dump the state of an object. - void dump_i (void) const; + void dump_i () const; /// Map we are iterating over. const ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK> *map_man_; @@ -862,10 +862,10 @@ public: ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK> operator-- (int); /// Returns a reference to the interal element this object is pointing to. - ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>& operator* (void) const; + ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>& operator* () const; /// Returns a pointer to the interal element this object is pointing to. - ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>* operator-> (void) const; + ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID>* operator-> () const; /// Returns reference the Hash_Multi_Map_Manager that is being iterated /// over. diff --git a/ACE/ace/Hash_Multi_Map_Manager_T.inl b/ACE/ace/Hash_Multi_Map_Manager_T.inl index 5c9c5f6c60e..27bd2cc1f22 100644 --- a/ACE/ace/Hash_Multi_Map_Manager_T.inl +++ b/ACE/ace/Hash_Multi_Map_Manager_T.inl @@ -53,13 +53,13 @@ ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::~A } template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE size_t -ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::current_size (void) const +ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::current_size () const { return this->cur_size_; } template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE size_t -ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::total_size (void) const +ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::total_size () const { return this->total_size_; } @@ -454,7 +454,7 @@ ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::ta template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE size_t -ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::cur_size (void) const +ACE_Hash_Multi_Map_Manager<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::cur_size () const { return this->cur_size_; } @@ -490,7 +490,7 @@ ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOC } template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE int -ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::done (void) const +ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::done () const { ACE_TRACE ("ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::done"); @@ -501,7 +501,7 @@ ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOC template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> & -ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator* (void) const +ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator* () const { ACE_TRACE ("ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator*"); ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> *retv = 0; @@ -516,7 +516,7 @@ ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOC template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> * -ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator-> (void) const +ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator-> () const { ACE_TRACE ("ACE_Hash_Multi_Map_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator->"); ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> *retv = 0; @@ -588,7 +588,7 @@ ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, A } template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE int -ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::done (void) const +ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::done () const { ACE_TRACE ("ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::done"); @@ -599,7 +599,7 @@ ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, A template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> & -ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator* (void) const +ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator* () const { ACE_TRACE ("ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator*"); ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> *retv = 0; @@ -614,7 +614,7 @@ ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, A template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> * -ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator-> (void) const +ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator-> () const { ACE_TRACE ("ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator->"); ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> *retv = 0; @@ -656,7 +656,7 @@ ACE_Hash_Multi_Map_Const_Iterator_Base<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, A } template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE void -ACE_Hash_Multi_Map_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump (void) const +ACE_Hash_Multi_Map_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Hash_Multi_Map_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump"); @@ -726,7 +726,7 @@ ACE_Hash_Multi_Map_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::o } template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE void -ACE_Hash_Multi_Map_Const_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump (void) const +ACE_Hash_Multi_Map_Const_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Hash_Multi_Map_Const_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump"); @@ -872,7 +872,7 @@ ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_L template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> & -ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator* (void) const +ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator* () const { ACE_TRACE ("ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator*"); @@ -881,7 +881,7 @@ ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_L template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE ACE_Hash_Multi_Map_Entry<EXT_ID, INT_ID> * -ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator-> (void) const +ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator-> () const { ACE_TRACE ("ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::operator->"); @@ -916,7 +916,7 @@ ACE_Hash_Multi_Map_Bucket_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_L template <class EXT_ID, class INT_ID, class HASH_KEY, class COMPARE_KEYS, class ACE_LOCK> ACE_INLINE void -ACE_Hash_Multi_Map_Reverse_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump (void) const +ACE_Hash_Multi_Map_Reverse_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Hash_Multi_Map_Reverse_Iterator<EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK>::dump"); diff --git a/ACE/ace/INET_Addr.h b/ACE/ace/INET_Addr.h index 1388d424a97..9172a86eb51 100644 --- a/ACE/ace/INET_Addr.h +++ b/ACE/ace/INET_Addr.h @@ -343,16 +343,16 @@ public: #if defined (ACE_HAS_IPV6) /// Return @c true if the IP address is IPv6 linklocal address. - bool is_linklocal (void) const; + bool is_linklocal () const; /// Return @c true if the IP address is IPv6 sitelocal address. - bool is_sitelocal (void) const; + bool is_sitelocal () const; /// Return @c true if the IP address is IPv4-mapped IPv6 address. - bool is_ipv4_mapped_ipv6 (void) const; + bool is_ipv4_mapped_ipv6 () const; /// Return @c true if the IP address is IPv4-compatible IPv6 address. - bool is_ipv4_compat_ipv6 (void) const; + bool is_ipv4_compat_ipv6 () const; #endif /* ACE_HAS_IPV6 */ /** diff --git a/ACE/ace/INET_Addr.inl b/ACE/ace/INET_Addr.inl index f8aa3f42a1e..871ff931d4d 100644 --- a/ACE/ace/INET_Addr.inl +++ b/ACE/ace/INET_Addr.inl @@ -220,7 +220,7 @@ ACE_INET_Addr::is_multicast () const #if defined (ACE_HAS_IPV6) // Return @c true if the IP address is IPv6 linklocal address. ACE_INLINE bool -ACE_INET_Addr::is_linklocal (void) const +ACE_INET_Addr::is_linklocal () const { if (this->get_type () == AF_INET6) return IN6_IS_ADDR_LINKLOCAL (&this->inet_addr_.in6_.sin6_addr); @@ -230,7 +230,7 @@ ACE_INET_Addr::is_linklocal (void) const // Return @c true if the IP address is IPv6 sitelocal address. ACE_INLINE bool -ACE_INET_Addr::is_sitelocal (void) const +ACE_INET_Addr::is_sitelocal () const { if (this->get_type () == AF_INET6) return IN6_IS_ADDR_SITELOCAL (&this->inet_addr_.in6_.sin6_addr); @@ -240,7 +240,7 @@ ACE_INET_Addr::is_sitelocal (void) const // Return @c true if the IP address is IPv4 mapped IPv6 address. ACE_INLINE bool -ACE_INET_Addr::is_ipv4_mapped_ipv6 (void) const +ACE_INET_Addr::is_ipv4_mapped_ipv6 () const { if (this->get_type () == AF_INET6) return IN6_IS_ADDR_V4MAPPED (&this->inet_addr_.in6_.sin6_addr); @@ -250,7 +250,7 @@ ACE_INET_Addr::is_ipv4_mapped_ipv6 (void) const // Return @c true if the IP address is IPv4-compatible IPv6 address. ACE_INLINE bool -ACE_INET_Addr::is_ipv4_compat_ipv6 (void) const +ACE_INET_Addr::is_ipv4_compat_ipv6 () const { if (this->get_type () == AF_INET6) return IN6_IS_ADDR_V4COMPAT (&this->inet_addr_.in6_.sin6_addr); diff --git a/ACE/ace/IOStream.h b/ACE/ace/IOStream.h index 27465c6c02d..8802c862a5f 100644 --- a/ACE/ace/IOStream.h +++ b/ACE/ace/IOStream.h @@ -311,18 +311,18 @@ protected: virtual ACE_HANDLE get_handle (void); # if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY != 0) && !defined (ACE_USES_OLD_IOSTREAMS) - char *base (void) const + char *base () const { return cur_mode_ == get_mode_ ? eback_saved_ : cur_mode_ == put_mode_ ? pbase_saved_ : 0; } - char *ebuf (void) const + char *ebuf () const { return cur_mode_ == 0 ? 0 : base () + streambuf_size_; } - int blen (void) const + int blen () const { return streambuf_size_; } diff --git a/ACE/ace/IOStream_T.h b/ACE/ace/IOStream_T.h index ed389dce9a6..d834c525470 100644 --- a/ACE/ace/IOStream_T.h +++ b/ACE/ace/IOStream_T.h @@ -135,7 +135,7 @@ public: * the return of <eof> and check it instead of calling <eof> * successively. */ - int eof (void) const; + int eof () const; # if defined (ACE_HAS_STRING_CLASS) /** diff --git a/ACE/ace/IOStream_T.inl b/ACE/ace/IOStream_T.inl index 1797de613df..800b2db181a 100644 --- a/ACE/ace/IOStream_T.inl +++ b/ACE/ace/IOStream_T.inl @@ -6,7 +6,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL template <class STREAM> ACE_INLINE int -ACE_IOStream<STREAM>::eof (void) const +ACE_IOStream<STREAM>::eof () const { // Get the timeout value of the streambuf ACE_Time_Value *timeout = this->streambuf_->recv_timeout (0); diff --git a/ACE/ace/LSOCK.h b/ACE/ace/LSOCK.h index 61482cdf600..f48910e81f7 100644 --- a/ACE/ace/LSOCK.h +++ b/ACE/ace/LSOCK.h @@ -61,7 +61,7 @@ protected: ACE_LSOCK (ACE_HANDLE handle); /// Get handle. - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// Set handle. void set_handle (ACE_HANDLE handle); diff --git a/ACE/ace/LSOCK.inl b/ACE/ace/LSOCK.inl index 9815783f323..7e7d9d1d6bf 100644 --- a/ACE/ace/LSOCK.inl +++ b/ACE/ace/LSOCK.inl @@ -22,7 +22,7 @@ ACE_LSOCK::set_handle (ACE_HANDLE handle) // Gets the underlying file descriptor. ACE_INLINE ACE_HANDLE -ACE_LSOCK::get_handle (void) const +ACE_LSOCK::get_handle () const { ACE_TRACE ("ACE_LSOCK::get_handle"); return this->aux_handle_; diff --git a/ACE/ace/LSOCK_CODgram.h b/ACE/ace/LSOCK_CODgram.h index 0c9f8f64a96..0874a5ed93e 100644 --- a/ACE/ace/LSOCK_CODgram.h +++ b/ACE/ace/LSOCK_CODgram.h @@ -84,7 +84,7 @@ public: //@} /// Get underlying handle. - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// Set underlying handle. void set_handle (ACE_HANDLE); diff --git a/ACE/ace/LSOCK_CODgram.inl b/ACE/ace/LSOCK_CODgram.inl index 1ebcf344bb2..21091814f9c 100644 --- a/ACE/ace/LSOCK_CODgram.inl +++ b/ACE/ace/LSOCK_CODgram.inl @@ -18,7 +18,7 @@ ACE_LSOCK_CODgram::set_handle (ACE_HANDLE h) } ACE_INLINE ACE_HANDLE -ACE_LSOCK_CODgram::get_handle (void) const +ACE_LSOCK_CODgram::get_handle () const { ACE_TRACE ("ACE_LSOCK_CODgram::get_handle"); return this->ACE_SOCK_CODgram::get_handle (); diff --git a/ACE/ace/LSOCK_Dgram.h b/ACE/ace/LSOCK_Dgram.h index a5690f45f43..4c859a516b1 100644 --- a/ACE/ace/LSOCK_Dgram.h +++ b/ACE/ace/LSOCK_Dgram.h @@ -48,7 +48,7 @@ public: int protocol = 0); /// Get handle. - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// Set handle. void set_handle (ACE_HANDLE); diff --git a/ACE/ace/LSOCK_Dgram.inl b/ACE/ace/LSOCK_Dgram.inl index 6028a3586c2..8377025878b 100644 --- a/ACE/ace/LSOCK_Dgram.inl +++ b/ACE/ace/LSOCK_Dgram.inl @@ -10,7 +10,7 @@ ACE_LSOCK_Dgram::set_handle (ACE_HANDLE h) } ACE_INLINE ACE_HANDLE -ACE_LSOCK_Dgram::get_handle (void) const +ACE_LSOCK_Dgram::get_handle () const { ACE_TRACE ("ACE_LSOCK_Dgram::get_handle"); return this->ACE_SOCK_Dgram::get_handle (); diff --git a/ACE/ace/LSOCK_Stream.h b/ACE/ace/LSOCK_Stream.h index 9cf6e8373d3..d780d32973d 100644 --- a/ACE/ace/LSOCK_Stream.h +++ b/ACE/ace/LSOCK_Stream.h @@ -47,7 +47,7 @@ public: ACE_HANDLE &handle); /// Get handle. - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// Overrides set_handle() from the base classes. void set_handle (ACE_HANDLE fd); diff --git a/ACE/ace/LSOCK_Stream.inl b/ACE/ace/LSOCK_Stream.inl index 16b9489153e..a84c32953fb 100644 --- a/ACE/ace/LSOCK_Stream.inl +++ b/ACE/ace/LSOCK_Stream.inl @@ -13,7 +13,7 @@ ACE_LSOCK_Stream::set_handle (ACE_HANDLE fd) } ACE_INLINE ACE_HANDLE -ACE_LSOCK_Stream::get_handle (void) const +ACE_LSOCK_Stream::get_handle () const { ACE_TRACE ("ACE_LSOCK_Stream::get_handle"); return this->ACE_SOCK_Stream::get_handle (); diff --git a/ACE/ace/Local_Memory_Pool.h b/ACE/ace/Local_Memory_Pool.h index 4fb5111b705..ecf5e38ec0f 100644 --- a/ACE/ace/Local_Memory_Pool.h +++ b/ACE/ace/Local_Memory_Pool.h @@ -107,7 +107,7 @@ public: /// Return the base address of this memory pool, 0 if base_addr /// never changes. - virtual void *base_addr (void) const; + virtual void *base_addr () const; /// Dump the state of an object. virtual void dump () const; diff --git a/ACE/ace/Local_Name_Space.h b/ACE/ace/Local_Name_Space.h index 3938f77b840..ea7845baa8f 100644 --- a/ACE/ace/Local_Name_Space.h +++ b/ACE/ace/Local_Name_Space.h @@ -56,7 +56,7 @@ public: operator ACE_NS_WString () const; /// Return the ASCII character representation. - char *char_rep (void) const; + char *char_rep () const; /// Matches on substrings. int strstr (const ACE_NS_String &) const; @@ -68,13 +68,13 @@ public: bool operator != (const ACE_NS_String &) const; /// Returns length of the string - size_t len (void) const; + size_t len () const; /// Returns the underlying representation. - ACE_WCHAR_T *fast_rep (void) const; + ACE_WCHAR_T *fast_rep () const; /// Returns a hash value for this string. - u_long hash (void) const; + u_long hash () const; private: /// Length of the string. diff --git a/ACE/ace/Local_Name_Space_T.cpp b/ACE/ace/Local_Name_Space_T.cpp index cf04a35f421..397ea23d6e4 100644 --- a/ACE/ace/Local_Name_Space_T.cpp +++ b/ACE/ace/Local_Name_Space_T.cpp @@ -811,7 +811,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, ACE_LOCK>::list_type_entries_i ( } template <ACE_MEM_POOL_1, class ACE_LOCK> void -ACE_Local_Name_Space<ACE_MEM_POOL_2, ACE_LOCK>::dump_i (void) const +ACE_Local_Name_Space<ACE_MEM_POOL_2, ACE_LOCK>::dump_i () const { ACE_TRACE ("ACE_Local_Name_Space::dump_i"); @@ -961,7 +961,7 @@ ACE_Local_Name_Space<ACE_MEM_POOL_2, ACE_LOCK>::list_type_entries ( } template <ACE_MEM_POOL_1, class ACE_LOCK> void -ACE_Local_Name_Space<ACE_MEM_POOL_2, ACE_LOCK>::dump (void) const +ACE_Local_Name_Space<ACE_MEM_POOL_2, ACE_LOCK>::dump () const { #if defined (ACE_HAS_DUMP) // Note that we *must* use structured exception handling here diff --git a/ACE/ace/Local_Name_Space_T.h b/ACE/ace/Local_Name_Space_T.h index fe8189670b1..3694de0e89b 100644 --- a/ACE/ace/Local_Name_Space_T.h +++ b/ACE/ace/Local_Name_Space_T.h @@ -205,7 +205,7 @@ public: /// Dump the state of the object virtual void dump () const; - virtual void dump_i (void) const; + virtual void dump_i () const; // = I just know this is going to cause problems on some platform... typedef ACE_Allocator_Adapter <ACE_Malloc <ACE_MEM_POOL_2, ACE_LOCK> > diff --git a/ACE/ace/Local_Tokens.cpp b/ACE/ace/Local_Tokens.cpp index b0fa98ad2e5..b429cbd12f8 100644 --- a/ACE/ace/Local_Tokens.cpp +++ b/ACE/ace/Local_Tokens.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Tokens::dump (void) const +ACE_Tokens::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Tokens::dump"); @@ -67,7 +67,7 @@ ACE_Null_Token::~ACE_Null_Token (void) #endif /* ACE_LACKS_INLINE_FUNCTIONS */ void -ACE_TPQ_Entry::dump (void) const +ACE_TPQ_Entry::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TPQ_Entry::dump"); @@ -175,7 +175,7 @@ ACE_TSS_TPQ_Entry::~ACE_TSS_TPQ_Entry (void) } void -ACE_TSS_TPQ_Entry::dump (void) const +ACE_TSS_TPQ_Entry::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TSS_TPQ_Entry::dump"); @@ -198,7 +198,7 @@ ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry (const ACE_Token_Proxy *proxy, } ACE_TPQ_Entry * -ACE_TSS_TPQ_Entry::make_TSS_TYPE (void) const +ACE_TSS_TPQ_Entry::make_TSS_TYPE () const { ACE_TRACE ("ACE_TSS_TPQ_Entry::make_TSS_TYPE"); ACE_TPQ_Entry *temp; @@ -242,7 +242,7 @@ ACE_TPQ_Iterator::next (ACE_TPQ_Entry *&next_item) } int -ACE_TPQ_Iterator::done (void) const +ACE_TPQ_Iterator::done () const { ACE_TRACE ("ACE_TPQ_Iterator::done"); @@ -259,7 +259,7 @@ ACE_TPQ_Iterator::advance (void) } void -ACE_TPQ_Iterator::dump (void) const +ACE_TPQ_Iterator::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TPQ_Iterator::dump"); @@ -273,7 +273,7 @@ ACE_TPQ_Iterator::dump (void) const } void -ACE_Token_Proxy_Queue::dump (void) const +ACE_Token_Proxy_Queue::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Token_Proxy_Queue::dump"); @@ -437,7 +437,7 @@ ACE_Token_Proxy_Queue::remove (const ACE_TPQ_Entry *remove_me) } void -ACE_Mutex_Token::dump (void) const +ACE_Mutex_Token::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Mutex_Token::dump"); @@ -676,7 +676,7 @@ ACE_Mutex_Token::is_owner (const ACE_TCHAR *id) } int -ACE_Mutex_Token::type (void) const +ACE_Mutex_Token::type () const { ACE_TRACE ("ACE_Mutex_Token::type"); return (int) ACE_Tokens::MUTEX; @@ -685,14 +685,14 @@ ACE_Mutex_Token::type (void) const // ************************************************************ int -ACE_RW_Token::type (void) const +ACE_RW_Token::type () const { ACE_TRACE ("ACE_RW_Token::type"); return (int) ACE_Tokens::RWLOCK; } void -ACE_RW_Token::dump (void) const +ACE_RW_Token::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_RW_Token::dump"); @@ -1074,7 +1074,7 @@ ACE_RW_Token::is_owner (const ACE_TCHAR *id) } void -ACE_Token_Proxy::dump (void) const +ACE_Token_Proxy::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Token_Proxy::dump"); @@ -1096,7 +1096,7 @@ ACE_Token_Proxy::dump (void) const } const ACE_TCHAR * -ACE_Token_Proxy::client_id (void) const +ACE_Token_Proxy::client_id () const { ACE_TRACE ("ACE_Token_Proxy::client_id"); // Thread-specific. @@ -1124,7 +1124,7 @@ ACE_Token_Proxy::owner_id (void) } const ACE_TCHAR * -ACE_Token_Proxy::name (void) const +ACE_Token_Proxy::name () const { ACE_TRACE ("ACE_Token_Proxy::name"); return this->token_->name (); @@ -1443,7 +1443,7 @@ ACE_Token_Proxy::token_acquired (ACE_TPQ_Entry *e) } int -ACE_Token_Proxy::type (void) const +ACE_Token_Proxy::type () const { ACE_TRACE ("ACE_Token_Proxy::type"); return 0; @@ -1499,7 +1499,7 @@ ACE_Token_Name::~ACE_Token_Name () } void -ACE_Token_Name::dump (void) const +ACE_Token_Name::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Token_Name::dump"); @@ -1514,7 +1514,7 @@ ACE_Token_Name::dump (void) const // ************************************************************ ACE_Token_Proxy * -ACE_Local_Mutex::clone (void) const +ACE_Local_Mutex::clone () const { ACE_Token_Proxy *temp = 0; ACE_NEW_RETURN (temp, @@ -1556,13 +1556,13 @@ ACE_Local_RLock::create_token (const ACE_TCHAR *name) } int -ACE_Local_RLock::type (void) const +ACE_Local_RLock::type () const { return ACE_RW_Token::READER; } ACE_Token_Proxy * -ACE_Local_RLock::clone (void) const +ACE_Local_RLock::clone () const { ACE_Token_Proxy *temp = 0; ACE_NEW_RETURN (temp, @@ -1590,13 +1590,13 @@ ACE_Local_WLock::create_token (const ACE_TCHAR *name) } int -ACE_Local_WLock::type (void) const +ACE_Local_WLock::type () const { return ACE_RW_Token::WRITER; } ACE_Token_Proxy * -ACE_Local_WLock::clone (void) const +ACE_Local_WLock::clone () const { ACE_Token_Proxy *temp = 0; ACE_NEW_RETURN (temp, diff --git a/ACE/ace/Local_Tokens.h b/ACE/ace/Local_Tokens.h index c420cf92e9e..2df0c741dff 100644 --- a/ACE/ace/Local_Tokens.h +++ b/ACE/ace/Local_Tokens.h @@ -125,19 +125,19 @@ public: void operator= (const ACE_TPQ_Entry &rhs); /// Get top of the queue. - ACE_Token_Proxy *proxy (void) const; + ACE_Token_Proxy *proxy () const; /// Set top of the queue. void proxy (ACE_Token_Proxy *); /// Get nesting level of the entry. - int nesting_level (void) const; + int nesting_level () const; /// Delta nesting level of the entry. void nesting_level (int delta); /// Get client_id of the entry. - const ACE_TCHAR *client_id (void) const; + const ACE_TCHAR *client_id () const; /// Set client_id of the entry. void client_id (const ACE_TCHAR *); @@ -152,7 +152,7 @@ public: void sleep_hook (void (*sh)(void *)); /// Get sleep hook of the entry. - PTVF sleep_hook (void) const; + PTVF sleep_hook () const; /// Call the sleep hook function or method passing arg. void call_sleep_hook (void); @@ -168,7 +168,7 @@ public: ACE_TPQ_Entry *next_; /// Get whether this client is blocked waiting for a token. - int waiting (void) const; + int waiting () const; /// Set whether this client is blocked waiting for a token. void waiting (int w); @@ -219,7 +219,7 @@ public: virtual ~ACE_TSS_TPQ_Entry (void); /// Allows us to pass args to the construction of the TSS object. - virtual ACE_TPQ_Entry *make_TSS_TYPE (void) const; + virtual ACE_TPQ_Entry *make_TSS_TYPE () const; /// Operator overloading and inheritance don't mix. operator ACE_TPQ_Entry *(void); @@ -272,7 +272,7 @@ public: int next (ACE_TPQ_Entry *&next_item); /// Returns 1 when all items have been seen, else 0. - int done (void) const; + int done () const; /// Move forward by one element in the queue. void advance (void); @@ -445,7 +445,7 @@ public: * ACE_Token_Request so that the type of a token can be sent to a * remote Token Server. */ - virtual int type (void) const = 0; + virtual int type () const = 0; // = The following methods allow the deadlock detection algorithm to // check if this token has been visited. @@ -553,7 +553,7 @@ public: void dump () const; /// Returns ACE_Tokens::MUTEX. - virtual int type (void) const; + virtual int type () const; /// Returns a stack of the current owners. Returns -1 on error, 0 on /// success. If @a id is non-zero, returns 1 if id is an owner. @@ -651,7 +651,7 @@ public: enum PROXY_TYPE { READER, WRITER }; /// Returns READER or WRITER. - virtual int type (void) const; + virtual int type () const; /// Returns a stack of the current owners. Returns -1 on error, 0 on /// success. If @a id is non-zero, returns 1 if id is an owner. @@ -705,7 +705,7 @@ public: bool operator== (const ACE_Token_Name &rhs) const; /// Get the token name. - const ACE_TCHAR *name (void) const; + const ACE_TCHAR *name () const; /// Set the token name. void name (const ACE_TCHAR *new_name); @@ -823,7 +823,7 @@ public: /// Get the client id of the proxy. This is implemented as /// thread-specific data. - virtual const ACE_TCHAR *client_id (void) const; + virtual const ACE_TCHAR *client_id () const; /** * Set the client_id for the calling thread. I strongly recommend @@ -840,7 +840,7 @@ public: * So, for instance, the token within the reactor should probably be * called "Reactor Token." */ - virtual const ACE_TCHAR *name (void) const; + virtual const ACE_TCHAR *name () const; /** * This should really be called <someone_waiting>. This is called @@ -857,7 +857,7 @@ public: virtual const ACE_TCHAR *owner_id (void); /// Return a dynamically allocated clone of the derived class. - virtual ACE_Token_Proxy *clone (void) const = 0; + virtual ACE_Token_Proxy *clone () const = 0; /// Dump the state of the class. void dump () const; @@ -868,7 +868,7 @@ public: * should return a different type value than a Writer proxy. The * default implementation returns 0. */ - virtual int type (void) const; + virtual int type () const; protected: /// Duplication. @@ -937,7 +937,7 @@ public: ACE_Synch_Options::defaults) { return 0; } /// Return a dynamically allocated clone of the derived class. - virtual ACE_Token_Proxy *clone (void) const { return new ACE_Null_Token; } + virtual ACE_Token_Proxy *clone () const { return new ACE_Null_Token; } /// Dump the state of the class. void dump () const; @@ -985,7 +985,7 @@ public: void dump () const; /// Return deep copy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; protected: /// Return a new ACE_Local_Mutex. @@ -1037,10 +1037,10 @@ public: void dump () const; /// Returns ACE_RW_Token::RLOCK. - virtual int type (void) const; + virtual int type () const; /// Return deep copy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; protected: /// Return a new ACE_Local_Mutex. diff --git a/ACE/ace/Local_Tokens.inl b/ACE/ace/Local_Tokens.inl index a57ca96344b..374b452a59f 100644 --- a/ACE/ace/Local_Tokens.inl +++ b/ACE/ace/Local_Tokens.inl @@ -203,7 +203,7 @@ ACE_Token_Name::name (const ACE_TCHAR *new_name) } ACE_INLINE const ACE_TCHAR* -ACE_Token_Name::name (void) const +ACE_Token_Name::name () const { ACE_TRACE ("ACE_Token_Name::name"); return this->token_name_; diff --git a/ACE/ace/MEM_Acceptor.h b/ACE/ace/MEM_Acceptor.h index a1477de1a4d..dcf8cabaa0d 100644 --- a/ACE/ace/MEM_Acceptor.h +++ b/ACE/ace/MEM_Acceptor.h @@ -98,7 +98,7 @@ public: * within the same host can located the mmap file. Example: * /tmp/mmapfile. */ - const ACE_TCHAR *mmap_prefix (void) const; + const ACE_TCHAR *mmap_prefix () const; void mmap_prefix (const ACE_TCHAR *prefix); /** @@ -108,7 +108,7 @@ public: void init_buffer_size (ACE_OFF_T bytes); /// Get the preferred signaling strategy. - ACE_MEM_IO::Signal_Strategy preferred_strategy (void) const; + ACE_MEM_IO::Signal_Strategy preferred_strategy () const; /// Set the preferred signaling strategy. void preferred_strategy (ACE_MEM_IO::Signal_Strategy strategy); diff --git a/ACE/ace/MEM_Acceptor.inl b/ACE/ace/MEM_Acceptor.inl index 77e7b9b37d8..4d31ef56f20 100644 --- a/ACE/ace/MEM_Acceptor.inl +++ b/ACE/ace/MEM_Acceptor.inl @@ -52,7 +52,7 @@ ACE_MEM_Acceptor::get_local_addr (ACE_MEM_Addr &sap) const } ACE_INLINE const ACE_TCHAR * -ACE_MEM_Acceptor::mmap_prefix (void) const +ACE_MEM_Acceptor::mmap_prefix () const { return this->mmap_prefix_; } @@ -71,7 +71,7 @@ ACE_MEM_Acceptor::mmap_prefix (const ACE_TCHAR *prefix) } ACE_INLINE ACE_MEM_IO::Signal_Strategy -ACE_MEM_Acceptor::preferred_strategy (void) const +ACE_MEM_Acceptor::preferred_strategy () const { return this->preferred_strategy_; } diff --git a/ACE/ace/MEM_Addr.h b/ACE/ace/MEM_Addr.h index 7791cb1ec2b..a50c1fb737d 100644 --- a/ACE/ace/MEM_Addr.h +++ b/ACE/ace/MEM_Addr.h @@ -72,7 +72,7 @@ public: int set (const ACE_TCHAR port_name[]); /// Return a pointer to the underlying network address. - virtual void *get_addr (void) const; + virtual void *get_addr () const; /// Set a pointer to the address. virtual void set_addr (const void *, int len); @@ -91,7 +91,7 @@ public: int encode = 1); /// Return the port number, converting it into host byte order. - u_short get_port_number (void) const; + u_short get_port_number () const; /// Return the character representation of the hostname. int get_host_name (ACE_TCHAR hostname[], @@ -102,7 +102,7 @@ public: * is non-reentrant since it returns a pointer to a static data * area). */ - const char *get_host_name (void) const; + const char *get_host_name () const; /** * Return the "dotted decimal" external Internet address representation of @@ -119,14 +119,14 @@ public: * using strdup() or (2) use the "reentrant" version of * get_host_addr() described above. */ - const char *get_host_addr (void) const; + const char *get_host_addr () const; /// Return the 4-byte external IP address, converting it into host byte /// order. - ACE_UINT32 get_ip_address (void) const; + ACE_UINT32 get_ip_address () const; - const ACE_INET_Addr &get_remote_addr (void) const; - const ACE_INET_Addr &get_local_addr (void) const; + const ACE_INET_Addr &get_remote_addr () const; + const ACE_INET_Addr &get_local_addr () const; /// Compare two addresses for equality. The addresses are considered /// equal if they contain the same IP address and port number. @@ -138,7 +138,7 @@ public: bool operator != (const ACE_INET_Addr &SAP) const; /// Computes and returns hash value. - virtual u_long hash (void) const; + virtual u_long hash () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/MEM_Addr.inl b/ACE/ace/MEM_Addr.inl index f849070acfb..748bc42c709 100644 --- a/ACE/ace/MEM_Addr.inl +++ b/ACE/ace/MEM_Addr.inl @@ -32,7 +32,7 @@ ACE_MEM_Addr::set (const ACE_TCHAR port_number[]) /// Return the port number. ACE_INLINE u_short -ACE_MEM_Addr::get_port_number (void) const +ACE_MEM_Addr::get_port_number () const { ACE_TRACE ("ACE_MEM_Addr::get_port_number"); return this->internal_.get_port_number (); @@ -40,7 +40,7 @@ ACE_MEM_Addr::get_port_number (void) const /// Return the "dotted decimal" external address. ACE_INLINE const char * -ACE_MEM_Addr::get_host_addr (void) const +ACE_MEM_Addr::get_host_addr () const { ACE_TRACE ("ACE_MEM_Addr::get_host_addr"); return this->external_.get_host_addr (); @@ -56,20 +56,20 @@ ACE_MEM_Addr::get_host_addr (char *addr, int addr_size) const /// Return the 4-byte IP address, converting it into host byte order. ACE_INLINE ACE_UINT32 -ACE_MEM_Addr::get_ip_address (void) const +ACE_MEM_Addr::get_ip_address () const { ACE_TRACE ("ACE_MEM_Addr::get_ip_address"); return this->external_.get_ip_address (); } ACE_INLINE const ACE_INET_Addr & -ACE_MEM_Addr::get_local_addr (void) const +ACE_MEM_Addr::get_local_addr () const { return this->internal_; } ACE_INLINE const ACE_INET_Addr & -ACE_MEM_Addr::get_remote_addr (void) const +ACE_MEM_Addr::get_remote_addr () const { return this->external_; } diff --git a/ACE/ace/MEM_Connector.h b/ACE/ace/MEM_Connector.h index ac7dd7570cf..1182198fa74 100644 --- a/ACE/ace/MEM_Connector.h +++ b/ACE/ace/MEM_Connector.h @@ -133,7 +133,7 @@ public: int perms = 0); /// Get the preferred signaling strategy. - ACE_MEM_IO::Signal_Strategy preferred_strategy (void) const; + ACE_MEM_IO::Signal_Strategy preferred_strategy () const; /// Set the preferred signaling strategy. void preferred_strategy (ACE_MEM_IO::Signal_Strategy strategy); diff --git a/ACE/ace/MEM_Connector.inl b/ACE/ace/MEM_Connector.inl index ca7a601f11e..9c60051ef20 100644 --- a/ACE/ace/MEM_Connector.inl +++ b/ACE/ace/MEM_Connector.inl @@ -4,7 +4,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_MEM_IO::Signal_Strategy -ACE_MEM_Connector::preferred_strategy (void) const +ACE_MEM_Connector::preferred_strategy () const { return this->preferred_strategy_; } diff --git a/ACE/ace/MEM_SAP.h b/ACE/ace/MEM_SAP.h index 0053ebad40c..c9b37ae0adb 100644 --- a/ACE/ace/MEM_SAP.h +++ b/ACE/ace/MEM_SAP.h @@ -46,10 +46,10 @@ public: ACE_MEM_SAP_Node (size_t cap); /// Get the size of the data we hold. - size_t size (void) const; + size_t size () const; /// Get the capacity of this block of data. - size_t capacity (void) const; + size_t capacity () const; /// Get the pointer to the block of data we hold. void *data (void); diff --git a/ACE/ace/MEM_SAP.inl b/ACE/ace/MEM_SAP.inl index 87c6f9133f0..494d53db3d7 100644 --- a/ACE/ace/MEM_SAP.inl +++ b/ACE/ace/MEM_SAP.inl @@ -12,13 +12,13 @@ ACE_MEM_SAP_Node::ACE_MEM_SAP_Node (size_t cap) } ACE_INLINE size_t -ACE_MEM_SAP_Node::size (void) const +ACE_MEM_SAP_Node::size () const { return this->size_; } ACE_INLINE size_t -ACE_MEM_SAP_Node::capacity (void) const +ACE_MEM_SAP_Node::capacity () const { return this->capacity_; } diff --git a/ACE/ace/MMAP_Memory_Pool.h b/ACE/ace/MMAP_Memory_Pool.h index e90264d0e14..d0f76ca8d93 100644 --- a/ACE/ace/MMAP_Memory_Pool.h +++ b/ACE/ace/MMAP_Memory_Pool.h @@ -210,13 +210,13 @@ public: virtual int remap (void *addr); /// Return the base address of this memory pool. - virtual void *base_addr (void) const; + virtual void *base_addr () const; /// Dump the state of an object. virtual void dump () const; /// Get reference to underlying ACE_Mem_Map object. - ACE_Mem_Map const & mmap (void) const; + ACE_Mem_Map const & mmap () const; /// Get reference to underlying ACE_Mem_Map object. ACE_Mem_Map & mmap (void); diff --git a/ACE/ace/MMAP_Memory_Pool.inl b/ACE/ace/MMAP_Memory_Pool.inl index bc494c4312d..a458c8e374a 100644 --- a/ACE/ace/MMAP_Memory_Pool.inl +++ b/ACE/ace/MMAP_Memory_Pool.inl @@ -3,7 +3,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Mem_Map const & -ACE_MMAP_Memory_Pool::mmap (void) const +ACE_MMAP_Memory_Pool::mmap () const { return mmap_; } diff --git a/ACE/ace/Malloc.cpp b/ACE/ace/Malloc.cpp index 4f1cae29388..c61b0151cfd 100644 --- a/ACE/ace/Malloc.cpp +++ b/ACE/ace/Malloc.cpp @@ -154,7 +154,7 @@ ACE_Malloc_Stats::ACE_Malloc_Stats (void) } void -ACE_Malloc_Stats::dump (void) const +ACE_Malloc_Stats::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Malloc_Stats::dump"); diff --git a/ACE/ace/Malloc_Allocator.cpp b/ACE/ace/Malloc_Allocator.cpp index 0726226648c..d9ea4036355 100644 --- a/ACE/ace/Malloc_Allocator.cpp +++ b/ACE/ace/Malloc_Allocator.cpp @@ -196,7 +196,7 @@ ACE_New_Allocator::protect (void *, size_t, int) #if defined (ACE_HAS_MALLOC_STATS) void -ACE_New_Allocator::print_stats (void) const +ACE_New_Allocator::print_stats () const { } #endif /* ACE_HAS_MALLOC_STATS */ @@ -322,7 +322,7 @@ ACE_Static_Allocator_Base::protect (void *, size_t, int) #if defined (ACE_HAS_MALLOC_STATS) void -ACE_Static_Allocator_Base::print_stats (void) const +ACE_Static_Allocator_Base::print_stats () const { } #endif /* ACE_HAS_MALLOC_STATS */ diff --git a/ACE/ace/Malloc_Allocator.h b/ACE/ace/Malloc_Allocator.h index 52df2ac9480..6ea723f9637 100644 --- a/ACE/ace/Malloc_Allocator.h +++ b/ACE/ace/Malloc_Allocator.h @@ -71,7 +71,7 @@ public: virtual int protect (ssize_t len = -1, int prot = PROT_RDWR); virtual int protect (void *addr, size_t len, int prot = PROT_RDWR); #if defined (ACE_HAS_MALLOC_STATS) - virtual void print_stats (void) const; + virtual void print_stats () const; #endif /* ACE_HAS_MALLOC_STATS */ virtual void dump () const; @@ -115,7 +115,7 @@ public: virtual int protect (ssize_t len = -1, int prot = PROT_RDWR); virtual int protect (void *addr, size_t len, int prot = PROT_RDWR); #if defined (ACE_HAS_MALLOC_STATS) - virtual void print_stats (void) const; + virtual void print_stats () const; #endif /* ACE_HAS_MALLOC_STATS */ virtual void dump () const; diff --git a/ACE/ace/Malloc_Base.h b/ACE/ace/Malloc_Base.h index c73f984e856..6f3ac403758 100644 --- a/ACE/ace/Malloc_Base.h +++ b/ACE/ace/Malloc_Base.h @@ -145,7 +145,7 @@ public: #if defined (ACE_HAS_MALLOC_STATS) /// Dump statistics of how malloc is behaving. - virtual void print_stats (void) const = 0; + virtual void print_stats () const = 0; #endif /* ACE_HAS_MALLOC_STATS */ /// Dump the state of the object. diff --git a/ACE/ace/Malloc_T.cpp b/ACE/ace/Malloc_T.cpp index a2cd42f0d2a..fbe0ec735e7 100644 --- a/ACE/ace/Malloc_T.cpp +++ b/ACE/ace/Malloc_T.cpp @@ -345,7 +345,7 @@ ACE_Allocator_Adapter<MALLOC>::~ACE_Allocator_Adapter () #if defined (ACE_HAS_MALLOC_STATS) template <class MALLOC> void -ACE_Allocator_Adapter<MALLOC>::print_stats (void) const +ACE_Allocator_Adapter<MALLOC>::print_stats () const { ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::print_stats"); this->allocator_.print_stats (); @@ -384,7 +384,7 @@ ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::dump () const #if defined (ACE_HAS_MALLOC_STATS) template <ACE_MEM_POOL_1, class ACE_LOCK, class ACE_CB> void -ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::print_stats (void) const +ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::print_stats () const { ACE_TRACE ("ACE_Malloc_T<ACE_MEM_POOL_2, ACE_LOCK, ACE_CB>::print_stats"); ACE_GUARD (ACE_LOCK, ace_mon, *this->lock_); diff --git a/ACE/ace/Malloc_T.h b/ACE/ace/Malloc_T.h index 47aa74b0180..e7c28760a8c 100644 --- a/ACE/ace/Malloc_T.h +++ b/ACE/ace/Malloc_T.h @@ -342,7 +342,7 @@ public: #if defined (ACE_HAS_MALLOC_STATS) /// Dump statistics of how malloc is behaving. - virtual void print_stats (void) const; + virtual void print_stats () const; #endif /* ACE_HAS_MALLOC_STATS */ /// Dump the state of the object. @@ -414,7 +414,7 @@ class ACE_Malloc_FIFO_Iterator_T; * The MEMORY_POOL class must provide the following methods: * - constructor (const ACE_TCHAR *pool_name) * - constructor (const ACE_TCHAR *pool_name, const MEMORY_POOL_OPTIONS *options) - * - void dump (void) const (needed if ACE is built with ACE_HAS_DUMP defined) + * - void dump () const (needed if ACE is built with ACE_HAS_DUMP defined) * - void *init_acquire (size_t nbytes, size_t &rounded_bytes, int &first_time); * - int release (void) * - void *acquire (size_t nbytes, size_t &rounded_bytes) @@ -597,7 +597,7 @@ public: #if defined (ACE_HAS_MALLOC_STATS) /// Dump statistics of how malloc is behaving. - void print_stats (void) const; + void print_stats () const; #endif /* ACE_HAS_MALLOC_STATS */ /// Returns a pointer to the lock used to provide mutual exclusion to diff --git a/ACE/ace/Mem_Map.inl b/ACE/ace/Mem_Map.inl index 0d9994ce811..4eb164f8d81 100644 --- a/ACE/ace/Mem_Map.inl +++ b/ACE/ace/Mem_Map.inl @@ -6,7 +6,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_HANDLE -ACE_Mem_Map::handle (void) const +ACE_Mem_Map::handle () const { ACE_TRACE ("ACE_Mem_Map::handle"); return this->handle_; @@ -15,7 +15,7 @@ ACE_Mem_Map::handle (void) const // Return the name of file that is mapped (if any). ACE_INLINE const ACE_TCHAR * -ACE_Mem_Map::filename (void) const +ACE_Mem_Map::filename () const { return this->filename_; } @@ -75,7 +75,7 @@ ACE_Mem_Map::operator () (void *&addr) // Return the base address. ACE_INLINE void * -ACE_Mem_Map::addr (void) const +ACE_Mem_Map::addr () const { ACE_TRACE ("ACE_Mem_Map::addr"); @@ -86,7 +86,7 @@ ACE_Mem_Map::addr (void) const // file. ACE_INLINE size_t -ACE_Mem_Map::size (void) const +ACE_Mem_Map::size () const { ACE_TRACE ("ACE_Mem_Map::size"); return this->length_; diff --git a/ACE/ace/Message_Queue_NT.cpp b/ACE/ace/Message_Queue_NT.cpp index 8107c6c7c58..0273fe9f841 100644 --- a/ACE/ace/Message_Queue_NT.cpp +++ b/ACE/ace/Message_Queue_NT.cpp @@ -190,7 +190,7 @@ ACE_Message_Queue_NT::pulse (void) } void -ACE_Message_Queue_NT::dump (void) const +ACE_Message_Queue_NT::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Message_Queue_NT::dump"); diff --git a/ACE/ace/Message_Queue_Vx.cpp b/ACE/ace/Message_Queue_Vx.cpp index 15e6d140368..0805a43d01d 100644 --- a/ACE/ace/Message_Queue_Vx.cpp +++ b/ACE/ace/Message_Queue_Vx.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_Message_Queue_Vx); void -ACE_Message_Queue_Vx::dump (void) const +ACE_Message_Queue_Vx::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Message_Queue_Vx::dump"); diff --git a/ACE/ace/Method_Request.h b/ACE/ace/Method_Request.h index 2b59488e9e7..66bd5449345 100644 --- a/ACE/ace/Method_Request.h +++ b/ACE/ace/Method_Request.h @@ -51,7 +51,7 @@ public: // = Accessors. /// Get priority. - unsigned long priority (void) const; + unsigned long priority () const; /// Set priority. /** diff --git a/ACE/ace/Metrics_Cache_T.h b/ACE/ace/Metrics_Cache_T.h index d851c008e49..c05862183c5 100644 --- a/ACE/ace/Metrics_Cache_T.h +++ b/ACE/ace/Metrics_Cache_T.h @@ -162,7 +162,7 @@ public: void metrics_enabled(int enabled); /// Return the enable state for metrics collection. - int metrics_enabled(void) const; + int metrics_enabled() const; protected: diff --git a/ACE/ace/Metrics_Cache_T.inl b/ACE/ace/Metrics_Cache_T.inl index 5b2e1a77153..e4900cb88b8 100644 --- a/ACE/ace/Metrics_Cache_T.inl +++ b/ACE/ace/Metrics_Cache_T.inl @@ -229,7 +229,7 @@ ACE_Metrics_Cache<ACE_LOCK, ALLOCATOR>::metrics_enabled(int enabled) template <class ACE_LOCK, class ALLOCATOR> ACE_INLINE int -ACE_Metrics_Cache<ACE_LOCK, ALLOCATOR>::metrics_enabled(void) const +ACE_Metrics_Cache<ACE_LOCK, ALLOCATOR>::metrics_enabled() const { return metrics_enabled_; } diff --git a/ACE/ace/Monitor_Admin.h b/ACE/ace/Monitor_Admin.h index c506c049efa..1f733bce593 100644 --- a/ACE/ace/Monitor_Admin.h +++ b/ACE/ace/Monitor_Admin.h @@ -88,7 +88,7 @@ namespace ACE /// This mutator allows the application to create its own reactor /// and substitute it for the default reactor. void reactor (ACE_Reactor* new_reactor); - ACE_Reactor* reactor (void) const; + ACE_Reactor* reactor () const; private: Monitor_Point_Auto_Updater auto_updater_; diff --git a/ACE/ace/NT_Service.h b/ACE/ace/NT_Service.h index e1b03990333..9308dbbe17f 100644 --- a/ACE/ace/NT_Service.h +++ b/ACE/ace/NT_Service.h @@ -163,16 +163,16 @@ public: void name (const ACE_TCHAR *name, const ACE_TCHAR *desc = 0); /// Get the service name. - const ACE_TCHAR *name (void) const; + const ACE_TCHAR *name () const; /// Get the service description. - const ACE_TCHAR *desc (void) const; + const ACE_TCHAR *desc () const; /// Sets the host machine void host (const ACE_TCHAR *host); /// Get the host machine. - const ACE_TCHAR *host (void) const; + const ACE_TCHAR *host () const; /** * Insert (create) the service in the NT Service Control Manager, diff --git a/ACE/ace/NT_Service.inl b/ACE/ace/NT_Service.inl index 9808ce8f7b9..c5af76d4018 100644 --- a/ACE/ace/NT_Service.inl +++ b/ACE/ace/NT_Service.inl @@ -53,21 +53,21 @@ ACE_NT_Service::svc (void) ACE_INLINE const ACE_TCHAR * -ACE_NT_Service::name (void) const +ACE_NT_Service::name () const { return name_; } ACE_INLINE const ACE_TCHAR * -ACE_NT_Service::desc (void) const +ACE_NT_Service::desc () const { return desc_; } ACE_INLINE const ACE_TCHAR * -ACE_NT_Service::host (void) const +ACE_NT_Service::host () const { return host_; } diff --git a/ACE/ace/Name_Proxy.h b/ACE/ace/Name_Proxy.h index 7152cd76f96..93ac6d6c608 100644 --- a/ACE/ace/Name_Proxy.h +++ b/ACE/ace/Name_Proxy.h @@ -67,7 +67,7 @@ public: int recv_reply (ACE_Name_Request &reply); /// Obtain underlying handle. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; /// Close down the connection to the server. virtual ~ACE_Name_Proxy (void); diff --git a/ACE/ace/Name_Request_Reply.h b/ACE/ace/Name_Request_Reply.h index b11f8747bc2..ec49d3679c4 100644 --- a/ACE/ace/Name_Request_Reply.h +++ b/ACE/ace/Name_Request_Reply.h @@ -84,43 +84,43 @@ public: void init (void); // = Set/get the length of the encoded/decoded message. - ACE_UINT32 length (void) const; + ACE_UINT32 length () const; void length (ACE_UINT32); // = Set/get the type of the message. - ACE_INT32 msg_type (void) const; + ACE_INT32 msg_type () const; void msg_type (ACE_INT32); // = Set/get the blocking semantics. - ACE_UINT32 block_forever (void) const; + ACE_UINT32 block_forever () const; void block_forever (ACE_UINT32); // = Set/get the timeout. - ACE_Time_Value timeout (void) const; + ACE_Time_Value timeout () const; void timeout (const ACE_Time_Value timeout); // = Set/get the name - const ACE_WCHAR_T *name (void) const; + const ACE_WCHAR_T *name () const; void name (const ACE_WCHAR_T *); // = Set/get the value - const ACE_WCHAR_T *value (void) const; + const ACE_WCHAR_T *value () const; void value (const ACE_WCHAR_T *); // = Set/get the type - const char *type (void) const; + const char *type () const; void type (const char *); // = Set/get the len of name - ACE_UINT32 name_len (void) const; + ACE_UINT32 name_len () const; void name_len (ACE_UINT32); // = Set/get the len of value - ACE_UINT32 value_len (void) const; + ACE_UINT32 value_len () const; void value_len (ACE_UINT32); // = Set/get the len of type - ACE_UINT32 type_len (void) const; + ACE_UINT32 type_len () const; void type_len (ACE_UINT32); /// Encode the message before transmission. @@ -211,19 +211,19 @@ public: void init (void); // = Set/get the length of the encoded/decoded message. - ACE_UINT32 length (void) const; + ACE_UINT32 length () const; void length (ACE_UINT32); // = Set/get the type of the message. - ACE_INT32 msg_type (void) const; + ACE_INT32 msg_type () const; void msg_type (ACE_INT32); // = Set/get the status of the reply (0 == success, -1 == failure). - ACE_INT32 status (void) const; + ACE_INT32 status () const; void status (ACE_INT32); // = Set/get the errno of a failed reply. - ACE_UINT32 errnum (void) const; + ACE_UINT32 errnum () const; void errnum (ACE_UINT32); /// Encode the message before transfer. diff --git a/ACE/ace/Name_Space.h b/ACE/ace/Name_Space.h index 1b3ff1c7936..cee698efd33 100644 --- a/ACE/ace/Name_Space.h +++ b/ACE/ace/Name_Space.h @@ -152,7 +152,7 @@ public: const ACE_NS_WString &pattern) = 0; /// Dump the state of the object - virtual void dump (void) const = 0; + virtual void dump () const = 0; }; ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/ACE/ace/Naming_Context.h b/ACE/ace/Naming_Context.h index 35bafa2ffee..453e1822f10 100644 --- a/ACE/ace/Naming_Context.h +++ b/ACE/ace/Naming_Context.h @@ -326,7 +326,7 @@ public: char *base_address (void); /// Get use of registry in naming - bool use_registry (void) const; + bool use_registry () const; /// Set use of registry in naming void use_registry (bool x); diff --git a/ACE/ace/Naming_Context.inl b/ACE/ace/Naming_Context.inl index 77d451e820a..bd61adb77cd 100644 --- a/ACE/ace/Naming_Context.inl +++ b/ACE/ace/Naming_Context.inl @@ -1,5 +1,5 @@ ACE_INLINE bool -ACE_Name_Options::use_registry (void) const +ACE_Name_Options::use_registry () const { ACE_TRACE ("ACE_Name_Options::use_registry"); return this->use_registry_; diff --git a/ACE/ace/Netlink_Addr.h b/ACE/ace/Netlink_Addr.h index 2d934b14086..5b08d5fb78f 100644 --- a/ACE/ace/Netlink_Addr.h +++ b/ACE/ace/Netlink_Addr.h @@ -63,19 +63,19 @@ public: /** * @return pid */ - int get_pid (void) const; + int get_pid () const; /** * @return the group id @see nl_ */ - int get_gid (void) const; + int get_gid () const; /** * @return addr pointer @see nl_ */ - virtual void *get_addr (void) const; + virtual void *get_addr () const; /** * @return nl_ member @see nl_ size */ - int get_addr_size (void) const; + int get_addr_size () const; /** * Set a pointer to the address */ @@ -89,7 +89,7 @@ private: * @return family type AF_NETLINK * * */ - int determine_type (void) const; + int determine_type () const; /** * set nl_ @see nl_ to zero and sets address family to default value */ diff --git a/ACE/ace/Netlink_Addr.inl b/ACE/ace/Netlink_Addr.inl index 06c31b65d17..2c8dbb1e55c 100644 --- a/ACE/ace/Netlink_Addr.inl +++ b/ACE/ace/Netlink_Addr.inl @@ -21,17 +21,17 @@ ACE_INLINE void ACE_Netlink_Addr::reset (void) this->nl_.nl_family = AF_NETLINK; } -ACE_INLINE int ACE_Netlink_Addr::determine_type (void) const +ACE_INLINE int ACE_Netlink_Addr::determine_type () const { return AF_NETLINK; } -ACE_INLINE void *ACE_Netlink_Addr::get_addr (void) const +ACE_INLINE void *ACE_Netlink_Addr::get_addr () const { return (void*)&(this->nl_); } -ACE_INLINE int ACE_Netlink_Addr::get_addr_size (void) const +ACE_INLINE int ACE_Netlink_Addr::get_addr_size () const { return sizeof(this->nl_); } diff --git a/ACE/ace/OS_NS_Thread.h b/ACE/ace/OS_NS_Thread.h index 5a1da97c9df..32ffcdf915c 100644 --- a/ACE/ace/OS_NS_Thread.h +++ b/ACE/ace/OS_NS_Thread.h @@ -342,7 +342,7 @@ class ACE_Export ACE_cond_t public: /// Returns the number of waiters. - long waiters (void) const; + long waiters () const; //protected: /// Number of waiting threads. @@ -963,7 +963,7 @@ public: ACE_TSS_Info (void); /// Returns 1 if the key is in use, 0 if not. - int key_in_use (void) const { return thread_count_ != -1; } + int key_in_use () const { return thread_count_ != -1; } /// Mark the key as being in use if the flag is non-zero, or /// not in use if the flag is 0. diff --git a/ACE/ace/OS_NS_Thread.inl b/ACE/ace/OS_NS_Thread.inl index 7ab6d5894f1..8d3c29a913a 100644 --- a/ACE/ace/OS_NS_Thread.inl +++ b/ACE/ace/OS_NS_Thread.inl @@ -30,7 +30,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL #if defined (ACE_LACKS_COND_T) && defined (ACE_HAS_THREADS) ACE_INLINE long -ACE_cond_t::waiters (void) const +ACE_cond_t::waiters () const { return this->waiters_; } diff --git a/ACE/ace/OS_NS_errno.h b/ACE/ace/OS_NS_errno.h index 722241d7662..3c26f5fe726 100644 --- a/ACE/ace/OS_NS_errno.h +++ b/ACE/ace/OS_NS_errno.h @@ -69,7 +69,7 @@ public: static void fini (); static ACE_CE_Errno *instance (); - operator int (void) const; + operator int () const; int operator= (int); private: diff --git a/ACE/ace/OS_NS_errno.inl b/ACE/ace/OS_NS_errno.inl index 408039c5526..9dcbe998360 100644 --- a/ACE/ace/OS_NS_errno.inl +++ b/ACE/ace/OS_NS_errno.inl @@ -62,7 +62,7 @@ ACE_CE_Errno::instance () } ACE_INLINE -ACE_CE_Errno::operator int (void) const +ACE_CE_Errno::operator int () const { return (int) TlsGetValue (ACE_CE_Errno::errno_key_); } diff --git a/ACE/ace/PI_Malloc.h b/ACE/ace/PI_Malloc.h index 2fee63360c2..db21328abf5 100644 --- a/ACE/ace/PI_Malloc.h +++ b/ACE/ace/PI_Malloc.h @@ -120,7 +120,7 @@ public: void *base_addr); /// Return a pointer to the name of this node. - const char *name (void) const; + const char *name () const; /// Assign a name; void name (const char *); diff --git a/ACE/ace/POSIX_Asynch_IO.h b/ACE/ace/POSIX_Asynch_IO.h index 2fde60e791c..e98a7151d36 100644 --- a/ACE/ace/POSIX_Asynch_IO.h +++ b/ACE/ace/POSIX_Asynch_IO.h @@ -57,13 +57,13 @@ class ACE_Export ACE_POSIX_Asynch_Result : public virtual ACE_Asynch_Result_Impl { public: /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This is the ACT associated with the handle on which the @@ -71,13 +71,13 @@ public: * * @note This is not implemented for POSIX4 platforms. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fails. - u_long error (void) const; + u_long error () const; /// This returns ACE_INVALID_HANDLE on POSIX4 platforms. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /** * This really make sense only when doing file I/O. @@ -86,18 +86,18 @@ public: * aiocb64. * */ - u_long offset (void) const; - u_long offset_high (void) const; + u_long offset () const; + u_long offset_high () const; /// Priority of the operation. - int priority (void) const; + int priority () const; /** * POSIX4 realtime signal number to be used for the * operation. <signal_number> ranges from SIGRTMIN to SIGRTMAX. By * default, SIGRTMIN is used to issue <aio_> calls. */ - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor. int post_completion (ACE_Proactor_Impl *proactor); @@ -175,10 +175,10 @@ public: // = Access methods. /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; /// Return the underlying Proactor implementation. - ACE_POSIX_Proactor * posix_proactor (void) const; + ACE_POSIX_Proactor * posix_proactor () const; protected: /// Constructor. @@ -232,13 +232,13 @@ class ACE_Export ACE_POSIX_Asynch_Read_Stream_Result : public virtual ACE_Asynch public: /// The number of bytes which were requested at the start of the /// asynchronous read. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for reading. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; protected: ACE_POSIX_Asynch_Read_Stream_Result (const ACE_Handler::Proxy_Ptr &handler_proxy, @@ -320,13 +320,13 @@ class ACE_Export ACE_POSIX_Asynch_Write_Stream_Result : public virtual ACE_Async public: /// The number of bytes which were requested at the start of the /// asynchronous write. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Message block that contains the data to be written. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for writing. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; protected: /// Constructor is protected since creation is limited to @@ -598,16 +598,16 @@ class ACE_Export ACE_POSIX_Asynch_Accept_Result : public virtual ACE_Asynch_Acce public: /// The number of bytes which were requested at the start of the /// asynchronous accept. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for accepting new connections. - ACE_HANDLE listen_handle (void) const; + ACE_HANDLE listen_handle () const; /// I/O handle for the new connection. - ACE_HANDLE accept_handle (void) const; + ACE_HANDLE accept_handle () const; protected: /// Constructor is protected since creation is limited to @@ -707,7 +707,7 @@ public: int close (); /// virtual from ACE_Event_Handler - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// virtual from ACE_Event_Handler void set_handle (ACE_HANDLE handle); @@ -766,7 +766,7 @@ class ACE_Export ACE_POSIX_Asynch_Connect_Result : public virtual ACE_Asynch_Con public: /// I/O handle for the connection. - ACE_HANDLE connect_handle (void) const; + ACE_HANDLE connect_handle () const; protected: /// Constructor is protected since creation is limited to @@ -846,7 +846,7 @@ public: int close (void); /// virtual from ACE_Event_Handler - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// virtual from ACE_Event_Handler void set_handle (ACE_HANDLE handle); @@ -920,24 +920,24 @@ class ACE_Export ACE_POSIX_Asynch_Transmit_File_Result : public virtual ACE_Asyn public: /// Socket used for transmitting the file. - ACE_HANDLE socket (void) const; + ACE_HANDLE socket () const; /// File from which the data is read. - ACE_HANDLE file (void) const; + ACE_HANDLE file () const; /// Header and trailer data associated with this transmit file. - ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer (void) const; + ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer () const; /// The number of bytes which were requested at the start of the /// asynchronous transmit file. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Number of bytes per send requested at the start of the transmit /// file. - size_t bytes_per_send (void) const; + size_t bytes_per_send () const; /// Flags which were passed into transmit file. - u_long flags (void) const; + u_long flags () const; protected: ACE_POSIX_Asynch_Transmit_File_Result (const ACE_Handler::Proxy_Ptr &handler_proxy, @@ -1098,16 +1098,16 @@ class ACE_Export ACE_POSIX_Asynch_Write_Dgram_Result : public virtual ACE_Asynch public: /// The number of bytes which were requested at the start of the /// asynchronous write. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Message block which contains the sent data - ACE_Message_Block *message_block (void) const; + ACE_Message_Block *message_block () const; /// The flags using in the write - int flags (void) const; + int flags () const; /// I/O handle used for writing. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; protected: /// Constructor is protected since creation is limited to @@ -1226,21 +1226,21 @@ class ACE_Export ACE_POSIX_Asynch_Read_Dgram_Result : public virtual ACE_Asynch_ public: /// The number of bytes which were requested at the start of the /// asynchronous read. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data - ACE_Message_Block *message_block (void) const; + ACE_Message_Block *message_block () const; /// The address of where the packet came from int remote_address (ACE_Addr& addr) const; - sockaddr *saddr (void) const; + sockaddr *saddr () const; /// The flags used in the read - int flags (void) const; + int flags () const; /// I/O handle used for reading. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; protected: /// Constructor is protected since creation is limited to diff --git a/ACE/ace/POSIX_Proactor.h b/ACE/ace/POSIX_Proactor.h index 3002550ad34..076c0847a59 100644 --- a/ACE/ace/POSIX_Proactor.h +++ b/ACE/ace/POSIX_Proactor.h @@ -148,11 +148,11 @@ public: int close_dispatch_threads (int wait); /// @@ This is a no-op on POSIX platforms. Returns 0. - size_t number_of_threads (void) const; + size_t number_of_threads () const; void number_of_threads (size_t threads); /// This is a no-op in POSIX. Returns ACE_INVALID_HANDLE. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; // Methods used to create Asynch IO factory and result objects. We // create the right objects here in these methods. @@ -575,7 +575,7 @@ protected: int setup_signal_handler (int signal_number) const; /// Insures that RT_completion_signals_ are blocked in the calling thread. - int block_signals (void) const; + int block_signals () const; /** * Dispatch a single set of events. @a timeout is a pointer to a diff --git a/ACE/ace/Pagefile_Memory_Pool.h b/ACE/ace/Pagefile_Memory_Pool.h index 4a78171b75a..49f20b47880 100644 --- a/ACE/ace/Pagefile_Memory_Pool.h +++ b/ACE/ace/Pagefile_Memory_Pool.h @@ -114,9 +114,9 @@ public: /// Return the base address of this memory pool, 0 if base_addr /// never changes. - virtual void *base_addr (void) const; + virtual void *base_addr () const; - void dump (void) const {} + void dump () const {} protected: /** diff --git a/ACE/ace/Pagefile_Memory_Pool.inl b/ACE/ace/Pagefile_Memory_Pool.inl index 30003e0b1e7..e6b2919d873 100644 --- a/ACE/ace/Pagefile_Memory_Pool.inl +++ b/ACE/ace/Pagefile_Memory_Pool.inl @@ -41,7 +41,7 @@ ACE_Pagefile_Memory_Pool::protect (void *, size_t, int) } ACE_INLINE void * -ACE_Pagefile_Memory_Pool::base_addr (void) const +ACE_Pagefile_Memory_Pool::base_addr () const { return 0; } diff --git a/ACE/ace/Parse_Node.h b/ACE/ace/Parse_Node.h index 7686bdeb62c..41bf735bba6 100644 --- a/ACE/ace/Parse_Node.h +++ b/ACE/ace/Parse_Node.h @@ -50,14 +50,14 @@ public: explicit ACE_Parse_Node (const ACE_TCHAR *name); virtual ~ACE_Parse_Node (void); - ACE_Parse_Node *link (void) const; + ACE_Parse_Node *link () const; void link (ACE_Parse_Node *); /// Will update the yyereno member and/or the corresponding configuration virtual void apply (ACE_Service_Gestalt *cfg, int &yyerrno) = 0; - const ACE_TCHAR *name (void) const; - void print (void) const; + const ACE_TCHAR *name () const; + void print () const; /// Dump the state of an object. void dump () const; @@ -176,7 +176,7 @@ public: virtual void apply (ACE_Service_Gestalt *cfg, int &yyerrno); virtual const ACE_Service_Type *record (const ACE_Service_Gestalt *g) const; - ACE_TCHAR *parameters (void) const; + ACE_TCHAR *parameters () const; /// Dump the state of an object. void dump () const; @@ -212,7 +212,7 @@ public: virtual ~ACE_Dynamic_Node (void); - // virtual const ACE_Service_Type *record (void) const; + // virtual const ACE_Service_Type *record () const; virtual void apply (ACE_Service_Gestalt *cfg, int &yyerrno); /// Dump the state of an object. @@ -309,9 +309,9 @@ class ACE_Location_Node public: ACE_Location_Node (void); const ACE_DLL &dll (void); - const ACE_TCHAR *pathname (void) const; + const ACE_TCHAR *pathname () const; void pathname (const ACE_TCHAR *h); - int dispose (void) const; + int dispose () const; virtual ~ACE_Location_Node (void); virtual void set_symbol (void *h); @@ -490,7 +490,7 @@ public: ACE_Service_Type *make_service_type (ACE_Service_Gestalt *pcfg) const; - ACE_TCHAR const* name (void) const; + ACE_TCHAR const* name () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; diff --git a/ACE/ace/Pipe.h b/ACE/ace/Pipe.h index d118479141e..c257341b356 100644 --- a/ACE/ace/Pipe.h +++ b/ACE/ace/Pipe.h @@ -72,14 +72,14 @@ public: * processes can also write to this handle as well since pipes are * bi-directional. */ - ACE_HANDLE read_handle (void) const; + ACE_HANDLE read_handle () const; /** * This is the "write" side of the pipe. Note, however, that * processes can also read to this handle as well since pipes are * bi-directional. */ - ACE_HANDLE write_handle (void) const; + ACE_HANDLE write_handle () const; /// Dump the state of the object. void dump () const; diff --git a/ACE/ace/Pipe.inl b/ACE/ace/Pipe.inl index 85900d2d6ed..35af84ff287 100644 --- a/ACE/ace/Pipe.inl +++ b/ACE/ace/Pipe.inl @@ -12,14 +12,14 @@ ACE_Pipe::~ACE_Pipe (void) } ACE_INLINE ACE_HANDLE -ACE_Pipe::read_handle (void) const +ACE_Pipe::read_handle () const { ACE_TRACE ("ACE_Pipe::read_handle"); return this->handles_[0]; } ACE_INLINE ACE_HANDLE -ACE_Pipe::write_handle (void) const +ACE_Pipe::write_handle () const { ACE_TRACE ("ACE_Pipe::write_handle"); return this->handles_[1]; diff --git a/ACE/ace/Proactor.h b/ACE/ace/Proactor.h index 31c4aa2e210..a2c87f35cdf 100644 --- a/ACE/ace/Proactor.h +++ b/ACE/ace/Proactor.h @@ -363,13 +363,13 @@ public: int close_dispatch_threads (int wait); /// Get number of thread used as a parameter to CreatIoCompletionPort. - size_t number_of_threads (void) const; + size_t number_of_threads () const; /// Set number of thread used as a parameter to CreatIoCompletionPort. void number_of_threads (size_t threads); /// Get timer queue. - ACE_Proactor_Timer_Queue *timer_queue (void) const; + ACE_Proactor_Timer_Queue *timer_queue () const; /// Set timer queue. void timer_queue (ACE_Proactor_Timer_Queue *timer_queue); @@ -379,10 +379,10 @@ public: * It is a no-op in POSIX platforms and it returns * ACE_INVALID_HANDLE. */ - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// Get the implementation class. - ACE_Proactor_Impl *implementation (void) const; + ACE_Proactor_Impl *implementation () const; // = Factory methods for the operations diff --git a/ACE/ace/Process.h b/ACE/ace/Process.h index 886d1cf6247..2df5ac5a37e 100644 --- a/ACE/ace/Process.h +++ b/ACE/ace/Process.h @@ -311,7 +311,7 @@ public: /// Get the process_attributes. Returns NULL if /// set_process_attributes has not been set. - LPSECURITY_ATTRIBUTES get_process_attributes (void) const; + LPSECURITY_ATTRIBUTES get_process_attributes () const; /// If this is called, a non-null process attributes is sent to /// CreateProcess. @@ -319,14 +319,14 @@ public: /// Get the thread_attributes. Returns NULL if set_thread_attributes /// has not been set. - LPSECURITY_ATTRIBUTES get_thread_attributes (void) const; + LPSECURITY_ATTRIBUTES get_thread_attributes () const; /// If this is called, a non-null thread attributes is sent to /// CreateProcess. LPSECURITY_ATTRIBUTES set_thread_attributes (void); /// Get user token. Return ACE_INVALID_HANDLE if it has not been set. - HANDLE get_user_token (void) const; + HANDLE get_user_token () const; /// Set user token for creating process as user. /// @param token the user token is passed to \c ::CreateProcessAsUser. diff --git a/ACE/ace/Process.inl b/ACE/ace/Process.inl index f1bacf8d431..a029eb661e9 100644 --- a/ACE/ace/Process.inl +++ b/ACE/ace/Process.inl @@ -178,7 +178,7 @@ ACE_Process_Options::startup_info (void) } ACE_INLINE LPSECURITY_ATTRIBUTES -ACE_Process_Options::get_process_attributes (void) const +ACE_Process_Options::get_process_attributes () const { #if !defined (ACE_HAS_WINCE) return process_attributes_; @@ -199,7 +199,7 @@ ACE_Process_Options::set_process_attributes (void) } ACE_INLINE LPSECURITY_ATTRIBUTES -ACE_Process_Options::get_thread_attributes (void) const +ACE_Process_Options::get_thread_attributes () const { #if !defined (ACE_HAS_WINCE) return thread_attributes_; @@ -219,7 +219,7 @@ ACE_Process_Options::set_thread_attributes (void) #endif /* !ACE_HAS_WINCE */ } -ACE_INLINE HANDLE ACE_Process_Options::get_user_token (void) const +ACE_INLINE HANDLE ACE_Process_Options::get_user_token () const { return user_token_; } diff --git a/ACE/ace/Process_Mutex.h b/ACE/ace/Process_Mutex.h index c1f042c2269..aacf8700d39 100644 --- a/ACE/ace/Process_Mutex.h +++ b/ACE/ace/Process_Mutex.h @@ -195,7 +195,7 @@ public: #if !defined (_ACE_USE_SV_SEM) /// Return the underlying mutex. - const ACE_mutex_t &lock (void) const; + const ACE_mutex_t &lock () const; #endif /* !_ACE_USE_SV_SEM */ /// Get the name used for the lock, or null if no name is used. diff --git a/ACE/ace/Process_Mutex.inl b/ACE/ace/Process_Mutex.inl index 040bfc5cd29..717f4950421 100644 --- a/ACE/ace/Process_Mutex.inl +++ b/ACE/ace/Process_Mutex.inl @@ -3,7 +3,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL #if !defined (_ACE_USE_SV_SEM) ACE_INLINE const ACE_mutex_t & -ACE_Process_Mutex::lock (void) const +ACE_Process_Mutex::lock () const { // ACE_TRACE ("ACE_Process_Mutex::lock"); return this->lock_.lock (); diff --git a/ACE/ace/Process_Semaphore.h b/ACE/ace/Process_Semaphore.h index 1024d70b6da..8d6860fa2ad 100644 --- a/ACE/ace/Process_Semaphore.h +++ b/ACE/ace/Process_Semaphore.h @@ -110,7 +110,7 @@ public: #if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) /// Return the underlying lock. - const ACE_sema_t &lock (void) const; + const ACE_sema_t &lock () const; #endif /* ACE_WIN32 || ACE_HAS_POSIX_SEM */ /// Dump the state of an object. diff --git a/ACE/ace/Process_Semaphore.inl b/ACE/ace/Process_Semaphore.inl index d19eb2286ba..4abff5c70c0 100644 --- a/ACE/ace/Process_Semaphore.inl +++ b/ACE/ace/Process_Semaphore.inl @@ -3,7 +3,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL #if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) ACE_INLINE const ACE_sema_t & -ACE_Process_Semaphore::lock (void) const +ACE_Process_Semaphore::lock () const { // ACE_TRACE ("ACE_Process_Semaphore::lock"); return this->lock_.lock (); diff --git a/ACE/ace/Profile_Timer.cpp b/ACE/ace/Profile_Timer.cpp index b0ae13790bc..1dd78c0accb 100644 --- a/ACE/ace/Profile_Timer.cpp +++ b/ACE/ace/Profile_Timer.cpp @@ -274,7 +274,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Profile_Timer::dump (void) const +ACE_Profile_Timer::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Profile_Timer::dump"); @@ -386,7 +386,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Profile_Timer::dump (void) const +ACE_Profile_Timer::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Profile_Timer::dump"); diff --git a/ACE/ace/QoS/QoS_Decorator.cpp b/ACE/ace/QoS/QoS_Decorator.cpp index abecb9473b3..3f2d9b15bf3 100644 --- a/ACE/ace/QoS/QoS_Decorator.cpp +++ b/ACE/ace/QoS/QoS_Decorator.cpp @@ -23,7 +23,7 @@ ACE_QoS_Decorator_Base::~ACE_QoS_Decorator_Base (void) // Forward the call to ACE_Event_Handler component. ACE_HANDLE -ACE_QoS_Decorator_Base::get_handle (void) const +ACE_QoS_Decorator_Base::get_handle () const { return this->event_handler_->get_handle (); } @@ -71,7 +71,7 @@ ACE_QoS_Decorator::~ACE_QoS_Decorator (void) // GQoS. RAPI needs additional QoS decoration. This is done by the // ACE_QoS_Event_Handler class. ACE_HANDLE -ACE_QoS_Decorator::get_handle (void) const +ACE_QoS_Decorator::get_handle () const { return this->decorator_base_->get_handle (); } @@ -139,7 +139,7 @@ ACE_QoS_Event_Handler::qos_session (ACE_QoS_Session *qos_session) // Returns the RAPI file descriptor for listening to RAPI evnets. ACE_HANDLE -ACE_QoS_Event_Handler::get_handle (void) const +ACE_QoS_Event_Handler::get_handle () const { return this->qos_session_->rsvp_events_handle (); } diff --git a/ACE/ace/QoS/QoS_Decorator.h b/ACE/ace/QoS/QoS_Decorator.h index af0d98447d4..b6ff20c74e4 100644 --- a/ACE/ace/QoS/QoS_Decorator.h +++ b/ACE/ace/QoS/QoS_Decorator.h @@ -54,7 +54,7 @@ public: ~ACE_QoS_Decorator_Base (void); /// Forwards the request to its event_handler_ component. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; /// Forwards the request to its event_handler_ component. virtual int handle_input (ACE_HANDLE fd); @@ -86,7 +86,7 @@ class ACE_QoS_Export ACE_QoS_Event_Handler : public ACE_Event_Handler ~ACE_QoS_Event_Handler (void); /// Returns the RAPI file descriptor for receiving QoS events. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; /// Calls the base class handle_input (). virtual int handle_input (ACE_HANDLE fd); @@ -140,7 +140,7 @@ public: ~ACE_QoS_Decorator (void); /// Calls the base class get_handle (). - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; /// Calls the base class handle_input (). virtual int handle_input (ACE_HANDLE fd); diff --git a/ACE/ace/QoS/QoS_Session.h b/ACE/ace/QoS/QoS_Session.h index 7f9590427cd..bfa19ef8878 100644 --- a/ACE/ace/QoS/QoS_Session.h +++ b/ACE/ace/QoS/QoS_Session.h @@ -74,7 +74,7 @@ public: virtual int close (void) = 0; /// Returns the QoS in the current session. - virtual ACE_QoS qos (void) const = 0; + virtual ACE_QoS qos () const = 0; /// Set QoS for the current session. The qos manager is used to /// confirm if this QoS session was subscribed to by the socket. @@ -102,11 +102,11 @@ public: virtual int update_qos (void) = 0; /// Get/Set methods for the flags_. - virtual ACE_End_Point_Type flags (void) const = 0; + virtual ACE_End_Point_Type flags () const = 0; virtual void flags (const ACE_End_Point_Type flags) = 0; /// Get the session id. - virtual int session_id (void) const = 0; + virtual int session_id () const = 0; /// Set the session id. virtual void session_id (const int session_id) = 0; @@ -122,19 +122,19 @@ public: /// Get the destination address for this session. - virtual ACE_INET_Addr dest_addr (void) const = 0; + virtual ACE_INET_Addr dest_addr () const = 0; /// Set the destination address for this session. virtual void dest_addr (const ACE_INET_Addr &dest_addr) = 0; /// Get the source port for this session. - virtual u_short source_port (void) const = 0; + virtual u_short source_port () const = 0; /// Set the source port for this session. virtual void source_port (const u_short &source_port) = 0; //Set the source host - virtual ACE_INET_Addr* source_addr (void) const = 0; + virtual ACE_INET_Addr* source_addr () const = 0; /// Set the source port for this session. virtual void source_addr (ACE_INET_Addr* source_addr) = 0; diff --git a/ACE/ace/QoS/QoS_Session_Impl.h b/ACE/ace/QoS/QoS_Session_Impl.h index 601b473e33b..6fda16087dc 100644 --- a/ACE/ace/QoS/QoS_Session_Impl.h +++ b/ACE/ace/QoS/QoS_Session_Impl.h @@ -51,7 +51,7 @@ public: virtual int close (void); /// Returns the QoS for this RAPI session. - virtual ACE_QoS qos (void) const; + virtual ACE_QoS qos () const; /// Set QoS for this RAPI session. The socket parameter is used to confirm if /// this QoS session was subscribed to by the socket. @@ -76,13 +76,13 @@ public: virtual int update_qos (void); /// Get methods for the flags_. - virtual ACE_End_Point_Type flags (void) const; + virtual ACE_End_Point_Type flags () const; /// Set methods for the flags_. virtual void flags (const ACE_End_Point_Type flags); /// Get the RAPI session id. - virtual int session_id (void) const; + virtual int session_id () const; /// Set the RAPI session id. virtual void session_id (const int session_id); @@ -97,19 +97,19 @@ public: virtual RSVP_Event_Type rsvp_event_type (void); /// Get the destination address for this RAPI session. - virtual ACE_INET_Addr dest_addr (void) const; + virtual ACE_INET_Addr dest_addr () const; /// Set the destination address for this RAPI session. virtual void dest_addr (const ACE_INET_Addr &dest_addr); /// Get the source port for this session. - virtual u_short source_port (void) const; + virtual u_short source_port () const; /// Set the source port for this session. virtual void source_port (const u_short &source_port); //Set the source host - virtual ACE_INET_Addr* source_addr (void) const; + virtual ACE_INET_Addr* source_addr () const; /// Set the source port for this session. virtual void source_addr (ACE_INET_Addr* source_addr); @@ -175,7 +175,7 @@ public: virtual int close (void); /// Returns the QoS for this GQoS session. - virtual ACE_QoS qos (void) const; + virtual ACE_QoS qos () const; /// Set QoS for this GQoS session. The socket parameter is used to confirm if /// this QoS session was subscribed to by the socket. @@ -197,29 +197,29 @@ public: virtual int update_qos (void); /// Get/Set methods for the flags_. - virtual ACE_End_Point_Type flags (void) const; + virtual ACE_End_Point_Type flags () const; virtual void flags (const ACE_End_Point_Type flags); /// Get the destination address for this GQoS session. - virtual ACE_INET_Addr dest_addr (void) const; + virtual ACE_INET_Addr dest_addr () const; /// Set the destination address for this GQoS session. virtual void dest_addr (const ACE_INET_Addr &dest_addr); /// Get the source port for this session. - virtual u_short source_port (void) const; + virtual u_short source_port () const; /// Set the source port for this session. virtual void source_port (const u_short &source_port); //Set the source host - virtual ACE_INET_Addr* source_addr (void) const; + virtual ACE_INET_Addr* source_addr () const; /// Set the source port for this session. virtual void source_addr (ACE_INET_Addr* source_addr); /// Get the GQoS session id. - virtual int session_id (void) const; + virtual int session_id () const; /// Set the GQoS session id. virtual void session_id (const int session_id); diff --git a/ACE/ace/QoS/QoS_Session_Impl.inl b/ACE/ace/QoS/QoS_Session_Impl.inl index 37000bdde31..f78b8adc68f 100644 --- a/ACE/ace/QoS/QoS_Session_Impl.inl +++ b/ACE/ace/QoS/QoS_Session_Impl.inl @@ -11,7 +11,7 @@ ACE_RAPI_Session::~ACE_RAPI_Session (void) // Returns the QoS for this RAPI session. ACE_INLINE ACE_QoS -ACE_RAPI_Session::qos (void) const +ACE_RAPI_Session::qos () const { return this->qos_; } @@ -26,7 +26,7 @@ ACE_RAPI_Session::qos (const ACE_QoS &ace_qos) // Get the RAPI session id. ACE_INLINE int -ACE_RAPI_Session::session_id (void) const +ACE_RAPI_Session::session_id () const { return this->session_id_; } @@ -56,7 +56,7 @@ ACE_RAPI_Session::rsvp_events_handle (void) // Get the End Point Type (Sender/Receiver/Both). ACE_INLINE ACE_QoS_Session::ACE_End_Point_Type -ACE_RAPI_Session::flags (void) const +ACE_RAPI_Session::flags () const { return this->flags_; } @@ -71,7 +71,7 @@ ACE_RAPI_Session::flags (const ACE_End_Point_Type flags) // Get the destination address for this RAPI session. ACE_INLINE ACE_INET_Addr -ACE_RAPI_Session::dest_addr (void) const +ACE_RAPI_Session::dest_addr () const { return this->dest_addr_; } @@ -85,7 +85,7 @@ ACE_RAPI_Session::dest_addr (const ACE_INET_Addr &dest_addr) // Get the source port for this RAPI session. ACE_INLINE u_short -ACE_RAPI_Session::source_port (void) const +ACE_RAPI_Session::source_port () const { return this->source_port_; } @@ -98,7 +98,7 @@ ACE_RAPI_Session::source_port (const u_short &source_port) } ACE_INLINE ACE_INET_Addr* -ACE_RAPI_Session::source_addr (void) const +ACE_RAPI_Session::source_addr () const { return this->src_addr_; } @@ -126,7 +126,7 @@ ACE_GQoS_Session::~ACE_GQoS_Session (void) // Returns the QoS for this GQoS session. ACE_INLINE ACE_QoS -ACE_GQoS_Session::qos (void) const +ACE_GQoS_Session::qos () const { return this->qos_; } @@ -141,7 +141,7 @@ ACE_GQoS_Session::qos (const ACE_QoS &ace_qos) // Get the GQoS session id. ACE_INLINE int -ACE_GQoS_Session::session_id (void) const +ACE_GQoS_Session::session_id () const { return this->session_id_; } @@ -164,7 +164,7 @@ ACE_GQoS_Session::rsvp_events_handle (void) // Get the End Point Type (Sender/Receiver/Both). ACE_INLINE ACE_QoS_Session::ACE_End_Point_Type -ACE_GQoS_Session::flags (void) const +ACE_GQoS_Session::flags () const { return this->flags_; } @@ -178,7 +178,7 @@ ACE_GQoS_Session::flags (const ACE_End_Point_Type flags) // Get the destination address for this GQoS session. ACE_INLINE ACE_INET_Addr -ACE_GQoS_Session::dest_addr (void) const +ACE_GQoS_Session::dest_addr () const { return this->dest_addr_; } @@ -192,7 +192,7 @@ ACE_GQoS_Session::dest_addr (const ACE_INET_Addr &dest_addr) // Get the source port for this RAPI session. ACE_INLINE u_short -ACE_GQoS_Session::source_port (void) const +ACE_GQoS_Session::source_port () const { return this->source_port_; } @@ -205,7 +205,7 @@ ACE_GQoS_Session::source_port (const u_short &source_port) } ACE_INLINE ACE_INET_Addr* -ACE_GQoS_Session::source_addr (void) const +ACE_GQoS_Session::source_addr () const { return this->src_addr_; } diff --git a/ACE/ace/RW_Process_Mutex.h b/ACE/ace/RW_Process_Mutex.h index 13e46ededc7..71244548ddc 100644 --- a/ACE/ace/RW_Process_Mutex.h +++ b/ACE/ace/RW_Process_Mutex.h @@ -105,7 +105,7 @@ public: int tryacquire_write_upgrade (void); /// Return the underlying lock. - const ACE_File_Lock &lock (void) const; + const ACE_File_Lock &lock () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/RW_Process_Mutex.inl b/ACE/ace/RW_Process_Mutex.inl index 61326713aba..a82d6f61cdf 100644 --- a/ACE/ace/RW_Process_Mutex.inl +++ b/ACE/ace/RW_Process_Mutex.inl @@ -65,7 +65,7 @@ ACE_RW_Process_Mutex::tryacquire_write_upgrade (void) } ACE_INLINE const ACE_File_Lock & -ACE_RW_Process_Mutex::lock (void) const +ACE_RW_Process_Mutex::lock () const { // ACE_TRACE ("ACE_RW_Process_Mutex::lock"); return this->lock_; diff --git a/ACE/ace/Reactor_Token_T.cpp b/ACE/ace/Reactor_Token_T.cpp index f4399c903f4..827aefcc64a 100644 --- a/ACE/ace/Reactor_Token_T.cpp +++ b/ACE/ace/Reactor_Token_T.cpp @@ -6,7 +6,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE_Tc(ACE_Reactor_Token_T) template <class ACE_TOKEN_TYPE> void -ACE_Reactor_Token_T<ACE_TOKEN_TYPE>::dump (void) const +ACE_Reactor_Token_T<ACE_TOKEN_TYPE>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Reactor_Token_T::dump"); diff --git a/ACE/ace/Read_Buffer.h b/ACE/ace/Read_Buffer.h index f71f67b8562..ea5cbb0c004 100644 --- a/ACE/ace/Read_Buffer.h +++ b/ACE/ace/Read_Buffer.h @@ -76,14 +76,14 @@ public: int replace = '\0'); /// Returns the number of characters replaced during a @c read. - size_t replaced (void) const; + size_t replaced () const; /// Returns the size of the allocated buffer obtained during a /// @c read, not including the null terminator. - size_t size (void) const; + size_t size () const; /// Returns a pointer to its allocator. - ACE_Allocator *alloc (void) const; + ACE_Allocator *alloc () const; /// Dump the state of the object. void dump () const; diff --git a/ACE/ace/Read_Buffer.inl b/ACE/ace/Read_Buffer.inl index cadd0077464..8f8d5b6a06b 100644 --- a/ACE/ace/Read_Buffer.inl +++ b/ACE/ace/Read_Buffer.inl @@ -4,7 +4,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // Accessor to the number of bytes in the buffer. ACE_INLINE size_t -ACE_Read_Buffer::size (void) const +ACE_Read_Buffer::size () const { ACE_TRACE ("ACE_Read_Buffer::size"); return this->size_; @@ -13,14 +13,14 @@ ACE_Read_Buffer::size (void) const // The total number of characters replaced. ACE_INLINE size_t -ACE_Read_Buffer::replaced (void) const +ACE_Read_Buffer::replaced () const { ACE_TRACE ("ACE_Read_Buffer::replaced"); return this->occurrences_; } ACE_INLINE ACE_Allocator * -ACE_Read_Buffer::alloc (void) const +ACE_Read_Buffer::alloc () const { ACE_TRACE ("ACE_Read_Buffer::alloc"); return this->allocator_; diff --git a/ACE/ace/Registry.cpp b/ACE/ace/Registry.cpp index 017ae1a5dea..9e63c4421f6 100644 --- a/ACE/ace/Registry.cpp +++ b/ACE/ace/Registry.cpp @@ -133,7 +133,7 @@ ACE_Registry::Object::data (void *data) void * -ACE_Registry::Object::data (void) const +ACE_Registry::Object::data () const { return this->data_; } @@ -147,7 +147,7 @@ ACE_Registry::Object::size (u_long size) u_long -ACE_Registry::Object::size (void) const +ACE_Registry::Object::size () const { return this->size_; } @@ -161,7 +161,7 @@ ACE_Registry::Object::type (u_long type) u_long -ACE_Registry::Object::type (void) const +ACE_Registry::Object::type () const { return this->type_; } diff --git a/ACE/ace/Registry.h b/ACE/ace/Registry.h index d21dfef8e7f..893d4ec9b68 100644 --- a/ACE/ace/Registry.h +++ b/ACE/ace/Registry.h @@ -140,19 +140,19 @@ public: void data (void *data); /// Get data - void *data (void) const; + void *data () const; /// Set size void size (u_long size); /// Get size - u_long size (void) const; + u_long size () const; /// Set type void type (u_long type); /// Get type - u_long type (void) const; + u_long type () const; private: /// Pointer to data diff --git a/ACE/ace/Registry_Name_Space.cpp b/ACE/ace/Registry_Name_Space.cpp index c803b5a2edb..7b3587c00f3 100644 --- a/ACE/ace/Registry_Name_Space.cpp +++ b/ACE/ace/Registry_Name_Space.cpp @@ -283,7 +283,7 @@ ACE_Registry_Name_Space::list_type_entries (ACE_BINDING_SET &set, void -ACE_Registry_Name_Space::dump (void) const +ACE_Registry_Name_Space::dump () const { #if defined (ACE_HAS_DUMP) #endif /* ACE_HAS_DUMP */ diff --git a/ACE/ace/Remote_Tokens.cpp b/ACE/ace/Remote_Tokens.cpp index 2e1d2461743..866f7916201 100644 --- a/ACE/ace/Remote_Tokens.cpp +++ b/ACE/ace/Remote_Tokens.cpp @@ -49,7 +49,7 @@ ACE_TSS_Connection::get_connection (void) } ACE_SOCK_Stream * -ACE_TSS_Connection::make_TSS_TYPE (void) const +ACE_TSS_Connection::make_TSS_TYPE () const { ACE_TRACE ("ACE_TSS_Connection::make_TSS_TYPE"); @@ -77,7 +77,7 @@ ACE_TSS_Connection::operator ACE_SOCK_Stream *(void) } void -ACE_TSS_Connection::dump (void) const +ACE_TSS_Connection::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TSS_Connection::dump"); @@ -386,7 +386,7 @@ ACE_Remote_Token_Proxy::owner_id (void) } void -ACE_Remote_Token_Proxy::dump (void) const +ACE_Remote_Token_Proxy::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Remote_Token_Proxy::dump"); @@ -401,7 +401,7 @@ ACE_Remote_Token_Proxy::dump (void) const } ACE_Token_Proxy * -ACE_Remote_Mutex::clone (void) const +ACE_Remote_Mutex::clone () const { ACE_Token_Proxy *temp; ACE_NEW_RETURN (temp, @@ -423,7 +423,7 @@ ACE_Remote_Mutex::create_token (const ACE_TCHAR *name) } void -ACE_Remote_Mutex::dump (void) const +ACE_Remote_Mutex::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Remote_Mutex::dump"); @@ -446,13 +446,13 @@ ACE_Remote_RLock::create_token (const ACE_TCHAR *name) } int -ACE_Remote_RLock::type (void) const +ACE_Remote_RLock::type () const { return ACE_RW_Token::READER; } ACE_Token_Proxy * -ACE_Remote_RLock::clone (void) const +ACE_Remote_RLock::clone () const { ACE_Token_Proxy *temp = 0; ACE_NEW_RETURN (temp, @@ -464,7 +464,7 @@ ACE_Remote_RLock::clone (void) const } void -ACE_Remote_RLock::dump (void) const +ACE_Remote_RLock::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Remote_RLock::dump"); @@ -488,13 +488,13 @@ ACE_Remote_WLock::create_token (const ACE_TCHAR *name) } int -ACE_Remote_WLock::type (void) const +ACE_Remote_WLock::type () const { return ACE_RW_Token::WRITER; } ACE_Token_Proxy * -ACE_Remote_WLock::clone (void) const +ACE_Remote_WLock::clone () const { ACE_Token_Proxy *temp = 0; ACE_NEW_RETURN (temp, @@ -506,7 +506,7 @@ ACE_Remote_WLock::clone (void) const } void -ACE_Remote_WLock::dump (void) const +ACE_Remote_WLock::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Remote_WLock::dump"); diff --git a/ACE/ace/Remote_Tokens.h b/ACE/ace/Remote_Tokens.h index 3433ba72fe1..d38270357d9 100644 --- a/ACE/ace/Remote_Tokens.h +++ b/ACE/ace/Remote_Tokens.h @@ -178,7 +178,7 @@ public: void dump () const; /// Return deep copy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; protected: /// Make the correct type of ACE_Tokens. @@ -214,10 +214,10 @@ public: void dump () const; /// Returns ACE_RW_Token::RLOCK; - virtual int type (void) const; + virtual int type () const; /// Return deep copy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; protected: /// Make the correct type of ACE_Tokens. This is called by the Token @@ -252,10 +252,10 @@ public: void dump () const; /// Returns ACE_RW_Token::WLOCK; - virtual int type (void) const; + virtual int type () const; /// Return deep copy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; protected: /// Make the correct type of ACE_Tokens. This is called by the Token @@ -283,7 +283,7 @@ public: ACE_SOCK_Stream *get_connection (void); /// Factory Method that creates a new SOCK Stream. - virtual ACE_SOCK_Stream *make_TSS_TYPE (void) const; + virtual ACE_SOCK_Stream *make_TSS_TYPE () const; /// Inheritance and operator overloading don't mix. Redefine this /// from ACE_TSS so that we can use it. diff --git a/ACE/ace/SPIPE_Addr.h b/ACE/ace/SPIPE_Addr.h index d8ae394882b..455acd9acbb 100644 --- a/ACE/ace/SPIPE_Addr.h +++ b/ACE/ace/SPIPE_Addr.h @@ -71,7 +71,7 @@ public: // = SPIPE-specific address operations /// Pathname of rendezvous point in file system. - const ACE_TCHAR *get_path_name (void) const; + const ACE_TCHAR *get_path_name () const; /// Get user id. uid_t user_id () const; diff --git a/ACE/ace/SPIPE_Addr.inl b/ACE/ace/SPIPE_Addr.inl index e5ab7bc7fe3..be00866dc80 100644 --- a/ACE/ace/SPIPE_Addr.inl +++ b/ACE/ace/SPIPE_Addr.inl @@ -27,7 +27,7 @@ ACE_SPIPE_Addr::get_path_name () const } ACE_INLINE uid_t -ACE_SPIPE_Addr::user_id (void) const +ACE_SPIPE_Addr::user_id () const { return this->SPIPE_addr_.uid_; } diff --git a/ACE/ace/SSL/SSL_Asynch_Stream.h b/ACE/ace/SSL/SSL_Asynch_Stream.h index f6984515214..65a6d5d6b83 100644 --- a/ACE/ace/SSL/SSL_Asynch_Stream.h +++ b/ACE/ace/SSL/SSL_Asynch_Stream.h @@ -184,7 +184,7 @@ public: int close (void); /// Return a pointer to the underlying SSL structure. - SSL *ssl (void) const; + SSL *ssl () const; /** * Initializes the factory with information which will be used with @@ -277,7 +277,7 @@ public: protected: /// Virtual from ACE_Asynch_Operation. Since this class is essentially an /// implementation class, simply return 0. - virtual ACE_Asynch_Operation_Impl *implementation (void) const { return 0; } + virtual ACE_Asynch_Operation_Impl *implementation () const { return 0; } /// virtual from ACE_Handler diff --git a/ACE/ace/SSL/SSL_Asynch_Stream.inl b/ACE/ace/SSL/SSL_Asynch_Stream.inl index 969a37cd37b..81a33728103 100644 --- a/ACE/ace/SSL/SSL_Asynch_Stream.inl +++ b/ACE/ace/SSL/SSL_Asynch_Stream.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE SSL * -ACE_SSL_Asynch_Stream::ssl (void) const +ACE_SSL_Asynch_Stream::ssl () const { return this->ssl_; } diff --git a/ACE/ace/SSL/SSL_Context.h b/ACE/ace/SSL/SSL_Context.h index f0c9dfac81d..784820612a2 100644 --- a/ACE/ace/SSL/SSL_Context.h +++ b/ACE/ace/SSL/SSL_Context.h @@ -289,8 +289,8 @@ public: /// of files and paths etc. /// Query the location of trusted certification authority /// certificates. - // const char* ca_file_name(void) const; - // const char* ca_dir_name(void) const; + // const char* ca_file_name() const; + // const char* ca_dir_name() const; /** * Set and query the default verify mode for this context, it is diff --git a/ACE/ace/SSL/SSL_SOCK_Connector.inl b/ACE/ace/SSL/SSL_SOCK_Connector.inl index 0dd4bb62e36..83c99526b6f 100644 --- a/ACE/ace/SSL/SSL_SOCK_Connector.inl +++ b/ACE/ace/SSL/SSL_SOCK_Connector.inl @@ -16,7 +16,7 @@ ACE_SSL_SOCK_Connector::reset_new_handle (ACE_HANDLE handle) } ACE_INLINE void -ACE_SSL_SOCK_Connector::dump (void) const +ACE_SSL_SOCK_Connector::dump () const { ACE_TRACE ("ACE_SSL_SOCK_Connector::dump"); this->connector_.dump (); diff --git a/ACE/ace/SV_Message.h b/ACE/ace/SV_Message.h index 07a254fb821..a75ace4d2ac 100644 --- a/ACE/ace/SV_Message.h +++ b/ACE/ace/SV_Message.h @@ -37,7 +37,7 @@ public: ~ACE_SV_Message (void); /// Get the message type. - long type (void) const; + long type () const; /// Set the message type. void type (long); diff --git a/ACE/ace/SV_Message.inl b/ACE/ace/SV_Message.inl index ef4265ba689..bc8cc999d72 100644 --- a/ACE/ace/SV_Message.inl +++ b/ACE/ace/SV_Message.inl @@ -18,7 +18,7 @@ ACE_SV_Message::~ACE_SV_Message (void) } ACE_INLINE long -ACE_SV_Message::type (void) const +ACE_SV_Message::type () const { ACE_TRACE ("ACE_SV_Message::type"); return this->type_; diff --git a/ACE/ace/SV_Message_Queue.h b/ACE/ace/SV_Message_Queue.h index 3359ba7f379..8ded7d84362 100644 --- a/ACE/ace/SV_Message_Queue.h +++ b/ACE/ace/SV_Message_Queue.h @@ -75,7 +75,7 @@ public: int control (int option, void *arg = 0); /// Get the underly internal id. - int get_id (void) const; + int get_id () const; /// Set the underly internal id. void set_id (int); diff --git a/ACE/ace/SV_Message_Queue.inl b/ACE/ace/SV_Message_Queue.inl index f1355d51c61..045b20ccf40 100644 --- a/ACE/ace/SV_Message_Queue.inl +++ b/ACE/ace/SV_Message_Queue.inl @@ -41,7 +41,7 @@ ACE_SV_Message_Queue::remove (void) } ACE_INLINE int -ACE_SV_Message_Queue::get_id (void) const +ACE_SV_Message_Queue::get_id () const { ACE_TRACE ("ACE_SV_Message_Queue::get_id"); return this->internal_id_; diff --git a/ACE/ace/SV_Semaphore_Simple.h b/ACE/ace/SV_Semaphore_Simple.h index 71d178a9636..0b33c59bbd9 100644 --- a/ACE/ace/SV_Semaphore_Simple.h +++ b/ACE/ace/SV_Semaphore_Simple.h @@ -109,7 +109,7 @@ public: * regardless of whether other processes may be using it or not. * Most other processes should use close() below. */ - int remove (void) const; + int remove () const; // = Semaphore acquire and release methods. /** @@ -151,7 +151,7 @@ public: int control (int cmd, int value = 0, u_short n = 0) const; /// Get underlying internal id. - int get_id (void) const; + int get_id () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/SV_Semaphore_Simple.inl b/ACE/ace/SV_Semaphore_Simple.inl index b8d0b703734..73a9cae68c1 100644 --- a/ACE/ace/SV_Semaphore_Simple.inl +++ b/ACE/ace/SV_Semaphore_Simple.inl @@ -120,7 +120,7 @@ ACE_SV_Semaphore_Simple::release (u_short n, short flags) const } ACE_INLINE int -ACE_SV_Semaphore_Simple::get_id (void) const +ACE_SV_Semaphore_Simple::get_id () const { ACE_TRACE ("ACE_SV_Semaphore_Simple::get_id"); return this->internal_id_; diff --git a/ACE/ace/SV_Shared_Memory.h b/ACE/ace/SV_Shared_Memory.h index 16354e171b9..a6734bb075b 100644 --- a/ACE/ace/SV_Shared_Memory.h +++ b/ACE/ace/SV_Shared_Memory.h @@ -75,11 +75,11 @@ public: int control (int cmd, void *buf); // = Segment-related info. - void *get_segment_ptr (void) const; - size_t get_segment_size (void) const; + void *get_segment_ptr () const; + size_t get_segment_size () const; /// Return the ID of the shared memory segment (i.e., an ACE_HANDLE). - ACE_HANDLE get_id (void) const; + ACE_HANDLE get_id () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/SV_Shared_Memory.inl b/ACE/ace/SV_Shared_Memory.inl index 19235c3ffee..1d31912ebc1 100644 --- a/ACE/ace/SV_Shared_Memory.inl +++ b/ACE/ace/SV_Shared_Memory.inl @@ -69,7 +69,7 @@ ACE_SV_Shared_Memory::control (int cmd, void *buf) // The overall size of the segment. ACE_INLINE size_t -ACE_SV_Shared_Memory::get_segment_size (void) const +ACE_SV_Shared_Memory::get_segment_size () const { ACE_TRACE ("ACE_SV_Shared_Memory::get_segment_size"); return this->size_; @@ -99,14 +99,14 @@ ACE_SV_Shared_Memory::detach (void) } ACE_INLINE void * -ACE_SV_Shared_Memory::get_segment_ptr (void) const +ACE_SV_Shared_Memory::get_segment_ptr () const { ACE_TRACE ("ACE_SV_Shared_Memory::get_segment_ptr"); return this->segment_ptr_; } ACE_INLINE ACE_HANDLE -ACE_SV_Shared_Memory::get_id (void) const +ACE_SV_Shared_Memory::get_id () const { ACE_TRACE ("ACE_SV_Shared_Memory::get_id"); return this->internal_id_; diff --git a/ACE/ace/Sample_History.h b/ACE/ace/Sample_History.h index 9a6bcb19363..fea5384037e 100644 --- a/ACE/ace/Sample_History.h +++ b/ACE/ace/Sample_History.h @@ -55,10 +55,10 @@ public: int sample (ACE_UINT64 value); /// Returns the maximum number of samples - size_t max_samples (void) const; + size_t max_samples () const; /// Returns the current number of samples - size_t sample_count (void) const; + size_t sample_count () const; /// Dump all the samples /** diff --git a/ACE/ace/Sample_History.inl b/ACE/ace/Sample_History.inl index 305c861ff09..bcd4918a27a 100644 --- a/ACE/ace/Sample_History.inl +++ b/ACE/ace/Sample_History.inl @@ -21,13 +21,13 @@ ACE_Sample_History::get_sample (size_t i) const } ACE_INLINE size_t -ACE_Sample_History::max_samples (void) const +ACE_Sample_History::max_samples () const { return this->max_samples_; } ACE_INLINE size_t -ACE_Sample_History::sample_count (void) const +ACE_Sample_History::sample_count () const { return this->sample_count_; } diff --git a/ACE/ace/Sbrk_Memory_Pool.h b/ACE/ace/Sbrk_Memory_Pool.h index 5f4d54cf6da..ed7eaad69a0 100644 --- a/ACE/ace/Sbrk_Memory_Pool.h +++ b/ACE/ace/Sbrk_Memory_Pool.h @@ -97,7 +97,7 @@ public: /// Return the base address of this memory pool, 0 if base_addr /// never changes. - virtual void *base_addr (void) const; + virtual void *base_addr () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; diff --git a/ACE/ace/Select_Reactor.h b/ACE/ace/Select_Reactor.h index 1c59c82a312..25c0f793a09 100644 --- a/ACE/ace/Select_Reactor.h +++ b/ACE/ace/Select_Reactor.h @@ -53,7 +53,7 @@ public: int release (void) { return 0; } int locked (void) { return 1; } int remove (void) { return 0; } - void dump (void) const {} + void dump () const {} private: ACE_Guard (const ACE_Guard< ACE_Reactor_Token_T<ACE_Noop_Token> > &) = delete; diff --git a/ACE/ace/Select_Reactor_Base.h b/ACE/ace/Select_Reactor_Base.h index e9cd8fbe2da..f076a2bffeb 100644 --- a/ACE/ace/Select_Reactor_Base.h +++ b/ACE/ace/Select_Reactor_Base.h @@ -363,10 +363,10 @@ public: // = Accessors. /// Returns the current table size. - size_type size (void) const; + size_type size () const; /// Maximum ACE_HANDLE value, plus 1. - max_handlep1_type max_handlep1 (void) const; + max_handlep1_type max_handlep1 () const; /// Dump the state of an object. void dump () const; @@ -424,7 +424,7 @@ public: bool next (ACE_Event_Handler* & next_item); /// Returns @c true when all items have been seen, else @c false. - bool done (void) const; + bool done () const; /// Move forward by one element in the set. Returns @c false when /// all the items in the set have been seen, else @c true. diff --git a/ACE/ace/Select_Reactor_Base.inl b/ACE/ace/Select_Reactor_Base.inl index 37c7ce800ba..946ae27a14d 100644 --- a/ACE/ace/Select_Reactor_Base.inl +++ b/ACE/ace/Select_Reactor_Base.inl @@ -4,7 +4,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Select_Reactor_Handler_Repository::size_type -ACE_Select_Reactor_Handler_Repository::size (void) const +ACE_Select_Reactor_Handler_Repository::size () const { #ifdef ACE_SELECT_REACTOR_BASE_USES_HASH_MAP return this->event_handlers_.total_size (); @@ -14,7 +14,7 @@ ACE_Select_Reactor_Handler_Repository::size (void) const } ACE_INLINE ACE_Select_Reactor_Handler_Repository::max_handlep1_type -ACE_Select_Reactor_Handler_Repository::max_handlep1 (void) const +ACE_Select_Reactor_Handler_Repository::max_handlep1 () const { #ifdef ACE_SELECT_REACTOR_BASE_USES_HASH_MAP return this->event_handlers_.current_size (); @@ -70,7 +70,7 @@ ACE_Select_Reactor_Handler_Repository::find (ACE_HANDLE handle) // ------------------------------------------------------------------ ACE_INLINE bool -ACE_Select_Reactor_Handler_Repository_Iterator::done (void) const +ACE_Select_Reactor_Handler_Repository_Iterator::done () const { #ifdef ACE_SELECT_REACTOR_BASE_USES_HASH_MAP return this->current_ == this->rep_->event_handlers_.end (); diff --git a/ACE/ace/Select_Reactor_T.cpp b/ACE/ace/Select_Reactor_T.cpp index 420c421fb8f..9e6a83e7c1c 100644 --- a/ACE/ace/Select_Reactor_T.cpp +++ b/ACE/ace/Select_Reactor_T.cpp @@ -445,7 +445,7 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::set_sig_handler } template <class ACE_SELECT_REACTOR_TOKEN> ACE_Timer_Queue * -ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::timer_queue (void) const +ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::timer_queue () const { return this->timer_queue_; } @@ -1544,7 +1544,7 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::check_handles (void) } template <class ACE_SELECT_REACTOR_TOKEN> void -ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::dump (void) const +ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Select_Reactor_T::dump"); diff --git a/ACE/ace/Select_Reactor_T.h b/ACE/ace/Select_Reactor_T.h index c142459a6ed..dc0fc72a762 100644 --- a/ACE/ace/Select_Reactor_T.h +++ b/ACE/ace/Select_Reactor_T.h @@ -120,7 +120,7 @@ public: virtual int timer_queue (ACE_Timer_Queue *tq); /// Return the current ACE_Timer_Queue. - virtual ACE_Timer_Queue *timer_queue (void) const; + virtual ACE_Timer_Queue *timer_queue () const; /// Close down the select_reactor and release all of its resources. virtual int close (void); @@ -518,7 +518,7 @@ public: /// Returns the current size of the Reactor's internal descriptor /// table. - virtual size_t size (void) const; + virtual size_t size () const; /** * Returns a reference to the ACE_Reactor_Token that is diff --git a/ACE/ace/Select_Reactor_T.inl b/ACE/ace/Select_Reactor_T.inl index 7200933a448..c71bc0a7caa 100644 --- a/ACE/ace/Select_Reactor_T.inl +++ b/ACE/ace/Select_Reactor_T.inl @@ -223,7 +223,7 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::deactivate (int do_stop) } template <class ACE_SELECT_REACTOR_TOKEN> ACE_INLINE size_t -ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::size (void) const +ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::size () const { return this->handler_rep_.size (); } diff --git a/ACE/ace/Service_Manager.h b/ACE/ace/Service_Manager.h index eda5f3f0163..45c527484ba 100644 --- a/ACE/ace/Service_Manager.h +++ b/ACE/ace/Service_Manager.h @@ -86,7 +86,7 @@ protected: int open (const ACE_INET_Addr &sia); // = Demultiplexing hooks. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; virtual int handle_input (ACE_HANDLE fd); virtual int handle_close (ACE_HANDLE fd, ACE_Reactor_Mask); virtual int handle_signal (int signum, siginfo_t *, ucontext_t *); diff --git a/ACE/ace/Shared_Memory.h b/ACE/ace/Shared_Memory.h index be6970e31f0..f5d9b3cc3d0 100644 --- a/ACE/ace/Shared_Memory.h +++ b/ACE/ace/Shared_Memory.h @@ -45,8 +45,8 @@ public: virtual int remove (void) = 0; virtual void *malloc (size_t = 0) = 0; virtual int free (void *p) = 0; - virtual size_t get_segment_size (void) const = 0; - virtual ACE_HANDLE get_id (void) const = 0; + virtual size_t get_segment_size () const = 0; + virtual ACE_HANDLE get_id () const = 0; }; ACE_END_VERSIONED_NAMESPACE_DECL diff --git a/ACE/ace/Shared_Memory_MM.h b/ACE/ace/Shared_Memory_MM.h index 85c405dc6af..58bad1585b9 100644 --- a/ACE/ace/Shared_Memory_MM.h +++ b/ACE/ace/Shared_Memory_MM.h @@ -74,7 +74,7 @@ public: ACE_OFF_T pos = 0); /// Return the name of file that is mapped (if any). - const ACE_TCHAR *filename (void) const; + const ACE_TCHAR *filename () const; /// Close down the shared memory segment. virtual int close (void); @@ -91,10 +91,10 @@ public: virtual int free (void *p); /// Return the size of the shared memory segment. - virtual size_t get_segment_size (void) const; + virtual size_t get_segment_size () const; /// Return the ID of the shared memory segment (i.e., an ACE_HANDLE). - virtual ACE_HANDLE get_id (void) const; + virtual ACE_HANDLE get_id () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/Shared_Memory_MM.inl b/ACE/ace/Shared_Memory_MM.inl index 75762c1994d..caad381e9e8 100644 --- a/ACE/ace/Shared_Memory_MM.inl +++ b/ACE/ace/Shared_Memory_MM.inl @@ -4,7 +4,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // Return the name of file that is mapped (if any). ACE_INLINE const ACE_TCHAR * -ACE_Shared_Memory_MM::filename (void) const +ACE_Shared_Memory_MM::filename () const { return this->shared_memory_.filename (); } diff --git a/ACE/ace/Shared_Memory_Pool.h b/ACE/ace/Shared_Memory_Pool.h index 74125a74225..58c1210ad55 100644 --- a/ACE/ace/Shared_Memory_Pool.h +++ b/ACE/ace/Shared_Memory_Pool.h @@ -125,7 +125,7 @@ public: /// Return the base address of this memory pool, 0 if base_addr /// never changes. - virtual void *base_addr (void) const; + virtual void *base_addr () const; /// Dump the state of an object. virtual void dump () const; diff --git a/ACE/ace/Shared_Memory_SV.h b/ACE/ace/Shared_Memory_SV.h index 0523bf6b49c..1578e2a6997 100644 --- a/ACE/ace/Shared_Memory_SV.h +++ b/ACE/ace/Shared_Memory_SV.h @@ -70,11 +70,11 @@ public: virtual int free (void *p); /// Return the size of the shared memory segment. - virtual size_t get_segment_size (void) const; + virtual size_t get_segment_size () const; /// Return the ID of the shared memory segment (i.e., a System V /// shared memory internal id). - virtual ACE_HANDLE get_id (void) const; + virtual ACE_HANDLE get_id () const; /// Dump the state of an object. void dump () const; diff --git a/ACE/ace/Stats.inl b/ACE/ace/Stats.inl index 2e54c1228ef..f4b85dea15e 100644 --- a/ACE/ace/Stats.inl +++ b/ACE/ace/Stats.inl @@ -11,7 +11,7 @@ ACE_Stats_Value::ACE_Stats_Value (const u_int precision) ACE_INLINE u_int -ACE_Stats_Value::precision (void) const +ACE_Stats_Value::precision () const { return precision_; } @@ -25,7 +25,7 @@ ACE_Stats_Value::whole (const ACE_UINT32 value) ACE_INLINE ACE_UINT32 -ACE_Stats_Value::whole (void) const +ACE_Stats_Value::whole () const { return whole_; } @@ -39,7 +39,7 @@ ACE_Stats_Value::fractional (const ACE_UINT32 value) ACE_INLINE ACE_UINT32 -ACE_Stats_Value::fractional (void) const +ACE_Stats_Value::fractional () const { return fractional_; } @@ -53,7 +53,7 @@ ACE_Stats_Value::scaled_value (ACE_UINT64 &sv) const ACE_INLINE void -ACE_Stats_Value::dump (void) const +ACE_Stats_Value::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, @@ -70,28 +70,28 @@ ACE_Stats::ACE_Stats (void) ACE_INLINE ACE_UINT32 -ACE_Stats::samples (void) const +ACE_Stats::samples () const { return number_of_samples_; } ACE_INLINE ACE_INT32 -ACE_Stats::min_value (void) const +ACE_Stats::min_value () const { return min_; } ACE_INLINE ACE_INT32 -ACE_Stats::max_value (void) const +ACE_Stats::max_value () const { return max_; } ACE_INLINE void -ACE_Stats::dump (void) const +ACE_Stats::dump () const { #if defined (ACE_HAS_DUMP) print_summary (3u); diff --git a/ACE/ace/Stream.cpp b/ACE/ace/Stream.cpp index 8e240e6dcd7..31bb58aff0c 100644 --- a/ACE/ace/Stream.cpp +++ b/ACE/ace/Stream.cpp @@ -21,7 +21,7 @@ ACE_ALLOC_HOOK_DEFINE_Tyc(ACE_Stream) // Give some idea of what the heck is going on in a stream! template <ACE_SYNCH_DECL, class TIME_POLICY> void -ACE_Stream<ACE_SYNCH_USE, TIME_POLICY>::dump (void) const +ACE_Stream<ACE_SYNCH_USE, TIME_POLICY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE, TIME_POLICY>::dump"); diff --git a/ACE/ace/Stream.h b/ACE/ace/Stream.h index 5e994704d26..9d625c8c9ef 100644 --- a/ACE/ace/Stream.h +++ b/ACE/ace/Stream.h @@ -219,7 +219,7 @@ public: int next (const ACE_Module<ACE_SYNCH_USE, TIME_POLICY> *&next_item); /// Returns 1 when all items have been seen, else 0. - int done (void) const; + int done () const; /// Move forward by one element in the set. Returns 0 when all the /// items in the set have been seen, else 1. diff --git a/ACE/ace/Stream.inl b/ACE/ace/Stream.inl index ac9754924c3..325e1f01820 100644 --- a/ACE/ace/Stream.inl +++ b/ACE/ace/Stream.inl @@ -31,7 +31,7 @@ ACE_Stream_Iterator<ACE_SYNCH_USE, TIME_POLICY>::next (const ACE_Module<ACE_SYNC } template <ACE_SYNCH_DECL, class TIME_POLICY> ACE_INLINE int -ACE_Stream_Iterator<ACE_SYNCH_USE, TIME_POLICY>::done (void) const +ACE_Stream_Iterator<ACE_SYNCH_USE, TIME_POLICY>::done () const { ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE, TIME_POLICY>::done"); return this->next_ == 0; diff --git a/ACE/ace/TLI.cpp b/ACE/ace/TLI.cpp index 0e2548c014d..7766b7e4204 100644 --- a/ACE/ace/TLI.cpp +++ b/ACE/ace/TLI.cpp @@ -19,7 +19,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_TLI) void -ACE_TLI::dump (void) const +ACE_TLI::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TLI::dump"); diff --git a/ACE/ace/TLI.inl b/ACE/ace/TLI.inl index 2e339c6ead8..b113d3cef2d 100644 --- a/ACE/ace/TLI.inl +++ b/ACE/ace/TLI.inl @@ -5,7 +5,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE int -ACE_TLI::look (void) const +ACE_TLI::look () const { ACE_TRACE ("ACE_TLI::look"); return ACE_OS::t_look (this->get_handle ()); @@ -29,7 +29,7 @@ ACE_TLI::snddis (struct t_call *call) const ACE_INLINE int -ACE_TLI::rcvrel (void) const +ACE_TLI::rcvrel () const { ACE_TRACE ("ACE_TLI::rcvrel"); return ACE_OS::t_rcvrel (this->get_handle ()); @@ -37,7 +37,7 @@ ACE_TLI::rcvrel (void) const ACE_INLINE int -ACE_TLI::sndrel (void) const +ACE_TLI::sndrel () const { ACE_TRACE ("ACE_TLI::sndrel"); return ACE_OS::t_sndrel (this->get_handle ()); diff --git a/ACE/ace/TLI_Acceptor.cpp b/ACE/ace/TLI_Acceptor.cpp index bd81572e2e1..d46865728b6 100644 --- a/ACE/ace/TLI_Acceptor.cpp +++ b/ACE/ace/TLI_Acceptor.cpp @@ -54,7 +54,7 @@ private: ACE_ALLOC_HOOK_DEFINE(ACE_TLI_Request_Queue) void -ACE_TLI_Request_Queue::dump (void) const +ACE_TLI_Request_Queue::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TLI_Request_Queue::dump"); @@ -62,14 +62,14 @@ ACE_TLI_Request_Queue::dump (void) const } int -ACE_TLI_Request_Queue::is_empty (void) const +ACE_TLI_Request_Queue::is_empty () const { ACE_TRACE ("ACE_TLI_Request_Queue::is_empty"); return this->current_count_ == 0; } int -ACE_TLI_Request_Queue::is_full (void) const +ACE_TLI_Request_Queue::is_full () const { ACE_TRACE ("ACE_TLI_Request_Queue::is_full"); return this->current_count_ + 1 == this->size_; // Add 1 for the dummy. @@ -99,7 +99,7 @@ ACE_TLI_Request_Queue::alloc (void) ACE_ALLOC_HOOK_DEFINE(ACE_TLI_Acceptor) void -ACE_TLI_Acceptor::dump (void) const +ACE_TLI_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TLI_Acceptor::dump"); diff --git a/ACE/ace/TLI_Connector.cpp b/ACE/ace/TLI_Connector.cpp index ba4d6524d0c..60fb793a9bc 100644 --- a/ACE/ace/TLI_Connector.cpp +++ b/ACE/ace/TLI_Connector.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_TLI_Connector) void -ACE_TLI_Connector::dump (void) const +ACE_TLI_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TLI_Connector::dump"); diff --git a/ACE/ace/TLI_Stream.cpp b/ACE/ace/TLI_Stream.cpp index 3577169396a..34e5ab2ae80 100644 --- a/ACE/ace/TLI_Stream.cpp +++ b/ACE/ace/TLI_Stream.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_TLI_Stream) void -ACE_TLI_Stream::dump (void) const +ACE_TLI_Stream::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_TLI_Stream::dump"); diff --git a/ACE/ace/TLI_Stream.h b/ACE/ace/TLI_Stream.h index 0df08505322..c26823685c3 100644 --- a/ACE/ace/TLI_Stream.h +++ b/ACE/ace/TLI_Stream.h @@ -121,7 +121,7 @@ private: int rwflag_; /// Get rwflag - int get_rwflag (void) const; + int get_rwflag () const; /// Set rwflag void set_rwflag (int value); diff --git a/ACE/ace/TLI_Stream.inl b/ACE/ace/TLI_Stream.inl index 8f5608f0a1d..df7c5b07796 100644 --- a/ACE/ace/TLI_Stream.inl +++ b/ACE/ace/TLI_Stream.inl @@ -13,7 +13,7 @@ ACE_TLI_Stream::set_rwflag (int value) ACE_INLINE int -ACE_TLI_Stream::get_rwflag (void) const +ACE_TLI_Stream::get_rwflag () const { ACE_TRACE ("ACE_TLI_Stream::get_rwflag"); return this->rwflag_; diff --git a/ACE/ace/TP_Reactor.h b/ACE/ace/TP_Reactor.h index f8e59ccc0b7..17075f11837 100644 --- a/ACE/ace/TP_Reactor.h +++ b/ACE/ace/TP_Reactor.h @@ -54,7 +54,7 @@ public: ACE_Reactor_Mask mask, ACE_EH_PTMF callback); - bool dispatch (void) const; + bool dispatch () const; ACE_HANDLE handle_; ACE_Event_Handler *event_handler_; diff --git a/ACE/ace/TP_Reactor.inl b/ACE/ace/TP_Reactor.inl index f793fd23c6e..fc712b13c68 100644 --- a/ACE/ace/TP_Reactor.inl +++ b/ACE/ace/TP_Reactor.inl @@ -41,7 +41,7 @@ ACE_EH_Dispatch_Info::set (ACE_HANDLE handle, } ACE_INLINE bool -ACE_EH_Dispatch_Info::dispatch (void) const +ACE_EH_Dispatch_Info::dispatch () const { return this->dispatch_; } diff --git a/ACE/ace/TSS_T.h b/ACE/ace/TSS_T.h index 963c2a8b07f..efd7d43c6fc 100644 --- a/ACE/ace/TSS_T.h +++ b/ACE/ace/TSS_T.h @@ -196,7 +196,7 @@ protected: /// Obtains a plain value stored in the thread-specific storage. # if defined (ACE_HAS_THR_C_DEST) - ACE_TSS_Adapter *ts_value (void) const; + ACE_TSS_Adapter *ts_value () const; # else TYPE *ts_value () const; # endif /* ACE_HAS_THR_C_DEST */ diff --git a/ACE/ace/TSS_T.inl b/ACE/ace/TSS_T.inl index 9d97fc374a4..69fb08e28c9 100644 --- a/ACE/ace/TSS_T.inl +++ b/ACE/ace/TSS_T.inl @@ -19,7 +19,7 @@ ACE_TSS<TYPE>::ts_init (void) } template <class TYPE> ACE_INLINE TYPE * -ACE_TSS<TYPE>::ts_object (void) const +ACE_TSS<TYPE>::ts_object () const { return this->type_; } @@ -32,7 +32,7 @@ ACE_TSS<TYPE>::ts_object (TYPE *type) } template <class TYPE> ACE_INLINE TYPE * -ACE_TSS<TYPE>::ts_get (void) const +ACE_TSS<TYPE>::ts_get () const { return this->type_; } @@ -41,7 +41,7 @@ ACE_TSS<TYPE>::ts_get (void) const # if defined (ACE_HAS_THR_C_DEST) template <class TYPE> ACE_INLINE ACE_TSS_Adapter * -ACE_TSS<TYPE>::ts_value (void) const +ACE_TSS<TYPE>::ts_value () const { // Get the tss adapter from thread-specific storage void *temp = 0; diff --git a/ACE/ace/Task_Ex_T.cpp b/ACE/ace/Task_Ex_T.cpp index 801c433abe2..8f48df6775c 100644 --- a/ACE/ace/Task_Ex_T.cpp +++ b/ACE/ace/Task_Ex_T.cpp @@ -23,7 +23,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE_Tycc (ACE_Task_Ex) template <ACE_SYNCH_DECL, class ACE_MESSAGE_TYPE, class TIME_POLICY> void -ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::dump (void) const +ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::dump"); @@ -96,7 +96,7 @@ ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::sibling (void) } template<ACE_SYNCH_DECL, class ACE_MESSAGE_TYPE, class TIME_POLICY> const ACE_TCHAR * -ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::name (void) const +ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::name () const { ACE_TRACE ("ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::name"); if (this->mod_ == 0) @@ -106,7 +106,7 @@ ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::name (void) const } template<ACE_SYNCH_DECL, class ACE_MESSAGE_TYPE, class TIME_POLICY> ACE_Module<ACE_SYNCH_USE, TIME_POLICY> * -ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::module (void) const +ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::module () const { ACE_TRACE ("ACE_Task_Ex<ACE_SYNCH_USE, ACE_MESSAGE_TYPE, TIME_POLICY>::module"); return this->mod_; diff --git a/ACE/ace/Task_Ex_T.h b/ACE/ace/Task_Ex_T.h index 20fdf2222d0..905090dee5c 100644 --- a/ACE/ace/Task_Ex_T.h +++ b/ACE/ace/Task_Ex_T.h @@ -127,7 +127,7 @@ public: // Should be protected: // = ACE_Task utility routines to identify names et al. /// Return the name of the enclosing Module if there's one associated /// with the Task, else returns 0. - const ACE_TCHAR *name (void) const; + const ACE_TCHAR *name () const; // = Pointers to next ACE_Task_Base (if ACE is part of an ACE_Stream). /// Get next Task pointer. @@ -140,7 +140,7 @@ public: // Should be protected: ACE_Task<ACE_SYNCH_USE, TIME_POLICY> *sibling (void); /// Return the Task's Module if there is one, else returns 0. - ACE_Module<ACE_SYNCH_USE, TIME_POLICY> *module (void) const; + ACE_Module<ACE_SYNCH_USE, TIME_POLICY> *module () const; /** * Flush the task's queue, i.e., free all of the enqueued diff --git a/ACE/ace/Timer_Hash_T.cpp b/ACE/ace/Timer_Hash_T.cpp index c3c2e050368..b04a034c977 100644 --- a/ACE/ace/Timer_Hash_T.cpp +++ b/ACE/ace/Timer_Hash_T.cpp @@ -245,7 +245,7 @@ ACE_Timer_Hash_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::next (v // Returns true when we are at the end (when bucket_item_ == 0) template <class TYPE, class FUNCTOR, class ACE_LOCK, class BUCKET, typename TIME_POLICY> bool -ACE_Timer_Hash_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::isdone (void) const +ACE_Timer_Hash_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::isdone () const { return this->iter_ == 0; } @@ -387,7 +387,7 @@ ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::close (void) // Checks if queue is empty. template <class TYPE, class FUNCTOR, class ACE_LOCK, class BUCKET, typename TIME_POLICY> bool -ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::is_empty (void) const +ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::is_empty () const { ACE_TRACE ("ACE_Timer_Hash_T::is_empty"); return this->table_[this->earliest_position_]->is_empty (); @@ -397,14 +397,14 @@ ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::is_empty (void) template <class TYPE, class FUNCTOR, class ACE_LOCK, class BUCKET, typename TIME_POLICY> const ACE_Time_Value & -ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::earliest_time (void) const +ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::earliest_time () const { ACE_TRACE ("ACE_Timer_Hash_T::earliest_time"); return this->table_[this->earliest_position_]->earliest_time (); } template <class TYPE, class FUNCTOR, class ACE_LOCK, class BUCKET, typename TIME_POLICY> void -ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::dump (void) const +ACE_Timer_Hash_T<TYPE, FUNCTOR, ACE_LOCK, BUCKET, TIME_POLICY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Timer_Hash_T::dump"); diff --git a/ACE/ace/Timer_List_T.cpp b/ACE/ace/Timer_List_T.cpp index aa6c795c14a..5a9c27d8152 100644 --- a/ACE/ace/Timer_List_T.cpp +++ b/ACE/ace/Timer_List_T.cpp @@ -48,7 +48,7 @@ ACE_Timer_List_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::next (void) // Returns true when we are at <head_> template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> bool -ACE_Timer_List_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::isdone (void) const +ACE_Timer_List_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::isdone () const { return this->current_node_ == 0; } @@ -97,7 +97,7 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::ACE_Timer_List_T (FUNCTO // Checks if list is empty. template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> bool -ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::is_empty (void) const +ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::is_empty () const { ACE_TRACE ("ACE_Timer_List_T::is_empty"); return this->get_first_i() == 0; @@ -107,7 +107,7 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::is_empty (void) const // Returns earliest time in a non-empty list. template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> const ACE_Time_Value & -ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::earliest_time (void) const +ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::earliest_time () const { ACE_TRACE ("ACE_Timer_List_T::earliest_time"); ACE_Timer_Node_T<TYPE>* first = this->get_first_i(); @@ -164,7 +164,7 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::close (void) } template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> void -ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::dump (void) const +ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Timer_List_T::dump"); @@ -404,7 +404,7 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::get_first (void) } template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> ACE_Timer_Node_T<TYPE> * -ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::get_first_i (void) const +ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::get_first_i () const { ACE_TRACE ("ACE_Timer_List_T::get_first_i"); ACE_Timer_Node_T<TYPE>* first = this->head_->get_next(); diff --git a/ACE/ace/Timer_List_T.h b/ACE/ace/Timer_List_T.h index 1e7ed649c6d..ecac32eeafa 100644 --- a/ACE/ace/Timer_List_T.h +++ b/ACE/ace/Timer_List_T.h @@ -49,7 +49,7 @@ public: virtual void next (void); /// Returns true when there are no more nodes in the sequence - virtual bool isdone (void) const; + virtual bool isdone () const; /// Returns the node at the current position in the sequence virtual ACE_Timer_Node_T<TYPE> *item (void); @@ -107,11 +107,11 @@ public: virtual ~ACE_Timer_List_T (void); /// True if queue is empty, else false. - virtual bool is_empty (void) const; + virtual bool is_empty () const; /// Returns the time of the earlier node in the ACE_Timer_List. /// Must be called on a non-empty queue. - virtual const ACE_Time_Value& earliest_time (void) const; + virtual const ACE_Time_Value& earliest_time () const; /** * Resets the interval of the timer represented by @a timer_id to @@ -194,7 +194,7 @@ private: void unlink (ACE_Timer_Node_T<TYPE>* n); - ACE_Timer_Node_T<TYPE>* get_first_i(void) const; + ACE_Timer_Node_T<TYPE>* get_first_i() const; private: /// Pointer to linked list of <ACE_Timer_Handles>. diff --git a/ACE/ace/Timer_Queue_Adapters.h b/ACE/ace/Timer_Queue_Adapters.h index 56351b7172b..90104b4a27d 100644 --- a/ACE/ace/Timer_Queue_Adapters.h +++ b/ACE/ace/Timer_Queue_Adapters.h @@ -164,10 +164,10 @@ public: int timer_queue (TQ *tq); /// Return the current <TQ>. - TQ *timer_queue (void) const; + TQ *timer_queue () const; /// Return the thread id of our active object. - ACE_thread_t thr_id (void) const; + ACE_thread_t thr_id () const; /** * We override the default activate() method so that we can ensure diff --git a/ACE/ace/Timer_Queue_Adapters.inl b/ACE/ace/Timer_Queue_Adapters.inl index ad5129f73fd..e9a0c161342 100644 --- a/ACE/ace/Timer_Queue_Adapters.inl +++ b/ACE/ace/Timer_Queue_Adapters.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL template<class TQ, class TYPE> ACE_INLINE TQ * -ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue (void) const +ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue () const { return this->timer_queue_; } @@ -20,7 +20,7 @@ ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue (TQ *tq) } template<class TQ, class TYPE> ACE_INLINE ACE_thread_t -ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::thr_id (void) const +ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::thr_id () const { return this->thr_id_; } diff --git a/ACE/ace/Timer_Wheel_T.cpp b/ACE/ace/Timer_Wheel_T.cpp index 5c55346187c..5347b6570fd 100644 --- a/ACE/ace/Timer_Wheel_T.cpp +++ b/ACE/ace/Timer_Wheel_T.cpp @@ -262,7 +262,7 @@ ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::find_node (long timer_i * @return True if empty */ template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> bool -ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::is_empty (void) const +ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::is_empty () const { ACE_TRACE ("ACE_Timer_Wheel_T::is_empty"); return timer_count_ == 0; @@ -273,7 +273,7 @@ ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::is_empty (void) const * @return First (earliest) node in the wheel_'s earliest_spoke_ list */ template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> const ACE_Time_Value & -ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::earliest_time (void) const +ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::earliest_time () const { ACE_TRACE ("ACE_Timer_Wheel_T::earliest_time"); ACE_Timer_Node_T<TYPE>* n = this->get_first_i (); @@ -672,7 +672,7 @@ ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::recalc_earliest * of the wheel. */ template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> void -ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::dump (void) const +ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Timer_Wheel_T::dump"); @@ -753,7 +753,7 @@ ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::get_first (void) template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> ACE_Timer_Node_T<TYPE>* -ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::get_first_i (void) const +ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::get_first_i () const { ACE_Timer_Node_T<TYPE>* root = this->spokes_[this->earliest_spoke_]; ACE_Timer_Node_T<TYPE>* first = root->get_next (); @@ -922,7 +922,7 @@ ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::goto_next (u_i * @return True when we there aren't any more items (when current_node_ == 0) */ template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> bool -ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::isdone (void) const +ACE_Timer_Wheel_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::isdone () const { return this->current_node_ == 0; } diff --git a/ACE/ace/Timer_Wheel_T.h b/ACE/ace/Timer_Wheel_T.h index f02649e7ff7..ccedf514bb6 100644 --- a/ACE/ace/Timer_Wheel_T.h +++ b/ACE/ace/Timer_Wheel_T.h @@ -177,7 +177,7 @@ protected: private: // The following are documented in the .cpp file. - ACE_Timer_Node_T<TYPE>* get_first_i (void) const; + ACE_Timer_Node_T<TYPE>* get_first_i () const; ACE_Timer_Node_T<TYPE>* remove_first_expired (const ACE_Time_Value& now); void open_i (size_t prealloc, u_int spokes, u_int res); virtual void reschedule (ACE_Timer_Node_T<TYPE> *); diff --git a/ACE/ace/Token.inl b/ACE/ace/Token.inl index 5d42c427bdf..ed7a6883dce 100644 --- a/ACE/ace/Token.inl +++ b/ACE/ace/Token.inl @@ -165,7 +165,7 @@ ACE_Noop_Token::renew (int, ACE_Time_Value *) } ACE_INLINE void -ACE_Noop_Token::dump (void) const +ACE_Noop_Token::dump () const { } diff --git a/ACE/ace/Token_Collection.cpp b/ACE/ace/Token_Collection.cpp index c67950243ad..031c8ab66ef 100644 --- a/ACE/ace/Token_Collection.cpp +++ b/ACE/ace/Token_Collection.cpp @@ -254,7 +254,7 @@ ACE_Token_Collection::~ACE_Token_Collection (void) // This method doesn't mean anything for a collection. ACE_Token_Proxy * -ACE_Token_Collection::clone (void) const +ACE_Token_Collection::clone () const { ACE_TRACE ("ACE_Token_Collection::clone"); return (ACE_Token_Proxy *) 0; @@ -269,7 +269,7 @@ ACE_Token_Collection::create_token (const ACE_TCHAR *) } void -ACE_Token_Collection::dump (void) const +ACE_Token_Collection::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Token_Collection::dump"); diff --git a/ACE/ace/Token_Collection.h b/ACE/ace/Token_Collection.h index 401cb4b23e8..3323aad0031 100644 --- a/ACE/ace/Token_Collection.h +++ b/ACE/ace/Token_Collection.h @@ -190,7 +190,7 @@ public: /// Return the name of the collection. Not very functionally /// important, but sometimes a useful debugging tool. - virtual const ACE_TCHAR *name (void) const; + virtual const ACE_TCHAR *name () const; protected: @@ -211,7 +211,7 @@ protected: // = I'm not sure what these mean, but they have to be defined since they're // pure virtual in ACE_Token_Proxy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; virtual ACE_Tokens *create_token (const ACE_TCHAR *name); }; diff --git a/ACE/ace/Token_Collection.inl b/ACE/ace/Token_Collection.inl index 1104b1f6030..d103925e489 100644 --- a/ACE/ace/Token_Collection.inl +++ b/ACE/ace/Token_Collection.inl @@ -4,7 +4,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE const ACE_TCHAR * -ACE_Token_Collection::name (void) const +ACE_Token_Collection::name () const { return name_; } diff --git a/ACE/ace/Token_Invariants.cpp b/ACE/ace/Token_Invariants.cpp index e8a6d03684d..9d2f1a48c91 100644 --- a/ACE/ace/Token_Invariants.cpp +++ b/ACE/ace/Token_Invariants.cpp @@ -134,7 +134,7 @@ ACE_Token_Invariant_Manager::rwlock_releasing (const ACE_TCHAR *token_name) } void -ACE_Token_Invariant_Manager::dump (void) const +ACE_Token_Invariant_Manager::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Token_Invariant_Manager::dump"); @@ -245,7 +245,7 @@ ACE_Mutex_Invariants::releasing () } void -ACE_Mutex_Invariants::dump (void) const +ACE_Mutex_Invariants::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Mutex_Invariants::dump"); @@ -299,7 +299,7 @@ ACE_RWLock_Invariants::releasing (void) } void -ACE_RWLock_Invariants::dump (void) const +ACE_RWLock_Invariants::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_RWLock_Invariants::dump"); diff --git a/ACE/ace/Token_Manager.cpp b/ACE/ace/Token_Manager.cpp index 0c983f9ff98..32ec131f4ff 100644 --- a/ACE/ace/Token_Manager.cpp +++ b/ACE/ace/Token_Manager.cpp @@ -251,7 +251,7 @@ ACE_Token_Manager::release_token (ACE_Tokens *&token) } void -ACE_Token_Manager::dump (void) const +ACE_Token_Manager::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Token_Manager::dump"); diff --git a/ACE/ace/Token_Request_Reply.cpp b/ACE/ace/Token_Request_Reply.cpp index 8737e7576bb..bdbaddedc72 100644 --- a/ACE/ace/Token_Request_Reply.cpp +++ b/ACE/ace/Token_Request_Reply.cpp @@ -86,7 +86,7 @@ ACE_Token_Request::decode (void) // Print out the current values of the ACE_Token_Request. void -ACE_Token_Request::dump (void) const +ACE_Token_Request::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); @@ -167,7 +167,7 @@ ACE_Token_Reply::decode (void) // Print out current values of the ACE_Token_Reply object. void -ACE_Token_Reply::dump (void) const +ACE_Token_Reply::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("*******\nlength = %d\nerrnum = %d"), diff --git a/ACE/ace/Token_Request_Reply.inl b/ACE/ace/Token_Request_Reply.inl index df58781c5f2..1072febd3a9 100644 --- a/ACE/ace/Token_Request_Reply.inl +++ b/ACE/ace/Token_Request_Reply.inl @@ -8,7 +8,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // = Set/get the length of the encoded/decoded message. ACE_INLINE ACE_UINT32 -ACE_Token_Request::length (void) const +ACE_Token_Request::length () const { return ntohl (this->transfer_.length_); } @@ -21,7 +21,7 @@ ACE_Token_Request::length (ACE_UINT32 l) // = Set/get the type of the message. ACE_INLINE int -ACE_Token_Request::token_type (void) const +ACE_Token_Request::token_type () const { return (int) ntohl (this->transfer_.token_type_); } @@ -34,7 +34,7 @@ ACE_Token_Request::token_type (int t) // = Set/get the type of the message. ACE_INLINE int -ACE_Token_Request::proxy_type (void) const +ACE_Token_Request::proxy_type () const { return (int) ntohl (this->transfer_.proxy_type_); } @@ -47,7 +47,7 @@ ACE_Token_Request::proxy_type (int t) // = Set/get the type of the message. ACE_INLINE ACE_UINT32 -ACE_Token_Request::operation_type (void) const +ACE_Token_Request::operation_type () const { return ntohl (this->transfer_.operation_type_); } @@ -60,7 +60,7 @@ ACE_Token_Request::operation_type (ACE_UINT32 t) // = Set/get the requeue position ACE_INLINE ACE_UINT32 -ACE_Token_Request::requeue_position (void) const +ACE_Token_Request::requeue_position () const { return ntohl (this->transfer_.requeue_position_); } @@ -73,7 +73,7 @@ ACE_Token_Request::requeue_position (ACE_UINT32 rq) // = Set/get the requeue position ACE_INLINE ACE_UINT32 -ACE_Token_Request::notify (void) const +ACE_Token_Request::notify () const { return ntohl (this->transfer_.notify_); } @@ -86,7 +86,7 @@ ACE_Token_Request::notify (ACE_UINT32 rq) // = Set/get the blocking semantics. ACE_INLINE ACE_Synch_Options & -ACE_Token_Request::options (void) const +ACE_Token_Request::options () const { return (ACE_Synch_Options &) options_; } @@ -115,7 +115,7 @@ ACE_Token_Request::options (const ACE_Synch_Options &opt) // = Set/get the name of the token. ACE_INLINE ACE_TCHAR * -ACE_Token_Request::token_name (void) const +ACE_Token_Request::token_name () const { return token_name_; } @@ -149,7 +149,7 @@ ACE_Token_Request::token_name (const ACE_TCHAR *token_name, // = Set/get the id of the client. ACE_INLINE ACE_TCHAR * -ACE_Token_Request::client_id (void) const +ACE_Token_Request::client_id () const { return this->client_id_; } @@ -160,7 +160,7 @@ ACE_Token_Request::client_id (void) const // = Set/get the length of the encoded/decoded message. ACE_INLINE ACE_UINT32 -ACE_Token_Reply::length (void) const +ACE_Token_Reply::length () const { return ntohl (this->transfer_.length_); } @@ -173,7 +173,7 @@ ACE_Token_Reply::length (ACE_UINT32 l) // = Set/get the errno of a failed reply. ACE_INLINE ACE_UINT32 -ACE_Token_Reply::errnum (void) const +ACE_Token_Reply::errnum () const { return ntohl (this->transfer_.errno_); } @@ -186,7 +186,7 @@ ACE_Token_Reply::errnum (ACE_UINT32 e) // = Set/get the length of the encoded/decoded message. ACE_INLINE ACE_UINT32 -ACE_Token_Reply::arg (void) const +ACE_Token_Reply::arg () const { return ntohl (this->transfer_.arg_); } diff --git a/ACE/ace/Typed_SV_Message.cpp b/ACE/ace/Typed_SV_Message.cpp index 842d70ac2ac..98ec28aee6c 100644 --- a/ACE/ace/Typed_SV_Message.cpp +++ b/ACE/ace/Typed_SV_Message.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Typed_SV_Message) template <class T> void -ACE_Typed_SV_Message<T>::dump (void) const +ACE_Typed_SV_Message<T>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Typed_SV_Message<T>::dump"); diff --git a/ACE/ace/Typed_SV_Message.h b/ACE/ace/Typed_SV_Message.h index bbff937f2d2..503f1ceefb0 100644 --- a/ACE/ace/Typed_SV_Message.h +++ b/ACE/ace/Typed_SV_Message.h @@ -42,19 +42,19 @@ public: ~ACE_Typed_SV_Message (void); /// Get the type of the message. - long type (void) const; + long type () const; /// Set the type of the message. void type (long type); /// Get the length of the message. - int length (void) const; + int length () const; /// Set the length of the message. void length (int l); /// Get the maximum size of the message. - int max_size (void) const; + int max_size () const; /// Set the maximum size of the message. void max_size (int m); diff --git a/ACE/ace/Typed_SV_Message.inl b/ACE/ace/Typed_SV_Message.inl index 2e3c12939c3..e9eef31b737 100644 --- a/ACE/ace/Typed_SV_Message.inl +++ b/ACE/ace/Typed_SV_Message.inl @@ -35,7 +35,7 @@ ACE_Typed_SV_Message<T>::~ACE_Typed_SV_Message (void) } template <class T> ACE_INLINE long -ACE_Typed_SV_Message<T>::type (void) const +ACE_Typed_SV_Message<T>::type () const { ACE_TRACE ("ACE_Typed_SV_Message<T>::type"); return this->type_; @@ -49,7 +49,7 @@ ACE_Typed_SV_Message<T>::type (long t) } template <class T> ACE_INLINE int -ACE_Typed_SV_Message<T>::length (void) const +ACE_Typed_SV_Message<T>::length () const { ACE_TRACE ("ACE_Typed_SV_Message<T>::length"); return this->length_; @@ -63,7 +63,7 @@ ACE_Typed_SV_Message<T>::length (int len) } template <class T> ACE_INLINE int -ACE_Typed_SV_Message<T>::max_size (void) const +ACE_Typed_SV_Message<T>::max_size () const { ACE_TRACE ("ACE_Typed_SV_Message<T>::max_size"); return this->max_; diff --git a/ACE/ace/Typed_SV_Message_Queue.cpp b/ACE/ace/Typed_SV_Message_Queue.cpp index 3fe864f14d5..09c213dfd72 100644 --- a/ACE/ace/Typed_SV_Message_Queue.cpp +++ b/ACE/ace/Typed_SV_Message_Queue.cpp @@ -19,7 +19,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Typed_SV_Message_Queue) template <class T> void -ACE_Typed_SV_Message_Queue<T>::dump (void) const +ACE_Typed_SV_Message_Queue<T>::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Typed_SV_Message_Queue<T>::dump"); diff --git a/ACE/ace/Typed_SV_Message_Queue.h b/ACE/ace/Typed_SV_Message_Queue.h index 18c01cb5c6b..3fdb92bd7ef 100644 --- a/ACE/ace/Typed_SV_Message_Queue.h +++ b/ACE/ace/Typed_SV_Message_Queue.h @@ -56,7 +56,7 @@ public: int recv (ACE_Typed_SV_Message<T> &mb, int mflags = 0); /// Return the id of the underlying ACE_SV_Message_Queue. - int get_id (void) const; + int get_id () const; /// Control the underlying message queue. int control (int option, void *arg = 0); diff --git a/ACE/ace/Typed_SV_Message_Queue.inl b/ACE/ace/Typed_SV_Message_Queue.inl index 915bd371713..0814ecf64db 100644 --- a/ACE/ace/Typed_SV_Message_Queue.inl +++ b/ACE/ace/Typed_SV_Message_Queue.inl @@ -69,7 +69,7 @@ ACE_Typed_SV_Message_Queue<T>::control (int option, } template <class T> ACE_INLINE int -ACE_Typed_SV_Message_Queue<T>::get_id (void) const +ACE_Typed_SV_Message_Queue<T>::get_id () const { return this->message_queue_.get_id (); } diff --git a/ACE/ace/UNIX_Addr.inl b/ACE/ace/UNIX_Addr.inl index f19ef68a52b..125ead75e32 100644 --- a/ACE/ace/UNIX_Addr.inl +++ b/ACE/ace/UNIX_Addr.inl @@ -44,7 +44,7 @@ ACE_UNIX_Addr::operator != (const ACE_UNIX_Addr &sap) const // Return the path name used for the rendezvous point. ACE_INLINE const char * -ACE_UNIX_Addr::get_path_name (void) const +ACE_UNIX_Addr::get_path_name () const { return this->unix_addr_.sun_path; } diff --git a/ACE/ace/UPIPE_Stream.h b/ACE/ace/UPIPE_Stream.h index ca377e3e407..44c9f2df1dc 100644 --- a/ACE/ace/UPIPE_Stream.h +++ b/ACE/ace/UPIPE_Stream.h @@ -49,7 +49,7 @@ public: int close (void); /// Return the underlying I/O handle. - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; // = Send/recv ACE Message_Blocks. /// Send a message through the message queue. Returns -1 on error, diff --git a/ACE/ace/UPIPE_Stream.inl b/ACE/ace/UPIPE_Stream.inl index acc4a4ed789..df11fbc576e 100644 --- a/ACE/ace/UPIPE_Stream.inl +++ b/ACE/ace/UPIPE_Stream.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_HANDLE -ACE_UPIPE_Stream::get_handle (void) const +ACE_UPIPE_Stream::get_handle () const { ACE_TRACE ("ACE_UPIPE_Stream::get_handle"); return this->ACE_SPIPE::get_handle (); diff --git a/ACE/ace/WFMO_Reactor.cpp b/ACE/ace/WFMO_Reactor.cpp index a835962f7ae..1ce14798b6a 100644 --- a/ACE/ace/WFMO_Reactor.cpp +++ b/ACE/ace/WFMO_Reactor.cpp @@ -980,7 +980,7 @@ ACE_WFMO_Reactor_Handler_Repository::make_changes_in_to_be_added_infos (void) } void -ACE_WFMO_Reactor_Handler_Repository::dump (void) const +ACE_WFMO_Reactor_Handler_Repository::dump () const { #if defined (ACE_HAS_DUMP) size_t i = 0; @@ -1273,7 +1273,7 @@ ACE_WFMO_Reactor::set_sig_handler (ACE_Sig_Handler *signal_handler) } ACE_Timer_Queue * -ACE_WFMO_Reactor::timer_queue (void) const +ACE_WFMO_Reactor::timer_queue () const { return this->timer_queue_; } @@ -2332,7 +2332,7 @@ ACE_WFMO_Reactor::update_state (void) } void -ACE_WFMO_Reactor::dump (void) const +ACE_WFMO_Reactor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_WFMO_Reactor::dump"); @@ -2412,7 +2412,7 @@ ACE_WFMO_Reactor_Notify::open (ACE_Reactor_Impl *wfmo_reactor, } ACE_HANDLE -ACE_WFMO_Reactor_Notify::get_handle (void) const +ACE_WFMO_Reactor_Notify::get_handle () const { return this->wakeup_one_thread_.handle (); } @@ -2683,7 +2683,7 @@ ACE_WFMO_Reactor_Notify::purge_pending_notifications (ACE_Event_Handler *eh, } void -ACE_WFMO_Reactor_Notify::dump (void) const +ACE_WFMO_Reactor_Notify::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_WFMO_Reactor_Notify::dump"); diff --git a/ACE/ace/WFMO_Reactor.h b/ACE/ace/WFMO_Reactor.h index 0c1d5dab885..92eed922bb9 100644 --- a/ACE/ace/WFMO_Reactor.h +++ b/ACE/ace/WFMO_Reactor.h @@ -335,15 +335,15 @@ public: // = Accessors. /// Maximum ACE_HANDLE value, plus 1. - DWORD max_handlep1 (void) const; + DWORD max_handlep1 () const; /// Pointer to the beginning of the current array of ACE_HANDLE /// *'s. - ACE_HANDLE *handles (void) const; + ACE_HANDLE *handles () const; /// Pointer to the beginning of the current array of /// ACE_Event_Handler *'s. - Current_Info *current_info (void) const; + Current_Info *current_info () const; /// Check if changes to the handle set are required. virtual bool changes_required (void); @@ -519,7 +519,7 @@ public: ACE_Handle_Set &rd_mask); /// Returns a handle to the ACE_Auto_Event. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; /// Returns the ACE_HANDLE of the notify pipe on which the reactor /// is listening for notifications so that other threads can unblock @@ -704,7 +704,7 @@ public: virtual int timer_queue (ACE_Timer_Queue *tq); /// Return the current ACE_Timer_Queue. - virtual ACE_Timer_Queue *timer_queue (void) const; + virtual ACE_Timer_Queue *timer_queue () const; /// Close down the ACE_WFMO_Reactor and release all of its resources. virtual int close (void); @@ -1100,7 +1100,7 @@ public: /// Returns the current size of the WFMO_Reactor's internal /// descriptor table. - virtual size_t size (void) const; + virtual size_t size () const; /// Returns a reference to the WFMO_Reactor's internal lock. virtual ACE_Lock &lock (void); diff --git a/ACE/ace/WFMO_Reactor.inl b/ACE/ace/WFMO_Reactor.inl index 19c7da594d6..0cd239a2bbf 100644 --- a/ACE/ace/WFMO_Reactor.inl +++ b/ACE/ace/WFMO_Reactor.inl @@ -73,7 +73,7 @@ ACE_WFMO_Reactor_Handler_Repository::Common_Info::set (Common_Info &common_info) } ACE_INLINE void -ACE_WFMO_Reactor_Handler_Repository::Common_Info::dump (void) const +ACE_WFMO_Reactor_Handler_Repository::Common_Info::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::Common_Info::dump"); @@ -229,7 +229,7 @@ ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::reset (void) } ACE_INLINE void -ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::dump (void) const +ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::To_Be_Added_Info::dump"); @@ -300,7 +300,7 @@ ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::set (ACE_HANDLE event_handl } ACE_INLINE void -ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::dump (void) const +ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_WFMO_Reactor_Handler_Repository::Suspended_Info::dump"); @@ -333,7 +333,7 @@ ACE_WFMO_Reactor_Handler_Repository::close (void) } ACE_INLINE ACE_HANDLE * -ACE_WFMO_Reactor_Handler_Repository::handles (void) const +ACE_WFMO_Reactor_Handler_Repository::handles () const { // This code is probably too subtle to be useful in the long run... // The basic idea is that all threads wait on all user handles plus @@ -348,7 +348,7 @@ ACE_WFMO_Reactor_Handler_Repository::handles (void) const } ACE_INLINE ACE_WFMO_Reactor_Handler_Repository::Current_Info * -ACE_WFMO_Reactor_Handler_Repository::current_info (void) const +ACE_WFMO_Reactor_Handler_Repository::current_info () const { if (ACE_Thread::self () == this->wfmo_reactor_.owner_i ()) return this->current_info_; @@ -357,7 +357,7 @@ ACE_WFMO_Reactor_Handler_Repository::current_info (void) const } ACE_INLINE DWORD -ACE_WFMO_Reactor_Handler_Repository::max_handlep1 (void) const +ACE_WFMO_Reactor_Handler_Repository::max_handlep1 () const { if (ACE_Thread::self () == this->wfmo_reactor_.owner_i ()) return this->max_handlep1_; @@ -1171,7 +1171,7 @@ ACE_WFMO_Reactor::lock (void) } ACE_INLINE size_t -ACE_WFMO_Reactor::size (void) const +ACE_WFMO_Reactor::size () const { // Size of repository minus the 2 used for internal purposes return this->handler_rep_.max_size_ - 2; diff --git a/ACE/ace/WIN32_Asynch_IO.cpp b/ACE/ace/WIN32_Asynch_IO.cpp index 710db21683c..9866721da19 100644 --- a/ACE/ace/WIN32_Asynch_IO.cpp +++ b/ACE/ace/WIN32_Asynch_IO.cpp @@ -17,61 +17,61 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL size_t -ACE_WIN32_Asynch_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Result::bytes_transferred () const { return this->bytes_transferred_; } const void * -ACE_WIN32_Asynch_Result::act (void) const +ACE_WIN32_Asynch_Result::act () const { return this->act_; } int -ACE_WIN32_Asynch_Result::success (void) const +ACE_WIN32_Asynch_Result::success () const { return this->success_; } const void * -ACE_WIN32_Asynch_Result::completion_key (void) const +ACE_WIN32_Asynch_Result::completion_key () const { return this->completion_key_; } u_long -ACE_WIN32_Asynch_Result::error (void) const +ACE_WIN32_Asynch_Result::error () const { return this->error_; } ACE_HANDLE -ACE_WIN32_Asynch_Result::event (void) const +ACE_WIN32_Asynch_Result::event () const { return this->hEvent; } u_long -ACE_WIN32_Asynch_Result::offset (void) const +ACE_WIN32_Asynch_Result::offset () const { return this->Offset; } u_long -ACE_WIN32_Asynch_Result::offset_high (void) const +ACE_WIN32_Asynch_Result::offset_high () const { return this->OffsetHigh; } int -ACE_WIN32_Asynch_Result::priority (void) const +ACE_WIN32_Asynch_Result::priority () const { ACE_NOTSUP_RETURN (0); } int -ACE_WIN32_Asynch_Result::signal_number (void) const +ACE_WIN32_Asynch_Result::signal_number () const { ACE_NOTSUP_RETURN (0); } @@ -190,7 +190,7 @@ ACE_WIN32_Asynch_Operation::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Operation::proactor (void) const +ACE_WIN32_Asynch_Operation::proactor () const { return this->proactor_; } @@ -210,19 +210,19 @@ ACE_WIN32_Asynch_Operation::~ACE_WIN32_Asynch_Operation (void) // ************************************************************ size_t -ACE_WIN32_Asynch_Read_Stream_Result::bytes_to_read (void) const +ACE_WIN32_Asynch_Read_Stream_Result::bytes_to_read () const { return this->bytes_to_read_; } ACE_Message_Block & -ACE_WIN32_Asynch_Read_Stream_Result::message_block (void) const +ACE_WIN32_Asynch_Read_Stream_Result::message_block () const { return this->message_block_; } ACE_HANDLE -ACE_WIN32_Asynch_Read_Stream_Result::handle (void) const +ACE_WIN32_Asynch_Read_Stream_Result::handle () const { return this->handle_; } @@ -302,61 +302,61 @@ ACE_WIN32_Asynch_Read_Stream_Result::~ACE_WIN32_Asynch_Read_Stream_Result (void) // warnings. These methods call the base class methods. size_t -ACE_WIN32_Asynch_Read_Stream_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Read_Stream_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Read_Stream_Result::act (void) const +ACE_WIN32_Asynch_Read_Stream_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Read_Stream_Result::success (void) const +ACE_WIN32_Asynch_Read_Stream_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Read_Stream_Result::completion_key (void) const +ACE_WIN32_Asynch_Read_Stream_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Read_Stream_Result::error (void) const +ACE_WIN32_Asynch_Read_Stream_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Read_Stream_Result::event (void) const +ACE_WIN32_Asynch_Read_Stream_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Read_Stream_Result::offset (void) const +ACE_WIN32_Asynch_Read_Stream_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Read_Stream_Result::offset_high (void) const +ACE_WIN32_Asynch_Read_Stream_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Read_Stream_Result::priority (void) const +ACE_WIN32_Asynch_Read_Stream_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Read_Stream_Result::signal_number (void) const +ACE_WIN32_Asynch_Read_Stream_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -368,7 +368,7 @@ ACE_WIN32_Asynch_Read_Stream_Result::post_completion (ACE_Proactor_Impl *proacto } int -ACE_WIN32_Asynch_Read_Stream_Result::scatter_enabled (void) const +ACE_WIN32_Asynch_Read_Stream_Result::scatter_enabled () const { return this->scatter_enabled_; } @@ -638,25 +638,25 @@ ACE_WIN32_Asynch_Read_Stream::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Read_Stream::proactor (void) const +ACE_WIN32_Asynch_Read_Stream::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } size_t -ACE_WIN32_Asynch_Write_Stream_Result::bytes_to_write (void) const +ACE_WIN32_Asynch_Write_Stream_Result::bytes_to_write () const { return this->bytes_to_write_; } ACE_Message_Block & -ACE_WIN32_Asynch_Write_Stream_Result::message_block (void) const +ACE_WIN32_Asynch_Write_Stream_Result::message_block () const { return this->message_block_; } ACE_HANDLE -ACE_WIN32_Asynch_Write_Stream_Result::handle (void) const +ACE_WIN32_Asynch_Write_Stream_Result::handle () const { return this->handle_; } @@ -731,61 +731,61 @@ ACE_WIN32_Asynch_Write_Stream_Result::~ACE_WIN32_Asynch_Write_Stream_Result (voi // warnings. These methods call the base class methods. size_t -ACE_WIN32_Asynch_Write_Stream_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Write_Stream_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Write_Stream_Result::act (void) const +ACE_WIN32_Asynch_Write_Stream_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Write_Stream_Result::success (void) const +ACE_WIN32_Asynch_Write_Stream_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Write_Stream_Result::completion_key (void) const +ACE_WIN32_Asynch_Write_Stream_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Write_Stream_Result::error (void) const +ACE_WIN32_Asynch_Write_Stream_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Write_Stream_Result::event (void) const +ACE_WIN32_Asynch_Write_Stream_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Write_Stream_Result::offset (void) const +ACE_WIN32_Asynch_Write_Stream_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Write_Stream_Result::offset_high (void) const +ACE_WIN32_Asynch_Write_Stream_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Write_Stream_Result::priority (void) const +ACE_WIN32_Asynch_Write_Stream_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Write_Stream_Result::signal_number (void) const +ACE_WIN32_Asynch_Write_Stream_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -797,7 +797,7 @@ ACE_WIN32_Asynch_Write_Stream_Result::post_completion (ACE_Proactor_Impl *proact } int -ACE_WIN32_Asynch_Write_Stream_Result::gather_enabled (void) const +ACE_WIN32_Asynch_Write_Stream_Result::gather_enabled () const { return this->gather_enabled_; } @@ -1066,7 +1066,7 @@ ACE_WIN32_Asynch_Write_Stream::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Write_Stream::proactor (void) const +ACE_WIN32_Asynch_Write_Stream::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } @@ -1155,61 +1155,61 @@ ACE_WIN32_Asynch_Read_File_Result::~ACE_WIN32_Asynch_Read_File_Result (void) // warnings. These methods call the base class methods. size_t -ACE_WIN32_Asynch_Read_File_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Read_File_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Read_File_Result::act (void) const +ACE_WIN32_Asynch_Read_File_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Read_File_Result::success (void) const +ACE_WIN32_Asynch_Read_File_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Read_File_Result::completion_key (void) const +ACE_WIN32_Asynch_Read_File_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Read_File_Result::error (void) const +ACE_WIN32_Asynch_Read_File_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Read_File_Result::event (void) const +ACE_WIN32_Asynch_Read_File_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Read_File_Result::offset (void) const +ACE_WIN32_Asynch_Read_File_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Read_File_Result::offset_high (void) const +ACE_WIN32_Asynch_Read_File_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Read_File_Result::priority (void) const +ACE_WIN32_Asynch_Read_File_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Read_File_Result::signal_number (void) const +ACE_WIN32_Asynch_Read_File_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -1220,19 +1220,19 @@ ACE_WIN32_Asynch_Read_File_Result::signal_number (void) const // ACE_WIN32_Asynch_Read_Stream_Result base class. size_t -ACE_WIN32_Asynch_Read_File_Result::bytes_to_read (void) const +ACE_WIN32_Asynch_Read_File_Result::bytes_to_read () const { return ACE_WIN32_Asynch_Read_Stream_Result::bytes_to_read (); } ACE_Message_Block & -ACE_WIN32_Asynch_Read_File_Result::message_block (void) const +ACE_WIN32_Asynch_Read_File_Result::message_block () const { return ACE_WIN32_Asynch_Read_Stream_Result::message_block (); } ACE_HANDLE -ACE_WIN32_Asynch_Read_File_Result::handle (void) const +ACE_WIN32_Asynch_Read_File_Result::handle () const { return ACE_WIN32_Asynch_Read_Stream_Result::handle (); } @@ -1468,7 +1468,7 @@ ACE_WIN32_Asynch_Read_File::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Read_File::proactor (void) const +ACE_WIN32_Asynch_Read_File::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } @@ -1558,61 +1558,61 @@ ACE_WIN32_Asynch_Write_File_Result::~ACE_WIN32_Asynch_Write_File_Result (void) // warnings. These methods call the base class methods. size_t -ACE_WIN32_Asynch_Write_File_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Write_File_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Write_File_Result::act (void) const +ACE_WIN32_Asynch_Write_File_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Write_File_Result::success (void) const +ACE_WIN32_Asynch_Write_File_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Write_File_Result::completion_key (void) const +ACE_WIN32_Asynch_Write_File_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Write_File_Result::error (void) const +ACE_WIN32_Asynch_Write_File_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Write_File_Result::event (void) const +ACE_WIN32_Asynch_Write_File_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Write_File_Result::offset (void) const +ACE_WIN32_Asynch_Write_File_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Write_File_Result::offset_high (void) const +ACE_WIN32_Asynch_Write_File_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Write_File_Result::priority (void) const +ACE_WIN32_Asynch_Write_File_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Write_File_Result::signal_number (void) const +ACE_WIN32_Asynch_Write_File_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -1623,19 +1623,19 @@ ACE_WIN32_Asynch_Write_File_Result::signal_number (void) const // ACE_WIN32_Asynch_Write_Stream_Result base class. size_t -ACE_WIN32_Asynch_Write_File_Result::bytes_to_write (void) const +ACE_WIN32_Asynch_Write_File_Result::bytes_to_write () const { return ACE_WIN32_Asynch_Write_Stream_Result::bytes_to_write (); } ACE_Message_Block & -ACE_WIN32_Asynch_Write_File_Result::message_block (void) const +ACE_WIN32_Asynch_Write_File_Result::message_block () const { return ACE_WIN32_Asynch_Write_Stream_Result::message_block (); } ACE_HANDLE -ACE_WIN32_Asynch_Write_File_Result::handle (void) const +ACE_WIN32_Asynch_Write_File_Result::handle () const { return ACE_WIN32_Asynch_Write_Stream_Result::handle (); } @@ -1915,31 +1915,31 @@ ACE_WIN32_Asynch_Write_File::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Write_File::proactor (void) const +ACE_WIN32_Asynch_Write_File::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } size_t -ACE_WIN32_Asynch_Accept_Result::bytes_to_read (void) const +ACE_WIN32_Asynch_Accept_Result::bytes_to_read () const { return this->bytes_to_read_; } ACE_Message_Block & -ACE_WIN32_Asynch_Accept_Result::message_block (void) const +ACE_WIN32_Asynch_Accept_Result::message_block () const { return this->message_block_; } ACE_HANDLE -ACE_WIN32_Asynch_Accept_Result::listen_handle (void) const +ACE_WIN32_Asynch_Accept_Result::listen_handle () const { return this->listen_handle_; } ACE_HANDLE -ACE_WIN32_Asynch_Accept_Result::accept_handle (void) const +ACE_WIN32_Asynch_Accept_Result::accept_handle () const { return this->accept_handle_; } @@ -2008,61 +2008,61 @@ ACE_WIN32_Asynch_Accept_Result::~ACE_WIN32_Asynch_Accept_Result (void) // warnings. These methods call the base class methods. size_t -ACE_WIN32_Asynch_Accept_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Accept_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Accept_Result::act (void) const +ACE_WIN32_Asynch_Accept_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Accept_Result::success (void) const +ACE_WIN32_Asynch_Accept_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Accept_Result::completion_key (void) const +ACE_WIN32_Asynch_Accept_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Accept_Result::error (void) const +ACE_WIN32_Asynch_Accept_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Accept_Result::event (void) const +ACE_WIN32_Asynch_Accept_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Accept_Result::offset (void) const +ACE_WIN32_Asynch_Accept_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Accept_Result::offset_high (void) const +ACE_WIN32_Asynch_Accept_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Accept_Result::priority (void) const +ACE_WIN32_Asynch_Accept_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Accept_Result::signal_number (void) const +ACE_WIN32_Asynch_Accept_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -2232,7 +2232,7 @@ ACE_WIN32_Asynch_Accept::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Accept::proactor (void) const +ACE_WIN32_Asynch_Accept::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } @@ -2240,7 +2240,7 @@ ACE_WIN32_Asynch_Accept::proactor (void) const // ********************************************************************* ACE_HANDLE -ACE_WIN32_Asynch_Connect_Result::connect_handle (void) const +ACE_WIN32_Asynch_Connect_Result::connect_handle () const { return this->connect_handle_; } @@ -2296,61 +2296,61 @@ ACE_WIN32_Asynch_Connect_Result::~ACE_WIN32_Asynch_Connect_Result (void) // warnings. These methods call the base class methods. size_t -ACE_WIN32_Asynch_Connect_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Connect_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Connect_Result::act (void) const +ACE_WIN32_Asynch_Connect_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Connect_Result::success (void) const +ACE_WIN32_Asynch_Connect_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Connect_Result::completion_key (void) const +ACE_WIN32_Asynch_Connect_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Connect_Result::error (void) const +ACE_WIN32_Asynch_Connect_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Connect_Result::event (void) const +ACE_WIN32_Asynch_Connect_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Connect_Result::offset (void) const +ACE_WIN32_Asynch_Connect_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Connect_Result::offset_high (void) const +ACE_WIN32_Asynch_Connect_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Connect_Result::priority (void) const +ACE_WIN32_Asynch_Connect_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Connect_Result::signal_number (void) const +ACE_WIN32_Asynch_Connect_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -2378,13 +2378,13 @@ ACE_WIN32_Asynch_Connect::~ACE_WIN32_Asynch_Connect (void) } ACE_Proactor * -ACE_WIN32_Asynch_Connect::proactor (void) const +ACE_WIN32_Asynch_Connect::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } ACE_HANDLE -ACE_WIN32_Asynch_Connect::get_handle (void) const +ACE_WIN32_Asynch_Connect::get_handle () const { ACE_ASSERT (0); @@ -2808,37 +2808,37 @@ ACE_WIN32_Asynch_Connect::handle_close (ACE_HANDLE fd, ACE_Reactor_Mask) // ********************************************************************* ACE_HANDLE -ACE_WIN32_Asynch_Transmit_File_Result::socket (void) const +ACE_WIN32_Asynch_Transmit_File_Result::socket () const { return this->socket_; } ACE_HANDLE -ACE_WIN32_Asynch_Transmit_File_Result::file (void) const +ACE_WIN32_Asynch_Transmit_File_Result::file () const { return this->file_; } ACE_Asynch_Transmit_File::Header_And_Trailer * -ACE_WIN32_Asynch_Transmit_File_Result::header_and_trailer (void) const +ACE_WIN32_Asynch_Transmit_File_Result::header_and_trailer () const { return this->header_and_trailer_; } size_t -ACE_WIN32_Asynch_Transmit_File_Result::bytes_to_write (void) const +ACE_WIN32_Asynch_Transmit_File_Result::bytes_to_write () const { return this->bytes_to_write_; } size_t -ACE_WIN32_Asynch_Transmit_File_Result::bytes_per_send (void) const +ACE_WIN32_Asynch_Transmit_File_Result::bytes_per_send () const { return this->bytes_per_send_; } u_long -ACE_WIN32_Asynch_Transmit_File_Result::flags (void) const +ACE_WIN32_Asynch_Transmit_File_Result::flags () const { return this->flags_; } @@ -2920,61 +2920,61 @@ ACE_WIN32_Asynch_Transmit_File_Result::~ACE_WIN32_Asynch_Transmit_File_Result (v // warnings. These methods call the base class methods. size_t -ACE_WIN32_Asynch_Transmit_File_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Transmit_File_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Transmit_File_Result::act (void) const +ACE_WIN32_Asynch_Transmit_File_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Transmit_File_Result::success (void) const +ACE_WIN32_Asynch_Transmit_File_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Transmit_File_Result::completion_key (void) const +ACE_WIN32_Asynch_Transmit_File_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Transmit_File_Result::error (void) const +ACE_WIN32_Asynch_Transmit_File_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Transmit_File_Result::event (void) const +ACE_WIN32_Asynch_Transmit_File_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Transmit_File_Result::offset (void) const +ACE_WIN32_Asynch_Transmit_File_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Transmit_File_Result::offset_high (void) const +ACE_WIN32_Asynch_Transmit_File_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Transmit_File_Result::priority (void) const +ACE_WIN32_Asynch_Transmit_File_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Transmit_File_Result::signal_number (void) const +ACE_WIN32_Asynch_Transmit_File_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -3114,19 +3114,19 @@ ACE_WIN32_Asynch_Transmit_File::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Transmit_File::proactor (void) const +ACE_WIN32_Asynch_Transmit_File::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } size_t -ACE_WIN32_Asynch_Read_Dgram_Result::bytes_to_read (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::bytes_to_read () const { return this->bytes_to_read_; } ACE_Message_Block* -ACE_WIN32_Asynch_Read_Dgram_Result::message_block (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::message_block () const { return this->message_block_; } @@ -3156,73 +3156,73 @@ ACE_WIN32_Asynch_Read_Dgram_Result::saddr () const int -ACE_WIN32_Asynch_Read_Dgram_Result::flags (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::flags () const { return this->flags_; } ACE_HANDLE -ACE_WIN32_Asynch_Read_Dgram_Result::handle (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::handle () const { return this->handle_; } size_t -ACE_WIN32_Asynch_Read_Dgram_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Read_Dgram_Result::act (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Read_Dgram_Result::success (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Read_Dgram_Result::completion_key (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Read_Dgram_Result::error (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Read_Dgram_Result::event (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Read_Dgram_Result::offset (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Read_Dgram_Result::offset_high (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Read_Dgram_Result::priority (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Read_Dgram_Result::signal_number (void) const +ACE_WIN32_Asynch_Read_Dgram_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -3467,7 +3467,7 @@ ACE_WIN32_Asynch_Read_Dgram::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Read_Dgram::proactor (void) const +ACE_WIN32_Asynch_Read_Dgram::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } @@ -3482,7 +3482,7 @@ ACE_WIN32_Asynch_Read_Dgram::ACE_WIN32_Asynch_Read_Dgram (ACE_WIN32_Proactor *wi //*********************************************** size_t -ACE_WIN32_Asynch_Write_Dgram_Result::bytes_to_write (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::bytes_to_write () const { return this->bytes_to_write_; } @@ -3494,73 +3494,73 @@ ACE_WIN32_Asynch_Write_Dgram_Result::message_block () const } int -ACE_WIN32_Asynch_Write_Dgram_Result::flags (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::flags () const { return this->flags_; } ACE_HANDLE -ACE_WIN32_Asynch_Write_Dgram_Result::handle (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::handle () const { return this->handle_; } size_t -ACE_WIN32_Asynch_Write_Dgram_Result::bytes_transferred (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::bytes_transferred () const { return ACE_WIN32_Asynch_Result::bytes_transferred (); } const void * -ACE_WIN32_Asynch_Write_Dgram_Result::act (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::act () const { return ACE_WIN32_Asynch_Result::act (); } int -ACE_WIN32_Asynch_Write_Dgram_Result::success (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::success () const { return ACE_WIN32_Asynch_Result::success (); } const void * -ACE_WIN32_Asynch_Write_Dgram_Result::completion_key (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::completion_key () const { return ACE_WIN32_Asynch_Result::completion_key (); } u_long -ACE_WIN32_Asynch_Write_Dgram_Result::error (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::error () const { return ACE_WIN32_Asynch_Result::error (); } ACE_HANDLE -ACE_WIN32_Asynch_Write_Dgram_Result::event (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::event () const { return ACE_WIN32_Asynch_Result::event (); } u_long -ACE_WIN32_Asynch_Write_Dgram_Result::offset (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::offset () const { return ACE_WIN32_Asynch_Result::offset (); } u_long -ACE_WIN32_Asynch_Write_Dgram_Result::offset_high (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::offset_high () const { return ACE_WIN32_Asynch_Result::offset_high (); } int -ACE_WIN32_Asynch_Write_Dgram_Result::priority (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::priority () const { return ACE_WIN32_Asynch_Result::priority (); } int -ACE_WIN32_Asynch_Write_Dgram_Result::signal_number (void) const +ACE_WIN32_Asynch_Write_Dgram_Result::signal_number () const { return ACE_WIN32_Asynch_Result::signal_number (); } @@ -3792,7 +3792,7 @@ ACE_WIN32_Asynch_Write_Dgram::cancel (void) } ACE_Proactor * -ACE_WIN32_Asynch_Write_Dgram::proactor (void) const +ACE_WIN32_Asynch_Write_Dgram::proactor () const { return ACE_WIN32_Asynch_Operation::proactor (); } diff --git a/ACE/ace/WIN32_Asynch_IO.h b/ACE/ace/WIN32_Asynch_IO.h index 41ceffac051..42d91ee4ca5 100644 --- a/ACE/ace/WIN32_Asynch_IO.h +++ b/ACE/ace/WIN32_Asynch_IO.h @@ -67,39 +67,39 @@ class ACE_Export ACE_WIN32_Asynch_Result : public virtual ACE_Asynch_Result_Impl public: /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -172,7 +172,7 @@ public: // = Access methods. /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; protected: /// Constructor. @@ -212,57 +212,57 @@ class ACE_Export ACE_WIN32_Asynch_Read_Stream_Result : public virtual ACE_Asynch public: /// The number of bytes which were requested at the start of the /// asynchronous read. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for reading. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; // Base class operations. These operations are here to kill // dominance warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); /// Accessor for the scatter read flag - int scatter_enabled (void) const; + int scatter_enabled () const; protected: /// Constructor is protected since creation is limited to @@ -363,7 +363,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; protected: /// This is the method which does the real work and is there so that @@ -389,57 +389,57 @@ class ACE_Export ACE_WIN32_Asynch_Write_Stream_Result : public virtual ACE_Async public: /// The number of bytes which were requested at the start of the /// asynchronous write. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Message block that contains the data to be written. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for writing. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; // = Base class operations. These operations are here to kill some // warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); /// Accessor for the gather write flag - int gather_enabled (void) const; + int gather_enabled () const; protected: /// Constructor is protected since creation is limited to @@ -541,7 +541,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; }; /** @@ -565,39 +565,39 @@ public: // methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; // The following methods belong to // ACE_WIN32_Asynch_Read_Stream_Result. They are here to avoid VC++ @@ -606,13 +606,13 @@ public: /// The number of bytes which were requested at the start of the /// asynchronous read. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for reading. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -720,7 +720,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; private: /** @@ -776,39 +776,39 @@ public: // warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; // The following methods belong to // ACE_WIN32_Asynch_Read_Stream_Result. They are here to avoid VC++ @@ -817,13 +817,13 @@ public: /// The number of bytes which were requested at the start of the /// asynchronous write. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Message block that contains the data to be written. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for writing. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -926,7 +926,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; private: /** @@ -973,54 +973,54 @@ class ACE_Export ACE_WIN32_Asynch_Accept_Result : public virtual ACE_Asynch_Acce public: /// The number of bytes which were requested at the start of the /// asynchronous accept. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data. - ACE_Message_Block &message_block (void) const; + ACE_Message_Block &message_block () const; /// I/O handle used for accepting new connections. - ACE_HANDLE listen_handle (void) const; + ACE_HANDLE listen_handle () const; /// I/O handle for the new connection. - ACE_HANDLE accept_handle (void) const; + ACE_HANDLE accept_handle () const; // = Base class operations. These operations are here to kill some // warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -1124,7 +1124,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; }; /** @@ -1149,45 +1149,45 @@ class ACE_Export ACE_WIN32_Asynch_Connect_Result : public virtual ACE_Asynch_Con public: /// I/O handle for the connection. - ACE_HANDLE connect_handle (void) const; + ACE_HANDLE connect_handle () const; // = Base class operations. These operations are here to kill some // warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * Returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post this object to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -1274,7 +1274,7 @@ public: int close (void); /// Virtual from ACE_Event_Handler - ACE_HANDLE get_handle (void) const; + ACE_HANDLE get_handle () const; /// Virtual from ACE_Event_Handler void set_handle (ACE_HANDLE handle); @@ -1291,7 +1291,7 @@ public: // methods are defined here to avoid dominace warnings. They route // the call to the ACE_WIN32_Asynch_Operation base class. /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; private: int connect_i (ACE_WIN32_Asynch_Connect_Result *result, @@ -1355,62 +1355,62 @@ class ACE_Export ACE_WIN32_Asynch_Transmit_File_Result : public virtual ACE_Asyn public: /// Socket used for transmitting the file. - ACE_HANDLE socket (void) const; + ACE_HANDLE socket () const; /// File from which the data is read. - ACE_HANDLE file (void) const; + ACE_HANDLE file () const; /// Header and trailer data associated with this transmit file. - ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer (void) const; + ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer () const; /// The number of bytes which were requested at the start of the /// asynchronous transmit file. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Number of bytes per send requested at the start of the transmit /// file. - size_t bytes_per_send (void) const; + size_t bytes_per_send () const; /// Flags which were passed into transmit file. - u_long flags (void) const; + u_long flags () const; // Base class operations. These operations are here to kill some // warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -1536,7 +1536,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; }; /** @@ -1557,10 +1557,10 @@ class ACE_Export ACE_WIN32_Asynch_Read_Dgram_Result : public virtual ACE_Asynch_ public: /// The number of bytes which were requested at the start of the /// asynchronous read. - size_t bytes_to_read (void) const; + size_t bytes_to_read () const; /// Message block which contains the read data - ACE_Message_Block *message_block (void) const; + ACE_Message_Block *message_block () const; /// The address of where the packet came from int remote_address (ACE_Addr& addr) const; @@ -1568,48 +1568,48 @@ public: sockaddr *saddr () const; /// The flags used in the read - int flags (void) const; + int flags () const; /// I/O handle used for reading. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; // Base class operations. These operations are here to kill // dominance warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -1725,7 +1725,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; protected: /// Do-nothing constructor. @@ -1750,54 +1750,54 @@ class ACE_Export ACE_WIN32_Asynch_Write_Dgram_Result : public virtual ACE_Asynch public: /// The number of bytes which were requested at the start of the /// asynchronous write. - size_t bytes_to_write (void) const; + size_t bytes_to_write () const; /// Message block which contains the sent data - ACE_Message_Block *message_block (void) const; + ACE_Message_Block *message_block () const; /// The flags using in the write - int flags (void) const; + int flags () const; /// I/O handle used for writing. - ACE_HANDLE handle (void) const; + ACE_HANDLE handle () const; // = Base class operations. These operations are here to kill some // warnings. These methods call the base class methods. /// Number of bytes transferred by the operation. - size_t bytes_transferred (void) const; + size_t bytes_transferred () const; /// ACT associated with the operation. - const void *act (void) const; + const void *act () const; /// Did the operation succeed? - int success (void) const; + int success () const; /** * This returns the ACT associated with the handle when it was * registered with the I/O completion port. This ACT is not the * same as the ACT associated with the asynchronous operation. */ - const void *completion_key (void) const; + const void *completion_key () const; /// Error value if the operation fail. - u_long error (void) const; + u_long error () const; /// Event associated with the OVERLAPPED structure. - ACE_HANDLE event (void) const; + ACE_HANDLE event () const; /// This really make sense only when doing file I/O. - u_long offset (void) const; + u_long offset () const; /// Offset_high associated with the OVERLAPPED structure. - u_long offset_high (void) const; + u_long offset_high () const; /// The priority of the asynchronous operation. Currently, this is /// not supported on Win32. - int priority (void) const; + int priority () const; /// No-op. Returns 0. - int signal_number (void) const; + int signal_number () const; /// Post @c this to the Proactor's completion port. int post_completion (ACE_Proactor_Impl *proactor); @@ -1909,7 +1909,7 @@ public: int cancel (void); /// Return the underlying proactor. - ACE_Proactor* proactor (void) const; + ACE_Proactor* proactor () const; protected: /// Do-nothing constructor. diff --git a/ACE/ace/WIN32_Proactor.cpp b/ACE/ace/WIN32_Proactor.cpp index 25bf4f31b32..d23e5d3033d 100644 --- a/ACE/ace/WIN32_Proactor.cpp +++ b/ACE/ace/WIN32_Proactor.cpp @@ -533,7 +533,7 @@ ACE_WIN32_Proactor::handle_close (ACE_HANDLE handle, } ACE_HANDLE -ACE_WIN32_Proactor::get_handle (void) const +ACE_WIN32_Proactor::get_handle () const { if (this->used_with_reactor_event_loop_) return this->event_.handle (); @@ -734,7 +734,7 @@ ACE_WIN32_Proactor::close_dispatch_threads (int) } size_t -ACE_WIN32_Proactor::number_of_threads (void) const +ACE_WIN32_Proactor::number_of_threads () const { return static_cast<size_t> (this->number_of_threads_); } diff --git a/ACE/ace/WIN32_Proactor.h b/ACE/ace/WIN32_Proactor.h index 8ce6d744c25..87aa30ca10c 100644 --- a/ACE/ace/WIN32_Proactor.h +++ b/ACE/ace/WIN32_Proactor.h @@ -106,7 +106,7 @@ public: void number_of_threads (size_t threads); /// Get the event handle. - virtual ACE_HANDLE get_handle (void) const; + virtual ACE_HANDLE get_handle () const; virtual ACE_Asynch_Read_Stream_Impl *create_asynch_read_stream (); virtual ACE_Asynch_Write_Stream_Impl *create_asynch_write_stream (); diff --git a/ACE/ace/XTI_ATM_Mcast.cpp b/ACE/ace/XTI_ATM_Mcast.cpp index 0e1ef23299b..4e1b848a102 100644 --- a/ACE/ace/XTI_ATM_Mcast.cpp +++ b/ACE/ace/XTI_ATM_Mcast.cpp @@ -11,7 +11,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_XTI_ATM_Mcast) void -ACE_XTI_ATM_Mcast::dump (void) const +ACE_XTI_ATM_Mcast::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_XTI_ATM_Mcast::dump"); diff --git a/ACE/ace/XtReactor/XtReactor.cpp b/ACE/ace/XtReactor/XtReactor.cpp index bf23d31e677..945562c3dac 100644 --- a/ACE/ace/XtReactor/XtReactor.cpp +++ b/ACE/ace/XtReactor/XtReactor.cpp @@ -178,7 +178,7 @@ ACE_XtReactor::XtWaitForMultipleEvents (int width, } XtAppContext -ACE_XtReactor::context (void) const +ACE_XtReactor::context () const { return this->context_; } diff --git a/ACE/ace/XtReactor/XtReactor.h b/ACE/ace/XtReactor/XtReactor.h index 3247ce6a884..af8ea2f9156 100644 --- a/ACE/ace/XtReactor/XtReactor.h +++ b/ACE/ace/XtReactor/XtReactor.h @@ -61,7 +61,7 @@ public: ACE_Sig_Handler * = 0); virtual ~ACE_XtReactor (void); - XtAppContext context (void) const; + XtAppContext context () const; void context (XtAppContext); // = Timer operations. |