summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLog9
-rw-r--r--TAO/tao/IOP_IORC.cpp1176
-rw-r--r--TAO/tao/IOP_IORC.h1461
-rw-r--r--TAO/tao/IOP_IORC.i3031
-rw-r--r--TAO/tao/diffs/IOP_IOR.diff774
5 files changed, 1818 insertions, 4633 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 34a96352a69..481fe7225f0 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,12 @@
+Sun Apr 27 09:37:06 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
+
+ * tao/IOP_IORC.h:
+ * tao/IOP_IORC.cpp:
+ * tao/IOP_IORC.i: Regenerated the code. Somehow the regenarted
+ code never got merged back from the branch.
+
+ * tao/diffs/IOP_IOR.diff: Updated diff file.
+
Sat Apr 26 16:08:15 2003 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tao/PortableServer/Servant_Base.{h,cpp} Added an accessor method
diff --git a/TAO/tao/IOP_IORC.cpp b/TAO/tao/IOP_IORC.cpp
index 9c0bd6a8db6..d44b2b05cb2 100644
--- a/TAO/tao/IOP_IORC.cpp
+++ b/TAO/tao/IOP_IORC.cpp
@@ -15,6 +15,12 @@
// 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
@@ -184,6 +190,45 @@ void IOP::TaggedProfile::_tao_any_destructor (void *_tao_void_pointer)
}
// TAO_IDL - Generated from
+// be/be_type.cpp:292
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_Var_Var_T<
+ IOP::TaggedProfile
+ >;
+
+template class TAO_Var_Base_T<
+ IOP::TaggedProfile
+ >;
+
+template class
+ TAO_Out_T<
+ IOP::TaggedProfile,
+ IOP::TaggedProfile_var
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_Var_Var_T< \
+ IOP::TaggedProfile \
+ >
+
+#pragma instantiate TAO_Var_Base_T<
+ IOP::TaggedProfile
+ >
+
+# pragma instantiate \
+ TAO_Out_T< \
+ IOP::TaggedProfile, \
+ IOP::TaggedProfile_var \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_IOP_IOR[] =
@@ -312,127 +357,101 @@ void IOP::IOR::_tao_any_destructor (void *_tao_void_pointer)
}
// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_
-
-void
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedProfile* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedProfile *old =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedProfile *tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::~_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_)
-#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_cs.cpp:249
+// be/be_visitor_sequence/sequence_cs.cpp:70
-// *************************************************************
-// IOP::IOR::_tao_seq_TaggedProfile
-// *************************************************************
+#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_PROFILES_CS_)
+#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_PROFILES_CS_
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (void)
+IOP::IOR::_tao_seq_TaggedProfile_profiles::_tao_seq_TaggedProfile_profiles (void)
{}
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedProfile>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
+IOP::IOR::_tao_seq_TaggedProfile_profiles::_tao_seq_TaggedProfile_profiles (
+ CORBA::ULong max
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedProfile
+ >
+ (max)
{}
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (
+IOP::IOR::_tao_seq_TaggedProfile_profiles::_tao_seq_TaggedProfile_profiles (
CORBA::ULong max,
CORBA::ULong length,
- IOP::TaggedProfile *buffer,
+ IOP::TaggedProfile * buffer,
CORBA::Boolean release
)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedProfile>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedProfile
+ >
+ (max, length, buffer, release)
{}
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (const _tao_seq_TaggedProfile &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedProfile>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
+IOP::IOR::_tao_seq_TaggedProfile_profiles::_tao_seq_TaggedProfile_profiles (
+ const _tao_seq_TaggedProfile_profiles &seq
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedProfile
+ >
+ (seq)
{}
-IOP::IOR::_tao_seq_TaggedProfile::~_tao_seq_TaggedProfile (void) // dtor
+IOP::IOR::_tao_seq_TaggedProfile_profiles::~_tao_seq_TaggedProfile_profiles (void)
{}
-void IOP::IOR::_tao_seq_TaggedProfile::_tao_any_destructor (void *_tao_void_pointer)
+void IOP::IOR::_tao_seq_TaggedProfile_profiles::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
{
- _tao_seq_TaggedProfile *tmp = ACE_static_cast (_tao_seq_TaggedProfile*, _tao_void_pointer);
+ _tao_seq_TaggedProfile_profiles * tmp =
+ ACE_static_cast (
+ _tao_seq_TaggedProfile_profiles *,
+ _tao_void_pointer
+ );
delete tmp;
}
#endif /* end #if !defined */
// TAO_IDL - Generated from
+// be/be_type.cpp:292
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_Var_Var_T<
+ IOP::IOR
+ >;
+
+template class TAO_Var_Base_T<
+ IOP::IOR
+ >;
+
+template class
+ TAO_Out_T<
+ IOP::IOR,
+ IOP::IOR_var
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_Var_Var_T< \
+ IOP::IOR \
+ >
+
+#pragma instantiate TAO_Var_Base_T<
+ IOP::IOR
+ >
+
+# pragma instantiate \
+ TAO_Out_T< \
+ IOP::IOR, \
+ IOP::IOR_var \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_IOP_ComponentId[] =
@@ -572,125 +591,158 @@ void IOP::TaggedComponent::_tao_any_destructor (void *_tao_void_pointer)
delete tmp;
}
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100
+// TAO_IDL - Generated from
+// be/be_type.cpp:292
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CS_
+template class
+ TAO_Var_Var_T<
+ IOP::TaggedComponent
+ >;
-void
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedComponent* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedComponent *old =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
+template class TAO_Var_Base_T<
+ IOP::TaggedComponent
+ >;
-void
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (tmp);
- this->buffer_ = 0;
-}
+template class
+ TAO_Out_T<
+ IOP::TaggedComponent,
+ IOP::TaggedComponent_var
+ >;
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void)
-{
- this->_deallocate_buffer ();
-}
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#endif /* end #if !defined */
+# pragma instantiate \
+ TAO_Var_Var_T< \
+ IOP::TaggedComponent \
+ >
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#pragma instantiate TAO_Var_Base_T<
+ IOP::TaggedComponent
+ >
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CS_)
-#define _IOP_MULTIPLECOMPONENTPROFILE_CS_
+# pragma instantiate \
+ TAO_Out_T< \
+ IOP::TaggedComponent, \
+ IOP::TaggedComponent_var \
+ >
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_cs.cpp:249
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// *************************************************************
-// IOP::MultipleComponentProfile
-// *************************************************************
+// TAO_IDL - Generated from
+// be/be_visitor_sequence/sequence_cs.cpp:70
+
+#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CS_)
+#define _IOP_MULTIPLECOMPONENTPROFILE_CS_
IOP::MultipleComponentProfile::MultipleComponentProfile (void)
{}
-IOP::MultipleComponentProfile::MultipleComponentProfile (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
+IOP::MultipleComponentProfile::MultipleComponentProfile (
+ CORBA::ULong max
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (max)
{}
IOP::MultipleComponentProfile::MultipleComponentProfile (
CORBA::ULong max,
CORBA::ULong length,
- IOP::TaggedComponent *buffer,
+ IOP::TaggedComponent * buffer,
CORBA::Boolean release
)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (max, length, buffer, release)
{}
-IOP::MultipleComponentProfile::MultipleComponentProfile (const MultipleComponentProfile &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
+IOP::MultipleComponentProfile::MultipleComponentProfile (
+ const MultipleComponentProfile &seq
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (seq)
{}
-IOP::MultipleComponentProfile::~MultipleComponentProfile (void) // dtor
+IOP::MultipleComponentProfile::~MultipleComponentProfile (void)
{}
-void IOP::MultipleComponentProfile::_tao_any_destructor (void *_tao_void_pointer)
+void IOP::MultipleComponentProfile::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
{
- MultipleComponentProfile *tmp = ACE_static_cast (MultipleComponentProfile*, _tao_void_pointer);
+ MultipleComponentProfile * tmp =
+ ACE_static_cast (
+ MultipleComponentProfile *,
+ _tao_void_pointer
+ );
delete tmp;
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_VarSeq_Var_T<
+ IOP::MultipleComponentProfile,
+ IOP::TaggedComponent
+ >;
+
+template class
+ TAO_Seq_Var_Base_T<
+ IOP::MultipleComponentProfile,
+ IOP::TaggedComponent
+ >;
+
+template class
+ TAO_Seq_Out_T<
+ IOP::MultipleComponentProfile,
+ IOP::MultipleComponentProfile_var,
+ IOP::TaggedComponent
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_VarSeq_Var_T< \
+ MultipleComponentProfile, \
+ IOP::TaggedComponent \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Var_Base_T< \
+ MultipleComponentProfile, \
+ IOP::TaggedComponent \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Out_T< \
+ MultipleComponentProfile, \
+ MultipleComponentProfile_var, \
+ IOP::TaggedComponent \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >;
+
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -815,124 +867,118 @@ TAO_NAMESPACE_DEFINE (
TAO_NAMESPACE_END
// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CS_
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedComponent* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedComponent *old =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::~_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+// be/be_visitor_sequence/sequence_cs.cpp:70
#if !defined (_IOP_TAGGEDCOMPONENTLIST_CS_)
#define _IOP_TAGGEDCOMPONENTLIST_CS_
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_cs.cpp:249
-
-// *************************************************************
-// IOP::TaggedComponentList
-// *************************************************************
-
IOP::TaggedComponentList::TaggedComponentList (void)
{}
-IOP::TaggedComponentList::TaggedComponentList (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
+IOP::TaggedComponentList::TaggedComponentList (
+ CORBA::ULong max
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (max)
{}
IOP::TaggedComponentList::TaggedComponentList (
CORBA::ULong max,
CORBA::ULong length,
- IOP::TaggedComponent *buffer,
+ IOP::TaggedComponent * buffer,
CORBA::Boolean release
)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (max, length, buffer, release)
{}
-IOP::TaggedComponentList::TaggedComponentList (const TaggedComponentList &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
+IOP::TaggedComponentList::TaggedComponentList (
+ const TaggedComponentList &seq
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (seq)
{}
-IOP::TaggedComponentList::~TaggedComponentList (void) // dtor
+IOP::TaggedComponentList::~TaggedComponentList (void)
{}
-void IOP::TaggedComponentList::_tao_any_destructor (void *_tao_void_pointer)
+void IOP::TaggedComponentList::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
{
- TaggedComponentList *tmp = ACE_static_cast (TaggedComponentList*, _tao_void_pointer);
+ TaggedComponentList * tmp =
+ ACE_static_cast (
+ TaggedComponentList *,
+ _tao_void_pointer
+ );
delete tmp;
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_VarSeq_Var_T<
+ IOP::TaggedComponentList,
+ IOP::TaggedComponent
+ >;
+
+template class
+ TAO_Seq_Var_Base_T<
+ IOP::TaggedComponentList,
+ IOP::TaggedComponent
+ >;
+
+template class
+ TAO_Seq_Out_T<
+ IOP::TaggedComponentList,
+ IOP::TaggedComponentList_var,
+ IOP::TaggedComponent
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_VarSeq_Var_T< \
+ TaggedComponentList, \
+ IOP::TaggedComponent \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Var_Base_T< \
+ TaggedComponentList, \
+ IOP::TaggedComponent \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Out_T< \
+ TaggedComponentList, \
+ TaggedComponentList_var, \
+ IOP::TaggedComponent \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >;
+
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1053,124 +1099,118 @@ TAO_NAMESPACE_DEFINE (
TAO_NAMESPACE_END
// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CS_
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_allocate_buffer (CORBA::ULong length)
-{
- IOP::TaggedComponent* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::TaggedComponent *old =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
-
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (tmp);
- this->buffer_ = 0;
-}
-
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::~_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void)
-{
- this->_deallocate_buffer ();
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+// be/be_visitor_sequence/sequence_cs.cpp:70
#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CS_)
#define _IOP_TAGGEDCOMPONENTSEQ_CS_
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_cs.cpp:249
-
-// *************************************************************
-// IOP::TaggedComponentSeq
-// *************************************************************
-
IOP::TaggedComponentSeq::TaggedComponentSeq (void)
{}
-IOP::TaggedComponentSeq::TaggedComponentSeq (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
+IOP::TaggedComponentSeq::TaggedComponentSeq (
+ CORBA::ULong max
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (max)
{}
IOP::TaggedComponentSeq::TaggedComponentSeq (
CORBA::ULong max,
CORBA::ULong length,
- IOP::TaggedComponent *buffer,
+ IOP::TaggedComponent * buffer,
CORBA::Boolean release
)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (max, length, buffer, release)
{}
-IOP::TaggedComponentSeq::TaggedComponentSeq (const TaggedComponentSeq &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
+IOP::TaggedComponentSeq::TaggedComponentSeq (
+ const TaggedComponentSeq &seq
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+ (seq)
{}
-IOP::TaggedComponentSeq::~TaggedComponentSeq (void) // dtor
+IOP::TaggedComponentSeq::~TaggedComponentSeq (void)
{}
-void IOP::TaggedComponentSeq::_tao_any_destructor (void *_tao_void_pointer)
+void IOP::TaggedComponentSeq::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
{
- TaggedComponentSeq *tmp = ACE_static_cast (TaggedComponentSeq*, _tao_void_pointer);
+ TaggedComponentSeq * tmp =
+ ACE_static_cast (
+ TaggedComponentSeq *,
+ _tao_void_pointer
+ );
delete tmp;
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_VarSeq_Var_T<
+ IOP::TaggedComponentSeq,
+ IOP::TaggedComponent
+ >;
+
+template class
+ TAO_Seq_Var_Base_T<
+ IOP::TaggedComponentSeq,
+ IOP::TaggedComponent
+ >;
+
+template class
+ TAO_Seq_Out_T<
+ IOP::TaggedComponentSeq,
+ IOP::TaggedComponentSeq_var,
+ IOP::TaggedComponent
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_VarSeq_Var_T< \
+ TaggedComponentSeq, \
+ IOP::TaggedComponent \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Var_Base_T< \
+ TaggedComponentSeq, \
+ IOP::TaggedComponent \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Out_T< \
+ TaggedComponentSeq, \
+ TaggedComponentSeq_var, \
+ IOP::TaggedComponent \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >;
+
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate TAO_Unbounded_Sequence<
+ IOP::TaggedComponent
+ >
+
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -1415,190 +1455,214 @@ void IOP::ServiceContext::_tao_any_destructor (void *_tao_void_pointer)
delete tmp;
}
-#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CS_)
-#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CS_
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_cs.cpp:249
+// TAO_IDL - Generated from
+// be/be_visitor_sequence/sequence_cs.cpp:70
-// *************************************************************
-// IOP::ServiceContext::_tao_seq_Octet
-// *************************************************************
+#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CONTEXT_DATA_CS_)
+#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CONTEXT_DATA_CS_
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (void)
+IOP::ServiceContext::_tao_seq_Octet_context_data::_tao_seq_Octet_context_data (void)
{}
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
+IOP::ServiceContext::_tao_seq_Octet_context_data::_tao_seq_Octet_context_data (
+ CORBA::ULong max
+ )
+ : TAO_Unbounded_Sequence<
+ CORBA::Octet
+ >
+ (max)
{}
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (
+IOP::ServiceContext::_tao_seq_Octet_context_data::_tao_seq_Octet_context_data (
CORBA::ULong max,
CORBA::ULong length,
- CORBA::Octet *buffer,
+ CORBA::Octet * buffer,
CORBA::Boolean release
)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
+ : TAO_Unbounded_Sequence<
+ CORBA::Octet
+ >
+ (max, length, buffer, release)
{}
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
+IOP::ServiceContext::_tao_seq_Octet_context_data::_tao_seq_Octet_context_data (
+ const _tao_seq_Octet_context_data &seq
+ )
+ : TAO_Unbounded_Sequence<
+ CORBA::Octet
+ >
+ (seq)
{}
-IOP::ServiceContext::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
+IOP::ServiceContext::_tao_seq_Octet_context_data::~_tao_seq_Octet_context_data (void)
{}
-void IOP::ServiceContext::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer)
+void IOP::ServiceContext::_tao_seq_Octet_context_data::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
{
- _tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer);
+ _tao_seq_Octet_context_data * tmp =
+ ACE_static_cast (
+ _tao_seq_Octet_context_data *,
+ _tao_void_pointer
+ );
delete tmp;
}
#endif /* end #if !defined */
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_cs.cpp:100
+// TAO_IDL - Generated from
+// be/be_type.cpp:292
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CS_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CS_
+template class
+ TAO_Var_Var_T<
+ IOP::ServiceContext
+ >;
-void
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_allocate_buffer (CORBA::ULong length)
-{
- IOP::ServiceContext* tmp = 0;
- tmp = _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (length);
-
- if (this->buffer_ != 0)
- {
- IOP::ServiceContext *old =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp[i] = old[i];
- }
-
- if (this->release_)
- {
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (old);
- }
- }
-
- this->buffer_ = tmp;
-}
+template class TAO_Var_Base_T<
+ IOP::ServiceContext
+ >;
-void
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_deallocate_buffer (void)
-{
- if (this->buffer_ == 0 || this->release_ == 0)
- {
- return;
- }
-
- IOP::ServiceContext *tmp =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (tmp);
- this->buffer_ = 0;
-}
+template class
+ TAO_Out_T<
+ IOP::ServiceContext,
+ IOP::ServiceContext_var
+ >;
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void)
-{
- this->_deallocate_buffer ();
-}
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#endif /* end #if !defined */
+# pragma instantiate \
+ TAO_Var_Var_T< \
+ IOP::ServiceContext \
+ >
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#pragma instantiate TAO_Var_Base_T<
+ IOP::ServiceContext
+ >
-#if !defined (_IOP_SERVICECONTEXTLIST_CS_)
-#define _IOP_SERVICECONTEXTLIST_CS_
+# pragma instantiate \
+ TAO_Out_T< \
+ IOP::ServiceContext, \
+ IOP::ServiceContext_var \
+ >
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_cs.cpp:249
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// *************************************************************
-// IOP::ServiceContextList
-// *************************************************************
+// TAO_IDL - Generated from
+// be/be_visitor_sequence/sequence_cs.cpp:70
+
+#if !defined (_IOP_SERVICECONTEXTLIST_CS_)
+#define _IOP_SERVICECONTEXTLIST_CS_
IOP::ServiceContextList::ServiceContextList (void)
{}
-IOP::ServiceContextList::ServiceContextList (CORBA::ULong max)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max)
+IOP::ServiceContextList::ServiceContextList (
+ CORBA::ULong max
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::ServiceContext
+ >
+ (max)
{}
IOP::ServiceContextList::ServiceContextList (
CORBA::ULong max,
CORBA::ULong length,
- IOP::ServiceContext *buffer,
+ IOP::ServiceContext * buffer,
CORBA::Boolean release
)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (max, length, buffer, release)
+ : TAO_Unbounded_Sequence<
+ IOP::ServiceContext
+ >
+ (max, length, buffer, release)
{}
-IOP::ServiceContextList::ServiceContextList (const ServiceContextList &seq)
- :
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-_TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
-TAO_Unbounded_Sequence<IOP::ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- (seq)
+IOP::ServiceContextList::ServiceContextList (
+ const ServiceContextList &seq
+ )
+ : TAO_Unbounded_Sequence<
+ IOP::ServiceContext
+ >
+ (seq)
{}
-IOP::ServiceContextList::~ServiceContextList (void) // dtor
+IOP::ServiceContextList::~ServiceContextList (void)
{}
-void IOP::ServiceContextList::_tao_any_destructor (void *_tao_void_pointer)
+void IOP::ServiceContextList::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
{
- ServiceContextList *tmp = ACE_static_cast (ServiceContextList*, _tao_void_pointer);
+ ServiceContextList * tmp =
+ ACE_static_cast (
+ ServiceContextList *,
+ _tao_void_pointer
+ );
delete tmp;
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
+ TAO_VarSeq_Var_T<
+ IOP::ServiceContextList,
+ IOP::ServiceContext
+ >;
+
+template class
+ TAO_Seq_Var_Base_T<
+ IOP::ServiceContextList,
+ IOP::ServiceContext
+ >;
+
+template class
+ TAO_Seq_Out_T<
+ IOP::ServiceContextList,
+ IOP::ServiceContextList_var,
+ IOP::ServiceContext
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_VarSeq_Var_T< \
+ ServiceContextList, \
+ IOP::ServiceContext \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Var_Base_T< \
+ ServiceContextList, \
+ IOP::ServiceContext \
+ >
+
+# pragma instantiate \
+ TAO_Seq_Out_T< \
+ ServiceContextList, \
+ ServiceContextList_var, \
+ IOP::ServiceContext \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class TAO_Unbounded_Sequence<
+ IOP::ServiceContext
+ >;
+
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate TAO_Unbounded_Sequence<
+ IOP::ServiceContext
+ >
+
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
#endif /* end #if !defined */
// TAO_IDL - Generated from
@@ -2224,14 +2288,14 @@ CORBA::Boolean operator>>= (
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_cs.cpp:102
+// be/be_visitor_sequence/cdr_op_cs.cpp:80
-#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_
-#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_
+#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_CPP_
+#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_CPP_
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
- const IOP::IOR::_tao_seq_TaggedProfile &_tao_sequence
+ const IOP::IOR::_tao_seq_TaggedProfile_profiles &_tao_sequence
)
{
CORBA::ULong _tao_seq_len = _tao_sequence.length ();
@@ -2254,7 +2318,7 @@ CORBA::Boolean operator<< (
CORBA::Boolean operator>> (
TAO_InputCDR &strm,
- IOP::IOR::_tao_seq_TaggedProfile &_tao_sequence
+ IOP::IOR::_tao_seq_TaggedProfile_profiles &_tao_sequence
)
{
CORBA::ULong _tao_seq_len;
@@ -2287,15 +2351,19 @@ CORBA::Boolean operator>> (
}
return _tao_marshal_flag;
+
}
return 0;
}
-#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_ */
+#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_CPP_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_cs.cpp:102
+// be/be_visitor_sequence/cdr_op_cs.cpp:80
+
+#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_CPP_
+#define _TAO_CDR_OP_IOP_MultipleComponentProfile_CPP_
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
@@ -2355,13 +2423,19 @@ CORBA::Boolean operator>> (
}
return _tao_marshal_flag;
+
}
return 0;
}
+#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_CPP_ */
+
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_cs.cpp:102
+// be/be_visitor_sequence/cdr_op_cs.cpp:80
+
+#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_CPP_
+#define _TAO_CDR_OP_IOP_TaggedComponentList_CPP_
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
@@ -2421,13 +2495,19 @@ CORBA::Boolean operator>> (
}
return _tao_marshal_flag;
+
}
return 0;
}
+#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_CPP_ */
+
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_cs.cpp:102
+// be/be_visitor_sequence/cdr_op_cs.cpp:80
+
+#if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_CPP_
+#define _TAO_CDR_OP_IOP_TaggedComponentSeq_CPP_
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
@@ -2487,20 +2567,23 @@ CORBA::Boolean operator>> (
}
return _tao_marshal_flag;
+
}
return 0;
}
+#endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_CPP_ */
+
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_cs.cpp:102
+// be/be_visitor_sequence/cdr_op_cs.cpp:80
-#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_
-#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_
+#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_CPP_
+#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_CPP_
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
- const IOP::ServiceContext::_tao_seq_Octet &_tao_sequence
+ const IOP::ServiceContext::_tao_seq_Octet_context_data &_tao_sequence
)
{
CORBA::ULong _tao_seq_len = _tao_sequence.length ();
@@ -2508,21 +2591,15 @@ CORBA::Boolean operator<< (
if (strm << _tao_seq_len)
{
// Encode all elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- {
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::ServiceContext::_tao_seq_Octet *)&_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 ());
- }
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag =
+ (strm << CORBA::Any::from_octet (_tao_sequence[i]));
+ }
-#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 _tao_marshal_flag;
}
return 0;
@@ -2530,7 +2607,7 @@ CORBA::Boolean operator<< (
CORBA::Boolean operator>> (
TAO_InputCDR &strm,
- IOP::ServiceContext::_tao_seq_Octet &_tao_sequence
+ IOP::ServiceContext::_tao_seq_Octet_context_data &_tao_sequence
)
{
CORBA::ULong _tao_seq_len;
@@ -2555,38 +2632,28 @@ CORBA::Boolean operator>> (
}
// Retrieve all the elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- if (ACE_BIT_DISABLED (strm.start ()->flags (),
- ACE_Message_Block::DONT_DELETE))
- {
- TAO_ORB_Core* orb_core = strm.orb_core ();
- if (orb_core != 0 &&
- strm.orb_core ()->resource_factory ()->
- input_cdr_allocator_type_locked () == 1)
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
{
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast(TAO_Unbounded_Sequence<CORBA::Octet>*, &_tao_sequence);
- oseq->replace (_tao_seq_len, strm.start ());
- oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len);
- strm.skip_bytes (_tao_seq_len);
- return 1;
+ _tao_marshal_flag =
+ (strm >> CORBA::Any::to_octet (_tao_sequence[i]));
}
- }
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
-#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
+ return _tao_marshal_flag;
-#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
}
return 0;
}
-#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_ */
+#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_CPP_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_cs.cpp:102
+// be/be_visitor_sequence/cdr_op_cs.cpp:80
+
+#if !defined _TAO_CDR_OP_IOP_ServiceContextList_CPP_
+#define _TAO_CDR_OP_IOP_ServiceContextList_CPP_
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
@@ -2646,8 +2713,11 @@ CORBA::Boolean operator>> (
}
return _tao_marshal_flag;
+
}
return 0;
}
+#endif /* _TAO_CDR_OP_IOP_ServiceContextList_CPP_ */
+
diff --git a/TAO/tao/IOP_IORC.h b/TAO/tao/IOP_IORC.h
index f7e98a4722a..3473d42b9fe 100644
--- a/TAO/tao/IOP_IORC.h
+++ b/TAO/tao/IOP_IORC.h
@@ -15,6 +15,12 @@
// 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
@@ -35,6 +41,7 @@
#include "tao/TAO_Export.h"
#include "tao/OctetSeqC.h"
+#include "tao/VarOut_T.h"
#include "tao/CDR.h"
#if defined (TAO_EXPORT_MACRO)
@@ -65,1003 +72,460 @@
TAO_NAMESPACE IOP
{
-
+
// TAO_IDL - Generated from
// be/be_visitor_typedef/typedef_ch.cpp:333
-
+
typedef CORBA::ULong ProfileId;
typedef CORBA::ULong_out ProfileId_out;
-
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ProfileId;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ProfileId TAG_INTERNET_IOP = 0U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ProfileId TAG_MULTIPLE_COMPONENTS = 1U;
-
+
// TAO_IDL - Generated from
- // be/be_visitor_structure/structure_ch.cpp:49
-
- class TaggedProfile_var;
-
+ // be/be_type.cpp:249
+
+ struct TaggedProfile;
+
+ typedef
+ TAO_Var_Var_T<
+ TaggedProfile
+ >
+ TaggedProfile_var;
+
+ typedef
+ TAO_Out_T<
+ TaggedProfile,
+ TaggedProfile_var
+ >
+ TaggedProfile_out;
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_structure/structure_ch.cpp:52
+
struct TAO_Export TaggedProfile
{
typedef TaggedProfile_var _var_type;
-
+
static void _tao_any_destructor (void *);
IOP::ProfileId tag;
CORBA::OctetSeq profile_data;
};
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:71
-
- class TAO_Export TaggedProfile_var
- {
- public:
- TaggedProfile_var (void);
- TaggedProfile_var (TaggedProfile *);
- TaggedProfile_var (const TaggedProfile_var &);
- ~TaggedProfile_var (void);
-
- TaggedProfile_var &operator= (TaggedProfile *);
- TaggedProfile_var &operator= (const TaggedProfile_var &);
- TaggedProfile *operator-> (void);
- const TaggedProfile *operator-> (void) const;
-
- operator const TaggedProfile &() const;
- operator TaggedProfile &();
- operator TaggedProfile &() const;
-
- // Variable-size types only.
- operator TaggedProfile *&();
-
- // in, inout, out, _retn
- const TaggedProfile &in (void) const;
- TaggedProfile &inout (void);
- TaggedProfile *&out (void);
- TaggedProfile *_retn (void);
- TaggedProfile *ptr (void) const;
-
- private:
- TaggedProfile *ptr_;
- };
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:445
-
- class TAO_Export TaggedProfile_out
- {
- public:
- TaggedProfile_out (TaggedProfile *&);
- TaggedProfile_out (TaggedProfile_var &);
- TaggedProfile_out (const TaggedProfile_out &);
- TaggedProfile_out &operator= (const TaggedProfile_out &);
- TaggedProfile_out &operator= (TaggedProfile *);
- operator TaggedProfile *&();
- TaggedProfile *&ptr (void);
- TaggedProfile *operator-> (void);
-
- private:
- TaggedProfile *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedProfile_var &);
- };
-
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedProfile;
-
+
+ // TAO_IDL - Generated from
+ // be/be_type.cpp:249
+
+ struct IOR;
+
+ typedef
+ TAO_Var_Var_T<
+ IOR
+ >
+ IOR_var;
+
+ typedef
+ TAO_Out_T<
+ IOR,
+ IOR_var
+ >
+ IOR_out;
+
// TAO_IDL - Generated from
- // be/be_visitor_structure/structure_ch.cpp:49
-
- class IOR_var;
-
+ // be/be_visitor_structure/structure_ch.cpp:52
+
struct TAO_Export IOR
{
typedef IOR_var _var_type;
-
+
static void _tao_any_destructor (void *);
TAO_String_Manager type_id;
-
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
- : public TAO_Unbounded_Base_Sequence
+
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_PROFILES_CH_)
+#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_PROFILES_CH_
+
+ class TAO_Export _tao_seq_TaggedProfile_profiles
+ : public
+ TAO_Unbounded_Sequence<
+ ACE_NESTED_CLASS (IOP, TaggedProfile)
+ >
{
public:
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- ACE_NESTED_CLASS (IOP, TaggedProfile) *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- );
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &operator= (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void);
-
- // = Accessors.
- ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i);
- const ACE_NESTED_CLASS (IOP, TaggedProfile) &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static ACE_NESTED_CLASS (IOP, TaggedProfile) *allocbuf (CORBA::ULong size);
- static void freebuf (ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (CORBA::Boolean orphan = 0);
- const ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (void) const;
- void replace (
+ _tao_seq_TaggedProfile_profiles (void);
+ _tao_seq_TaggedProfile_profiles (CORBA::ULong max);
+ _tao_seq_TaggedProfile_profiles (
CORBA::ULong max,
CORBA::ULong length,
- ACE_NESTED_CLASS (IOP, TaggedProfile) *data,
- CORBA::Boolean release
+ ACE_NESTED_CLASS (IOP, TaggedProfile)* buffer,
+ CORBA::Boolean release = 0
);
- };
+ _tao_seq_TaggedProfile_profiles (const _tao_seq_TaggedProfile_profiles &);
+ ~_tao_seq_TaggedProfile_profiles (void);
-#endif /* end #if !defined */
+ static void _tao_any_destructor (void *);
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_)
-#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:371
-
- class _tao_seq_TaggedProfile;
-
- // *************************************************************
- // IOP::IOR::_tao_seq_TaggedProfile
- // *************************************************************
-
- class TAO_Export _tao_seq_TaggedProfile : public
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<ACE_NESTED_CLASS (IOP, TaggedProfile)>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
- {
- public:
- _tao_seq_TaggedProfile (void);
- _tao_seq_TaggedProfile (CORBA::ULong max);
- _tao_seq_TaggedProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer,
- CORBA::Boolean release = 0
- );
- _tao_seq_TaggedProfile (const _tao_seq_TaggedProfile &);
- ~_tao_seq_TaggedProfile (void);
-
- static void _tao_any_destructor (void*);
-
-
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
- // be/be_visitor_field/field_ch.cpp:447
-
- typedef _tao_seq_TaggedProfile _profiles_seq;
- _tao_seq_TaggedProfile profiles;
- };
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:71
-
- class TAO_Export IOR_var
- {
- public:
- IOR_var (void);
- IOR_var (IOR *);
- IOR_var (const IOR_var &);
- ~IOR_var (void);
-
- IOR_var &operator= (IOR *);
- IOR_var &operator= (const IOR_var &);
- IOR *operator-> (void);
- const IOR *operator-> (void) const;
-
- operator const IOR &() const;
- operator IOR &();
- operator IOR &() const;
-
- // Variable-size types only.
- operator IOR *&();
-
- // in, inout, out, _retn
- const IOR &in (void) const;
- IOR &inout (void);
- IOR *&out (void);
- IOR *_retn (void);
- IOR *ptr (void) const;
-
- private:
- IOR *ptr_;
- };
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:445
-
- class TAO_Export IOR_out
- {
- public:
- IOR_out (IOR *&);
- IOR_out (IOR_var &);
- IOR_out (const IOR_out &);
- IOR_out &operator= (const IOR_out &);
- IOR_out &operator= (IOR *);
- operator IOR *&();
- IOR *&ptr (void);
- IOR *operator-> (void);
-
- private:
- IOR *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const IOR_var &);
+ // be/be_visitor_field/field_ch.cpp:453
+
+ typedef _tao_seq_TaggedProfile_profiles _profiles_seq;
+ _tao_seq_TaggedProfile_profiles profiles;
};
-
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_IOR;
-
+
// TAO_IDL - Generated from
// be/be_visitor_typedef/typedef_ch.cpp:333
-
+
typedef CORBA::ULong ComponentId;
typedef CORBA::ULong_out ComponentId_out;
-
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ComponentId;
-
+
// TAO_IDL - Generated from
- // be/be_visitor_structure/structure_ch.cpp:49
-
- class TaggedComponent_var;
-
+ // be/be_type.cpp:249
+
+ struct TaggedComponent;
+
+ typedef
+ TAO_Var_Var_T<
+ TaggedComponent
+ >
+ TaggedComponent_var;
+
+ typedef
+ TAO_Out_T<
+ TaggedComponent,
+ TaggedComponent_var
+ >
+ TaggedComponent_out;
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_structure/structure_ch.cpp:52
+
struct TAO_Export TaggedComponent
{
typedef TaggedComponent_var _var_type;
-
+
static void _tao_any_destructor (void *);
IOP::ComponentId tag;
CORBA::OctetSeq component_data;
};
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:71
-
- class TAO_Export TaggedComponent_var
- {
- public:
- TaggedComponent_var (void);
- TaggedComponent_var (TaggedComponent *);
- TaggedComponent_var (const TaggedComponent_var &);
- ~TaggedComponent_var (void);
-
- TaggedComponent_var &operator= (TaggedComponent *);
- TaggedComponent_var &operator= (const TaggedComponent_var &);
- TaggedComponent *operator-> (void);
- const TaggedComponent *operator-> (void) const;
-
- operator const TaggedComponent &() const;
- operator TaggedComponent &();
- operator TaggedComponent &() const;
-
- // Variable-size types only.
- operator TaggedComponent *&();
-
- // in, inout, out, _retn
- const TaggedComponent &in (void) const;
- TaggedComponent &inout (void);
- TaggedComponent *&out (void);
- TaggedComponent *_retn (void);
- TaggedComponent *ptr (void) const;
-
- private:
- TaggedComponent *ptr_;
- };
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:445
-
- class TAO_Export TaggedComponent_out
- {
- public:
- TaggedComponent_out (TaggedComponent *&);
- TaggedComponent_out (TaggedComponent_var &);
- TaggedComponent_out (const TaggedComponent_out &);
- TaggedComponent_out &operator= (const TaggedComponent_out &);
- TaggedComponent_out &operator= (TaggedComponent *);
- operator TaggedComponent *&();
- TaggedComponent *&ptr (void);
- TaggedComponent *operator-> (void);
-
- private:
- TaggedComponent *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedComponent_var &);
- };
-
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponent;
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- );
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &operator= (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void);
-
- // = Accessors.
- TaggedComponent &operator[] (CORBA::ULong i);
- const TaggedComponent &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static TaggedComponent *allocbuf (CORBA::ULong size);
- static void freebuf (TaggedComponent *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
- const TaggedComponent *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release
- );
- };
-
-#endif /* end #if !defined */
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponent;
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CH_)
#define _IOP_MULTIPLECOMPONENTPROFILE_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:371
-
+
class MultipleComponentProfile;
- class MultipleComponentProfile_var;
-
- // *************************************************************
- // IOP::MultipleComponentProfile
- // *************************************************************
-
- class TAO_Export MultipleComponentProfile : public
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+ typedef
+ TAO_VarSeq_Var_T<
+ MultipleComponentProfile,
+ TaggedComponent
+ >
+ MultipleComponentProfile_var;
+
+ typedef
+ TAO_Seq_Out_T<
+ MultipleComponentProfile,
+ MultipleComponentProfile_var,
+ TaggedComponent
+ >
+ MultipleComponentProfile_out;
+
+ class TAO_Export MultipleComponentProfile
+ : public
+ TAO_Unbounded_Sequence<
+ TaggedComponent
+ >
{
public:
MultipleComponentProfile (void);
MultipleComponentProfile (CORBA::ULong max);
MultipleComponentProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ TaggedComponent* buffer,
CORBA::Boolean release = 0
);
MultipleComponentProfile (const MultipleComponentProfile &);
~MultipleComponentProfile (void);
-
- static void _tao_any_destructor (void*);
-
- typedef MultipleComponentProfile_var _var_type;
- };
-#endif /* end #if !defined */
+ static void _tao_any_destructor (void *);
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_)
-#define _IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::MultipleComponentProfile_var
- // *************************************************************
-
- class TAO_Export MultipleComponentProfile_var
- {
- public:
- MultipleComponentProfile_var (void);
- MultipleComponentProfile_var (MultipleComponentProfile *);
- MultipleComponentProfile_var (const MultipleComponentProfile_var &);
- ~MultipleComponentProfile_var (void);
-
- MultipleComponentProfile_var &operator= (MultipleComponentProfile *);
- MultipleComponentProfile_var &operator= (const MultipleComponentProfile_var &);
- MultipleComponentProfile *operator-> (void);
- const MultipleComponentProfile *operator-> (void) const;
-
- operator const MultipleComponentProfile &() const;
- operator MultipleComponentProfile &();
- operator MultipleComponentProfile &() const;
-
- // Variable-size base types only.
- operator MultipleComponentProfile *&();
-
- TaggedComponent & operator[] (CORBA::ULong index);
- const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const MultipleComponentProfile &in (void) const;
- MultipleComponentProfile &inout (void);
- MultipleComponentProfile *&out (void);
- MultipleComponentProfile *_retn (void);
- MultipleComponentProfile *ptr (void) const;
-
- private:
- MultipleComponentProfile *ptr_;
+ typedef MultipleComponentProfile_var _var_type;
};
#endif /* end #if !defined */
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_)
-#define _IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export MultipleComponentProfile_out
- {
- public:
- MultipleComponentProfile_out (MultipleComponentProfile *&);
- MultipleComponentProfile_out (MultipleComponentProfile_var &);
- MultipleComponentProfile_out (const MultipleComponentProfile_out &);
- MultipleComponentProfile_out &operator= (const MultipleComponentProfile_out &);
- MultipleComponentProfile_out &operator= (MultipleComponentProfile *);
- operator MultipleComponentProfile *&();
- MultipleComponentProfile *&ptr (void);
- MultipleComponentProfile *operator-> (void);
- TaggedComponent & operator[] (CORBA::ULong index);
-
- private:
- MultipleComponentProfile *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const MultipleComponentProfile_var &);
- };
-
-#endif /* end #if !defined */
-
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultipleComponentProfile;
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentList
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (void);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList &operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void);
-
- // = Accessors.
- TaggedComponent &operator[] (CORBA::ULong i);
- const TaggedComponent &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static TaggedComponent *allocbuf (CORBA::ULong size);
- static void freebuf (TaggedComponent *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
- const TaggedComponent *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release
- );
- };
-#endif /* end #if !defined */
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultipleComponentProfile;
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
#if !defined (_IOP_TAGGEDCOMPONENTLIST_CH_)
#define _IOP_TAGGEDCOMPONENTLIST_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:371
-
+
class TaggedComponentList;
- class TaggedComponentList_var;
-
- // *************************************************************
- // IOP::TaggedComponentList
- // *************************************************************
-
- class TAO_Export TaggedComponentList : public
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+ typedef
+ TAO_VarSeq_Var_T<
+ TaggedComponentList,
+ TaggedComponent
+ >
+ TaggedComponentList_var;
+
+ typedef
+ TAO_Seq_Out_T<
+ TaggedComponentList,
+ TaggedComponentList_var,
+ TaggedComponent
+ >
+ TaggedComponentList_out;
+
+ class TAO_Export TaggedComponentList
+ : public
+ TAO_Unbounded_Sequence<
+ TaggedComponent
+ >
{
public:
TaggedComponentList (void);
TaggedComponentList (CORBA::ULong max);
TaggedComponentList (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ TaggedComponent* buffer,
CORBA::Boolean release = 0
);
TaggedComponentList (const TaggedComponentList &);
~TaggedComponentList (void);
-
- static void _tao_any_destructor (void*);
-
- typedef TaggedComponentList_var _var_type;
- };
-#endif /* end #if !defined */
+ static void _tao_any_destructor (void *);
-#if !defined (_IOP_TAGGEDCOMPONENTLIST___VAR_CH_)
-#define _IOP_TAGGEDCOMPONENTLIST___VAR_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::TaggedComponentList_var
- // *************************************************************
-
- class TAO_Export TaggedComponentList_var
- {
- public:
- TaggedComponentList_var (void);
- TaggedComponentList_var (TaggedComponentList *);
- TaggedComponentList_var (const TaggedComponentList_var &);
- ~TaggedComponentList_var (void);
-
- TaggedComponentList_var &operator= (TaggedComponentList *);
- TaggedComponentList_var &operator= (const TaggedComponentList_var &);
- TaggedComponentList *operator-> (void);
- const TaggedComponentList *operator-> (void) const;
-
- operator const TaggedComponentList &() const;
- operator TaggedComponentList &();
- operator TaggedComponentList &() const;
-
- // Variable-size base types only.
- operator TaggedComponentList *&();
-
- TaggedComponent & operator[] (CORBA::ULong index);
- const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const TaggedComponentList &in (void) const;
- TaggedComponentList &inout (void);
- TaggedComponentList *&out (void);
- TaggedComponentList *_retn (void);
- TaggedComponentList *ptr (void) const;
-
- private:
- TaggedComponentList *ptr_;
+ typedef TaggedComponentList_var _var_type;
};
#endif /* end #if !defined */
-#if !defined (_IOP_TAGGEDCOMPONENTLIST___OUT_CH_)
-#define _IOP_TAGGEDCOMPONENTLIST___OUT_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export TaggedComponentList_out
- {
- public:
- TaggedComponentList_out (TaggedComponentList *&);
- TaggedComponentList_out (TaggedComponentList_var &);
- TaggedComponentList_out (const TaggedComponentList_out &);
- TaggedComponentList_out &operator= (const TaggedComponentList_out &);
- TaggedComponentList_out &operator= (TaggedComponentList *);
- operator TaggedComponentList *&();
- TaggedComponentList *&ptr (void);
- TaggedComponentList *operator-> (void);
- TaggedComponent & operator[] (CORBA::ULong index);
-
- private:
- TaggedComponentList *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedComponentList_var &);
- };
-
-#endif /* end #if !defined */
-
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentList;
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- CORBA::ULong maximum,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- );
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void);
-
- // = Accessors.
- TaggedComponent &operator[] (CORBA::ULong i);
- const TaggedComponent &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static TaggedComponent *allocbuf (CORBA::ULong size);
- static void freebuf (TaggedComponent *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
- const TaggedComponent *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *data,
- CORBA::Boolean release
- );
- };
-#endif /* end #if !defined */
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentList;
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CH_)
#define _IOP_TAGGEDCOMPONENTSEQ_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:371
-
+
class TaggedComponentSeq;
- class TaggedComponentSeq_var;
-
- // *************************************************************
- // IOP::TaggedComponentSeq
- // *************************************************************
-
- class TAO_Export TaggedComponentSeq : public
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<TaggedComponent>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+ typedef
+ TAO_VarSeq_Var_T<
+ TaggedComponentSeq,
+ TaggedComponent
+ >
+ TaggedComponentSeq_var;
+
+ typedef
+ TAO_Seq_Out_T<
+ TaggedComponentSeq,
+ TaggedComponentSeq_var,
+ TaggedComponent
+ >
+ TaggedComponentSeq_out;
+
+ class TAO_Export TaggedComponentSeq
+ : public
+ TAO_Unbounded_Sequence<
+ TaggedComponent
+ >
{
public:
TaggedComponentSeq (void);
TaggedComponentSeq (CORBA::ULong max);
TaggedComponentSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ TaggedComponent* buffer,
CORBA::Boolean release = 0
);
TaggedComponentSeq (const TaggedComponentSeq &);
~TaggedComponentSeq (void);
-
- static void _tao_any_destructor (void*);
-
- typedef TaggedComponentSeq_var _var_type;
- };
-#endif /* end #if !defined */
+ static void _tao_any_destructor (void *);
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ___VAR_CH_)
-#define _IOP_TAGGEDCOMPONENTSEQ___VAR_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::TaggedComponentSeq_var
- // *************************************************************
-
- class TAO_Export TaggedComponentSeq_var
- {
- public:
- TaggedComponentSeq_var (void);
- TaggedComponentSeq_var (TaggedComponentSeq *);
- TaggedComponentSeq_var (const TaggedComponentSeq_var &);
- ~TaggedComponentSeq_var (void);
-
- TaggedComponentSeq_var &operator= (TaggedComponentSeq *);
- TaggedComponentSeq_var &operator= (const TaggedComponentSeq_var &);
- TaggedComponentSeq *operator-> (void);
- const TaggedComponentSeq *operator-> (void) const;
-
- operator const TaggedComponentSeq &() const;
- operator TaggedComponentSeq &();
- operator TaggedComponentSeq &() const;
-
- // Variable-size base types only.
- operator TaggedComponentSeq *&();
-
- TaggedComponent & operator[] (CORBA::ULong index);
- const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const TaggedComponentSeq &in (void) const;
- TaggedComponentSeq &inout (void);
- TaggedComponentSeq *&out (void);
- TaggedComponentSeq *_retn (void);
- TaggedComponentSeq *ptr (void) const;
-
- private:
- TaggedComponentSeq *ptr_;
+ typedef TaggedComponentSeq_var _var_type;
};
#endif /* end #if !defined */
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ___OUT_CH_)
-#define _IOP_TAGGEDCOMPONENTSEQ___OUT_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export TaggedComponentSeq_out
- {
- public:
- TaggedComponentSeq_out (TaggedComponentSeq *&);
- TaggedComponentSeq_out (TaggedComponentSeq_var &);
- TaggedComponentSeq_out (const TaggedComponentSeq_out &);
- TaggedComponentSeq_out &operator= (const TaggedComponentSeq_out &);
- TaggedComponentSeq_out &operator= (TaggedComponentSeq *);
- operator TaggedComponentSeq *&();
- TaggedComponentSeq *&ptr (void);
- TaggedComponentSeq *operator-> (void);
- TaggedComponent & operator[] (CORBA::ULong index);
-
- private:
- TaggedComponentSeq *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const TaggedComponentSeq_var &);
- };
-
-#endif /* end #if !defined */
-
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentSeq;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_ORB_TYPE = 0U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_CODE_SETS = 1U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_POLICIES = 2U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_ALTERNATE_IIOP_ADDRESS = 3U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_COMPLETE_OBJECT_KEY = 5U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_ENDPOINT_ID_POSITION = 6U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_LOCATION_POLICY = 12U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_DCE_STRING_BINDING = 100U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_DCE_BINDING_NAME = 101U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_DCE_NO_PIPES = 102U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_typedef/typedef_ch.cpp:333
-
+
typedef CORBA::ULong ServiceId;
typedef CORBA::ULong_out ServiceId_out;
-
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceId;
-
+
+ // TAO_IDL - Generated from
+ // be/be_type.cpp:249
+
+ struct ServiceContext;
+
+ typedef
+ TAO_Var_Var_T<
+ ServiceContext
+ >
+ ServiceContext_var;
+
+ typedef
+ TAO_Out_T<
+ ServiceContext,
+ ServiceContext_var
+ >
+ ServiceContext_out;
+
// TAO_IDL - Generated from
- // be/be_visitor_structure/structure_ch.cpp:49
-
- class ServiceContext_var;
-
+ // be/be_visitor_structure/structure_ch.cpp:52
+
struct TAO_Export ServiceContext
{
typedef ServiceContext_var _var_type;
-
+
static void _tao_any_destructor (void *);
IOP::ServiceId context_id;
-
-#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_)
-#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CH_
-
+
// TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:371
-
- class _tao_seq_Octet;
-
- // *************************************************************
- // IOP::ServiceContext::_tao_seq_Octet
- // *************************************************************
-
- class TAO_Export _tao_seq_Octet : public
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- TAO_Unbounded_Sequence<CORBA::Octet>
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<CORBA::Octet>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CONTEXT_DATA_CH_)
+#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CONTEXT_DATA_CH_
+
+ class TAO_Export _tao_seq_Octet_context_data
+ : public
+ TAO_Unbounded_Sequence<
+ CORBA::Octet
+ >
{
public:
- _tao_seq_Octet (void);
- _tao_seq_Octet (CORBA::ULong max);
- _tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
+ _tao_seq_Octet_context_data (void);
+ _tao_seq_Octet_context_data (CORBA::ULong max);
+ _tao_seq_Octet_context_data (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet* buffer,
CORBA::Boolean release = 0
);
- _tao_seq_Octet (const _tao_seq_Octet &);
- ~_tao_seq_Octet (void);
-
- static void _tao_any_destructor (void*);
-
-
+ _tao_seq_Octet_context_data (const _tao_seq_Octet_context_data &);
+ ~_tao_seq_Octet_context_data (void);
+
+ static void _tao_any_destructor (void *);
+
+
+
#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
- _tao_seq_Octet (
+ _tao_seq_Octet_context_data (
CORBA::ULong length,
const ACE_Message_Block* mb
)
@@ -1070,342 +534,165 @@ TAO_NAMESPACE IOP
};
#endif /* end #if !defined */
-
+
// TAO_IDL - Generated from
- // be/be_visitor_field/field_ch.cpp:447
-
- typedef _tao_seq_Octet _context_data_seq;
- _tao_seq_Octet context_data;
- };
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:71
-
- class TAO_Export ServiceContext_var
- {
- public:
- ServiceContext_var (void);
- ServiceContext_var (ServiceContext *);
- ServiceContext_var (const ServiceContext_var &);
- ~ServiceContext_var (void);
-
- ServiceContext_var &operator= (ServiceContext *);
- ServiceContext_var &operator= (const ServiceContext_var &);
- ServiceContext *operator-> (void);
- const ServiceContext *operator-> (void) const;
-
- operator const ServiceContext &() const;
- operator ServiceContext &();
- operator ServiceContext &() const;
-
- // Variable-size types only.
- operator ServiceContext *&();
-
- // in, inout, out, _retn
- const ServiceContext &in (void) const;
- ServiceContext &inout (void);
- ServiceContext *&out (void);
- ServiceContext *_retn (void);
- ServiceContext *ptr (void) const;
-
- private:
- ServiceContext *ptr_;
- };
-
- // TAO_IDL - Generated from
- // be/be_structure.cpp:445
-
- class TAO_Export ServiceContext_out
- {
- public:
- ServiceContext_out (ServiceContext *&);
- ServiceContext_out (ServiceContext_var &);
- ServiceContext_out (const ServiceContext_out &);
- ServiceContext_out &operator= (const ServiceContext_out &);
- ServiceContext_out &operator= (ServiceContext *);
- operator ServiceContext *&();
- ServiceContext *&ptr (void);
- ServiceContext *operator-> (void);
-
- private:
- ServiceContext *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const ServiceContext_var &);
+ // be/be_visitor_field/field_ch.cpp:453
+
+ typedef _tao_seq_Octet_context_data _context_data_seq;
+ _tao_seq_Octet_context_data context_data;
};
-
+
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContext;
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_
-
- class TAO_Export _TAO_Unbounded_Sequence_IOP_ServiceContextList
- : public TAO_Unbounded_Base_Sequence
- {
- public:
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (void);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- ServiceContext *data,
- CORBA::Boolean release = 0
- );
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- );
- _TAO_Unbounded_Sequence_IOP_ServiceContextList &operator= (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- );
- virtual ~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void);
-
- // = Accessors.
- ServiceContext &operator[] (CORBA::ULong i);
- const ServiceContext &operator[] (CORBA::ULong i) const;
-
- // = Static operations.
- static ServiceContext *allocbuf (CORBA::ULong size);
- static void freebuf (ServiceContext *buffer);
-
- // Implement the TAO_Base_Sequence methods (see Sequence.h)
- virtual void _allocate_buffer (CORBA::ULong length);
- virtual void _deallocate_buffer (void);
- ServiceContext *get_buffer (CORBA::Boolean orphan = 0);
- const ServiceContext *get_buffer (void) const;
- void replace (
- CORBA::ULong max,
- CORBA::ULong length,
- ServiceContext *data,
- CORBA::Boolean release
- );
- };
-
-#endif /* end #if !defined */
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContext;
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
#if !defined (_IOP_SERVICECONTEXTLIST_CH_)
#define _IOP_SERVICECONTEXTLIST_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:371
-
+
class ServiceContextList;
- class ServiceContextList_var;
-
- // *************************************************************
- // IOP::ServiceContextList
- // *************************************************************
-
- class TAO_Export ServiceContextList : public
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:51
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
- _TAO_Unbounded_Sequence_IOP_ServiceContextList
-#else /* TAO_USE_SEQUENCE_TEMPLATES */
- TAO_Unbounded_Sequence<ServiceContext>
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+ typedef
+ TAO_VarSeq_Var_T<
+ ServiceContextList,
+ ServiceContext
+ >
+ ServiceContextList_var;
+
+ typedef
+ TAO_Seq_Out_T<
+ ServiceContextList,
+ ServiceContextList_var,
+ ServiceContext
+ >
+ ServiceContextList_out;
+
+ class TAO_Export ServiceContextList
+ : public
+ TAO_Unbounded_Sequence<
+ ServiceContext
+ >
{
public:
ServiceContextList (void);
ServiceContextList (CORBA::ULong max);
ServiceContextList (
- CORBA::ULong max,
- CORBA::ULong length,
- ServiceContext *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ ServiceContext* buffer,
CORBA::Boolean release = 0
);
ServiceContextList (const ServiceContextList &);
~ServiceContextList (void);
-
- static void _tao_any_destructor (void*);
-
- typedef ServiceContextList_var _var_type;
- };
-#endif /* end #if !defined */
+ static void _tao_any_destructor (void *);
-#if !defined (_IOP_SERVICECONTEXTLIST___VAR_CH_)
-#define _IOP_SERVICECONTEXTLIST___VAR_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:549
-
- // *************************************************************
- // class IOP::ServiceContextList_var
- // *************************************************************
-
- class TAO_Export ServiceContextList_var
- {
- public:
- ServiceContextList_var (void);
- ServiceContextList_var (ServiceContextList *);
- ServiceContextList_var (const ServiceContextList_var &);
- ~ServiceContextList_var (void);
-
- ServiceContextList_var &operator= (ServiceContextList *);
- ServiceContextList_var &operator= (const ServiceContextList_var &);
- ServiceContextList *operator-> (void);
- const ServiceContextList *operator-> (void) const;
-
- operator const ServiceContextList &() const;
- operator ServiceContextList &();
- operator ServiceContextList &() const;
-
- // Variable-size base types only.
- operator ServiceContextList *&();
-
- ServiceContext & operator[] (CORBA::ULong index);
- const ServiceContext & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
- const ServiceContextList &in (void) const;
- ServiceContextList &inout (void);
- ServiceContextList *&out (void);
- ServiceContextList *_retn (void);
- ServiceContextList *ptr (void) const;
-
- private:
- ServiceContextList *ptr_;
+ typedef ServiceContextList_var _var_type;
};
#endif /* end #if !defined */
-#if !defined (_IOP_SERVICECONTEXTLIST___OUT_CH_)
-#define _IOP_SERVICECONTEXTLIST___OUT_CH_
-
- // TAO_IDL - Generated from
- // be/be_visitor_sequence/sequence_ch.cpp:753
-
- class TAO_Export ServiceContextList_out
- {
- public:
- ServiceContextList_out (ServiceContextList *&);
- ServiceContextList_out (ServiceContextList_var &);
- ServiceContextList_out (const ServiceContextList_out &);
- ServiceContextList_out &operator= (const ServiceContextList_out &);
- ServiceContextList_out &operator= (ServiceContextList *);
- operator ServiceContextList *&();
- ServiceContextList *&ptr (void);
- ServiceContextList *operator-> (void);
- ServiceContext & operator[] (CORBA::ULong index);
-
- private:
- ServiceContextList *&ptr_;
- // Assignment from T_var not allowed.
- void operator= (const ServiceContextList_var &);
- };
-
-#endif /* end #if !defined */
-
// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_decl.cpp:44
-
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContextList;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId TransactionService = 0U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId CodeSets = 1U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId ChainBypassCheck = 2U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId ChainBypassInfo = 3U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId LogicalThreadId = 4U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId BI_DIR_IIOP = 5U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId SendingContextRunTime = 6U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId INVOCATION_POLICIES = 7U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId UnknownExceptionInfo = 9U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId RTCorbaPriority = 10U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId RTCorbaPriorityRange = 11U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_FT_GROUP = 27U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_FT_PRIMARY = 28U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_FT_HEARTBEAT_ENABLED = 29U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId FT_GROUP_VERSION = 12U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ServiceId FT_REQUEST = 13U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ProfileId TAG_UIPMC = 1413566220U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_GROUP = 1413566211U;
-
+
// TAO_IDL - Generated from
// be/be_visitor_constant/constant_ch.cpp:52
-
+
const IOP::ComponentId TAG_GROUP_IIOP = 1413566212U;
// TAO_IDL - Generated from
@@ -1484,42 +771,42 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceCon
#ifndef __ACE_INLINE__
// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ch.cpp:54
+// be/be_visitor_structure/cdr_op_ch.cpp:53
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedProfile &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedProfile &);
// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ch.cpp:54
+// be/be_visitor_structure/cdr_op_ch.cpp:53
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::IOR &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::IOR &);
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ch.cpp:57
+// be/be_visitor_sequence/cdr_op_ch.cpp:70
-#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_
-#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_
+#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_H_
+#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_H_
TAO_Export CORBA::Boolean operator<< (
TAO_OutputCDR &,
- const IOP::IOR::_tao_seq_TaggedProfile &
+ const IOP::IOR::_tao_seq_TaggedProfile_profiles &
);
TAO_Export CORBA::Boolean operator>> (
TAO_InputCDR &,
- IOP::IOR::_tao_seq_TaggedProfile &
+ IOP::IOR::_tao_seq_TaggedProfile_profiles &
);
-#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ */
+#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_H_ */
// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ch.cpp:54
+// be/be_visitor_structure/cdr_op_ch.cpp:53
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedComponent &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedComponent &);
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ch.cpp:57
+// be/be_visitor_sequence/cdr_op_ch.cpp:70
#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_H_
#define _TAO_CDR_OP_IOP_MultipleComponentProfile_H_
@@ -1536,7 +823,7 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ch.cpp:57
+// be/be_visitor_sequence/cdr_op_ch.cpp:70
#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_H_
#define _TAO_CDR_OP_IOP_TaggedComponentList_H_
@@ -1553,7 +840,7 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_H_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ch.cpp:57
+// be/be_visitor_sequence/cdr_op_ch.cpp:70
#if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_H_
#define _TAO_CDR_OP_IOP_TaggedComponentSeq_H_
@@ -1570,30 +857,30 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_H_ */
// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ch.cpp:54
+// be/be_visitor_structure/cdr_op_ch.cpp:53
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::ServiceContext &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::ServiceContext &);
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ch.cpp:57
+// be/be_visitor_sequence/cdr_op_ch.cpp:70
-#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_
-#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_
+#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_H_
+#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_H_
TAO_Export CORBA::Boolean operator<< (
TAO_OutputCDR &,
- const IOP::ServiceContext::_tao_seq_Octet &
+ const IOP::ServiceContext::_tao_seq_Octet_context_data &
);
TAO_Export CORBA::Boolean operator>> (
TAO_InputCDR &,
- IOP::ServiceContext::_tao_seq_Octet &
+ IOP::ServiceContext::_tao_seq_Octet_context_data &
);
-#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ */
+#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_H_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ch.cpp:57
+// be/be_visitor_sequence/cdr_op_ch.cpp:70
#if !defined _TAO_CDR_OP_IOP_ServiceContextList_H_
#define _TAO_CDR_OP_IOP_ServiceContextList_H_
@@ -1629,6 +916,4 @@ TAO_Export CORBA::Boolean operator>> (
#pragma option pop
#endif /* __BORLANDC__ */
-#include "ace/post.h"
#endif /* ifndef */
-
diff --git a/TAO/tao/IOP_IORC.i b/TAO/tao/IOP_IORC.i
index a9a48fb3587..cfdd9ccb662 100644
--- a/TAO/tao/IOP_IORC.i
+++ b/TAO/tao/IOP_IORC.i
@@ -15,2902 +15,19 @@
// 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_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::TaggedProfile_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (TaggedProfile *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (const ::IOP::TaggedProfile_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedProfile (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::~TaggedProfile_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var &
-IOP::TaggedProfile_var::operator= (TaggedProfile *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedProfile_var &
-IOP::TaggedProfile_var::operator= (const ::IOP::TaggedProfile_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedProfile *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedProfile (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedProfile *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::operator const ::IOP::TaggedProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::TaggedProfile &
-IOP::TaggedProfile_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile &
-IOP::TaggedProfile_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::TaggedProfile *&
-IOP::TaggedProfile_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::_retn (void)
-{
- ::IOP::TaggedProfile *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::TaggedProfile_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (::IOP::TaggedProfile *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (TaggedProfile_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (const ::IOP::TaggedProfile_out &p)
- : ptr_ (ACE_const_cast (TaggedProfile_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::TaggedProfile_out &
-IOP::TaggedProfile_out::operator= (const ::IOP::TaggedProfile_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedProfile_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out &
-IOP::TaggedProfile_out::operator= (TaggedProfile *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedProfile_out::operator ::IOP::TaggedProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *&
-IOP::TaggedProfile_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedProfile *
-IOP::TaggedProfile_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::IOR_var
-// *************************************************************
-
-ACE_INLINE
-IOP::IOR_var::IOR_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::IOR_var::IOR_var (IOR *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::IOR_var::IOR_var (const ::IOP::IOR_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::IOR (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::IOR_var::~IOR_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var &
-IOP::IOR_var::operator= (IOR *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::IOR_var &
-IOP::IOR_var::operator= (const ::IOP::IOR_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- IOR *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- IOR (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- IOR *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::IOR *
-IOP::IOR_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var::operator const ::IOP::IOR &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::IOR &
-IOP::IOR_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR &
-IOP::IOR_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::IOR *&
-IOP::IOR_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_var::_retn (void)
-{
- ::IOP::IOR *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::IOR_out
-// *************************************************************
-
-ACE_INLINE
-IOP::IOR_out::IOR_out (::IOP::IOR *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::IOR_out::IOR_out (IOR_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::IOR_out::IOR_out (const ::IOP::IOR_out &p)
- : ptr_ (ACE_const_cast (IOR_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::IOR_out &
-IOP::IOR_out::operator= (const ::IOP::IOR_out &p)
-{
- this->ptr_ = ACE_const_cast (IOR_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::IOR_out &
-IOP::IOR_out::operator= (IOR *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::IOR_out::operator ::IOP::IOR *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *&
-IOP::IOR_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::IOR *
-IOP::IOR_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CI_
-
-ACE_INLINE
-IOP::TaggedProfile *
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedProfile *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedProfile[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (IOP::TaggedProfile *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void)
-{
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedProfile *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedProfile *tmp1 =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (this->maximum_);
- IOP::TaggedProfile * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedProfile * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator= (
- const _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedProfile *tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedProfile *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
- IOP::TaggedProfile * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedProfile * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedProfile &
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedProfile* tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedProfile &
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedProfile * const tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedProfile *
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedProfile *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedProfile*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedProfile*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedProfile *
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedProfile * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedProfile *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedProfile *tmp =
- ACE_reinterpret_cast (IOP::TaggedProfile*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-// TAO_IDL - Generated from
-// be/be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponent_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (TaggedComponent *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (const ::IOP::TaggedComponent_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedComponent (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::~TaggedComponent_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var &
-IOP::TaggedComponent_var::operator= (TaggedComponent *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponent_var &
-IOP::TaggedComponent_var::operator= (const ::IOP::TaggedComponent_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedComponent *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedComponent (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedComponent *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::operator const ::IOP::TaggedComponent &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::TaggedComponent &
-IOP::TaggedComponent_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent &
-IOP::TaggedComponent_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::TaggedComponent *&
-IOP::TaggedComponent_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::_retn (void)
-{
- ::IOP::TaggedComponent *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponent_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (::IOP::TaggedComponent *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (TaggedComponent_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (const ::IOP::TaggedComponent_out &p)
- : ptr_ (ACE_const_cast (TaggedComponent_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::TaggedComponent_out &
-IOP::TaggedComponent_out::operator= (const ::IOP::TaggedComponent_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedComponent_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out &
-IOP::TaggedComponent_out::operator= (TaggedComponent *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponent_out::operator ::IOP::TaggedComponent *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *&
-IOP::TaggedComponent_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::TaggedComponent *
-IOP::TaggedComponent_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedComponent *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedComponent[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (IOP::TaggedComponent *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedComponent *tmp1 =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (this->maximum_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator= (
- const _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedComponent *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedComponent *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CI_)
-#define _IOP_MULTIPLECOMPONENTPROFILE_CI_
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:257
-
-// *************************************************************
-// Inline operations for class IOP::MultipleComponentProfile_var
-// *************************************************************
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (MultipleComponentProfile *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (const ::IOP::MultipleComponentProfile_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::MultipleComponentProfile (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::~MultipleComponentProfile_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var &
-IOP::MultipleComponentProfile_var::operator= (MultipleComponentProfile *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile_var &
-IOP::MultipleComponentProfile_var::operator= (const ::IOP::MultipleComponentProfile_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- MultipleComponentProfile *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- MultipleComponentProfile (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- MultipleComponentProfile *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator const ::IOP::MultipleComponentProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::MultipleComponentProfile_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::MultipleComponentProfile_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::TaggedComponent &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::MultipleComponentProfile &
-IOP::MultipleComponentProfile_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile &
-IOP::MultipleComponentProfile_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *&
-IOP::MultipleComponentProfile_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::_retn (void)
-{
- ::IOP::MultipleComponentProfile *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:597
-
-// *************************************************************
-// Inline operations for class IOP::MultipleComponentProfile_out
-// *************************************************************
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleComponentProfile *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleComponentProfile_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (const ::IOP::MultipleComponentProfile_out &p)
- : ptr_ (ACE_const_cast (MultipleComponentProfile_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile_out &
-IOP::MultipleComponentProfile_out::operator= (const ::IOP::MultipleComponentProfile_out &p)
-{
- this->ptr_ = ACE_const_cast (MultipleComponentProfile_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile_out &
-IOP::MultipleComponentProfile_out::operator= (MultipleComponentProfile *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::MultipleComponentProfile_out::operator ::IOP::MultipleComponentProfile *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *&
-IOP::MultipleComponentProfile_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::MultipleComponentProfile *
-IOP::MultipleComponentProfile_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedComponent *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedComponent[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (IOP::TaggedComponent *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedComponent *tmp1 =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (this->maximum_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentList &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedComponent *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedComponent *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTLIST_CI_)
-#define _IOP_TAGGEDCOMPONENTLIST_CI_
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:257
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentList_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (TaggedComponentList *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (const ::IOP::TaggedComponentList_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedComponentList (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::~TaggedComponentList_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var &
-IOP::TaggedComponentList_var::operator= (TaggedComponentList *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList_var &
-IOP::TaggedComponentList_var::operator= (const ::IOP::TaggedComponentList_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedComponentList *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedComponentList (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedComponentList *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::operator const ::IOP::TaggedComponentList &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentList_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::TaggedComponentList_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::TaggedComponent &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentList &
-IOP::TaggedComponentList_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList &
-IOP::TaggedComponentList_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *&
-IOP::TaggedComponentList_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::_retn (void)
-{
- ::IOP::TaggedComponentList *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:597
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentList_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (const ::IOP::TaggedComponentList_out &p)
- : ptr_ (ACE_const_cast (TaggedComponentList_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::TaggedComponentList_out &
-IOP::TaggedComponentList_out::operator= (const ::IOP::TaggedComponentList_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedComponentList_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList_out &
-IOP::TaggedComponentList_out::operator= (TaggedComponentList *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponentList_out::operator ::IOP::TaggedComponentList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *&
-IOP::TaggedComponentList_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentList *
-IOP::TaggedComponentList_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (CORBA::ULong size)
-{
- IOP::TaggedComponent *retval = 0;
- ACE_NEW_RETURN (retval, IOP::TaggedComponent[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (IOP::TaggedComponent *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::TaggedComponent *tmp1 =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (this->maximum_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator= (
- const _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::TaggedComponent *tmp1 =
- ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
- IOP::TaggedComponent * const tmp2 =
- ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::get_buffer (CORBA::Boolean orphan)
-{
- IOP::TaggedComponent *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::TaggedComponent *
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::TaggedComponent *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::TaggedComponent *tmp =
- ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CI_)
-#define _IOP_TAGGEDCOMPONENTSEQ_CI_
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:257
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentSeq_var
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (TaggedComponentSeq *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (const ::IOP::TaggedComponentSeq_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::TaggedComponentSeq (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::~TaggedComponentSeq_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var &
-IOP::TaggedComponentSeq_var::operator= (TaggedComponentSeq *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq_var &
-IOP::TaggedComponentSeq_var::operator= (const ::IOP::TaggedComponentSeq_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- TaggedComponentSeq *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- TaggedComponentSeq (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- TaggedComponentSeq *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator const ::IOP::TaggedComponentSeq &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentSeq_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::TaggedComponent &
-IOP::TaggedComponentSeq_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::TaggedComponent &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::TaggedComponentSeq &
-IOP::TaggedComponentSeq_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq &
-IOP::TaggedComponentSeq_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *&
-IOP::TaggedComponentSeq_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::_retn (void)
-{
- ::IOP::TaggedComponentSeq *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:597
-
-// *************************************************************
-// Inline operations for class IOP::TaggedComponentSeq_out
-// *************************************************************
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (const ::IOP::TaggedComponentSeq_out &p)
- : ptr_ (ACE_const_cast (TaggedComponentSeq_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq_out &
-IOP::TaggedComponentSeq_out::operator= (const ::IOP::TaggedComponentSeq_out &p)
-{
- this->ptr_ = ACE_const_cast (TaggedComponentSeq_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq_out &
-IOP::TaggedComponentSeq_out::operator= (TaggedComponentSeq *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::TaggedComponentSeq_out::operator ::IOP::TaggedComponentSeq *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *&
-IOP::TaggedComponentSeq_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::TaggedComponentSeq *
-IOP::TaggedComponentSeq_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::TaggedComponent &
-IOP::TaggedComponentSeq_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// be/be_structure.cpp:194
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContext_var
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (ServiceContext *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (const ::IOP::ServiceContext_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::ServiceContext (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::~ServiceContext_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var &
-IOP::ServiceContext_var::operator= (ServiceContext *_tao_struct_var)
-{
- delete this->ptr_;
- this->ptr_ = _tao_struct_var;
- return *this;
-}
-
-ACE_INLINE
-::IOP::ServiceContext_var &
-IOP::ServiceContext_var::operator= (const ::IOP::ServiceContext_var &_tao_struct_var)
-{
- if (this != &_tao_struct_var)
- {
- if (_tao_struct_var.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ServiceContext *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ServiceContext (*_tao_struct_var.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ServiceContext *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE const ::IOP::ServiceContext *
-IOP::ServiceContext_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::operator const ::IOP::ServiceContext &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE const ::IOP::ServiceContext &
-IOP::ServiceContext_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext &
-IOP::ServiceContext_var::inout (void)
-{
- return *this->ptr_;
-}
-
-// Mapping for variable size.
-ACE_INLINE ::IOP::ServiceContext *&
-IOP::ServiceContext_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_var::_retn (void)
-{
- ::IOP::ServiceContext *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_structure.cpp:523
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContext_out
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (::IOP::ServiceContext *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (ServiceContext_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (const ::IOP::ServiceContext_out &p)
- : ptr_ (ACE_const_cast (ServiceContext_out&, p).ptr_)
-{}
-
-ACE_INLINE
-IOP::ServiceContext_out &
-IOP::ServiceContext_out::operator= (const ::IOP::ServiceContext_out &p)
-{
- this->ptr_ = ACE_const_cast (ServiceContext_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out &
-IOP::ServiceContext_out::operator= (ServiceContext *_tao_struct_out)
-{
- this->ptr_ = _tao_struct_out;
- return *this;
-}
-
-ACE_INLINE
-IOP::ServiceContext_out::operator ::IOP::ServiceContext *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *&
-IOP::ServiceContext_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::IOP::ServiceContext *
-IOP::ServiceContext_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/gen_unbounded_sequence_ci.cpp:98
-
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
-#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_)
-#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_
-
-ACE_INLINE
-IOP::ServiceContext *
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (CORBA::ULong size)
-{
- IOP::ServiceContext *retval = 0;
- ACE_NEW_RETURN (retval, IOP::ServiceContext[size], 0);
- return retval;
-}
-
-ACE_INLINE
-void IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (IOP::ServiceContext *buffer)
-{
- delete [] buffer;
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (void)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum)
- : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (maximum))
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (
- CORBA::ULong maximum,
- CORBA::ULong length,
- IOP::ServiceContext *data,
- CORBA::Boolean release
- )
- : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
-{
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- )
- : TAO_Unbounded_Base_Sequence (rhs)
-{
- if (rhs.buffer_ != 0)
- {
- IOP::ServiceContext *tmp1 =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (this->maximum_);
- IOP::ServiceContext * const tmp2 =
- ACE_reinterpret_cast (IOP::ServiceContext * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- this->buffer_ = tmp1;
- }
- else
- {
- this->buffer_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList &
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator= (
- const _TAO_Unbounded_Sequence_IOP_ServiceContextList &rhs
- )
-{
- if (this == &rhs)
- {
- return *this;
- }
-
- if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
- {
- // Free the old buffer.
- IOP::ServiceContext *tmp =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
-
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (tmp);
-
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (rhs.maximum_);
- }
- }
- else
- {
- this->buffer_ =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (rhs.maximum_);
- }
-
- TAO_Unbounded_Base_Sequence::operator= (rhs);
-
- IOP::ServiceContext *tmp1 =
- ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
- IOP::ServiceContext * const tmp2 =
- ACE_reinterpret_cast (IOP::ServiceContext * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- {
- tmp1[i] = tmp2[i];
- }
-
- return *this;
-}
-
-// = Accessors.
-ACE_INLINE
-IOP::ServiceContext &
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i)
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::ServiceContext* tmp =
- ACE_reinterpret_cast (IOP::ServiceContext*, this->buffer_);
- return tmp[i];
-}
-
-ACE_INLINE
-const IOP::ServiceContext &
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i) const
-{
- ACE_ASSERT (i < this->maximum_);
- IOP::ServiceContext * const tmp =
- ACE_reinterpret_cast (IOP::ServiceContext* ACE_CAST_CONST, this->buffer_);
- return tmp[i];
-}
-
-// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
-ACE_INLINE
-IOP::ServiceContext *
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::get_buffer (CORBA::Boolean orphan)
-{
- IOP::ServiceContext *result = 0;
-
- if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
- {
- result =
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
- }
- else
- {
- result =
- ACE_reinterpret_cast (IOP::ServiceContext*, this->buffer_);
- }
- }
- else // if (orphan == 1)
- {
- if (this->release_ != 0)
- {
- // We set the state back to default and relinquish ownership.
- result =
- ACE_reinterpret_cast(IOP::ServiceContext*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
- }
- }
-
- return result;
-}
-
-ACE_INLINE
-const IOP::ServiceContext *
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::get_buffer (void) const
-{
- return ACE_reinterpret_cast (const IOP::ServiceContext * ACE_CAST_CONST, this->buffer_);
-}
-
-ACE_INLINE
-void
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::replace (
- CORBA::ULong max,
- CORBA::ULong length,
- IOP::ServiceContext *data,
- CORBA::Boolean release
- )
-{
- this->maximum_ = max;
- this->length_ = length;
-
- if (this->buffer_ && this->release_ == 1)
- {
- IOP::ServiceContext *tmp =
- ACE_reinterpret_cast (IOP::ServiceContext*, this->buffer_);
- _TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (tmp);
- }
-
- this->buffer_ = data;
- this->release_ = release;
-}
-
-#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
-#if !defined (_IOP_SERVICECONTEXTLIST_CI_)
-#define _IOP_SERVICECONTEXTLIST_CI_
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:257
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContextList_var
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (void)
- : ptr_ (0)
-{}
-
-ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (ServiceContextList *p)
- : ptr_ (p)
-{}
-
-ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (const ::IOP::ServiceContextList_var &p)
-{
- if (p.ptr_)
- {
- ACE_NEW (this->ptr_, ::IOP::ServiceContextList (*p.ptr_));
- }
- else
- {
- this->ptr_ = 0;
- }
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::~ServiceContextList_var (void)
-{
- delete this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var &
-IOP::ServiceContextList_var::operator= (ServiceContextList *p)
-{
- delete this->ptr_;
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList_var &
-IOP::ServiceContextList_var::operator= (const ::IOP::ServiceContextList_var &p)
-{
- if (this != &p)
- {
- if (p.ptr_ == 0)
- {
- delete this->ptr_;
- this->ptr_ = 0;
- }
- else
- {
- ServiceContextList *deep_copy = 0;
- ACE_NEW_RETURN (
- deep_copy,
- ServiceContextList (*p.ptr_),
- *this
- );
-
- if (deep_copy != 0)
- {
- ServiceContextList *tmp = deep_copy;
- deep_copy = this->ptr_;
- this->ptr_ = tmp;
- delete deep_copy;
- }
- }
- }
-
- return *this;
-}
-
-ACE_INLINE
-const ::IOP::ServiceContextList *
-IOP::ServiceContextList_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_var::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::operator const ::IOP::ServiceContextList &() const // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() // cast
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() const // cast
-{
- return *this->ptr_;
-}
-
-// Variable-size types only.
-ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext &
-IOP::ServiceContextList_var::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-ACE_INLINE
-const IOP::ServiceContext &
-IOP::ServiceContextList_var::operator[] (CORBA::ULong index) const
-{
- return ACE_const_cast (const IOP::ServiceContext &, this->ptr_->operator[] (index));
-}
-
-ACE_INLINE
-const ::IOP::ServiceContextList &
-IOP::ServiceContextList_var::in (void) const
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList &
-IOP::ServiceContextList_var::inout (void)
-{
- return *this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *&
-IOP::ServiceContextList_var::out (void)
-{
- delete this->ptr_;
- this->ptr_ = 0;
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_var::_retn (void)
-{
- ::IOP::ServiceContextList *tmp = this->ptr_;
- this->ptr_ = 0;
- return tmp;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/sequence_ci.cpp:597
-
-// *************************************************************
-// Inline operations for class IOP::ServiceContextList_out
-// *************************************************************
-
-ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList *&p)
- : ptr_ (p)
-{
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList_var &p)
- : ptr_ (p.out ())
-{
- delete this->ptr_;
- this->ptr_ = 0;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (const ::IOP::ServiceContextList_out &p)
- : ptr_ (ACE_const_cast (ServiceContextList_out&, p).ptr_)
-{}
-
-ACE_INLINE
-::IOP::ServiceContextList_out &
-IOP::ServiceContextList_out::operator= (const ::IOP::ServiceContextList_out &p)
-{
- this->ptr_ = ACE_const_cast (ServiceContextList_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList_out &
-IOP::ServiceContextList_out::operator= (ServiceContextList *p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-IOP::ServiceContextList_out::operator ::IOP::ServiceContextList *&() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *&
-IOP::ServiceContextList_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-::IOP::ServiceContextList *
-IOP::ServiceContextList_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-IOP::ServiceContext &
-IOP::ServiceContextList_out::operator[] (CORBA::ULong index)
-{
- return this->ptr_->operator[] (index);
-}
-
-#endif /* end #if !defined */
-
-// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ci.cpp:71
+// be/be_visitor_structure/cdr_op_ci.cpp:70
ACE_INLINE
CORBA::Boolean operator<< (
@@ -2918,17 +35,9 @@ CORBA::Boolean operator<< (
const IOP::TaggedProfile &_tao_aggregate
)
{
- if (
+ return
(strm << _tao_aggregate.tag) &&
- (strm << _tao_aggregate.profile_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm << _tao_aggregate.profile_data);
}
ACE_INLINE
@@ -2937,39 +46,31 @@ CORBA::Boolean operator>> (
IOP::TaggedProfile &_tao_aggregate
)
{
- if (
+ return
(strm >> _tao_aggregate.tag) &&
- (strm >> _tao_aggregate.profile_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm >> _tao_aggregate.profile_data);
}
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ci.cpp:84
+// be/be_visitor_sequence/cdr_op_ci.cpp:81
-#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_
-#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_
+#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_I_
+#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_I_
CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
- const IOP::IOR::_tao_seq_TaggedProfile &
+ const IOP::IOR::_tao_seq_TaggedProfile_profiles &
);
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
- IOP::IOR::_tao_seq_TaggedProfile &
+ IOP::IOR::_tao_seq_TaggedProfile_profiles &
);
-#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_ */
+#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_profiles_I_ */
// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ci.cpp:71
+// be/be_visitor_structure/cdr_op_ci.cpp:70
ACE_INLINE
CORBA::Boolean operator<< (
@@ -2977,17 +78,9 @@ CORBA::Boolean operator<< (
const IOP::IOR &_tao_aggregate
)
{
- if (
+ return
(strm << _tao_aggregate.type_id.in ()) &&
- (strm << _tao_aggregate.profiles)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm << _tao_aggregate.profiles);
}
ACE_INLINE
@@ -2996,21 +89,13 @@ CORBA::Boolean operator>> (
IOP::IOR &_tao_aggregate
)
{
- if (
+ return
(strm >> _tao_aggregate.type_id.out ()) &&
- (strm >> _tao_aggregate.profiles)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm >> _tao_aggregate.profiles);
}
// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ci.cpp:71
+// be/be_visitor_structure/cdr_op_ci.cpp:70
ACE_INLINE
CORBA::Boolean operator<< (
@@ -3018,17 +103,9 @@ CORBA::Boolean operator<< (
const IOP::TaggedComponent &_tao_aggregate
)
{
- if (
+ return
(strm << _tao_aggregate.tag) &&
- (strm << _tao_aggregate.component_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm << _tao_aggregate.component_data);
}
ACE_INLINE
@@ -3037,21 +114,13 @@ CORBA::Boolean operator>> (
IOP::TaggedComponent &_tao_aggregate
)
{
- if (
+ return
(strm >> _tao_aggregate.tag) &&
- (strm >> _tao_aggregate.component_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm >> _tao_aggregate.component_data);
}
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ci.cpp:84
+// be/be_visitor_sequence/cdr_op_ci.cpp:81
#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_I_
#define _TAO_CDR_OP_IOP_MultipleComponentProfile_I_
@@ -3069,7 +138,7 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ci.cpp:84
+// be/be_visitor_sequence/cdr_op_ci.cpp:81
#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_I_
#define _TAO_CDR_OP_IOP_TaggedComponentList_I_
@@ -3087,7 +156,7 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_I_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ci.cpp:84
+// be/be_visitor_sequence/cdr_op_ci.cpp:81
#if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_I_
#define _TAO_CDR_OP_IOP_TaggedComponentSeq_I_
@@ -3105,25 +174,25 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ */
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ci.cpp:84
+// be/be_visitor_sequence/cdr_op_ci.cpp:81
-#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_
-#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_
+#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_I_
+#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_I_
CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
- const IOP::ServiceContext::_tao_seq_Octet &
+ const IOP::ServiceContext::_tao_seq_Octet_context_data &
);
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
- IOP::ServiceContext::_tao_seq_Octet &
+ IOP::ServiceContext::_tao_seq_Octet_context_data &
);
-#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_ */
+#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_context_data_I_ */
// TAO_IDL - Generated from
-// be/be_visitor_structure/cdr_op_ci.cpp:71
+// be/be_visitor_structure/cdr_op_ci.cpp:70
ACE_INLINE
CORBA::Boolean operator<< (
@@ -3131,17 +200,9 @@ CORBA::Boolean operator<< (
const IOP::ServiceContext &_tao_aggregate
)
{
- if (
+ return
(strm << _tao_aggregate.context_id) &&
- (strm << _tao_aggregate.context_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm << _tao_aggregate.context_data);
}
ACE_INLINE
@@ -3150,21 +211,13 @@ CORBA::Boolean operator>> (
IOP::ServiceContext &_tao_aggregate
)
{
- if (
+ return
(strm >> _tao_aggregate.context_id) &&
- (strm >> _tao_aggregate.context_data)
- )
- {
- return 1;
- }
- else
- {
- return 0;
- }
+ (strm >> _tao_aggregate.context_data);
}
// TAO_IDL - Generated from
-// be/be_visitor_sequence/cdr_op_ci.cpp:84
+// be/be_visitor_sequence/cdr_op_ci.cpp:81
#if !defined _TAO_CDR_OP_IOP_ServiceContextList_I_
#define _TAO_CDR_OP_IOP_ServiceContextList_I_
diff --git a/TAO/tao/diffs/IOP_IOR.diff b/TAO/tao/diffs/IOP_IOR.diff
index 11e85bfc8a2..2b490e13e61 100644
--- a/TAO/tao/diffs/IOP_IOR.diff
+++ b/TAO/tao/diffs/IOP_IOR.diff
@@ -1,6 +1,6 @@
---- orig/IOP_IORC.h Mon Mar 31 11:56:50 2003
-+++ IOP_IORC.h Mon Mar 31 11:58:18 2003
-@@ -27,16 +27,15 @@
+--- orig/IOP_IORC.h 2003-04-27 07:39:11.000000000 -0500
++++ ./IOP_IORC.h 2003-04-27 09:21:56.000000000 -0500
+@@ -33,16 +33,16 @@
#include "ace/pre.h"
@@ -17,7 +17,775 @@
-#include "OctetSeqC.h"
+#include "tao/TAO_Export.h"
+#include "tao/OctetSeqC.h"
++#include "tao/VarOut_T.h"
+#include "tao/CDR.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
+@@ -72,98 +72,98 @@
+
+ TAO_NAMESPACE IOP
+ {
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typedef/typedef_ch.cpp:333
+-
++
+ typedef CORBA::ULong ProfileId;
+ typedef CORBA::ULong_out ProfileId_out;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ProfileId;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ProfileId TAG_INTERNET_IOP = 0U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ProfileId TAG_MULTIPLE_COMPONENTS = 1U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_type.cpp:249
+-
++
+ struct TaggedProfile;
+-
++
+ typedef
+ TAO_Var_Var_T<
+ TaggedProfile
+ >
+ TaggedProfile_var;
+-
++
+ typedef
+ TAO_Out_T<
+ TaggedProfile,
+ TaggedProfile_var
+ >
+ TaggedProfile_out;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_structure/structure_ch.cpp:52
+-
++
+ struct TAO_Export TaggedProfile
+ {
+ typedef TaggedProfile_var _var_type;
+-
++
+ static void _tao_any_destructor (void *);
+ IOP::ProfileId tag;
+ CORBA::OctetSeq profile_data;
+ };
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedProfile;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_type.cpp:249
+-
++
+ struct IOR;
+-
++
+ typedef
+ TAO_Var_Var_T<
+ IOR
+ >
+ IOR_var;
+-
++
+ typedef
+ TAO_Out_T<
+ IOR,
+ IOR_var
+ >
+ IOR_out;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_structure/structure_ch.cpp:52
+-
++
+ struct TAO_Export IOR
+ {
+ typedef IOR_var _var_type;
+-
++
+ static void _tao_any_destructor (void *);
+ TAO_String_Manager type_id;
+-
+-
++
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+ #if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_PROFILES_CH_)
+ #define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_PROFILES_CH_
+-
++
+ class TAO_Export _tao_seq_TaggedProfile_profiles
+ : public
+ TAO_Unbounded_Sequence<
+@@ -176,92 +176,92 @@
+ _tao_seq_TaggedProfile_profiles (
+ CORBA::ULong max,
+ CORBA::ULong length,
+- ACE_NESTED_CLASS (IOP, TaggedProfile)* buffer,
++ ACE_NESTED_CLASS (IOP, TaggedProfile)* buffer,
+ CORBA::Boolean release = 0
+ );
+ _tao_seq_TaggedProfile_profiles (const _tao_seq_TaggedProfile_profiles &);
+ ~_tao_seq_TaggedProfile_profiles (void);
+-
++
+ static void _tao_any_destructor (void *);
+-
+-
++
++
+ };
+
+ #endif /* end #if !defined */
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_field/field_ch.cpp:453
+-
++
+ typedef _tao_seq_TaggedProfile_profiles _profiles_seq;
+ _tao_seq_TaggedProfile_profiles profiles;
+ };
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_IOR;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typedef/typedef_ch.cpp:333
+-
++
+ typedef CORBA::ULong ComponentId;
+ typedef CORBA::ULong_out ComponentId_out;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ComponentId;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_type.cpp:249
+-
++
+ struct TaggedComponent;
+-
++
+ typedef
+ TAO_Var_Var_T<
+ TaggedComponent
+ >
+ TaggedComponent_var;
+-
++
+ typedef
+ TAO_Out_T<
+ TaggedComponent,
+ TaggedComponent_var
+ >
+ TaggedComponent_out;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_structure/structure_ch.cpp:52
+-
++
+ struct TAO_Export TaggedComponent
+ {
+ typedef TaggedComponent_var _var_type;
+-
++
+ static void _tao_any_destructor (void *);
+ IOP::ComponentId tag;
+ CORBA::OctetSeq component_data;
+ };
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponent;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+ #if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CH_)
+ #define _IOP_MULTIPLECOMPONENTPROFILE_CH_
+-
++
+ class MultipleComponentProfile;
+-
++
+ typedef
+ TAO_VarSeq_Var_T<
+ MultipleComponentProfile,
+ TaggedComponent
+ >
+ MultipleComponentProfile_var;
+-
++
+ typedef
+ TAO_Seq_Out_T<
+ MultipleComponentProfile,
+@@ -269,7 +269,7 @@
+ TaggedComponent
+ >
+ MultipleComponentProfile_out;
+-
++
+ class TAO_Export MultipleComponentProfile
+ : public
+ TAO_Unbounded_Sequence<
+@@ -282,39 +282,39 @@
+ MultipleComponentProfile (
+ CORBA::ULong max,
+ CORBA::ULong length,
+- TaggedComponent* buffer,
++ TaggedComponent* buffer,
+ CORBA::Boolean release = 0
+ );
+ MultipleComponentProfile (const MultipleComponentProfile &);
+ ~MultipleComponentProfile (void);
+-
++
+ static void _tao_any_destructor (void *);
+-
++
+ typedef MultipleComponentProfile_var _var_type;
+ };
+
+ #endif /* end #if !defined */
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultipleComponentProfile;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+ #if !defined (_IOP_TAGGEDCOMPONENTLIST_CH_)
+ #define _IOP_TAGGEDCOMPONENTLIST_CH_
+-
++
+ class TaggedComponentList;
+-
++
+ typedef
+ TAO_VarSeq_Var_T<
+ TaggedComponentList,
+ TaggedComponent
+ >
+ TaggedComponentList_var;
+-
++
+ typedef
+ TAO_Seq_Out_T<
+ TaggedComponentList,
+@@ -322,7 +322,7 @@
+ TaggedComponent
+ >
+ TaggedComponentList_out;
+-
++
+ class TAO_Export TaggedComponentList
+ : public
+ TAO_Unbounded_Sequence<
+@@ -335,39 +335,39 @@
+ TaggedComponentList (
+ CORBA::ULong max,
+ CORBA::ULong length,
+- TaggedComponent* buffer,
++ TaggedComponent* buffer,
+ CORBA::Boolean release = 0
+ );
+ TaggedComponentList (const TaggedComponentList &);
+ ~TaggedComponentList (void);
+-
++
+ static void _tao_any_destructor (void *);
+-
++
+ typedef TaggedComponentList_var _var_type;
+ };
+
+ #endif /* end #if !defined */
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentList;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+ #if !defined (_IOP_TAGGEDCOMPONENTSEQ_CH_)
+ #define _IOP_TAGGEDCOMPONENTSEQ_CH_
+-
++
+ class TaggedComponentSeq;
+-
++
+ typedef
+ TAO_VarSeq_Var_T<
+ TaggedComponentSeq,
+ TaggedComponent
+ >
+ TaggedComponentSeq_var;
+-
++
+ typedef
+ TAO_Seq_Out_T<
+ TaggedComponentSeq,
+@@ -375,7 +375,7 @@
+ TaggedComponent
+ >
+ TaggedComponentSeq_out;
+-
++
+ class TAO_Export TaggedComponentSeq
+ : public
+ TAO_Unbounded_Sequence<
+@@ -388,120 +388,120 @@
+ TaggedComponentSeq (
+ CORBA::ULong max,
+ CORBA::ULong length,
+- TaggedComponent* buffer,
++ TaggedComponent* buffer,
+ CORBA::Boolean release = 0
+ );
+ TaggedComponentSeq (const TaggedComponentSeq &);
+ ~TaggedComponentSeq (void);
+-
++
+ static void _tao_any_destructor (void *);
+-
++
+ typedef TaggedComponentSeq_var _var_type;
+ };
+
+ #endif /* end #if !defined */
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentSeq;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_ORB_TYPE = 0U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_CODE_SETS = 1U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_POLICIES = 2U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_ALTERNATE_IIOP_ADDRESS = 3U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_COMPLETE_OBJECT_KEY = 5U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_ENDPOINT_ID_POSITION = 6U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_LOCATION_POLICY = 12U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_DCE_STRING_BINDING = 100U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_DCE_BINDING_NAME = 101U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_DCE_NO_PIPES = 102U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typedef/typedef_ch.cpp:333
+-
++
+ typedef CORBA::ULong ServiceId;
+ typedef CORBA::ULong_out ServiceId_out;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceId;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_type.cpp:249
+-
++
+ struct ServiceContext;
+-
++
+ typedef
+ TAO_Var_Var_T<
+ ServiceContext
+ >
+ ServiceContext_var;
+-
++
+ typedef
+ TAO_Out_T<
+ ServiceContext,
+ ServiceContext_var
+ >
+ ServiceContext_out;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_structure/structure_ch.cpp:52
+-
++
+ struct TAO_Export ServiceContext
+ {
+ typedef ServiceContext_var _var_type;
+-
++
+ static void _tao_any_destructor (void *);
+ IOP::ServiceId context_id;
+-
+-
++
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+ #if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CONTEXT_DATA_CH_)
+ #define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CONTEXT_DATA_CH_
+-
++
+ class TAO_Export _tao_seq_Octet_context_data
+ : public
+ TAO_Unbounded_Sequence<
+@@ -514,15 +514,15 @@
+ _tao_seq_Octet_context_data (
+ CORBA::ULong max,
+ CORBA::ULong length,
+- CORBA::Octet* buffer,
++ CORBA::Octet* buffer,
+ CORBA::Boolean release = 0
+ );
+ _tao_seq_Octet_context_data (const _tao_seq_Octet_context_data &);
+ ~_tao_seq_Octet_context_data (void);
+-
++
+ static void _tao_any_destructor (void *);
+-
+-
++
++
+
+ #if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ _tao_seq_Octet_context_data (
+@@ -534,34 +534,34 @@
+ };
+
+ #endif /* end #if !defined */
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_field/field_ch.cpp:453
+-
++
+ typedef _tao_seq_Octet_context_data _context_data_seq;
+ _tao_seq_Octet_context_data context_data;
+ };
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContext;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_sequence/sequence_ch.cpp:89
+
+ #if !defined (_IOP_SERVICECONTEXTLIST_CH_)
+ #define _IOP_SERVICECONTEXTLIST_CH_
+-
++
+ class ServiceContextList;
+-
++
+ typedef
+ TAO_VarSeq_Var_T<
+ ServiceContextList,
+ ServiceContext
+ >
+ ServiceContextList_var;
+-
++
+ typedef
+ TAO_Seq_Out_T<
+ ServiceContextList,
+@@ -569,7 +569,7 @@
+ ServiceContext
+ >
+ ServiceContextList_out;
+-
++
+ class TAO_Export ServiceContextList
+ : public
+ TAO_Unbounded_Sequence<
+@@ -582,117 +582,117 @@
+ ServiceContextList (
+ CORBA::ULong max,
+ CORBA::ULong length,
+- ServiceContext* buffer,
++ ServiceContext* buffer,
+ CORBA::Boolean release = 0
+ );
+ ServiceContextList (const ServiceContextList &);
+ ~ServiceContextList (void);
+-
++
+ static void _tao_any_destructor (void *);
+-
++
+ typedef ServiceContextList_var _var_type;
+ };
+
+ #endif /* end #if !defined */
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_typecode/typecode_decl.cpp:44
+-
++
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContextList;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId TransactionService = 0U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId CodeSets = 1U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId ChainBypassCheck = 2U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId ChainBypassInfo = 3U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId LogicalThreadId = 4U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId BI_DIR_IIOP = 5U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId SendingContextRunTime = 6U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId INVOCATION_POLICIES = 7U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId UnknownExceptionInfo = 9U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId RTCorbaPriority = 10U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId RTCorbaPriorityRange = 11U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_FT_GROUP = 27U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_FT_PRIMARY = 28U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_FT_HEARTBEAT_ENABLED = 29U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId FT_GROUP_VERSION = 12U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ServiceId FT_REQUEST = 13U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ProfileId TAG_UIPMC = 1413566220U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_GROUP = 1413566211U;
+-
++
+ // TAO_IDL - Generated from
+ // be/be_visitor_constant/constant_ch.cpp:52
+-
++
+ const IOP::ComponentId TAG_GROUP_IIOP = 1413566212U;
+
+ // TAO_IDL - Generated from
+@@ -917,4 +917,3 @@
+ #endif /* __BORLANDC__ */
+
+ #endif /* ifndef */
+-