summaryrefslogtreecommitdiff
path: root/TAO/tao/BoundsC.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/BoundsC.i')
-rw-r--r--TAO/tao/BoundsC.i35
1 files changed, 35 insertions, 0 deletions
diff --git a/TAO/tao/BoundsC.i b/TAO/tao/BoundsC.i
new file mode 100644
index 00000000000..40e552e3e13
--- /dev/null
+++ b/TAO/tao/BoundsC.i
@@ -0,0 +1,35 @@
+/* -*- C++ -*- */
+//$Id$
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// *************************************************************
+// Inline operations for exception CORBA::Bounds
+// *************************************************************
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::Bounds &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::Bounds &_tao_aggregate)
+{
+ // retrieve RepoID and verify if we are of that type
+ char *_tao_repoID;
+ if ((strm >> _tao_repoID) &&
+ (_tao_aggregate._is_a (_tao_repoID)))
+ {
+ return 1;
+ }
+ else
+ return 0;
+}
+