diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-01 16:43:24 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-08-01 16:43:24 +0000 |
commit | b462a7a9d307c5f5eff30a24008045c0e3d0185a (patch) | |
tree | a9efcb39b9e041e5cf70e17090c76df8b5354b47 /ace/adapter/ace/Functor.h | |
parent | 7e1358bc65c1d08e3ba99af5b7e5869e1cd2c47f (diff) | |
download | ATCD-TAO-1_1_7.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-1_1_7'.TAO-1_1_7
Diffstat (limited to 'ace/adapter/ace/Functor.h')
-rw-r--r-- | ace/adapter/ace/Functor.h | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/ace/adapter/ace/Functor.h b/ace/adapter/ace/Functor.h deleted file mode 100644 index 6387ef9dd00..00000000000 --- a/ace/adapter/ace/Functor.h +++ /dev/null @@ -1,77 +0,0 @@ -// $Id$ - -#ifndef ACE_ADAPTER_FUNCTOR_H -#define ACE_ADAPTER_FUNCTOR_H -#include "ace/pre.h" - -#include "../../Functor.h" - -ACE_TEMPLATE_SPECIALIZATION -class ACE_Hash<const wchar_t *> -{ - // = TITLE - // Function object for hashing a const string -public: - u_long operator () (const wchar_t *t) const - { return ACE::hash_pjw (t); } -}; - -ACE_TEMPLATE_SPECIALIZATION -class ACE_Hash<wchar_t *> -{ - // = TITLE - // Function object for hashing a string -public: - u_long operator () (const wchar_t *t) const - { return ACE::hash_pjw (t); } -}; - -ACE_TEMPLATE_SPECIALIZATION -class ACE_Equal_To<const wchar_t *> -{ - // = TITLE - // Function object for determining whether two const strings are equal. -public: - int operator () (const wchar_t *lhs, - const wchar_t *rhs) const - { return ACE_OS::strcmp (lhs, rhs) == 0; } -}; - -ACE_TEMPLATE_SPECIALIZATION -class ACE_Export ACE_Equal_To<wchar_t *> -{ - // = TITLE - // Function object for determining whether two non-const - // strings are equal. -public: - int operator () (const wchar_t *lhs, - const wchar_t *rhs) const - { return ACE_OS::strcmp (lhs, rhs) == 0; } -}; - -ACE_TEMPLATE_SPECIALIZATION -class ACE_Export ACE_Less_Than<const wchar_t *> -{ - // = TITLE - // Function object for determining whether the first const string - // is less than the second const string. -public: - int operator () (const wchar_t *lhs, - const wchar_t *rhs) const - { return ACE_OS::strcmp (lhs, rhs) == 0; } -}; - -ACE_TEMPLATE_SPECIALIZATION -class ACE_Export ACE_Less_Than<wchar_t *> -{ - // = TITLE - // Function object for determining whether the first string - // is less than the second string. -public: - int operator () (const wchar_t *lhs, - const wchar_t *rhs) const - { return ACE_OS::strcmp (lhs, rhs) == 0; } -}; - -#include "ace/post.h" -#endif /* ACE_ADAPTER_FUNCTOR_H */ |