diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-01 10:01:52 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-01 10:01:52 +0000 |
commit | fa588f6bab7b72f0d6d49d7f5e6eff46eb04ebbb (patch) | |
tree | 6a146bd561aec0da75a9630185619a99dbd4b065 /ace/Local_Name_Space.cpp | |
parent | eda7bc28bba8d4649e95d489e50832ba2cc1e723 (diff) | |
download | ATCD-fa588f6bab7b72f0d6d49d7f5e6eff46eb04ebbb.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Local_Name_Space.cpp')
-rw-r--r-- | ace/Local_Name_Space.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ace/Local_Name_Space.cpp b/ace/Local_Name_Space.cpp index 2cf194b6f6c..f7edfbf11ec 100644 --- a/ace/Local_Name_Space.cpp +++ b/ace/Local_Name_Space.cpp @@ -93,6 +93,13 @@ ACE_NS_String::operator == (const ACE_NS_String &s) const (void *) s.rep_, this->len_) == 0; } +int +ACE_NS_String::operator != (const ACE_NS_String &s) const +{ + ACE_TRACE ("ACE_NS_String::operator !="); + return !this->operator == (s); +} + ACE_NS_String::ACE_NS_String (ACE_USHORT16 *dst, const ACE_USHORT16 *src, size_t bytes) @@ -103,6 +110,12 @@ ACE_NS_String::ACE_NS_String (ACE_USHORT16 *dst, ACE_OS::memcpy (this->rep_, src, bytes); } +size_t +ACE_NS_String::hash (void) const +{ + return ACE::hash_pjw (this->rep_); +} + ACE_NS_Internal::ACE_NS_Internal (void) { } |