diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-07-05 10:13:48 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-07-05 10:13:48 +0000 |
commit | 01ec2af8ef79521b4279ee7689bd5816939c5b69 (patch) | |
tree | 6de6d7b3e9ab1c1d4fb868c2b2ee431c3d874514 /TAO/tao/CORBA_String.inl | |
parent | 6d36e2d6459e580c42dcc026a10ce55e19b55398 (diff) | |
download | ATCD-01ec2af8ef79521b4279ee7689bd5816939c5b69.tar.gz |
ChangeLogTag:Tue Jul 5 03:07:52 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/CORBA_String.inl')
-rw-r--r-- | TAO/tao/CORBA_String.inl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/TAO/tao/CORBA_String.inl b/TAO/tao/CORBA_String.inl index bdee6f54ac1..083d600ccc2 100644 --- a/TAO/tao/CORBA_String.inl +++ b/TAO/tao/CORBA_String.inl @@ -6,6 +6,10 @@ // String_var type // ---------------------------------------------------------------------- +#include "ace/OS_NS_string.h" +// #include "ace/OS_NS_wchar.h" + + ACE_INLINE CORBA::String_var::String_var (void) : ptr_ (0) @@ -269,3 +273,19 @@ CORBA::WString_out::ptr (void) { return this->ptr_; } + +// ---------------------------------------------------------------------- + +ACE_INLINE bool +CORBA::operator== (CORBA::String_var const & lhs, + CORBA::String_var const & rhs) +{ + return (ACE_OS::strcmp (lhs.in (), rhs.in ()) == 0); +} + +ACE_INLINE bool +CORBA::operator== (CORBA::WString_var const & lhs, + CORBA::WString_var const & rhs) +{ + return (ACE_OS::strcmp (lhs.in (), rhs.in ()) == 0); +} |