diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-26 21:59:17 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-26 21:59:17 +0000 |
commit | ab0d45a00f153a07fd39e59876230c7c79b0a847 (patch) | |
tree | 9597366ae9ce27c5aa644d517c00a43c0c24c342 /TAO/tao/CDR.i | |
parent | d25802d7266e38a051db5eec9add77bf06d29111 (diff) | |
download | ATCD-ab0d45a00f153a07fd39e59876230c7c79b0a847.tar.gz |
ChangeLogTag:Fri Jun 26 16:57:54 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/CDR.i')
-rw-r--r-- | TAO/tao/CDR.i | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/TAO/tao/CDR.i b/TAO/tao/CDR.i index f01c4c92c3c..32b0d7041f1 100644 --- a/TAO/tao/CDR.i +++ b/TAO/tao/CDR.i @@ -103,6 +103,22 @@ TAO_OutputCDR::write_longdouble (const CORBA::LongDouble &x) } ACE_INLINE CORBA_Boolean +TAO_OutputCDR::write_string (const CORBA::Char *x) +{ + if (x != 0) + return this->write_string (ACE_OS::strlen (x), x); + return this->write_string (0, 0); +} + +ACE_INLINE CORBA_Boolean +TAO_OutputCDR::write_wstring (const CORBA::WChar *x) +{ + if (x != 0) + return this->write_wstring (ACE_OS::wslen (x), x); + return this->write_wstring (0, 0); +} + +ACE_INLINE CORBA_Boolean TAO_OutputCDR::write_char_array (const CORBA::Char* x, CORBA::ULong length) { |