summaryrefslogtreecommitdiff
path: root/TAO/tao/CDR.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-08 20:19:55 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-08 20:19:55 +0000
commit88aa7fad74d32cbb6e671ad14cdde00742d5ee23 (patch)
tree9fb556cb489f7849e7dbca096364aeab06560015 /TAO/tao/CDR.h
parentc122ed4ef6b4c3db15b482359638f85aaad3de49 (diff)
downloadATCD-88aa7fad74d32cbb6e671ad14cdde00742d5ee23.tar.gz
ChangeLogTag:Mon Feb 8 13:43:10 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/CDR.h')
-rw-r--r--TAO/tao/CDR.h37
1 files changed, 20 insertions, 17 deletions
diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h
index f2ebf583fac..7d44a791f3e 100644
--- a/TAO/tao/CDR.h
+++ b/TAO/tao/CDR.h
@@ -44,6 +44,9 @@
#ifndef TAO_CDR_H
#define TAO_CDR_H
+#include "tao/corbafwd.h"
+#include "tao/Marshal.h"
+
class TAO_Export TAO_OutputCDR : public ACE_OutputCDR
{
//
@@ -103,7 +106,7 @@ public:
CORBA::TypeCode::traverse_status append (CORBA::TypeCode_ptr tc,
TAO_InputCDR *src,
CORBA_Environment &TAO_IN_ENV =
- CORBA_Environment::default_environment ());
+ CORBA::default_environment ());
// Append the contents of the CDR stream based on information
// described by <tc>; returning any errors in <TAO_IN_ENV>.
@@ -116,7 +119,7 @@ public:
const void *data,
const void *,
CORBA_Environment &TAO_IN_ENV =
- CORBA_Environment::default_environment ());
+ CORBA::default_environment ());
// Marshalls the contents of <data> as described by the TypeCode in
// <tc>. Any errors are reported though the <TAO_IN_ENV> parameter.
@@ -208,32 +211,32 @@ public:
const void *data,
const void *,
CORBA_Environment &TAO_IN_ENV =
- CORBA_Environment::default_environment ());
+ CORBA::default_environment ());
// Demarshall the contents of the CDR stream into <data> as
// described by <tc>; returning any errors in <TAO_IN_ENV>.
CORBA::TypeCode::traverse_status skip (
CORBA::TypeCode_ptr tc,
CORBA_Environment &TAO_IN_ENV =
- CORBA_Environment::default_environment ());
+ CORBA::default_environment ());
// Skip the contents of the CDR stream based on information
// described by <tc>; returning any errors in <TAO_IN_ENV>.
};
// This operators are too complex to be inline....
-extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr,
- const CORBA::Any &x);
-extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr,
- const CORBA::Object *x);
-extern TAO_Export CORBA_Boolean operator<< (TAO_OutputCDR& cdr,
- const CORBA::TypeCode *x);
-
-extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr,
- CORBA::Any &x);
-extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr,
- CORBA::Object *&x);
-extern TAO_Export CORBA_Boolean operator>> (TAO_InputCDR& cdr,
- CORBA::TypeCode *&x);
+extern TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR& cdr,
+ const CORBA::Any &x);
+extern TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR& cdr,
+ const CORBA::Object *x);
+extern TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR& cdr,
+ const CORBA::TypeCode *x);
+
+extern TAO_Export CORBA::Boolean operator>> (TAO_InputCDR& cdr,
+ CORBA::Any &x);
+extern TAO_Export CORBA::Boolean operator>> (TAO_InputCDR& cdr,
+ CORBA::Object *&x);
+extern TAO_Export CORBA::Boolean operator>> (TAO_InputCDR& cdr,
+ CORBA::TypeCode *&x);
#if defined(__ACE_INLINE__)
# include "tao/CDR.i"