summaryrefslogtreecommitdiff
path: root/ace/Functor.h
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-22 04:11:17 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-22 04:11:17 +0000
commitb30006408711e38e17215b79a0e8d9b9220fba3b (patch)
treebb379c423294b5d8a47ae114abde9b6d78c102cb /ace/Functor.h
parent457a041ebea6678684cc614b55dcdee9fa85bb62 (diff)
downloadATCD-b30006408711e38e17215b79a0e8d9b9220fba3b.tar.gz
ChangeLogTag:Sun Jun 22 03:27:10 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'ace/Functor.h')
-rw-r--r--ace/Functor.h31
1 files changed, 17 insertions, 14 deletions
diff --git a/ace/Functor.h b/ace/Functor.h
index 8a3d13df2a5..4ff04a0c72d 100644
--- a/ace/Functor.h
+++ b/ace/Functor.h
@@ -32,12 +32,15 @@
#define ACE_FUNCTOR_H
#include "ace/pre.h"
-#include "ace/ACE.h"
+#include "ace/config-all.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/ACE_export.h"
+#include "ace/Basic_Types.h"
+
//////////////////////////////////////////////////////////////
// GOF Command Pattern Classes and Template Specializations //
//////////////////////////////////////////////////////////////
@@ -93,7 +96,7 @@ class ACE_Export ACE_Hash<char>
{
public:
/// Simply returns t
- u_long operator () (char t) const;
+ unsigned long operator () (char t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -106,7 +109,7 @@ class ACE_Export ACE_Hash<signed char>
{
public:
/// Simply returns t
- u_long operator () (signed char t) const;
+ unsigned long operator () (signed char t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -119,7 +122,7 @@ class ACE_Export ACE_Hash<unsigned char>
{
public:
/// Simply returns t
- u_long operator () (unsigned char t) const;
+ unsigned long operator () (unsigned char t) const;
};
// @@ ADD HASHES FOR ACE TYPES
@@ -134,7 +137,7 @@ class ACE_Export ACE_Hash<ACE_INT16>
{
public:
/// Simply returns t
- u_long operator () (ACE_INT16 t) const;
+ unsigned long operator () (ACE_INT16 t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -147,7 +150,7 @@ class ACE_Export ACE_Hash<ACE_UINT16>
{
public:
/// Simply returns t
- u_long operator () (ACE_UINT16 t) const;
+ unsigned long operator () (ACE_UINT16 t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -160,7 +163,7 @@ class ACE_Export ACE_Hash<ACE_INT32>
{
public:
/// Simply returns t
- u_long operator () (ACE_INT32 t) const;
+ unsigned long operator () (ACE_INT32 t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -173,7 +176,7 @@ class ACE_Export ACE_Hash<ACE_UINT32>
{
public:
/// Simply returns t
- u_long operator () (ACE_UINT32 t) const;
+ unsigned long operator () (ACE_UINT32 t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -186,7 +189,7 @@ class ACE_Export ACE_Hash<ACE_UINT64>
{
public:
/// Simply returns t
- u_long operator () (ACE_UINT64 t) const;
+ unsigned long operator () (ACE_UINT64 t) const;
};
// @@ DONE ADDING HASHES FOR ACE TYPES
@@ -201,7 +204,7 @@ class ACE_Export ACE_Hash<const ACE_TCHAR *>
{
public:
/// Calls ACE::hash_pjw
- u_long operator () (const ACE_TCHAR *t) const;
+ unsigned long operator () (const ACE_TCHAR *t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -214,7 +217,7 @@ class ACE_Export ACE_Hash<ACE_TCHAR *>
{
public:
/// Calls ACE::hash_pjw
- u_long operator () (const ACE_TCHAR *t) const;
+ unsigned long operator () (const ACE_TCHAR *t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -226,7 +229,7 @@ ACE_TEMPLATE_SPECIALIZATION
class ACE_Export ACE_Hash<void *>
{
public:
- u_long operator () (const void *) const;
+ unsigned long operator () (const void *) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -406,7 +409,7 @@ class ACE_Export ACE_Hash<const ACE_ANTI_TCHAR *>
{
public:
/// Calls ACE::hash_pjw
- u_long operator () (const ACE_ANTI_TCHAR *t) const;
+ unsigned long operator () (const ACE_ANTI_TCHAR *t) const;
};
ACE_TEMPLATE_SPECIALIZATION
@@ -419,7 +422,7 @@ class ACE_Export ACE_Hash<ACE_ANTI_TCHAR *>
{
public:
/// Calls ACE::hash_pjw
- u_long operator () (const ACE_ANTI_TCHAR *t) const;
+ unsigned long operator () (const ACE_ANTI_TCHAR *t) const;
};
ACE_TEMPLATE_SPECIALIZATION