summaryrefslogtreecommitdiff
path: root/TAO/tao/UShortSeqA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/UShortSeqA.cpp')
-rw-r--r--TAO/tao/UShortSeqA.cpp66
1 files changed, 28 insertions, 38 deletions
diff --git a/TAO/tao/UShortSeqA.cpp b/TAO/tao/UShortSeqA.cpp
index d5923c56744..c699215b92d 100644
--- a/TAO/tao/UShortSeqA.cpp
+++ b/TAO/tao/UShortSeqA.cpp
@@ -26,53 +26,43 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
#include "UShortSeqC.h"
-#include "tao/Typecode.h"
+#include "tao/Null_RefCount_Policy.h"
+#include "tao/TypeCode_Constants.h"
+#include "tao/Alias_TypeCode.h"
+#include "tao/Sequence_TypeCode.h"
#include "tao/CDR.h"
#include "tao/Any.h"
#include "tao/Any_Dual_Impl_T.h"
// TAO_IDL - Generated from
-// be\be_visitor_typecode/typecode_defn.cpp:295
+// be\be_visitor_typecode/alias_typecode.cpp:31
+
-static const CORBA::Long _oc_CORBA_UShortSeq[] =
-{
- TAO_ENCAP_BYTE_ORDER, // byte order
- 32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x412f5553),
- ACE_NTOHL (0x686f7274),
- ACE_NTOHL (0x5365713a),
- ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CORBA/UShortSeq:1.0
- 10,
- ACE_NTOHL (0x5553686f),
- ACE_NTOHL (0x72745365),
- ACE_NTOHL (0x71000000), // name = UShortSeq
- CORBA::tk_sequence, // typecode kind
- 12, // encapsulation length
- TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_ushort,
-
- 0U,
-
-};
-
-static CORBA::TypeCode _tc_TAO_tc_CORBA_UShortSeq (
- CORBA::tk_alias,
- sizeof (_oc_CORBA_UShortSeq),
- (char *) &_oc_CORBA_UShortSeq,
- 0,
- 0
- );
+// TAO_IDL - Generated from
+// be\be_visitor_typecode/typecode_defn.cpp:744
+
+static TAO::TypeCode::Sequence<TAO::Null_RefCount_Policy>
+ _tao_tc_CORBA_UShortSeq_0 (
+ CORBA::tk_sequence,
+ &::_tao_tc_CORBA::_tc_ushort,
+ 0U);
+
+static TAO::TypeCode::Alias<char const *,
+ TAO::Null_RefCount_Policy>
+ _tao_tc_CORBA_UShortSeq (
+ "IDL:omg.org/CORBA/UShortSeq:1.0",
+ "UShortSeq",
+ &::_tao_tc_CORBA_UShortSeq_0);
+
namespace CORBA
{
::CORBA::TypeCode_ptr const _tc_UShortSeq =
- &_tc_TAO_tc_CORBA_UShortSeq;
+ &_tao_tc_CORBA_UShortSeq;
}
+
+
// TAO_IDL - Generated from
// be\be_visitor_sequence/any_op_cs.cpp:54
@@ -85,7 +75,7 @@ void operator<<= (
TAO::Any_Dual_Impl_T<CORBA::UShortSeq>::insert_copy (
_tao_any,
CORBA::UShortSeq::_tao_any_destructor,
- CORBA::_tc_UShortSeq,
+ CORBA_UShortSeq_0,
_tao_elem
);
}
@@ -99,7 +89,7 @@ void operator<<= (
TAO::Any_Dual_Impl_T<CORBA::UShortSeq>::insert (
_tao_any,
CORBA::UShortSeq::_tao_any_destructor,
- CORBA::_tc_UShortSeq,
+ CORBA_UShortSeq_0,
_tao_elem
);
}
@@ -126,7 +116,7 @@ CORBA::Boolean operator>>= (
TAO::Any_Dual_Impl_T<CORBA::UShortSeq>::extract (
_tao_any,
CORBA::UShortSeq::_tao_any_destructor,
- CORBA::_tc_UShortSeq,
+ CORBA_UShortSeq_0,
_tao_elem
);
}