summaryrefslogtreecommitdiff
path: root/TAO/tao/OctetSeqC.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2003-12-22 16:36:22 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2003-12-22 16:36:22 +0000
commite4f31649cb130ca754978de9f03331c9baa64be7 (patch)
tree94c2ea5c65f185514265285d80fd55d2471fa153 /TAO/tao/OctetSeqC.cpp
parent7bec050d7bd6397e2d98ee93c79851753ef48262 (diff)
downloadATCD-e4f31649cb130ca754978de9f03331c9baa64be7.tar.gz
ChangeLogTag: Mon Dec 22 16:36:13 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/OctetSeqC.cpp')
-rw-r--r--TAO/tao/OctetSeqC.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/TAO/tao/OctetSeqC.cpp b/TAO/tao/OctetSeqC.cpp
index 01025cd1a9d..9d79db59d51 100644
--- a/TAO/tao/OctetSeqC.cpp
+++ b/TAO/tao/OctetSeqC.cpp
@@ -47,9 +47,9 @@
// Arg traits specializations.
namespace TAO
{
-};
+}
-// TAO_IDL - Generated from
+// TAO_IDL - Generated from
// be/be_visitor_sequence/sequence_cs.cpp:65
#if !defined (_CORBA_OCTETSEQ_CS_)
@@ -109,17 +109,17 @@ static const CORBA::Long _oc_CORBA_OctetSeq[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
31,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x412f4f63),
- ACE_NTOHL (0x74657453),
- ACE_NTOHL (0x65713a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f4f63),
+ ACE_NTOHL (0x74657453),
+ ACE_NTOHL (0x65713a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0
9,
- ACE_NTOHL (0x4f637465),
- ACE_NTOHL (0x74536571),
+ ACE_NTOHL (0x4f637465),
+ ACE_NTOHL (0x74536571),
ACE_NTOHL (0x0), // name = OctetSeq
CORBA::tk_sequence, // typecode kind
12, // encapsulation length
@@ -156,27 +156,27 @@ CORBA::Boolean operator<< (
)
{
CORBA::ULong _tao_seq_len = _tao_sequence.length ();
-
+
if (strm << _tao_seq_len)
{
// Encode all elements.
-
+
#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
{
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
+ TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (CORBA::OctetSeq *)&_tao_sequence);
if (oseq->mb ())
return strm.write_octet_array_mb (oseq->mb ());
else
return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
}
-
+
#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
}
-
+
return 0;
}
@@ -186,7 +186,7 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
-
+
if (strm >> _tao_seq_len)
{
// Add a check to the length of the sequence
@@ -196,7 +196,7 @@ CORBA::Boolean operator>> (
{
return 0;
}
-
+
// Set the length of the sequence.
_tao_sequence.length (_tao_seq_len);