diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1998-11-20 12:48:33 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1998-11-20 12:48:33 +0000 |
commit | 5422eaf2042fd8901824c580377c29987901761f (patch) | |
tree | 28f5a28839326367e60a01f350d5b23cb0d22067 /TAO/tao | |
parent | 080f44e2853ef1e2baca5fb38fd3384757d0290a (diff) | |
download | ATCD-5422eaf2042fd8901824c580377c29987901761f.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/CDR.h | 4 | ||||
-rw-r--r-- | TAO/tao/CDR.i | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h index e26bc3387a7..8757388cf40 100644 --- a/TAO/tao/CDR.h +++ b/TAO/tao/CDR.h @@ -612,6 +612,8 @@ extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr, extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr, CORBA::ULongLong x); extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr, + CORBA::LongDouble x); +extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr, CORBA::Float x); extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr, CORBA::Double x); @@ -650,6 +652,8 @@ extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr, extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr, CORBA::ULongLong &x); extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr, + CORBA::LongDouble &x); +extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr, CORBA::Float &x); extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr, CORBA::Double &x); diff --git a/TAO/tao/CDR.i b/TAO/tao/CDR.i index 15f2a0cfac7..921f5d83ac5 100644 --- a/TAO/tao/CDR.i +++ b/TAO/tao/CDR.i @@ -750,6 +750,13 @@ operator<< (TAO_OutputCDR& cdr, CORBA::ULongLong x) } ACE_INLINE CORBA_Boolean +operator<< (TAO_OutputCDR& cdr, CORBA::LongDouble x) +{ + cdr.write_longdouble (x); + return cdr.good_bit (); +} + +ACE_INLINE CORBA_Boolean operator<< (TAO_OutputCDR& cdr, CORBA::Float x) { cdr.write_float (x); @@ -914,6 +921,13 @@ operator>> (TAO_InputCDR& cdr, CORBA::ULongLong &x) } ACE_INLINE CORBA_Boolean +operator>> (TAO_InputCDR& cdr, CORBA::LongDouble &x) +{ + cdr.read_longdouble (x); + return cdr.good_bit (); +} + +ACE_INLINE CORBA_Boolean operator>> (TAO_InputCDR& cdr, CORBA::Float &x) { cdr.read_float (x); |