summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-05-02 20:17:29 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-05-02 20:17:29 +0000
commit59a1320839e7efee598942738af01e07783b1cc1 (patch)
tree9a37faab84ebc9b5549d849eebdd10ebc78a3826
parente195f8a90b3ffd14ed32ff11c97b00cb8df21968 (diff)
downloadATCD-59a1320839e7efee598942738af01e07783b1cc1.tar.gz
ChangeLogTag: Wed May 2 15:14:13 2001 Balachandran Natarajan <bala@cs.wustl.edu>
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a9
-rw-r--r--TAO/tao/CDR.h7
-rw-r--r--TAO/tao/CDR.i17
3 files changed, 33 insertions, 0 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 473392b759c..ba1a2d32d33 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,12 @@
+Wed May 2 15:14:13 2001 Balachandran Natarajan <bala@cs.wustl.edu>
+
+ * tao/CDR.h (TAO_InputCDR):
+ * tao/CDR.i: Added a new constructor for TAO_InputCDR
+ class. It is basically a wrapper for the new constructor added
+ in ACE_InputCDR class by this ChangeLog entry "Wed May 2
+ 15:10:28 2001 Balachandran Natarajan ". This would make the
+ construtor usable in TAO.
+
Wed May 2 11:26:10 2001 Jeff Parsons <parsons@cs.wustl.edu>
* examples/POA/TIE/Makefile:
diff --git a/TAO/tao/CDR.h b/TAO/tao/CDR.h
index 724bb80e9f4..5630693caa8 100644
--- a/TAO/tao/CDR.h
+++ b/TAO/tao/CDR.h
@@ -173,6 +173,13 @@ public:
int byte_order = ACE_CDR_BYTE_ORDER,
TAO_ORB_Core* orb_core = 0);
+ /// Create an input stream from an ACE_Data_Block
+ TAO_InputCDR (ACE_Data_Block *data,
+ size_t read_pointer_position,
+ size_t write_pointer_position,
+ int byte_order = ACE_CDR_BYTE_ORDER,
+ TAO_ORB_Core* orb_core = 0);
+
/**
* Make a copy of the current stream state, but does not copy the
* internal buffer; so the same stream can be read multiple times
diff --git a/TAO/tao/CDR.i b/TAO/tao/CDR.i
index 94a80cc3ad0..b7138628c11 100644
--- a/TAO/tao/CDR.i
+++ b/TAO/tao/CDR.i
@@ -52,6 +52,23 @@ TAO_InputCDR::TAO_InputCDR (ACE_Data_Block *data,
this->init_translators ();
}
+
+ACE_INLINE
+TAO_InputCDR::TAO_InputCDR (ACE_Data_Block *data,
+ size_t rd_pos,
+ size_t wr_pos,
+ int byte_order,
+ TAO_ORB_Core* orb_core)
+ : ACE_InputCDR (data,
+ rd_pos,
+ wr_pos,
+ byte_order),
+ orb_core_ (orb_core)
+{
+ this->init_translators ();
+}
+
+
ACE_INLINE
TAO_InputCDR::TAO_InputCDR (const TAO_InputCDR& rhs,
size_t size,