summaryrefslogtreecommitdiff
path: root/TAO/tao/AnyTypeCode
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/AnyTypeCode')
-rw-r--r--TAO/tao/AnyTypeCode/AnySeq.pidl2
-rw-r--r--TAO/tao/AnyTypeCode/Any_Unknown_IDL_Type.cpp18
-rw-r--r--TAO/tao/AnyTypeCode/BasicTypeTraits.cpp487
-rw-r--r--TAO/tao/AnyTypeCode/BasicTypeTraits.h469
-rw-r--r--TAO/tao/AnyTypeCode/BasicTypeTraits_T.h42
-rw-r--r--TAO/tao/AnyTypeCode/Bounds.pidl2
-rw-r--r--TAO/tao/AnyTypeCode/Dynamic.pidl2
-rw-r--r--TAO/tao/AnyTypeCode/DynamicC.h1
-rw-r--r--TAO/tao/AnyTypeCode/Dynamic_Parameter.pidl2
-rw-r--r--TAO/tao/AnyTypeCode/Fixed_TypeCode.h2
-rw-r--r--TAO/tao/AnyTypeCode/NVList.cpp4
-rw-r--r--TAO/tao/AnyTypeCode/OctetSeqA.cpp146
-rw-r--r--TAO/tao/AnyTypeCode/OctetSeqA.h71
-rw-r--r--TAO/tao/AnyTypeCode/TypeCode.h2
-rw-r--r--TAO/tao/AnyTypeCode/UShortSeqA.cpp146
-rw-r--r--TAO/tao/AnyTypeCode/UShortSeqA.h112
-rw-r--r--TAO/tao/AnyTypeCode/ValueModifier.pidl2
-rw-r--r--TAO/tao/AnyTypeCode/Visibility.pidl2
18 files changed, 492 insertions, 1020 deletions
diff --git a/TAO/tao/AnyTypeCode/AnySeq.pidl b/TAO/tao/AnyTypeCode/AnySeq.pidl
index 7d125d431d0..18cf94274d6 100644
--- a/TAO/tao/AnyTypeCode/AnySeq.pidl
+++ b/TAO/tao/AnyTypeCode/AnySeq.pidl
@@ -8,7 +8,7 @@
* The command used to generate code is:
*
* tao_idl
- * -o orig -GA -SS -Sci
+ * -o orig -Ge 1 -GA -SS -Sci
* -Wb,export_macro=TAO_Export
* -Wb,export_include="tao/TAO_Export.h"
* -Wb,pre_include="ace/pre.h"
diff --git a/TAO/tao/AnyTypeCode/Any_Unknown_IDL_Type.cpp b/TAO/tao/AnyTypeCode/Any_Unknown_IDL_Type.cpp
index 5b2e0257e79..e9a050dde77 100644
--- a/TAO/tao/AnyTypeCode/Any_Unknown_IDL_Type.cpp
+++ b/TAO/tao/AnyTypeCode/Any_Unknown_IDL_Type.cpp
@@ -194,21 +194,17 @@ TAO::Unknown_IDL_Type::to_object (CORBA::Object_ptr &obj) const
if (kind != CORBA::tk_objref)
{
- return false;
+ return 0;
}
- // We don't want the rd_ptr to move, in case we are shared by
- // another Any, so we use this to copy the state, not the buffer.
- TAO_InputCDR for_reading (this->cdr_);
-
- return for_reading >> obj;
+ return this->cdr_ >> obj;
}
ACE_CATCH (CORBA::Exception, ex)
{
}
ACE_ENDTRY;
- return false;
+ return 0;
}
CORBA::Boolean
@@ -234,7 +230,7 @@ TAO::Unknown_IDL_Type::to_value (CORBA::ValueBase *&val) const
if (kind != CORBA::tk_value)
{
- return false;
+ return 0;
}
TAO_ORB_Core *orb_core = this->cdr_.orb_core ();
@@ -258,7 +254,7 @@ TAO::Unknown_IDL_Type::to_value (CORBA::ValueBase *&val) const
}
ACE_ENDTRY;
- return false;
+ return 0;
}
CORBA::Boolean
@@ -284,7 +280,7 @@ TAO::Unknown_IDL_Type::to_abstract_base (CORBA::AbstractBase_ptr &obj) const
if (kind != CORBA::tk_value)
{
- return false;
+ return 0;
}
TAO_ORB_Core *orb_core = this->cdr_.orb_core ();
@@ -309,7 +305,7 @@ TAO::Unknown_IDL_Type::to_abstract_base (CORBA::AbstractBase_ptr &obj) const
}
ACE_ENDTRY;
- return false;
+ return 0;
}
TAO_END_VERSIONED_NAMESPACE_DECL
diff --git a/TAO/tao/AnyTypeCode/BasicTypeTraits.cpp b/TAO/tao/AnyTypeCode/BasicTypeTraits.cpp
deleted file mode 100644
index d6d4c56276c..00000000000
--- a/TAO/tao/AnyTypeCode/BasicTypeTraits.cpp
+++ /dev/null
@@ -1,487 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file BasicTypeTraits.cpp
- *
- * $Id$
- *
- * Assign values to specialization members in BasicTypeTraits.h.
- *
- * @author Jeff Parsons <j.parsons@vanderbilt.edu>
- */
-//=============================================================================
-
-#include "tao/AnyTypeCode/BasicTypeTraits.h"
-#include "tao/AnyTypeCode/BooleanSeqA.h"
-#include "tao/AnyTypeCode/CharSeqA.h"
-#include "tao/AnyTypeCode/OctetSeqA.h"
-#include "tao/AnyTypeCode/WCharSeqA.h"
-#include "tao/AnyTypeCode/ShortSeqA.h"
-#include "tao/AnyTypeCode/UShortSeqA.h"
-#include "tao/AnyTypeCode/LongSeqA.h"
-#include "tao/AnyTypeCode/ULongSeqA.h"
-#include "tao/AnyTypeCode/LongLongSeqA.h"
-#include "tao/AnyTypeCode/ULongLongSeqA.h"
-#include "tao/AnyTypeCode/FloatSeqA.h"
-#include "tao/AnyTypeCode/DoubleSeqA.h"
-#include "tao/AnyTypeCode/LongDoubleSeqA.h"
-#include "tao/AnyTypeCode/AnySeqA.h"
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-namespace TAO
-{
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Boolean>::tc_value = CORBA::_tc_boolean;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Boolean>::tckind_value = CORBA::tk_boolean;
-
- BasicTypeTraits<CORBA::Boolean>::return_type
- BasicTypeTraits<CORBA::Boolean>::convert (extract_type& et)
- {
- return et.ref_;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Octet>::tc_value = CORBA::_tc_octet;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Octet>::tckind_value = CORBA::tk_octet;
-
- BasicTypeTraits<CORBA::Octet>::return_type
- BasicTypeTraits<CORBA::Octet>::convert (extract_type& et)
- {
- return et.ref_;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Char>::tc_value = CORBA::_tc_char;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Char>::tckind_value = CORBA::tk_char;
-
- BasicTypeTraits<CORBA::Char>::return_type
- BasicTypeTraits<CORBA::Char>::convert (extract_type& et)
- {
- return et.ref_;
- }
-
- //================================================================
-
-#if (defined (ACE_HAS_WCHAR) || defined (ACE_HAS_XPG4_MULTIBYTE_CHAR)) && !defined (ACE_LACKS_NATIVE_WCHAR_T)
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::WChar>::tc_value = CORBA::_tc_wchar;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::WChar>::tckind_value = CORBA::tk_wchar;
-
- BasicTypeTraits<CORBA::WChar>::return_type
- BasicTypeTraits<CORBA::WChar>::convert (extract_type& et)
- {
- return et.ref_;
- }
-
-#endif
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Short>::tc_value = CORBA::_tc_short;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Short>::tckind_value = CORBA::tk_short;
-
- BasicTypeTraits<CORBA::Short>::return_type
- BasicTypeTraits<CORBA::Short>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::UShort>::tc_value = CORBA::_tc_ushort;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::UShort>::tckind_value = CORBA::tk_ushort;
-
- BasicTypeTraits<CORBA::UShort>::return_type
- BasicTypeTraits<CORBA::UShort>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Long>::tc_value = CORBA::_tc_long;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Long>::tckind_value = CORBA::tk_long;
-
- BasicTypeTraits<CORBA::Long>::return_type
- BasicTypeTraits<CORBA::Long>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::ULong>::tc_value = CORBA::_tc_ulong;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::ULong>::tckind_value = CORBA::tk_ulong;
-
- BasicTypeTraits<CORBA::ULong>::return_type
- BasicTypeTraits<CORBA::ULong>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::LongLong>::tc_value = CORBA::_tc_longlong;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::LongLong>::tckind_value = CORBA::tk_longlong;
-
- BasicTypeTraits<CORBA::LongLong>::return_type
- BasicTypeTraits<CORBA::LongLong>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::ULongLong>::tc_value = CORBA::_tc_ulonglong;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::ULongLong>::tckind_value = CORBA::tk_ulonglong;
-
- BasicTypeTraits<CORBA::ULongLong>::return_type
- BasicTypeTraits<CORBA::ULongLong>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Float>::tc_value = CORBA::_tc_float;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Float>::tckind_value = CORBA::tk_float;
-
- BasicTypeTraits<CORBA::Float>::return_type
- BasicTypeTraits<CORBA::Float>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Double>::tc_value = CORBA::_tc_double;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Double>::tckind_value = CORBA::tk_double;
-
- BasicTypeTraits<CORBA::Double>::return_type
- BasicTypeTraits<CORBA::Double>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::LongDouble>::tc_value = CORBA::_tc_longdouble;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::LongDouble>::tckind_value = CORBA::tk_longdouble;
-
- BasicTypeTraits<CORBA::LongDouble>::return_type
- BasicTypeTraits<CORBA::LongDouble>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Char *>::tc_value = CORBA::_tc_string;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Char *>::tckind_value = CORBA::tk_string;
-
- BasicTypeTraits<CORBA::Char *>::return_type
- BasicTypeTraits<CORBA::Char *>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::WChar *>::tc_value = CORBA::_tc_wstring;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::WChar *>::tckind_value = CORBA::tk_wstring;
-
- BasicTypeTraits<CORBA::WChar *>::return_type
- BasicTypeTraits<CORBA::WChar *>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Any>::tc_value = CORBA::_tc_any;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Any>::tckind_value = CORBA::tk_any;
-
- BasicTypeTraits<CORBA::Any>::return_type
- BasicTypeTraits<CORBA::Any>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::Object_ptr>::tc_value = CORBA::_tc_Object;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::Object_ptr>::tckind_value = CORBA::tk_objref;
-
- BasicTypeTraits<CORBA::Object_ptr>::return_type
- BasicTypeTraits<CORBA::Object_ptr>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::TypeCode_ptr>::tc_value = CORBA::_tc_TypeCode;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::TypeCode_ptr>::tckind_value = CORBA::tk_TypeCode;
-
- BasicTypeTraits<CORBA::TypeCode_ptr>::return_type
- BasicTypeTraits<CORBA::TypeCode_ptr>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::BooleanSeq>::tc_value = CORBA::_tc_BooleanSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::BooleanSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::BooleanSeq>::return_type
- BasicTypeTraits<CORBA::BooleanSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::OctetSeq>::tc_value = CORBA::_tc_OctetSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::OctetSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::OctetSeq>::return_type
- BasicTypeTraits<CORBA::OctetSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::CharSeq>::tc_value = CORBA::_tc_CharSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::CharSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::CharSeq>::return_type
- BasicTypeTraits<CORBA::CharSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::WCharSeq>::tc_value = CORBA::_tc_WCharSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::WCharSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::WCharSeq>::return_type
- BasicTypeTraits<CORBA::WCharSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::ShortSeq>::tc_value = CORBA::_tc_ShortSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::ShortSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::ShortSeq>::return_type
- BasicTypeTraits<CORBA::ShortSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::UShortSeq>::tc_value = CORBA::_tc_UShortSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::UShortSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::UShortSeq>::return_type
- BasicTypeTraits<CORBA::UShortSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::LongSeq>::tc_value = CORBA::_tc_LongSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::LongSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::LongSeq>::return_type
- BasicTypeTraits<CORBA::LongSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::ULongSeq>::tc_value = CORBA::_tc_ULongSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::ULongSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::ULongSeq>::return_type
- BasicTypeTraits<CORBA::ULongSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::LongLongSeq>::tc_value = CORBA::_tc_LongLongSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::LongLongSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::LongLongSeq>::return_type
- BasicTypeTraits<CORBA::LongLongSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::ULongLongSeq>::tc_value = CORBA::_tc_ULongLongSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::ULongLongSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::ULongLongSeq>::return_type
- BasicTypeTraits<CORBA::ULongLongSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::FloatSeq>::tc_value = CORBA::_tc_FloatSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::FloatSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::FloatSeq>::return_type
- BasicTypeTraits<CORBA::FloatSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::DoubleSeq>::tc_value = CORBA::_tc_DoubleSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::DoubleSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::DoubleSeq>::return_type
- BasicTypeTraits<CORBA::DoubleSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::LongDoubleSeq>::tc_value = CORBA::_tc_LongDoubleSeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::LongDoubleSeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::LongDoubleSeq>::return_type
- BasicTypeTraits<CORBA::LongDoubleSeq>::convert (extract_type& et)
- {
- return et;
- }
-
- //================================================================
-
- CORBA::TypeCode_ptr const
- BasicTypeTraits<CORBA::AnySeq>::tc_value = CORBA::_tc_AnySeq;
-
- CORBA::TCKind const
- BasicTypeTraits<CORBA::AnySeq>::tckind_value = CORBA::tk_sequence;
-
- BasicTypeTraits<CORBA::AnySeq>::return_type
- BasicTypeTraits<CORBA::AnySeq>::convert (extract_type& et)
- {
- return et;
- }
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL
-
diff --git a/TAO/tao/AnyTypeCode/BasicTypeTraits.h b/TAO/tao/AnyTypeCode/BasicTypeTraits.h
deleted file mode 100644
index 73b3c0b4109..00000000000
--- a/TAO/tao/AnyTypeCode/BasicTypeTraits.h
+++ /dev/null
@@ -1,469 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file BasicTypeTraits.h
- *
- * $Id$
- *
- * Specializations of template traits in BasicTypeTraits_T.h.
- *
- * @author Jeff Parsons <j.parsons@vanderbilt.edu>
- */
-//=============================================================================
-
-#include "tao/AnyTypeCode/BasicTypeTraits_T.h"
-#include "tao/AnyTypeCode/Any.h"
-
-#include "tao/Typecode_typesC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-namespace CORBA
-{
- class TypeCode;
- typedef TypeCode * TypeCode_ptr;
-
- class BooleanSeq;
- class CharSeq;
- class OctetSeq;
- class WCharSeq;
- class ShortSeq;
- class UShortSeq;
- class LongSeq;
- class ULongSeq;
- class LongLongSeq;
- class ULongLongSeq;
- class FloatSeq;
- class DoubleSeq;
- class LongDoubleSeq;
- class AnySeq;
-}
-
-namespace TAO
-{
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Boolean>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Any::from_boolean insert_type;
- typedef CORBA::Any::to_boolean extract_type;
- typedef CORBA::Boolean return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Octet>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Any::from_octet insert_type;
- typedef CORBA::Any::to_octet extract_type;
- typedef CORBA::Octet return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Char>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Any::from_char insert_type;
- typedef CORBA::Any::to_char extract_type;
- typedef CORBA::Char return_type;
-
- static return_type convert (extract_type& et);
- };
-
-#if (defined (ACE_HAS_WCHAR) || defined (ACE_HAS_XPG4_MULTIBYTE_CHAR)) && !defined (ACE_LACKS_NATIVE_WCHAR_T)
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::WChar>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Any::from_wchar insert_type;
- typedef CORBA::Any::to_wchar extract_type;
- typedef CORBA::WChar return_type;
-
- static return_type convert (extract_type& et);
- };
-#endif
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Short>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Short insert_type;
- typedef CORBA::Short extract_type;
- typedef CORBA::Short return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::UShort>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::UShort insert_type;
- typedef CORBA::UShort extract_type;
- typedef CORBA::UShort return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Long>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Long insert_type;
- typedef CORBA::Long extract_type;
- typedef CORBA::Long return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::ULong>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::ULong insert_type;
- typedef CORBA::ULong extract_type;
- typedef CORBA::ULong return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::LongLong>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::LongLong insert_type;
- typedef CORBA::LongLong extract_type;
- typedef CORBA::LongLong return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::ULongLong>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::ULongLong insert_type;
- typedef CORBA::ULongLong extract_type;
- typedef CORBA::ULongLong return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Float>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Float insert_type;
- typedef CORBA::Float extract_type;
- typedef CORBA::Float return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Double>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Double insert_type;
- typedef CORBA::Double extract_type;
- typedef CORBA::Double return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::LongDouble>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::LongDouble insert_type;
- typedef CORBA::LongDouble extract_type;
- typedef CORBA::LongDouble return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Char *>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Char * insert_type;
- typedef CORBA::Char * extract_type;
- typedef CORBA::Char * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::WChar *>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::WChar * insert_type;
- typedef CORBA::WChar * extract_type;
- typedef CORBA::WChar * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Any>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Any insert_type;
- typedef CORBA::Any * extract_type;
- typedef CORBA::Any * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::Object_ptr>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::Object_ptr insert_type;
- typedef CORBA::Object_ptr extract_type;
- typedef CORBA::Object_ptr return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::TypeCode_ptr>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::TypeCode_ptr insert_type;
- typedef CORBA::TypeCode_ptr extract_type;
- typedef CORBA::TypeCode_ptr return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::BooleanSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::BooleanSeq insert_type;
- typedef CORBA::BooleanSeq * extract_type;
- typedef CORBA::BooleanSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::OctetSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value ;
-
- typedef CORBA::OctetSeq insert_type;
- typedef CORBA::OctetSeq * extract_type;
- typedef CORBA::OctetSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::CharSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::CharSeq insert_type;
- typedef CORBA::CharSeq * extract_type;
- typedef CORBA::CharSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::WCharSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::WCharSeq insert_type;
- typedef CORBA::WCharSeq * extract_type;
- typedef CORBA::WCharSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::ShortSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::ShortSeq insert_type;
- typedef CORBA::ShortSeq * extract_type;
- typedef CORBA::ShortSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::UShortSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::UShortSeq insert_type;
- typedef CORBA::UShortSeq * extract_type;
- typedef CORBA::UShortSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::LongSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::LongSeq insert_type;
- typedef CORBA::LongSeq * extract_type;
- typedef CORBA::LongSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::ULongSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::ULongSeq insert_type;
- typedef CORBA::ULongSeq * extract_type;
- typedef CORBA::ULongSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::LongLongSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::LongLongSeq insert_type;
- typedef CORBA::LongLongSeq * extract_type;
- typedef CORBA::LongLongSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::ULongLongSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::ULongLongSeq insert_type;
- typedef CORBA::ULongLongSeq * extract_type;
- typedef CORBA::ULongLongSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::FloatSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::FloatSeq insert_type;
- typedef CORBA::FloatSeq * extract_type;
- typedef CORBA::FloatSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::DoubleSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::DoubleSeq insert_type;
- typedef CORBA::DoubleSeq * extract_type;
- typedef CORBA::DoubleSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::LongDoubleSeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::LongDoubleSeq insert_type;
- typedef CORBA::LongDoubleSeq * extract_type;
- typedef CORBA::LongDoubleSeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-
- template<>
- struct TAO_AnyTypeCode_Export BasicTypeTraits<CORBA::AnySeq>
- {
- static CORBA::TypeCode_ptr const tc_value;
- static CORBA::TCKind const tckind_value;
-
- typedef CORBA::AnySeq insert_type;
- typedef CORBA::AnySeq * extract_type;
- typedef CORBA::AnySeq * return_type;
-
- static return_type convert (extract_type& et);
- };
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL
-
diff --git a/TAO/tao/AnyTypeCode/BasicTypeTraits_T.h b/TAO/tao/AnyTypeCode/BasicTypeTraits_T.h
deleted file mode 100644
index 9e1321f36c7..00000000000
--- a/TAO/tao/AnyTypeCode/BasicTypeTraits_T.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file BasicTypeTraits_T.h
- *
- * $Id$
- *
- * Template traits useful for programming with predefined types.
- *
- * @author Jeff Parsons <j.parsons@vanderbilt.edu>
- */
-//=============================================================================
-
-#ifndef BASIC_TYPE_TRAITS_T_H
-#define BASIC_TYPE_TRAITS_T_H
-
-#include /**/ "ace/pre.h"
-
-#include "tao/orbconf.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-namespace TAO
-{
- // Forward declaration forces specialization for each type used,
- // necessary since each instantiated struct has values that cannot
- // be set generically, so they must be set explicitly and exported.
- template<typename T>
- struct BasicTypeTraits;
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL
-
-#include /**/ "ace/post.h"
-
-#endif /* BASIC_TYPE_TRAITS_T_H */
-
diff --git a/TAO/tao/AnyTypeCode/Bounds.pidl b/TAO/tao/AnyTypeCode/Bounds.pidl
index 1ade7f964b6..f0155c854ab 100644
--- a/TAO/tao/AnyTypeCode/Bounds.pidl
+++ b/TAO/tao/AnyTypeCode/Bounds.pidl
@@ -10,7 +10,7 @@
* following command:
*
* tao_idl
- * -o orig -GA -Sci
+ * -o orig -Ge 1 -GA -Sci
* -Wb,export_macro=TAO_Export
* -Wb,export_include=TAO_Export.h
* -Wb,pre_include="ace/pre.h"
diff --git a/TAO/tao/AnyTypeCode/Dynamic.pidl b/TAO/tao/AnyTypeCode/Dynamic.pidl
index 51c4053c75f..48bd24f4971 100644
--- a/TAO/tao/AnyTypeCode/Dynamic.pidl
+++ b/TAO/tao/AnyTypeCode/Dynamic.pidl
@@ -10,7 +10,7 @@
* used to generate code is:
*
* tao_idl
- * -o orig -GA -SS -Sci
+ * -o orig -Ge 1 -GA -SS -Sci
* -Wb,export_macro=TAO_Export
* -Wb,export_include="tao/TAO_Export.h"
* -Wb,pre_include="ace/pre.h"
diff --git a/TAO/tao/AnyTypeCode/DynamicC.h b/TAO/tao/AnyTypeCode/DynamicC.h
index c345eb2c66d..92e2d9ba9b9 100644
--- a/TAO/tao/AnyTypeCode/DynamicC.h
+++ b/TAO/tao/AnyTypeCode/DynamicC.h
@@ -129,7 +129,6 @@ namespace Dynamic
static void _tao_any_destructor (void *);
typedef ParameterList_var _var_type;
- typedef ParameterList_out _out_type;
};
#endif /* end #if !defined */
diff --git a/TAO/tao/AnyTypeCode/Dynamic_Parameter.pidl b/TAO/tao/AnyTypeCode/Dynamic_Parameter.pidl
index 0d69d6c54ff..aee0f76d991 100644
--- a/TAO/tao/AnyTypeCode/Dynamic_Parameter.pidl
+++ b/TAO/tao/AnyTypeCode/Dynamic_Parameter.pidl
@@ -10,7 +10,7 @@
* used to generate code is:
*
* tao_idl
- * -o orig -GA -Sci
+ * -o orig -Ge 1 -GA -Sci
* -Wb,export_macro=TAO_Export
* -Wb,export_include="tao/TAO_Export.h"
* -Wb,pre_include="ace/pre.h"
diff --git a/TAO/tao/AnyTypeCode/Fixed_TypeCode.h b/TAO/tao/AnyTypeCode/Fixed_TypeCode.h
index 058b327e37e..3e300cb3658 100644
--- a/TAO/tao/AnyTypeCode/Fixed_TypeCode.h
+++ b/TAO/tao/AnyTypeCode/Fixed_TypeCode.h
@@ -33,7 +33,7 @@ namespace TAO
/**
* @class Fixed
*
- * @brief @c CORBA::TypeCode implementation for the OMG IDL fixed
+ * @brief @c CORBA::TypeCode implementation for the OMG IDL @fixed
* types.
*
* This class implements a @c CORBA::TypeCode for the OMG IDL @c
diff --git a/TAO/tao/AnyTypeCode/NVList.cpp b/TAO/tao/AnyTypeCode/NVList.cpp
index 56528db0c81..0a0b9ef54ee 100644
--- a/TAO/tao/AnyTypeCode/NVList.cpp
+++ b/TAO/tao/AnyTypeCode/NVList.cpp
@@ -490,11 +490,11 @@ CORBA::NVList::_lazy_has_arguments (void) const
{
if (this->incoming_ != 0)
{
- return this->incoming_->length () <= 1 ? false : true;
+ return this->incoming_->length () == 0 ? 0 : 1;
}
else
{
- return this->count () <= 1 ? false : true;
+ return this->count () == 0 ? 0 : 1;
}
}
diff --git a/TAO/tao/AnyTypeCode/OctetSeqA.cpp b/TAO/tao/AnyTypeCode/OctetSeqA.cpp
new file mode 100644
index 00000000000..dd6b7864968
--- /dev/null
+++ b/TAO/tao/AnyTypeCode/OctetSeqA.cpp
@@ -0,0 +1,146 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#include "tao/AnyTypeCode/OctetSeqA.h"
+#include "tao/AnyTypeCode/Null_RefCount_Policy.h"
+#include "tao/AnyTypeCode/TypeCode_Constants.h"
+#include "tao/AnyTypeCode/Alias_TypeCode_Static.h"
+#include "tao/AnyTypeCode/Sequence_TypeCode_Static.h"
+#include "tao/CDR.h"
+#include "tao/AnyTypeCode/Any.h"
+#include "tao/AnyTypeCode/Any_Dual_Impl_T.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+// TAO_IDL - Generated from
+// be\be_visitor_typecode/alias_typecode.cpp:50
+
+
+
+// TAO_IDL - Generated from
+// be\be_visitor_typecode/typecode_defn.cpp:937
+
+
+#ifndef _TAO_TYPECODE_CORBA_OctetSeq_GUARD
+#define _TAO_TYPECODE_CORBA_OctetSeq_GUARD
+namespace TAO
+{
+ namespace TypeCode
+ {
+ TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *,
+ TAO::Null_RefCount_Policy>
+ CORBA_OctetSeq_0 (
+ CORBA::tk_sequence,
+ &CORBA::_tc_octet,
+ 0U);
+
+ ::CORBA::TypeCode_ptr const tc_CORBA_OctetSeq_0 =
+ &CORBA_OctetSeq_0;
+
+ }
+}
+
+
+#endif /* _TAO_TYPECODE_CORBA_OctetSeq_GUARD */
+
+static TAO::TypeCode::Alias<char const *,
+ CORBA::TypeCode_ptr const *,
+ TAO::Null_RefCount_Policy>
+ _tao_tc_CORBA_OctetSeq (
+ CORBA::tk_alias,
+ "IDL:omg.org/CORBA/OctetSeq:1.0",
+ "OctetSeq",
+ &TAO::TypeCode::tc_CORBA_OctetSeq_0);
+
+namespace CORBA
+{
+ ::CORBA::TypeCode_ptr const _tc_OctetSeq =
+ &_tao_tc_CORBA_OctetSeq;
+}
+
+
+
+// TAO_IDL - Generated from
+// be\be_visitor_sequence/any_op_cs.cpp:54
+
+
+// Copying insertion.
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const CORBA::OctetSeq &_tao_elem
+ )
+{
+ TAO::Any_Dual_Impl_T<CORBA::OctetSeq>::insert_copy (
+ _tao_any,
+ CORBA::OctetSeq::_tao_any_destructor,
+ TAO::TypeCode::tc_CORBA_OctetSeq_0,
+ _tao_elem
+ );
+}
+
+// Non-copying insertion.
+void operator<<= (
+ CORBA::Any &_tao_any,
+ CORBA::OctetSeq *_tao_elem
+ )
+{
+ TAO::Any_Dual_Impl_T<CORBA::OctetSeq>::insert (
+ _tao_any,
+ CORBA::OctetSeq::_tao_any_destructor,
+ TAO::TypeCode::tc_CORBA_OctetSeq_0,
+ _tao_elem
+ );
+}
+
+// Extraction to non-const pointer (deprecated).
+CORBA::Boolean operator>>= (
+ const CORBA::Any &_tao_any,
+ CORBA::OctetSeq *&_tao_elem
+ )
+{
+ return _tao_any >>= const_cast<
+ const CORBA::OctetSeq *&> (
+ _tao_elem
+ );
+}
+
+// Extraction to const pointer.
+CORBA::Boolean operator>>= (
+ const CORBA::Any &_tao_any,
+ const CORBA::OctetSeq *&_tao_elem
+ )
+{
+ return
+ TAO::Any_Dual_Impl_T<CORBA::OctetSeq>::extract (
+ _tao_any,
+ CORBA::OctetSeq::_tao_any_destructor,
+ TAO::TypeCode::tc_CORBA_OctetSeq_0,
+ _tao_elem
+ );
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL
diff --git a/TAO/tao/AnyTypeCode/OctetSeqA.h b/TAO/tao/AnyTypeCode/OctetSeqA.h
new file mode 100644
index 00000000000..8b94976cb20
--- /dev/null
+++ b/TAO/tao/AnyTypeCode/OctetSeqA.h
@@ -0,0 +1,71 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be\be_codegen.cpp:788
+
+#ifndef _TAO_IDL_ANYTYPECODE_OCTETSEQA_H_
+#define _TAO_IDL_ANYTYPECODE_OCTETSEQA_H_
+
+#include /**/ "ace/pre.h"
+
+#include "tao/AnyTypeCode/TAO_AnyTypeCode_Export.h"
+#include "tao/AnyTypeCode/AnyTypeCode_methods.h"
+#include "tao/OctetSeqC.h"
+
+
+// TAO_IDL - Generated from
+// be\be_visitor_module/module_ch.cpp:59
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace CORBA
+{
+
+ // TAO_IDL - Generated from
+ // be\be_visitor_typecode/typecode_decl.cpp:49
+
+ extern TAO_AnyTypeCode_Export ::CORBA::TypeCode_ptr const _tc_OctetSeq;
+
+// TAO_IDL - Generated from
+// be\be_visitor_module/module_ch.cpp:86
+
+} // module CORBA
+
+// TAO_IDL - Generated from
+// be\be_visitor_sequence/any_op_ch.cpp:53
+
+TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, const CORBA::OctetSeq &); // copying version
+TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, CORBA::OctetSeq*); // noncopying version
+TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::OctetSeq *&); // deprecated
+TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::OctetSeq *&);
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#include /**/ "ace/post.h"
+
+#endif /* ifndef */
diff --git a/TAO/tao/AnyTypeCode/TypeCode.h b/TAO/tao/AnyTypeCode/TypeCode.h
index 98957712997..141e89f46e8 100644
--- a/TAO/tao/AnyTypeCode/TypeCode.h
+++ b/TAO/tao/AnyTypeCode/TypeCode.h
@@ -423,7 +423,7 @@ namespace CORBA
* @note This is a TAO-specific method that is not part of the
* standard @c CORBA::TypeCode interface.
*
- * @note If this method returns false, the contents of the @a cdr
+ * @note If this method returns @false, the contents of the @a cdr
* output CDR stream are undefined.
*/
virtual bool tao_marshal (TAO_OutputCDR & cdr,
diff --git a/TAO/tao/AnyTypeCode/UShortSeqA.cpp b/TAO/tao/AnyTypeCode/UShortSeqA.cpp
new file mode 100644
index 00000000000..582d15d69d0
--- /dev/null
+++ b/TAO/tao/AnyTypeCode/UShortSeqA.cpp
@@ -0,0 +1,146 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#include "tao/AnyTypeCode/UShortSeqA.h"
+#include "tao/AnyTypeCode/Null_RefCount_Policy.h"
+#include "tao/AnyTypeCode/TypeCode_Constants.h"
+#include "tao/AnyTypeCode/Alias_TypeCode_Static.h"
+#include "tao/AnyTypeCode/Sequence_TypeCode_Static.h"
+#include "tao/CDR.h"
+#include "tao/AnyTypeCode/Any.h"
+#include "tao/AnyTypeCode/Any_Dual_Impl_T.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+// TAO_IDL - Generated from
+// be\be_visitor_typecode/alias_typecode.cpp:50
+
+
+
+// TAO_IDL - Generated from
+// be\be_visitor_typecode/typecode_defn.cpp:937
+
+
+#ifndef _TAO_TYPECODE_CORBA_UShortSeq_GUARD
+#define _TAO_TYPECODE_CORBA_UShortSeq_GUARD
+namespace TAO
+{
+ namespace TypeCode
+ {
+ TAO::TypeCode::Sequence< ::CORBA::TypeCode_ptr const *,
+ TAO::Null_RefCount_Policy>
+ CORBA_UShortSeq_0 (
+ CORBA::tk_sequence,
+ &CORBA::_tc_ushort,
+ 0U);
+
+ ::CORBA::TypeCode_ptr const tc_CORBA_UShortSeq_0 =
+ &CORBA_UShortSeq_0;
+
+ }
+}
+
+
+#endif /* _TAO_TYPECODE_CORBA_UShortSeq_GUARD */
+
+static TAO::TypeCode::Alias<char const *,
+ CORBA::TypeCode_ptr const *,
+ TAO::Null_RefCount_Policy>
+ _tao_tc_CORBA_UShortSeq (
+ CORBA::tk_alias,
+ "IDL:omg.org/CORBA/UShortSeq:1.0",
+ "UShortSeq",
+ &TAO::TypeCode::tc_CORBA_UShortSeq_0);
+
+namespace CORBA
+{
+ ::CORBA::TypeCode_ptr const _tc_UShortSeq =
+ &_tao_tc_CORBA_UShortSeq;
+}
+
+
+
+// TAO_IDL - Generated from
+// be\be_visitor_sequence/any_op_cs.cpp:54
+
+
+// Copying insertion.
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const CORBA::UShortSeq &_tao_elem
+ )
+{
+ TAO::Any_Dual_Impl_T<CORBA::UShortSeq>::insert_copy (
+ _tao_any,
+ CORBA::UShortSeq::_tao_any_destructor,
+ TAO::TypeCode::tc_CORBA_UShortSeq_0,
+ _tao_elem
+ );
+}
+
+// Non-copying insertion.
+void operator<<= (
+ CORBA::Any &_tao_any,
+ CORBA::UShortSeq *_tao_elem
+ )
+{
+ TAO::Any_Dual_Impl_T<CORBA::UShortSeq>::insert (
+ _tao_any,
+ CORBA::UShortSeq::_tao_any_destructor,
+ TAO::TypeCode::tc_CORBA_UShortSeq_0,
+ _tao_elem
+ );
+}
+
+// Extraction to non-const pointer (deprecated).
+CORBA::Boolean operator>>= (
+ const CORBA::Any &_tao_any,
+ CORBA::UShortSeq *&_tao_elem
+ )
+{
+ return _tao_any >>= const_cast<
+ const CORBA::UShortSeq *&> (
+ _tao_elem
+ );
+}
+
+// Extraction to const pointer.
+CORBA::Boolean operator>>= (
+ const CORBA::Any &_tao_any,
+ const CORBA::UShortSeq *&_tao_elem
+ )
+{
+ return
+ TAO::Any_Dual_Impl_T<CORBA::UShortSeq>::extract (
+ _tao_any,
+ CORBA::UShortSeq::_tao_any_destructor,
+ TAO::TypeCode::tc_CORBA_UShortSeq_0,
+ _tao_elem
+ );
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL
diff --git a/TAO/tao/AnyTypeCode/UShortSeqA.h b/TAO/tao/AnyTypeCode/UShortSeqA.h
new file mode 100644
index 00000000000..824246509de
--- /dev/null
+++ b/TAO/tao/AnyTypeCode/UShortSeqA.h
@@ -0,0 +1,112 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// be\be_codegen.cpp:153
+
+#ifndef _TAO_IDL_ORIG_USHORTSEQA_H_
+#define _TAO_IDL_ORIG_USHORTSEQA_H_
+
+#include /**/ "ace/pre.h"
+
+
+#include "ace/config-all.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/AnyTypeCode/TAO_AnyTypeCode_Export.h"
+#include "tao/AnyTypeCode/AnyTypeCode_methods.h"
+#include "tao/UShortSeqC.h"
+
+#if defined (TAO_EXPORT_MACRO)
+#undef TAO_EXPORT_MACRO
+#endif
+#define TAO_EXPORT_MACRO TAO_AnyTypeCode_Export
+
+#if defined(_MSC_VER)
+#pragma warning(push)
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+// TAO_IDL - Generated from
+// be\be_visitor_module/module_ch.cpp:48
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace CORBA
+{
+
+ // TAO_IDL - Generated from
+ // be\be_visitor_typecode/typecode_decl.cpp:44
+
+ extern TAO_AnyTypeCode_Export ::CORBA::TypeCode_ptr const _tc_UShortSeq;
+
+// TAO_IDL - Generated from
+// be\be_visitor_module/module_ch.cpp:66
+
+} // module CORBA
+
+// TAO_IDL - Generated from
+// be\be_visitor_traits.cpp:61
+
+// Traits specializations.
+namespace TAO
+{
+}
+
+// TAO_IDL - Generated from
+// be\be_visitor_sequence/any_op_ch.cpp:52
+
+TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, const CORBA::UShortSeq &); // copying version
+TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, CORBA::UShortSeq*); // noncopying version
+TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::UShortSeq *&); // deprecated
+TAO_AnyTypeCode_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::UShortSeq *&);
+
+// TAO_IDL - Generated from
+// be\be_codegen.cpp:955
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+#if defined(_MSC_VER)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include /**/ "ace/post.h"
+
+#endif /* ifndef */
+
+
diff --git a/TAO/tao/AnyTypeCode/ValueModifier.pidl b/TAO/tao/AnyTypeCode/ValueModifier.pidl
index e5e8981c404..794ac4af092 100644
--- a/TAO/tao/AnyTypeCode/ValueModifier.pidl
+++ b/TAO/tao/AnyTypeCode/ValueModifier.pidl
@@ -10,7 +10,7 @@
* used to generate code is:
*
* tao_idl
- * -o orig -SS -Sci -St
+ * -o orig -Ge 1 -SS -Sci -St
* -Wb,export_macro=TAO_Export
* -Wb,export_include="tao/TAO_Export.h"
* -Wb,pre_include="ace/pre.h"
diff --git a/TAO/tao/AnyTypeCode/Visibility.pidl b/TAO/tao/AnyTypeCode/Visibility.pidl
index 6b2b5b645d9..27f4f755c8b 100644
--- a/TAO/tao/AnyTypeCode/Visibility.pidl
+++ b/TAO/tao/AnyTypeCode/Visibility.pidl
@@ -10,7 +10,7 @@
* used to generate code is:
*
* tao_idl
- * -o orig -SS -Sci
+ * -o orig -SS -Ge 1 -Sci
* -Wb,export_macro=TAO_Export
* -Wb,export_include="tao/TAO_Export.h"
* -Wb,pre_include="ace/pre.h"