summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-01-09 04:48:59 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-01-09 04:48:59 +0000
commit548527cb3f4fb1d4a3b092aba43cbe521965b122 (patch)
tree889449018d8eeebe2d0a98185a6e0ffb6a0f355a
parentb9c7419ba533734ce8d0a06d6f0694359a0b1d2d (diff)
downloadATCD-548527cb3f4fb1d4a3b092aba43cbe521965b122.tar.gz
ChangeLogTag: Wed Jan 8 22:43:39 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
-rw-r--r--TAO/ChangeLog17
-rw-r--r--TAO/tao/Any.h4
-rw-r--r--TAO/tao/IOPC.cpp4495
-rw-r--r--TAO/tao/IOPC.h995
-rw-r--r--TAO/tao/IOPC.i1899
-rw-r--r--TAO/tao/PolicyC.cpp2062
-rw-r--r--TAO/tao/PolicyC.h410
-rw-r--r--TAO/tao/PolicyC.i342
-rw-r--r--TAO/tao/TAOC.cpp595
-rw-r--r--TAO/tao/TAOC.h219
-rw-r--r--TAO/tao/TAOC.i96
11 files changed, 5958 insertions, 5176 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 26184c38cee..e3b9c3adb3f 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,20 @@
+Wed Jan 8 22:43:39 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
+
+ * tao/Any.h:
+ * tao/IOPC.cpp:
+ * tao/IOPC.h:
+ * tao/IOPC.i:
+ * tao/PolicyC.cpp:
+ * tao/PolicyC.h:
+ * tao/PolicyC.i:
+ * tao/TAOC.cpp:
+ * tao/TAOC.h:
+ * tao/TAOC.i:
+
+ Regenerated files from IOP.pidl, Policy.pidl and TAO.pidl,
+ and removed items from Any.h that the old versions of these
+ generated files depended on.
+
Wed Jan 8 17:44:48 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
* tao/Typecode.h:
diff --git a/TAO/tao/Any.h b/TAO/tao/Any.h
index eb7315a2bbe..b412b4d6f13 100644
--- a/TAO/tao/Any.h
+++ b/TAO/tao/Any.h
@@ -60,8 +60,8 @@ namespace CORBA
void* value,
CORBA::Any::_tao_destructor destructor) {}
CORBA::Boolean any_owns_data (void) const { return 0; }
- CORBA::Boolean contains_local (void) const { return 0; }
- void contains_local (CORBA::Boolean) {}
+// CORBA::Boolean contains_local (void) const { return 0; }
+// void contains_local (CORBA::Boolean) {}
CORBA::TypeCode_ptr type_;
ACE_Message_Block *cdr_;
void _tao_encode (TAO_OutputCDR &cdr,
diff --git a/TAO/tao/IOPC.cpp b/TAO/tao/IOPC.cpp
index 2685c73c8b4..872d299acbc 100644
--- a/TAO/tao/IOPC.cpp
+++ b/TAO/tao/IOPC.cpp
@@ -19,8 +19,11 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#include "IOPC.h"
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314
+
+#include "IOPC.h"
#include "tao/Stub.h"
#include "tao/Invocation.h"
#include "tao/PortableInterceptor.h"
@@ -31,6 +34,8 @@
#include "tao/ClientInterceptorAdapter.h"
#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
@@ -39,23 +44,26 @@
#include "IOPC.i"
#endif /* !defined INLINE */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_ProfileId[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x50726f66),
+ ACE_NTOHL (0x696c6549),
+ ACE_NTOHL (0x643a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0
- 10,
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
+ 10,
+ ACE_NTOHL (0x50726f66),
+ ACE_NTOHL (0x696c6549),
ACE_NTOHL (0x64000000), // name = ProfileId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
};
@@ -69,63 +77,62 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_ProfileId (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ProfileId, &_tc_TAO_tc_IOP_ProfileId)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_ProfileId,
+ &_tc_TAO_tc_IOP_ProfileId
+ )
TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_INTERNET_IOP, 0U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_MULTIPLE_COMPONENTS, 1U)
-TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_TaggedProfile[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x65645072),
+ ACE_NTOHL (0x6f66696c),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0
- 14,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
+ 14,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x65645072),
+ ACE_NTOHL (0x6f66696c),
ACE_NTOHL (0x65000000), // name = TaggedProfile
2, // member count
- 4,
+ 4,
ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x50726f66),
+ ACE_NTOHL (0x696c6549),
+ ACE_NTOHL (0x643a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0
- 10,
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
+ 10,
+ ACE_NTOHL (0x50726f66),
+ ACE_NTOHL (0x696c6549),
ACE_NTOHL (0x64000000), // name = ProfileId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
13,
- ACE_NTOHL (0x70726f66),
- ACE_NTOHL (0x696c655f),
- ACE_NTOHL (0x64617461),
+ ACE_NTOHL (0x70726f66),
+ ACE_NTOHL (0x696c655f),
+ ACE_NTOHL (0x64617461),
ACE_NTOHL (0x0), // name = profile_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -144,134 +151,161 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedProfile (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_TaggedProfile, &_tc_TAO_tc_IOP_TaggedProfile)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_TaggedProfile,
+ &_tc_TAO_tc_IOP_TaggedProfile
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+
void IOP::TaggedProfile::_tao_any_destructor (void *_tao_void_pointer)
{
TaggedProfile *tmp = ACE_static_cast (TaggedProfile*, _tao_void_pointer);
delete tmp;
}
-
#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CS_)
#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::TaggedProfile::_tao_seq_Octet
// *************************************************************
IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (void)
{}
-IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max) // uses max size
- :
+
+IOP::TaggedProfile::_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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max, CORBA::ULong length, CORBA::Octet *buffer, CORBA::Boolean release)
- :
+
+IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::TaggedProfile::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq) // copy ctor
- :
+
+IOP::TaggedProfile::_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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::TaggedProfile::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
{}
+
void IOP::TaggedProfile::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer)
{
_tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_IOR[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
24,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x494f523a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x494f523a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/IOR:1.0
- 4,
+ 4,
ACE_NTOHL (0x494f5200), // name = IOR
2, // member count
- 8,
- ACE_NTOHL (0x74797065),
+ 8,
+ ACE_NTOHL (0x74797065),
ACE_NTOHL (0x5f696400), // name = type_id
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
9,
- ACE_NTOHL (0x70726f66),
- ACE_NTOHL (0x696c6573),
+ ACE_NTOHL (0x70726f66),
+ ACE_NTOHL (0x696c6573),
ACE_NTOHL (0x0), // name = profiles
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
200, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
184, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x65645072),
+ ACE_NTOHL (0x6f66696c),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0
- 14,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x65645072),
- ACE_NTOHL (0x6f66696c),
+ 14,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x65645072),
+ ACE_NTOHL (0x6f66696c),
ACE_NTOHL (0x65000000), // name = TaggedProfile
2, // member count
- 4,
+ 4,
ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
- ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x50726f66),
+ ACE_NTOHL (0x696c6549),
+ ACE_NTOHL (0x643a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0
- 10,
- ACE_NTOHL (0x50726f66),
- ACE_NTOHL (0x696c6549),
+ 10,
+ ACE_NTOHL (0x50726f66),
+ ACE_NTOHL (0x696c6549),
ACE_NTOHL (0x64000000), // name = ProfileId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
13,
- ACE_NTOHL (0x70726f66),
- ACE_NTOHL (0x696c655f),
- ACE_NTOHL (0x64617461),
+ ACE_NTOHL (0x70726f66),
+ ACE_NTOHL (0x696c655f),
+ ACE_NTOHL (0x64617461),
ACE_NTOHL (0x0), // name = profile_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -293,15 +327,24 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_IOR (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_IOR, &_tc_TAO_tc_IOP_IOR)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_IOR,
+ &_tc_TAO_tc_IOP_IOR
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+
void IOP::IOR::_tao_any_destructor (void *_tao_void_pointer)
{
IOR *tmp = ACE_static_cast (IOR*, _tao_void_pointer);
delete tmp;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
@@ -313,18 +356,23 @@ IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::_allocate_buff
{
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);
-
- }
+ {
+ 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;
}
@@ -332,89 +380,110 @@ 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_);
-
+ {
+ 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) // Dtor.
+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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_)
#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::IOR::_tao_seq_TaggedProfile
// *************************************************************
IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (void)
{}
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (CORBA::ULong max) // uses max size
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (CORBA::ULong max, CORBA::ULong length, IOP::TaggedProfile *buffer, CORBA::Boolean release)
- :
+
+IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::IOR::_tao_seq_TaggedProfile::_tao_seq_TaggedProfile (const _tao_seq_TaggedProfile &seq) // copy ctor
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::IOR::_tao_seq_TaggedProfile::~_tao_seq_TaggedProfile (void) // dtor
{}
+
void IOP::IOR::_tao_seq_TaggedProfile::_tao_any_destructor (void *_tao_void_pointer)
{
_tao_seq_TaggedProfile *tmp = ACE_static_cast (_tao_seq_TaggedProfile*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_ComponentId[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x7449643a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
+ 12,
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
};
@@ -428,55 +497,62 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_ComponentId (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ComponentId, &_tc_TAO_tc_IOP_ComponentId)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_ComponentId,
+ &_tc_TAO_tc_IOP_ComponentId
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_TaggedComponent[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
+ 16,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
ACE_NTOHL (0x656e7400), // name = TaggedComponent
2, // member count
- 4,
+ 4,
ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x7449643a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
+ 12,
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
+ ACE_NTOHL (0x636f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x745f6461),
ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -495,63 +571,89 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedComponent (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_TaggedComponent, &_tc_TAO_tc_IOP_TaggedComponent)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_TaggedComponent,
+ &_tc_TAO_tc_IOP_TaggedComponent
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+
void IOP::TaggedComponent::_tao_any_destructor (void *_tao_void_pointer)
{
TaggedComponent *tmp = ACE_static_cast (TaggedComponent*, _tao_void_pointer);
delete tmp;
}
-
#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CS_)
#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::TaggedComponent::_tao_seq_Octet
// *************************************************************
IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (void)
{}
-IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max) // uses max size
- :
+
+IOP::TaggedComponent::_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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max, CORBA::ULong length, CORBA::Octet *buffer, CORBA::Boolean release)
- :
+
+IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::TaggedComponent::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq) // copy ctor
- :
+
+IOP::TaggedComponent::_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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::TaggedComponent::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
{}
+
void IOP::TaggedComponent::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer)
{
_tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
@@ -563,18 +665,23 @@ IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_allocate_buffer (COR
{
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);
-
- }
+ {
+ 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;
}
@@ -582,145 +689,166 @@ 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_);
-
+ {
+ return;
+ }
+
+ IOP::TaggedComponent *tmp =
+ ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::freebuf (tmp);
this->buffer_ = 0;
-}
+}
-IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void) // Dtor.
+IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::~_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void)
{
this->_deallocate_buffer ();
}
-
#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CS_)
#define _IOP_MULTIPLECOMPONENTPROFILE_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::MultipleComponentProfile
// *************************************************************
IOP::MultipleComponentProfile::MultipleComponentProfile (void)
{}
-IOP::MultipleComponentProfile::MultipleComponentProfile (CORBA::ULong max) // uses max size
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::MultipleComponentProfile::MultipleComponentProfile (CORBA::ULong max, CORBA::ULong length, IOP::TaggedComponent *buffer, CORBA::Boolean release)
- :
+
+IOP::MultipleComponentProfile::MultipleComponentProfile (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::MultipleComponentProfile::MultipleComponentProfile (const MultipleComponentProfile &seq) // copy ctor
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::MultipleComponentProfile::~MultipleComponentProfile (void) // dtor
{}
+
void IOP::MultipleComponentProfile::_tao_any_destructor (void *_tao_void_pointer)
{
MultipleComponentProfile *tmp = ACE_static_cast (MultipleComponentProfile*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_MultipleComponentProfile[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
45,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x4d756c74),
- ACE_NTOHL (0x69706c65),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7450726f),
- ACE_NTOHL (0x66696c65),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x4d756c74),
+ ACE_NTOHL (0x69706c65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x7450726f),
+ ACE_NTOHL (0x66696c65),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/MultipleComponentProfile:1.0
- 25,
- ACE_NTOHL (0x4d756c74),
- ACE_NTOHL (0x69706c65),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7450726f),
- ACE_NTOHL (0x66696c65),
+ 25,
+ ACE_NTOHL (0x4d756c74),
+ ACE_NTOHL (0x69706c65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x7450726f),
+ ACE_NTOHL (0x66696c65),
ACE_NTOHL (0x0), // name = MultipleComponentProfile
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
200, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
184, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
+ 16,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
ACE_NTOHL (0x656e7400), // name = TaggedComponent
2, // member count
- 4,
+ 4,
ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x7449643a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
+ 12,
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
+ ACE_NTOHL (0x636f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x745f6461),
ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -742,9 +870,15 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_MultipleComponentProfile (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_MultipleComponentProfile, &_tc_TAO_tc_IOP_MultipleComponentProfile)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_MultipleComponentProfile,
+ &_tc_TAO_tc_IOP_MultipleComponentProfile
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
@@ -756,18 +890,23 @@ IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_allocate_buffer (CORBA::U
{
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);
-
- }
+ {
+ 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;
}
@@ -775,141 +914,162 @@ 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_);
-
+ {
+ 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) // Dtor.
+IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::~_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void)
{
this->_deallocate_buffer ();
}
-
#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_TAGGEDCOMPONENTLIST_CS_)
#define _IOP_TAGGEDCOMPONENTLIST_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::TaggedComponentList
// *************************************************************
IOP::TaggedComponentList::TaggedComponentList (void)
{}
-IOP::TaggedComponentList::TaggedComponentList (CORBA::ULong max) // uses max size
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::TaggedComponentList::TaggedComponentList (CORBA::ULong max, CORBA::ULong length, IOP::TaggedComponent *buffer, CORBA::Boolean release)
- :
+
+IOP::TaggedComponentList::TaggedComponentList (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::TaggedComponentList::TaggedComponentList (const TaggedComponentList &seq) // copy ctor
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::TaggedComponentList::~TaggedComponentList (void) // dtor
{}
+
void IOP::TaggedComponentList::_tao_any_destructor (void *_tao_void_pointer)
{
TaggedComponentList *tmp = ACE_static_cast (TaggedComponentList*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_TaggedComponentList[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
40,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e744c),
- ACE_NTOHL (0x6973743a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e744c),
+ ACE_NTOHL (0x6973743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponentList:1.0
- 20,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e744c),
+ 20,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e744c),
ACE_NTOHL (0x69737400), // name = TaggedComponentList
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
200, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
184, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
+ 16,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
ACE_NTOHL (0x656e7400), // name = TaggedComponent
2, // member count
- 4,
+ 4,
ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x7449643a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
+ 12,
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
+ ACE_NTOHL (0x636f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x745f6461),
ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -931,9 +1091,15 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedComponentList (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_TaggedComponentList, &_tc_TAO_tc_IOP_TaggedComponentList)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_TaggedComponentList,
+ &_tc_TAO_tc_IOP_TaggedComponentList
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
@@ -945,18 +1111,23 @@ IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_allocate_buffer (CORBA::UL
{
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);
-
- }
+ {
+ 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;
}
@@ -964,141 +1135,162 @@ 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_);
-
+ {
+ 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) // Dtor.
+IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::~_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void)
{
this->_deallocate_buffer ();
}
-
#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CS_)
#define _IOP_TAGGEDCOMPONENTSEQ_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::TaggedComponentSeq
// *************************************************************
IOP::TaggedComponentSeq::TaggedComponentSeq (void)
{}
-IOP::TaggedComponentSeq::TaggedComponentSeq (CORBA::ULong max) // uses max size
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::TaggedComponentSeq::TaggedComponentSeq (CORBA::ULong max, CORBA::ULong length, IOP::TaggedComponent *buffer, CORBA::Boolean release)
- :
+
+IOP::TaggedComponentSeq::TaggedComponentSeq (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::TaggedComponentSeq::TaggedComponentSeq (const TaggedComponentSeq &seq) // copy ctor
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::TaggedComponentSeq::~TaggedComponentSeq (void) // dtor
{}
+
void IOP::TaggedComponentSeq::_tao_any_destructor (void *_tao_void_pointer)
{
TaggedComponentSeq *tmp = ACE_static_cast (TaggedComponentSeq*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_TaggedComponentSeq[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
39,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7453),
- ACE_NTOHL (0x65713a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e7453),
+ ACE_NTOHL (0x65713a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/TaggedComponentSeq:1.0
- 19,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e7453),
+ 19,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e7453),
ACE_NTOHL (0x65710000), // name = TaggedComponentSeq
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
200, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
184, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
- ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
- 16,
- ACE_NTOHL (0x54616767),
- ACE_NTOHL (0x6564436f),
- ACE_NTOHL (0x6d706f6e),
+ 16,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
ACE_NTOHL (0x656e7400), // name = TaggedComponent
2, // member count
- 4,
+ 4,
ACE_NTOHL (0x74616700), // name = tag
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x7449643a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x7449643a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
- 12,
- ACE_NTOHL (0x436f6d70),
- ACE_NTOHL (0x6f6e656e),
+ 12,
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
ACE_NTOHL (0x74496400), // name = ComponentId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
15,
- ACE_NTOHL (0x636f6d70),
- ACE_NTOHL (0x6f6e656e),
- ACE_NTOHL (0x745f6461),
+ ACE_NTOHL (0x636f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x745f6461),
ACE_NTOHL (0x74610000), // name = component_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -1120,66 +1312,33 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_TaggedComponentSeq (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_TaggedComponentSeq, &_tc_TAO_tc_IOP_TaggedComponentSeq)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_TaggedComponentSeq,
+ &_tc_TAO_tc_IOP_TaggedComponentSeq
+ )
TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_ORB_TYPE, 0U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_CODE_SETS, 1U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_POLICIES, 2U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_ALTERNATE_IIOP_ADDRESS, 3U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_COMPLETE_OBJECT_KEY, 5U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_ENDPOINT_ID_POSITION, 6U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_LOCATION_POLICY, 12U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_DCE_STRING_BINDING, 100U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_DCE_BINDING_NAME, 101U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_DCE_NO_PIPES, 102U)
-TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_ServiceId[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636549),
+ ACE_NTOHL (0x643a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0
- 10,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
+ 10,
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636549),
ACE_NTOHL (0x64000000), // name = ServiceId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
};
@@ -1193,57 +1352,64 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_ServiceId (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ServiceId, &_tc_TAO_tc_IOP_ServiceId)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_ServiceId,
+ &_tc_TAO_tc_IOP_ServiceId
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_ServiceContext[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78743a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636543),
+ ACE_NTOHL (0x6f6e7465),
+ ACE_NTOHL (0x78743a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0
- 15,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
+ 15,
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636543),
+ ACE_NTOHL (0x6f6e7465),
ACE_NTOHL (0x78740000), // name = ServiceContext
2, // member count
- 11,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
+ 11,
+ ACE_NTOHL (0x636f6e74),
+ ACE_NTOHL (0x6578745f),
ACE_NTOHL (0x69640000), // name = context_id
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636549),
+ ACE_NTOHL (0x643a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0
- 10,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
+ 10,
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636549),
ACE_NTOHL (0x64000000), // name = ServiceId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
13,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
- ACE_NTOHL (0x64617461),
+ ACE_NTOHL (0x636f6e74),
+ ACE_NTOHL (0x6578745f),
+ ACE_NTOHL (0x64617461),
ACE_NTOHL (0x0), // name = context_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -1262,63 +1428,89 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_ServiceContext (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ServiceContext, &_tc_TAO_tc_IOP_ServiceContext)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_ServiceContext,
+ &_tc_TAO_tc_IOP_ServiceContext
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+
void IOP::ServiceContext::_tao_any_destructor (void *_tao_void_pointer)
{
ServiceContext *tmp = ACE_static_cast (ServiceContext*, _tao_void_pointer);
delete tmp;
}
-
#if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CS_)
#define _IOP_SERVICECONTEXT__TAO_SEQ_OCTET_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::ServiceContext::_tao_seq_Octet
// *************************************************************
IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (void)
{}
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max) // uses max size
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (CORBA::ULong max, CORBA::ULong length, CORBA::Octet *buffer, CORBA::Boolean release)
- :
+
+IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::ServiceContext::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &seq) // copy ctor
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::ServiceContext::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
{}
+
void IOP::ServiceContext::_tao_seq_Octet::_tao_any_destructor (void *_tao_void_pointer)
{
_tao_seq_Octet *tmp = ACE_static_cast (_tao_seq_Octet*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
@@ -1330,18 +1522,23 @@ IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_allocate_buffer (CORBA::UL
{
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);
-
- }
+ {
+ 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;
}
@@ -1349,143 +1546,164 @@ 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_);
-
+ {
+ return;
+ }
+
+ IOP::ServiceContext *tmp =
+ ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
_TAO_Unbounded_Sequence_IOP_ServiceContextList::freebuf (tmp);
this->buffer_ = 0;
-}
+}
-IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void) // Dtor.
+IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::~_TAO_Unbounded_Sequence_IOP_ServiceContextList (void)
{
this->_deallocate_buffer ();
}
-
#endif /* end #if !defined */
-
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_SERVICECONTEXTLIST_CS_)
#define _IOP_SERVICECONTEXTLIST_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// IOP::ServiceContextList
// *************************************************************
IOP::ServiceContextList::ServiceContextList (void)
{}
-IOP::ServiceContextList::ServiceContextList (CORBA::ULong max) // uses max size
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-IOP::ServiceContextList::ServiceContextList (CORBA::ULong max, CORBA::ULong length, IOP::ServiceContext *buffer, CORBA::Boolean release)
- :
+
+IOP::ServiceContextList::ServiceContextList (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ 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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-IOP::ServiceContextList::ServiceContextList (const ServiceContextList &seq) // copy ctor
- :
+
+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 */
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
IOP::ServiceContextList::~ServiceContextList (void) // dtor
{}
+
void IOP::ServiceContextList::_tao_any_destructor (void *_tao_void_pointer)
{
ServiceContextList *tmp = ACE_static_cast (ServiceContextList*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_ServiceContextList[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
39,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78744c69),
- ACE_NTOHL (0x73743a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636543),
+ ACE_NTOHL (0x6f6e7465),
+ ACE_NTOHL (0x78744c69),
+ ACE_NTOHL (0x73743a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContextList:1.0
- 19,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78744c69),
+ 19,
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636543),
+ ACE_NTOHL (0x6f6e7465),
+ ACE_NTOHL (0x78744c69),
ACE_NTOHL (0x73740000), // name = ServiceContextList
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
208, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_struct, // typecode kind
192, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
- ACE_NTOHL (0x78743a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636543),
+ ACE_NTOHL (0x6f6e7465),
+ ACE_NTOHL (0x78743a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0
- 15,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636543),
- ACE_NTOHL (0x6f6e7465),
+ 15,
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636543),
+ ACE_NTOHL (0x6f6e7465),
ACE_NTOHL (0x78740000), // name = ServiceContext
2, // member count
- 11,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
+ 11,
+ ACE_NTOHL (0x636f6e74),
+ ACE_NTOHL (0x6578745f),
ACE_NTOHL (0x69640000), // name = context_id
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
- ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636549),
+ ACE_NTOHL (0x643a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0
- 10,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x69636549),
+ 10,
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x69636549),
ACE_NTOHL (0x64000000), // name = ServiceId
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
13,
- ACE_NTOHL (0x636f6e74),
- ACE_NTOHL (0x6578745f),
- ACE_NTOHL (0x64617461),
+ ACE_NTOHL (0x636f6e74),
+ ACE_NTOHL (0x6578745f),
+ ACE_NTOHL (0x64617461),
ACE_NTOHL (0x0), // name = context_data
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_octet,
@@ -1507,88 +1725,15 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_ServiceContextList (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_ServiceContextList, &_tc_TAO_tc_IOP_ServiceContextList)
-TAO_NAMESPACE_END
-
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TransactionService, 0U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, CodeSets, 1U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, ChainBypassCheck, 2U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, ChainBypassInfo, 3U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, LogicalThreadId, 4U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, BI_DIR_IIOP, 5U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, SendingContextRunTime, 6U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, INVOCATION_POLICIES, 7U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, UnknownExceptionInfo, 9U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, RTCorbaPriority, 10U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, RTCorbaPriorityRange, 11U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_FT_GROUP, 27U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_FT_PRIMARY, 28U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_FT_HEARTBEAT_ENABLED, 29U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, FT_GROUP_VERSION, 12U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, FT_REQUEST, 13U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_UIPMC, 1413566220U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_GROUP, 1413566211U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, TAG_GROUP_IIOP, 1413566212U)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_ServiceContextList,
+ &_tc_TAO_tc_IOP_ServiceContextList
+ )
TAO_NAMESPACE_END
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:67
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
int IOP::Codec::_tao_class_id = 0;
@@ -1635,13 +1780,23 @@ tao_IOP_Codec_upcast (
return *tmp;
}
+CORBA::Boolean
+tao_IOP_Codec_marshal (
+ IOP::Codec_ptr p,
+ TAO_OutputCDR &strm
+ )
+{
+ return p->marshal (strm);
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
+
// *************************************************************
// IOP::Codec_var
-// TAO_IDL - Generated from
-// be/be_interface.cpp:654
// *************************************************************
-IOP::Codec_var::Codec_var (void) // default constructor
+IOP::Codec_var::Codec_var (void)
: ptr_ (Codec::_nil ())
{}
@@ -1651,12 +1806,12 @@ IOP::Codec_var::ptr (void) const
return this->ptr_;
}
-IOP::Codec_var::Codec_var (const ::IOP::Codec_var &p) // copy constructor
+IOP::Codec_var::Codec_var (const ::IOP::Codec_var &p)
: TAO_Base_var (),
ptr_ (Codec::_duplicate (p.ptr ()))
{}
-IOP::Codec_var::~Codec_var (void) // destructor
+IOP::Codec_var::~Codec_var (void)
{
CORBA::release (this->ptr_);
}
@@ -1685,7 +1840,7 @@ IOP::Codec_var::operator const ::IOP::Codec_ptr &() const // cast
return this->ptr_;
}
-IOP::Codec_var::operator ::IOP::Codec_ptr &() // cast
+IOP::Codec_var::operator ::IOP::Codec_ptr &() // cast
{
return this->ptr_;
}
@@ -1760,10 +1915,11 @@ IOP::Codec_var::tao_upcast (void *src)
return *tmp;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
+
// *************************************************************
// IOP::Codec_out
-// TAO_IDL - Generated from
-// be/be_interface.cpp:932
// *************************************************************
IOP::Codec_out::Codec_out (Codec_ptr &p)
@@ -1772,14 +1928,14 @@ IOP::Codec_out::Codec_out (Codec_ptr &p)
this->ptr_ = ::IOP::Codec::_nil ();
}
-IOP::Codec_out::Codec_out (Codec_var &p) // constructor from _var
+IOP::Codec_out::Codec_out (Codec_var &p)
: ptr_ (p.out ())
{
CORBA::release (this->ptr_);
this->ptr_ = ::IOP::Codec::_nil ();
}
-IOP::Codec_out::Codec_out (const ::IOP::Codec_out &p) // copy constructor
+IOP::Codec_out::Codec_out (const ::IOP::Codec_out &p)
: ptr_ (ACE_const_cast (Codec_out &, p).ptr_)
{}
@@ -1810,7 +1966,7 @@ IOP::Codec_out::operator ::IOP::Codec_ptr &() // cast
}
::IOP::Codec_ptr &
-IOP::Codec_out::ptr (void) // ptr
+IOP::Codec_out::ptr (void)
{
return this->ptr_;
}
@@ -1821,9 +1977,8 @@ IOP::Codec_out::operator-> (void)
return this->ptr_;
}
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:198
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
IOP::Codec::Codec (void)
{}
@@ -1831,13 +1986,15 @@ IOP::Codec::Codec (void)
IOP::Codec::~Codec (void)
{}
-void IOP::Codec::_tao_any_destructor (void *_tao_void_pointer)
+void
+IOP::Codec::_tao_any_destructor (void *_tao_void_pointer)
{
- Codec *tmp = ACE_static_cast (Codec*, _tao_void_pointer);
+ Codec *tmp = ACE_static_cast (Codec *, _tao_void_pointer);
CORBA::release (tmp);
}
-IOP::Codec_ptr IOP::Codec::_narrow (
+IOP::Codec_ptr
+IOP::Codec::_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL
)
@@ -1845,50 +2002,68 @@ IOP::Codec_ptr IOP::Codec::_narrow (
return Codec::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
-IOP::Codec_ptr
+IOP::Codec_ptr
IOP::Codec::_unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (obj))
- return Codec::_nil ();
+ {
+ return Codec::_nil ();
+ }
+
return
- ACE_reinterpret_cast
- (
+ ACE_reinterpret_cast (
Codec_ptr,
- obj->_tao_QueryInterface
- (
- ACE_reinterpret_cast
- (
- ptr_arith_t,
- &Codec::_tao_class_id
- )
- )
+ obj->_tao_QueryInterface (
+ ACE_reinterpret_cast (
+ ptr_arith_t,
+ &Codec::_tao_class_id
+ )
+ )
);
}
IOP::Codec_ptr
IOP::Codec::_duplicate (Codec_ptr obj)
{
- if (!CORBA::is_nil (obj))
- obj->_add_ref ();
+ if (! CORBA::is_nil (obj))
+ {
+ obj->_add_ref ();
+ }
+
return obj;
}
void *IOP::Codec::_tao_QueryInterface (ptr_arith_t type)
{
void *retv = 0;
- if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &ACE_NESTED_CLASS (::IOP, Codec)::_tao_class_id))
- retv = ACE_reinterpret_cast (void*, this);
- else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id))
- retv = ACE_reinterpret_cast (void *,
- ACE_static_cast (CORBA::Object_ptr, this));
-
- if (retv)
- this->_add_ref ();
+
+ if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &ACE_NESTED_CLASS (::IOP, Codec)::_tao_class_id)
+ )
+ {
+ retv = ACE_reinterpret_cast (void*, this);
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &CORBA::Object::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (CORBA::Object_ptr, this)
+ );
+ }
+
+ if (retv != 0)
+ {
+ this->_add_ref ();
+ }
+
return retv;
}
@@ -1897,26 +2072,29 @@ const char* IOP::Codec::_interface_repository_id (void) const
return "IDL:omg.org/IOP/Codec:1.0";
}
-// Default constructor.
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+
IOP::Codec::InvalidTypeForEncoding::InvalidTypeForEncoding (void)
- : CORBA_UserException ("IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0",
- "InvalidTypeForEncoding")
+ : CORBA_UserException (
+ "IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0",
+ "InvalidTypeForEncoding"
+ )
{
}
-// Destructor - all members are of self managing types.
IOP::Codec::InvalidTypeForEncoding::~InvalidTypeForEncoding (void)
{
}
-// Copy constructor.
IOP::Codec::InvalidTypeForEncoding::InvalidTypeForEncoding (const ::IOP::Codec::InvalidTypeForEncoding &_tao_excp)
- : CORBA_UserException (_tao_excp._rep_id (),
- _tao_excp._name ())
+ : CORBA_UserException (
+ _tao_excp._rep_id (),
+ _tao_excp._name ()
+ )
{
}
-// Assignment operator.
IOP::Codec::InvalidTypeForEncoding&
IOP::Codec::InvalidTypeForEncoding::operator= (const ::IOP::Codec::InvalidTypeForEncoding &_tao_excp)
{
@@ -1931,11 +2109,11 @@ void IOP::Codec::InvalidTypeForEncoding::_tao_any_destructor (void *_tao_void_po
}
IOP::Codec::InvalidTypeForEncoding *
-IOP::Codec::InvalidTypeForEncoding::_downcast (CORBA::Exception *exc)
+IOP::Codec::InvalidTypeForEncoding::_downcast (CORBA::Exception *_tao_excp)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0", exc->_rep_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0", _tao_excp->_rep_id ()))
{
- return ACE_dynamic_cast (InvalidTypeForEncoding *, exc);
+ return ACE_dynamic_cast (InvalidTypeForEncoding *, _tao_excp);
}
else
{
@@ -1962,7 +2140,7 @@ IOP::Codec::InvalidTypeForEncoding::_tao_duplicate (void) const
return result;
}
-void IOP::Codec::InvalidTypeForEncoding::_raise ()
+void IOP::Codec::InvalidTypeForEncoding::_raise (void)
{
TAO_RAISE (*this);
}
@@ -1983,32 +2161,41 @@ void IOP::Codec::InvalidTypeForEncoding::_tao_decode (
ACE_THROW (CORBA::MARSHAL ());
}
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr IOP::Codec::InvalidTypeForEncoding::_type (void) const
+{
+ return ::IOP::Codec::_tc_InvalidTypeForEncoding;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_Codec_InvalidTypeForEncoding[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x632f496e),
- ACE_NTOHL (0x76616c69),
- ACE_NTOHL (0x64547970),
- ACE_NTOHL (0x65466f72),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6465),
+ ACE_NTOHL (0x632f496e),
+ ACE_NTOHL (0x76616c69),
+ ACE_NTOHL (0x64547970),
+ ACE_NTOHL (0x65466f72),
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0
- 23,
- ACE_NTOHL (0x496e7661),
- ACE_NTOHL (0x6c696454),
- ACE_NTOHL (0x79706546),
- ACE_NTOHL (0x6f72456e),
- ACE_NTOHL (0x636f6469),
+ 23,
+ ACE_NTOHL (0x496e7661),
+ ACE_NTOHL (0x6c696454),
+ ACE_NTOHL (0x79706546),
+ ACE_NTOHL (0x6f72456e),
+ ACE_NTOHL (0x636f6469),
ACE_NTOHL (0x6e670000), // name = InvalidTypeForEncoding
0, // member count
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding (
CORBA::tk_except,
@@ -2021,33 +2208,29 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding (
::CORBA::TypeCode_ptr IOP::Codec::_tc_InvalidTypeForEncoding =
&_tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding;
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::Codec::InvalidTypeForEncoding::_type (void) const
-{
- return ::IOP::Codec::_tc_InvalidTypeForEncoding;
-}
-
-// Default constructor.
IOP::Codec::FormatMismatch::FormatMismatch (void)
- : CORBA_UserException ("IDL:omg.org/IOP/Codec/FormatMismatch:1.0",
- "FormatMismatch")
+ : CORBA_UserException (
+ "IDL:omg.org/IOP/Codec/FormatMismatch:1.0",
+ "FormatMismatch"
+ )
{
}
-// Destructor - all members are of self managing types.
IOP::Codec::FormatMismatch::~FormatMismatch (void)
{
}
-// Copy constructor.
IOP::Codec::FormatMismatch::FormatMismatch (const ::IOP::Codec::FormatMismatch &_tao_excp)
- : CORBA_UserException (_tao_excp._rep_id (),
- _tao_excp._name ())
+ : CORBA_UserException (
+ _tao_excp._rep_id (),
+ _tao_excp._name ()
+ )
{
}
-// Assignment operator.
IOP::Codec::FormatMismatch&
IOP::Codec::FormatMismatch::operator= (const ::IOP::Codec::FormatMismatch &_tao_excp)
{
@@ -2062,11 +2245,11 @@ void IOP::Codec::FormatMismatch::_tao_any_destructor (void *_tao_void_pointer)
}
IOP::Codec::FormatMismatch *
-IOP::Codec::FormatMismatch::_downcast (CORBA::Exception *exc)
+IOP::Codec::FormatMismatch::_downcast (CORBA::Exception *_tao_excp)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/FormatMismatch:1.0", exc->_rep_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/FormatMismatch:1.0", _tao_excp->_rep_id ()))
{
- return ACE_dynamic_cast (FormatMismatch *, exc);
+ return ACE_dynamic_cast (FormatMismatch *, _tao_excp);
}
else
{
@@ -2093,7 +2276,7 @@ IOP::Codec::FormatMismatch::_tao_duplicate (void) const
return result;
}
-void IOP::Codec::FormatMismatch::_raise ()
+void IOP::Codec::FormatMismatch::_raise (void)
{
TAO_RAISE (*this);
}
@@ -2114,28 +2297,37 @@ void IOP::Codec::FormatMismatch::_tao_decode (
ACE_THROW (CORBA::MARSHAL ());
}
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr IOP::Codec::FormatMismatch::_type (void) const
+{
+ return ::IOP::Codec::_tc_FormatMismatch;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_Codec_FormatMismatch[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
41,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x632f466f),
- ACE_NTOHL (0x726d6174),
- ACE_NTOHL (0x4d69736d),
- ACE_NTOHL (0x61746368),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6465),
+ ACE_NTOHL (0x632f466f),
+ ACE_NTOHL (0x726d6174),
+ ACE_NTOHL (0x4d69736d),
+ ACE_NTOHL (0x61746368),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/FormatMismatch:1.0
- 15,
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61744d69),
- ACE_NTOHL (0x736d6174),
+ 15,
+ ACE_NTOHL (0x466f726d),
+ ACE_NTOHL (0x61744d69),
+ ACE_NTOHL (0x736d6174),
ACE_NTOHL (0x63680000), // name = FormatMismatch
0, // member count
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_FormatMismatch (
CORBA::tk_except,
@@ -2148,33 +2340,29 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_FormatMismatch (
::CORBA::TypeCode_ptr IOP::Codec::_tc_FormatMismatch =
&_tc_TAO_tc_IOP_Codec_FormatMismatch;
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::Codec::FormatMismatch::_type (void) const
-{
- return ::IOP::Codec::_tc_FormatMismatch;
-}
-
-// Default constructor.
IOP::Codec::TypeMismatch::TypeMismatch (void)
- : CORBA_UserException ("IDL:omg.org/IOP/Codec/TypeMismatch:1.0",
- "TypeMismatch")
+ : CORBA_UserException (
+ "IDL:omg.org/IOP/Codec/TypeMismatch:1.0",
+ "TypeMismatch"
+ )
{
}
-// Destructor - all members are of self managing types.
IOP::Codec::TypeMismatch::~TypeMismatch (void)
{
}
-// Copy constructor.
IOP::Codec::TypeMismatch::TypeMismatch (const ::IOP::Codec::TypeMismatch &_tao_excp)
- : CORBA_UserException (_tao_excp._rep_id (),
- _tao_excp._name ())
+ : CORBA_UserException (
+ _tao_excp._rep_id (),
+ _tao_excp._name ()
+ )
{
}
-// Assignment operator.
IOP::Codec::TypeMismatch&
IOP::Codec::TypeMismatch::operator= (const ::IOP::Codec::TypeMismatch &_tao_excp)
{
@@ -2189,11 +2377,11 @@ void IOP::Codec::TypeMismatch::_tao_any_destructor (void *_tao_void_pointer)
}
IOP::Codec::TypeMismatch *
-IOP::Codec::TypeMismatch::_downcast (CORBA::Exception *exc)
+IOP::Codec::TypeMismatch::_downcast (CORBA::Exception *_tao_excp)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/TypeMismatch:1.0", exc->_rep_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/IOP/Codec/TypeMismatch:1.0", _tao_excp->_rep_id ()))
{
- return ACE_dynamic_cast (TypeMismatch *, exc);
+ return ACE_dynamic_cast (TypeMismatch *, _tao_excp);
}
else
{
@@ -2220,7 +2408,7 @@ IOP::Codec::TypeMismatch::_tao_duplicate (void) const
return result;
}
-void IOP::Codec::TypeMismatch::_raise ()
+void IOP::Codec::TypeMismatch::_raise (void)
{
TAO_RAISE (*this);
}
@@ -2241,27 +2429,36 @@ void IOP::Codec::TypeMismatch::_tao_decode (
ACE_THROW (CORBA::MARSHAL ());
}
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr IOP::Codec::TypeMismatch::_type (void) const
+{
+ return ::IOP::Codec::_tc_TypeMismatch;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_Codec_TypeMismatch[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
39,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x632f5479),
- ACE_NTOHL (0x70654d69),
- ACE_NTOHL (0x736d6174),
- ACE_NTOHL (0x63683a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6465),
+ ACE_NTOHL (0x632f5479),
+ ACE_NTOHL (0x70654d69),
+ ACE_NTOHL (0x736d6174),
+ ACE_NTOHL (0x63683a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/Codec/TypeMismatch:1.0
- 13,
- ACE_NTOHL (0x54797065),
- ACE_NTOHL (0x4d69736d),
- ACE_NTOHL (0x61746368),
+ 13,
+ ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x4d69736d),
+ ACE_NTOHL (0x61746368),
ACE_NTOHL (0x0), // name = TypeMismatch
0, // member count
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_TypeMismatch (
CORBA::tk_except,
@@ -2274,28 +2471,24 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_TypeMismatch (
::CORBA::TypeCode_ptr IOP::Codec::_tc_TypeMismatch =
&_tc_TAO_tc_IOP_Codec_TypeMismatch;
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::Codec::TypeMismatch::_type (void) const
-{
- return ::IOP::Codec::_tc_TypeMismatch;
-}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_IOP_Codec[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
26,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x633a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6465),
+ ACE_NTOHL (0x633a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/Codec:1.0
- 6,
- ACE_NTOHL (0x436f6465),
+ 6,
+ ACE_NTOHL (0x436f6465),
ACE_NTOHL (0x63000000), // name = Codec
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_IOP_Codec (
CORBA::tk_objref,
@@ -2307,28 +2500,35 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_Codec, &_tc_TAO_tc_IOP_Codec)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_Codec,
+ &_tc_TAO_tc_IOP_Codec
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_EncodingFormat[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61743a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
+ ACE_NTOHL (0x466f726d),
+ ACE_NTOHL (0x61743a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0
- 15,
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
+ 15,
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
+ ACE_NTOHL (0x466f726d),
ACE_NTOHL (0x61740000), // name = EncodingFormat
- CORBA::tk_short,
+ CORBA::tk_short,
};
@@ -2342,67 +2542,70 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_EncodingFormat (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_EncodingFormat, &_tc_TAO_tc_IOP_EncodingFormat)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_EncodingFormat,
+ &_tc_TAO_tc_IOP_EncodingFormat
+ )
TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, ENCODING_CDR_ENCAPS, 0)
-TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_Encoding[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
29,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Encoding:1.0
- 9,
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
+ 9,
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
ACE_NTOHL (0x0), // name = Encoding
3, // member count
- 7,
- ACE_NTOHL (0x666f726d),
+ 7,
+ ACE_NTOHL (0x666f726d),
ACE_NTOHL (0x61740000), // name = format
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
68, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
- ACE_NTOHL (0x61743a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
+ ACE_NTOHL (0x466f726d),
+ ACE_NTOHL (0x61743a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0
- 15,
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x466f726d),
+ 15,
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
+ ACE_NTOHL (0x466f726d),
ACE_NTOHL (0x61740000), // name = EncodingFormat
- CORBA::tk_short,
+ CORBA::tk_short,
14,
- ACE_NTOHL (0x6d616a6f),
- ACE_NTOHL (0x725f7665),
- ACE_NTOHL (0x7273696f),
+ ACE_NTOHL (0x6d616a6f),
+ ACE_NTOHL (0x725f7665),
+ ACE_NTOHL (0x7273696f),
ACE_NTOHL (0x6e000000), // name = major_version
- CORBA::tk_octet,
+ CORBA::tk_octet,
14,
- ACE_NTOHL (0x6d696e6f),
- ACE_NTOHL (0x725f7665),
- ACE_NTOHL (0x7273696f),
+ ACE_NTOHL (0x6d696e6f),
+ ACE_NTOHL (0x725f7665),
+ ACE_NTOHL (0x7273696f),
ACE_NTOHL (0x6e000000), // name = minor_version
- CORBA::tk_octet,
+ CORBA::tk_octet,
};
@@ -2416,18 +2619,24 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Encoding (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_Encoding, &_tc_TAO_tc_IOP_Encoding)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_Encoding,
+ &_tc_TAO_tc_IOP_Encoding
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+
void IOP::Encoding::_tao_any_destructor (void *_tao_void_pointer)
{
Encoding *tmp = ACE_static_cast (Encoding*, _tao_void_pointer);
delete tmp;
}
-
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:67
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
int IOP::CodecFactory::_tao_class_id = 0;
@@ -2474,13 +2683,23 @@ tao_IOP_CodecFactory_upcast (
return *tmp;
}
+CORBA::Boolean
+tao_IOP_CodecFactory_marshal (
+ IOP::CodecFactory_ptr p,
+ TAO_OutputCDR &strm
+ )
+{
+ return p->marshal (strm);
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
+
// *************************************************************
// IOP::CodecFactory_var
-// TAO_IDL - Generated from
-// be/be_interface.cpp:654
// *************************************************************
-IOP::CodecFactory_var::CodecFactory_var (void) // default constructor
+IOP::CodecFactory_var::CodecFactory_var (void)
: ptr_ (CodecFactory::_nil ())
{}
@@ -2490,12 +2709,12 @@ IOP::CodecFactory_var::ptr (void) const
return this->ptr_;
}
-IOP::CodecFactory_var::CodecFactory_var (const ::IOP::CodecFactory_var &p) // copy constructor
+IOP::CodecFactory_var::CodecFactory_var (const ::IOP::CodecFactory_var &p)
: TAO_Base_var (),
ptr_ (CodecFactory::_duplicate (p.ptr ()))
{}
-IOP::CodecFactory_var::~CodecFactory_var (void) // destructor
+IOP::CodecFactory_var::~CodecFactory_var (void)
{
CORBA::release (this->ptr_);
}
@@ -2524,7 +2743,7 @@ IOP::CodecFactory_var::operator const ::IOP::CodecFactory_ptr &() const // cast
return this->ptr_;
}
-IOP::CodecFactory_var::operator ::IOP::CodecFactory_ptr &() // cast
+IOP::CodecFactory_var::operator ::IOP::CodecFactory_ptr &() // cast
{
return this->ptr_;
}
@@ -2599,10 +2818,11 @@ IOP::CodecFactory_var::tao_upcast (void *src)
return *tmp;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
+
// *************************************************************
// IOP::CodecFactory_out
-// TAO_IDL - Generated from
-// be/be_interface.cpp:932
// *************************************************************
IOP::CodecFactory_out::CodecFactory_out (CodecFactory_ptr &p)
@@ -2611,14 +2831,14 @@ IOP::CodecFactory_out::CodecFactory_out (CodecFactory_ptr &p)
this->ptr_ = ::IOP::CodecFactory::_nil ();
}
-IOP::CodecFactory_out::CodecFactory_out (CodecFactory_var &p) // constructor from _var
+IOP::CodecFactory_out::CodecFactory_out (CodecFactory_var &p)
: ptr_ (p.out ())
{
CORBA::release (this->ptr_);
this->ptr_ = ::IOP::CodecFactory::_nil ();
}
-IOP::CodecFactory_out::CodecFactory_out (const ::IOP::CodecFactory_out &p) // copy constructor
+IOP::CodecFactory_out::CodecFactory_out (const ::IOP::CodecFactory_out &p)
: ptr_ (ACE_const_cast (CodecFactory_out &, p).ptr_)
{}
@@ -2649,7 +2869,7 @@ IOP::CodecFactory_out::operator ::IOP::CodecFactory_ptr &() // cast
}
::IOP::CodecFactory_ptr &
-IOP::CodecFactory_out::ptr (void) // ptr
+IOP::CodecFactory_out::ptr (void)
{
return this->ptr_;
}
@@ -2660,9 +2880,8 @@ IOP::CodecFactory_out::operator-> (void)
return this->ptr_;
}
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:198
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
IOP::CodecFactory::CodecFactory (void)
{}
@@ -2670,13 +2889,15 @@ IOP::CodecFactory::CodecFactory (void)
IOP::CodecFactory::~CodecFactory (void)
{}
-void IOP::CodecFactory::_tao_any_destructor (void *_tao_void_pointer)
+void
+IOP::CodecFactory::_tao_any_destructor (void *_tao_void_pointer)
{
- CodecFactory *tmp = ACE_static_cast (CodecFactory*, _tao_void_pointer);
+ CodecFactory *tmp = ACE_static_cast (CodecFactory *, _tao_void_pointer);
CORBA::release (tmp);
}
-IOP::CodecFactory_ptr IOP::CodecFactory::_narrow (
+IOP::CodecFactory_ptr
+IOP::CodecFactory::_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL
)
@@ -2684,50 +2905,68 @@ IOP::CodecFactory_ptr IOP::CodecFactory::_narrow (
return CodecFactory::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
-IOP::CodecFactory_ptr
+IOP::CodecFactory_ptr
IOP::CodecFactory::_unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (obj))
- return CodecFactory::_nil ();
+ {
+ return CodecFactory::_nil ();
+ }
+
return
- ACE_reinterpret_cast
- (
+ ACE_reinterpret_cast (
CodecFactory_ptr,
- obj->_tao_QueryInterface
- (
- ACE_reinterpret_cast
- (
- ptr_arith_t,
- &CodecFactory::_tao_class_id
- )
- )
+ obj->_tao_QueryInterface (
+ ACE_reinterpret_cast (
+ ptr_arith_t,
+ &CodecFactory::_tao_class_id
+ )
+ )
);
}
IOP::CodecFactory_ptr
IOP::CodecFactory::_duplicate (CodecFactory_ptr obj)
{
- if (!CORBA::is_nil (obj))
- obj->_add_ref ();
+ if (! CORBA::is_nil (obj))
+ {
+ obj->_add_ref ();
+ }
+
return obj;
}
void *IOP::CodecFactory::_tao_QueryInterface (ptr_arith_t type)
{
void *retv = 0;
- if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &ACE_NESTED_CLASS (::IOP, CodecFactory)::_tao_class_id))
- retv = ACE_reinterpret_cast (void*, this);
- else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id))
- retv = ACE_reinterpret_cast (void *,
- ACE_static_cast (CORBA::Object_ptr, this));
-
- if (retv)
- this->_add_ref ();
+
+ if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &ACE_NESTED_CLASS (::IOP, CodecFactory)::_tao_class_id)
+ )
+ {
+ retv = ACE_reinterpret_cast (void*, this);
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &CORBA::Object::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (CORBA::Object_ptr, this)
+ );
+ }
+
+ if (retv != 0)
+ {
+ this->_add_ref ();
+ }
+
return retv;
}
@@ -2736,26 +2975,29 @@ const char* IOP::CodecFactory::_interface_repository_id (void) const
return "IDL:omg.org/IOP/CodecFactory:1.0";
}
-// Default constructor.
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+
IOP::CodecFactory::UnknownEncoding::UnknownEncoding (void)
- : CORBA_UserException ("IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0",
- "UnknownEncoding")
+ : CORBA_UserException (
+ "IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0",
+ "UnknownEncoding"
+ )
{
}
-// Destructor - all members are of self managing types.
IOP::CodecFactory::UnknownEncoding::~UnknownEncoding (void)
{
}
-// Copy constructor.
IOP::CodecFactory::UnknownEncoding::UnknownEncoding (const ::IOP::CodecFactory::UnknownEncoding &_tao_excp)
- : CORBA_UserException (_tao_excp._rep_id (),
- _tao_excp._name ())
+ : CORBA_UserException (
+ _tao_excp._rep_id (),
+ _tao_excp._name ()
+ )
{
}
-// Assignment operator.
IOP::CodecFactory::UnknownEncoding&
IOP::CodecFactory::UnknownEncoding::operator= (const ::IOP::CodecFactory::UnknownEncoding &_tao_excp)
{
@@ -2770,11 +3012,11 @@ void IOP::CodecFactory::UnknownEncoding::_tao_any_destructor (void *_tao_void_po
}
IOP::CodecFactory::UnknownEncoding *
-IOP::CodecFactory::UnknownEncoding::_downcast (CORBA::Exception *exc)
+IOP::CodecFactory::UnknownEncoding::_downcast (CORBA::Exception *_tao_excp)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0", exc->_rep_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0", _tao_excp->_rep_id ()))
{
- return ACE_dynamic_cast (UnknownEncoding *, exc);
+ return ACE_dynamic_cast (UnknownEncoding *, _tao_excp);
}
else
{
@@ -2801,7 +3043,7 @@ IOP::CodecFactory::UnknownEncoding::_tao_duplicate (void) const
return result;
}
-void IOP::CodecFactory::UnknownEncoding::_raise ()
+void IOP::CodecFactory::UnknownEncoding::_raise (void)
{
TAO_RAISE (*this);
}
@@ -2822,30 +3064,39 @@ void IOP::CodecFactory::UnknownEncoding::_tao_decode (
ACE_THROW (CORBA::MARSHAL ());
}
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr IOP::CodecFactory::UnknownEncoding::_type (void) const
+{
+ return ::IOP::CodecFactory::_tc_UnknownEncoding;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_IOP_CodecFactory_UnknownEncoding[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x63466163),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f556e6b),
- ACE_NTOHL (0x6e6f776e),
- ACE_NTOHL (0x456e636f),
- ACE_NTOHL (0x64696e67),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6465),
+ ACE_NTOHL (0x63466163),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f556e6b),
+ ACE_NTOHL (0x6e6f776e),
+ ACE_NTOHL (0x456e636f),
+ ACE_NTOHL (0x64696e67),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0
- 16,
- ACE_NTOHL (0x556e6b6e),
- ACE_NTOHL (0x6f776e45),
- ACE_NTOHL (0x6e636f64),
+ 16,
+ ACE_NTOHL (0x556e6b6e),
+ ACE_NTOHL (0x6f776e45),
+ ACE_NTOHL (0x6e636f64),
ACE_NTOHL (0x696e6700), // name = UnknownEncoding
0, // member count
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory_UnknownEncoding (
CORBA::tk_except,
@@ -2858,32 +3109,28 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory_UnknownEncoding (
::CORBA::TypeCode_ptr IOP::CodecFactory::_tc_UnknownEncoding =
&_tc_TAO_tc_IOP_CodecFactory_UnknownEncoding;
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr IOP::CodecFactory::UnknownEncoding::_type (void) const
-{
- return ::IOP::CodecFactory::_tc_UnknownEncoding;
-}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_IOP_CodecFactory[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x63466163),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x436f6465),
+ ACE_NTOHL (0x63466163),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory:1.0
- 13,
- ACE_NTOHL (0x436f6465),
- ACE_NTOHL (0x63466163),
- ACE_NTOHL (0x746f7279),
+ 13,
+ ACE_NTOHL (0x436f6465),
+ ACE_NTOHL (0x63466163),
+ ACE_NTOHL (0x746f7279),
ACE_NTOHL (0x0), // name = CodecFactory
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory (
CORBA::tk_objref,
@@ -2895,12 +3142,15 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_CodecFactory (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (IOP)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_CodecFactory, &_tc_TAO_tc_IOP_CodecFactory)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_CodecFactory,
+ &_tc_TAO_tc_IOP_CodecFactory
+ )
TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// be/be_visitor_structure/any_op_cs.cpp:58
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -2908,16 +3158,12 @@ void operator<<= (
const IOP::TaggedProfile &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedProfile,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert_copy (
+ _tao_any,
+ IOP::TaggedProfile::_tao_any_destructor,
+ IOP::_tc_TaggedProfile,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -2926,19 +3172,12 @@ void operator<<= (
IOP::TaggedProfile *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedProfile,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::TaggedProfile::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert (
+ _tao_any,
+ IOP::TaggedProfile::_tao_any_destructor,
+ IOP::_tc_TaggedProfile,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -2959,76 +3198,24 @@ CORBA::Boolean operator>>= (
const IOP::TaggedProfile *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_TaggedProfile
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast (
- const IOP::TaggedProfile*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::TaggedProfile *tmp;
- ACE_NEW_RETURN (
- tmp,
- IOP::TaggedProfile,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_TaggedProfile,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::TaggedProfile::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::extract (
+ _tao_any,
+ IOP::TaggedProfile::_tao_any_destructor,
+ IOP::_tc_TaggedProfile,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<IOP::TaggedProfile>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<IOP::TaggedProfile>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// be/be_visitor_structure/any_op_cs.cpp:58
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -3036,16 +3223,12 @@ void operator<<= (
const IOP::IOR &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_IOR,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::IOR>::insert_copy (
+ _tao_any,
+ IOP::IOR::_tao_any_destructor,
+ IOP::_tc_IOR,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -3054,19 +3237,12 @@ void operator<<= (
IOP::IOR *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_IOR,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::IOR::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::IOR>::insert (
+ _tao_any,
+ IOP::IOR::_tao_any_destructor,
+ IOP::_tc_IOR,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -3087,76 +3263,24 @@ CORBA::Boolean operator>>= (
const IOP::IOR *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_IOR
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast (
- const IOP::IOR*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::IOR *tmp;
- ACE_NEW_RETURN (
- tmp,
- IOP::IOR,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_IOR,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::IOR::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::IOR>::extract (
+ _tao_any,
+ IOP::IOR::_tao_any_destructor,
+ IOP::_tc_IOR,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<IOP::IOR>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<IOP::IOR>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// be/be_visitor_structure/any_op_cs.cpp:58
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -3164,16 +3288,12 @@ void operator<<= (
const IOP::TaggedComponent &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedComponent,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert_copy (
+ _tao_any,
+ IOP::TaggedComponent::_tao_any_destructor,
+ IOP::_tc_TaggedComponent,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -3182,19 +3302,12 @@ void operator<<= (
IOP::TaggedComponent *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedComponent,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::TaggedComponent::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert (
+ _tao_any,
+ IOP::TaggedComponent::_tao_any_destructor,
+ IOP::_tc_TaggedComponent,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -3215,76 +3328,24 @@ CORBA::Boolean operator>>= (
const IOP::TaggedComponent *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_TaggedComponent
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast (
- const IOP::TaggedComponent*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::TaggedComponent *tmp;
- ACE_NEW_RETURN (
- tmp,
- IOP::TaggedComponent,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_TaggedComponent,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::TaggedComponent::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::extract (
+ _tao_any,
+ IOP::TaggedComponent::_tao_any_destructor,
+ IOP::_tc_TaggedComponent,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<IOP::TaggedComponent>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<IOP::TaggedComponent>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/any_op_cs.cpp:61
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -3292,16 +3353,12 @@ void operator<<= (
const IOP::MultipleComponentProfile &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_MultipleComponentProfile,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert_copy (
+ _tao_any,
+ IOP::MultipleComponentProfile::_tao_any_destructor,
+ IOP::_tc_MultipleComponentProfile,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -3310,19 +3367,12 @@ void operator<<= (
IOP::MultipleComponentProfile *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_MultipleComponentProfile,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::MultipleComponentProfile::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert (
+ _tao_any,
+ IOP::MultipleComponentProfile::_tao_any_destructor,
+ IOP::_tc_MultipleComponentProfile,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -3331,8 +3381,8 @@ CORBA::Boolean operator>>= (
IOP::MultipleComponentProfile *&_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const IOP::MultipleComponentProfile*&,
+ return _tao_any >>= ACE_const_cast (
+ const IOP::MultipleComponentProfile *&,
_tao_elem
);
}
@@ -3343,76 +3393,17 @@ CORBA::Boolean operator>>= (
const IOP::MultipleComponentProfile *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_MultipleComponentProfile
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast(
- const IOP::MultipleComponentProfile*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::MultipleComponentProfile *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- IOP::MultipleComponentProfile,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_MultipleComponentProfile,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::MultipleComponentProfile::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::extract (
+ _tao_any,
+ IOP::MultipleComponentProfile::_tao_any_destructor,
+ IOP::_tc_MultipleComponentProfile,
+ _tao_elem
+ );
}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/any_op_cs.cpp:61
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -3420,16 +3411,12 @@ void operator<<= (
const IOP::TaggedComponentList &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedComponentList,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert_copy (
+ _tao_any,
+ IOP::TaggedComponentList::_tao_any_destructor,
+ IOP::_tc_TaggedComponentList,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -3438,19 +3425,12 @@ void operator<<= (
IOP::TaggedComponentList *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedComponentList,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::TaggedComponentList::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert (
+ _tao_any,
+ IOP::TaggedComponentList::_tao_any_destructor,
+ IOP::_tc_TaggedComponentList,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -3459,8 +3439,8 @@ CORBA::Boolean operator>>= (
IOP::TaggedComponentList *&_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const IOP::TaggedComponentList*&,
+ return _tao_any >>= ACE_const_cast (
+ const IOP::TaggedComponentList *&,
_tao_elem
);
}
@@ -3471,76 +3451,17 @@ CORBA::Boolean operator>>= (
const IOP::TaggedComponentList *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_TaggedComponentList
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast(
- const IOP::TaggedComponentList*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::TaggedComponentList *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- IOP::TaggedComponentList,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_TaggedComponentList,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::TaggedComponentList::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::extract (
+ _tao_any,
+ IOP::TaggedComponentList::_tao_any_destructor,
+ IOP::_tc_TaggedComponentList,
+ _tao_elem
+ );
}
-
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/any_op_cs.cpp:61
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -3548,16 +3469,12 @@ void operator<<= (
const IOP::TaggedComponentSeq &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedComponentSeq,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert_copy (
+ _tao_any,
+ IOP::TaggedComponentSeq::_tao_any_destructor,
+ IOP::_tc_TaggedComponentSeq,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -3566,19 +3483,12 @@ void operator<<= (
IOP::TaggedComponentSeq *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_TaggedComponentSeq,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::TaggedComponentSeq::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert (
+ _tao_any,
+ IOP::TaggedComponentSeq::_tao_any_destructor,
+ IOP::_tc_TaggedComponentSeq,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -3587,8 +3497,8 @@ CORBA::Boolean operator>>= (
IOP::TaggedComponentSeq *&_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const IOP::TaggedComponentSeq*&,
+ return _tao_any >>= ACE_const_cast (
+ const IOP::TaggedComponentSeq *&,
_tao_elem
);
}
@@ -3599,76 +3509,17 @@ CORBA::Boolean operator>>= (
const IOP::TaggedComponentSeq *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_TaggedComponentSeq
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast(
- const IOP::TaggedComponentSeq*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::TaggedComponentSeq *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- IOP::TaggedComponentSeq,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_TaggedComponentSeq,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::TaggedComponentSeq::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::extract (
+ _tao_any,
+ IOP::TaggedComponentSeq::_tao_any_destructor,
+ IOP::_tc_TaggedComponentSeq,
+ _tao_elem
+ );
}
-
-// TAO_IDL - Generated from
-// be/be_visitor_structure/any_op_cs.cpp:58
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -3676,16 +3527,12 @@ void operator<<= (
const IOP::ServiceContext &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_ServiceContext,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert_copy (
+ _tao_any,
+ IOP::ServiceContext::_tao_any_destructor,
+ IOP::_tc_ServiceContext,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -3694,19 +3541,12 @@ void operator<<= (
IOP::ServiceContext *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_ServiceContext,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::ServiceContext::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert (
+ _tao_any,
+ IOP::ServiceContext::_tao_any_destructor,
+ IOP::_tc_ServiceContext,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -3727,76 +3567,24 @@ CORBA::Boolean operator>>= (
const IOP::ServiceContext *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_ServiceContext
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast (
- const IOP::ServiceContext*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::ServiceContext *tmp;
- ACE_NEW_RETURN (
- tmp,
- IOP::ServiceContext,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_ServiceContext,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::ServiceContext::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::ServiceContext>::extract (
+ _tao_any,
+ IOP::ServiceContext::_tao_any_destructor,
+ IOP::_tc_ServiceContext,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<IOP::ServiceContext>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<IOP::ServiceContext>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// be/be_visitor_sequence/any_op_cs.cpp:61
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -3804,16 +3592,12 @@ void operator<<= (
const IOP::ServiceContextList &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_ServiceContextList,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert_copy (
+ _tao_any,
+ IOP::ServiceContextList::_tao_any_destructor,
+ IOP::_tc_ServiceContextList,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -3822,19 +3606,12 @@ void operator<<= (
IOP::ServiceContextList *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_ServiceContextList,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::ServiceContextList::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert (
+ _tao_any,
+ IOP::ServiceContextList::_tao_any_destructor,
+ IOP::_tc_ServiceContextList,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -3843,8 +3620,8 @@ CORBA::Boolean operator>>= (
IOP::ServiceContextList *&_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const IOP::ServiceContextList*&,
+ return _tao_any >>= ACE_const_cast (
+ const IOP::ServiceContextList *&,
_tao_elem
);
}
@@ -3855,457 +3632,100 @@ CORBA::Boolean operator>>= (
const IOP::ServiceContextList *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_ServiceContextList
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast(
- const IOP::ServiceContextList*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::ServiceContextList *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- IOP::ServiceContextList,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_ServiceContextList,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::ServiceContextList::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::extract (
+ _tao_any,
+ IOP::ServiceContextList::_tao_any_destructor,
+ IOP::_tc_ServiceContextList,
+ _tao_elem
+ );
}
-
// TAO_IDL - Generated from
-// be/be_visitor_interface/any_op_cs.cpp:60
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-void operator<<= (
+// Copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
IOP::Codec_ptr _tao_elem
)
{
- _tao_any._tao_replace (
- IOP::_tc_Codec,
- 1,
- IOP::Codec::_duplicate (_tao_elem),
- IOP::Codec::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
+ IOP::Codec_ptr _tao_objptr =
+ IOP::Codec::_duplicate (_tao_elem);
+ _tao_any <<= &_tao_objptr;
}
-void operator<<= (
+// Non-copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
IOP::Codec_ptr *_tao_elem
)
{
- _tao_any._tao_replace (
+ TAO::Any_Impl_T<IOP::Codec>::insert (
+ _tao_any,
+ IOP::Codec::_tao_any_destructor,
IOP::_tc_Codec,
- 1,
- *_tao_elem,
- IOP::Codec::_tao_any_destructor
+ *_tao_elem
);
-
- _tao_any.contains_local (1);
}
-CORBA::Boolean operator>>= (
+CORBA::Boolean
+operator>>= (
const CORBA::Any &_tao_any,
IOP::Codec_ptr &_tao_elem
)
{
- ACE_TRY_NEW_ENV
- {
- _tao_elem = IOP::Codec::_nil ();
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_Codec
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- _tao_elem =
- ACE_reinterpret_cast (
- IOP::Codec_ptr,
- ACE_const_cast (void *, _tao_any.value ())
- );
-
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- _tao_elem = IOP::Codec::_nil ();
- return 0;
+ return
+ TAO::Any_Impl_T<IOP::Codec>::extract (
+ _tao_any,
+ IOP::Codec::_tao_any_destructor,
+ IOP::_tc_Codec,
+ _tao_elem
+ );
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
defined (ACE_HAS_GNU_REPO)
template class TAO_Object_Manager<IOP::Codec,IOP::Codec_var>;
+ template class TAO::Any_Impl_T<IOP::Codec>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<IOP::Codec,IOP::Codec_var>
+# pragma instantiate TAO_Object_Manager<IOP::Codec, IOP::Codec_var>
+# pragma instantiate TAO::Any_Impl_T<IOP::Codec>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
-// TAO_IDL - Generated from
-// be/be_visitor_exception/any_op_cs.cpp:60
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
CORBA::Any &_tao_any,
- const IOP::Codec::InvalidTypeForEncoding &_tao_elem
- )
-{
- IOP::Codec::InvalidTypeForEncoding *_tao_elem_copy = 0;
- ACE_NEW (
- _tao_elem_copy,
- IOP::Codec::InvalidTypeForEncoding (_tao_elem)
- );
-
- _tao_any._tao_replace (
- IOP::Codec::_tc_InvalidTypeForEncoding,
- 1,
- _tao_elem_copy,
- IOP::Codec::InvalidTypeForEncoding::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::Codec::InvalidTypeForEncoding *_tao_elem
- )
-{
- _tao_any._tao_replace (
- IOP::Codec::_tc_InvalidTypeForEncoding,
- 1,
- _tao_elem,
- IOP::Codec::InvalidTypeForEncoding::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,IOP::Codec::InvalidTypeForEncoding *&_tao_elem
+ const IOP::Encoding &_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const IOP::Codec::InvalidTypeForEncoding*&,
+ TAO::Any_Dual_Impl_T<IOP::Encoding>::insert_copy (
+ _tao_any,
+ IOP::Encoding::_tao_any_destructor,
+ IOP::_tc_Encoding,
_tao_elem
);
}
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::Codec::InvalidTypeForEncoding *&_tao_elem
- )
-{
- _tao_elem = 0;
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::Codec::_tc_InvalidTypeForEncoding
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- _tao_elem = (IOP::Codec::InvalidTypeForEncoding *)_tao_any.value ();
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
-}
-
-
-// TAO_IDL - Generated from
-// be/be_visitor_exception/any_op_cs.cpp:60
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::Codec::FormatMismatch &_tao_elem
- )
-{
- IOP::Codec::FormatMismatch *_tao_elem_copy = 0;
- ACE_NEW (
- _tao_elem_copy,
- IOP::Codec::FormatMismatch (_tao_elem)
- );
-
- _tao_any._tao_replace (
- IOP::Codec::_tc_FormatMismatch,
- 1,
- _tao_elem_copy,
- IOP::Codec::FormatMismatch::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
// Non-copying insertion.
void operator<<= (
CORBA::Any &_tao_any,
- IOP::Codec::FormatMismatch *_tao_elem
- )
-{
- _tao_any._tao_replace (
- IOP::Codec::_tc_FormatMismatch,
- 1,
- _tao_elem,
- IOP::Codec::FormatMismatch::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,IOP::Codec::FormatMismatch *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast(
- const IOP::Codec::FormatMismatch*&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::Codec::FormatMismatch *&_tao_elem
- )
-{
- _tao_elem = 0;
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::Codec::_tc_FormatMismatch
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- _tao_elem = (IOP::Codec::FormatMismatch *)_tao_any.value ();
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
-}
-
-
-// TAO_IDL - Generated from
-// be/be_visitor_exception/any_op_cs.cpp:60
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::Codec::TypeMismatch &_tao_elem
- )
-{
- IOP::Codec::TypeMismatch *_tao_elem_copy = 0;
- ACE_NEW (
- _tao_elem_copy,
- IOP::Codec::TypeMismatch (_tao_elem)
- );
-
- _tao_any._tao_replace (
- IOP::Codec::_tc_TypeMismatch,
- 1,
- _tao_elem_copy,
- IOP::Codec::TypeMismatch::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::Codec::TypeMismatch *_tao_elem
- )
-{
- _tao_any._tao_replace (
- IOP::Codec::_tc_TypeMismatch,
- 1,
- _tao_elem,
- IOP::Codec::TypeMismatch::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,IOP::Codec::TypeMismatch *&_tao_elem
+ IOP::Encoding *_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const IOP::Codec::TypeMismatch*&,
+ TAO::Any_Dual_Impl_T<IOP::Encoding>::insert (
+ _tao_any,
+ IOP::Encoding::_tao_any_destructor,
+ IOP::_tc_Encoding,
_tao_elem
);
}
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::Codec::TypeMismatch *&_tao_elem
- )
-{
- _tao_elem = 0;
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::Codec::_tc_TypeMismatch
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- _tao_elem = (IOP::Codec::TypeMismatch *)_tao_any.value ();
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
-}
-
-
-// TAO_IDL - Generated from
-// be/be_visitor_structure/any_op_cs.cpp:58
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::Encoding &_tao_elem
- )
-{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_Encoding,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::Encoding *_tao_elem
- )
-{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- IOP::_tc_Encoding,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- IOP::Encoding::_tao_any_destructor
- );
- }
-}
-
// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
const CORBA::Any &_tao_any,
@@ -4324,240 +3744,78 @@ CORBA::Boolean operator>>= (
const IOP::Encoding *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_Encoding
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast (
- const IOP::Encoding*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- IOP::Encoding *tmp;
- ACE_NEW_RETURN (
- tmp,
- IOP::Encoding,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- IOP::_tc_Encoding,
- 1,
- ACE_static_cast (void *, tmp),
- IOP::Encoding::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<IOP::Encoding>::extract (
+ _tao_any,
+ IOP::Encoding::_tao_any_destructor,
+ IOP::_tc_Encoding,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<IOP::Encoding>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<IOP::Encoding>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// be/be_visitor_interface/any_op_cs.cpp:60
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-void operator<<= (
+// Copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
IOP::CodecFactory_ptr _tao_elem
)
{
- _tao_any._tao_replace (
- IOP::_tc_CodecFactory,
- 1,
- IOP::CodecFactory::_duplicate (_tao_elem),
- IOP::CodecFactory::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
+ IOP::CodecFactory_ptr _tao_objptr =
+ IOP::CodecFactory::_duplicate (_tao_elem);
+ _tao_any <<= &_tao_objptr;
}
-void operator<<= (
+// Non-copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
IOP::CodecFactory_ptr *_tao_elem
)
{
- _tao_any._tao_replace (
+ TAO::Any_Impl_T<IOP::CodecFactory>::insert (
+ _tao_any,
+ IOP::CodecFactory::_tao_any_destructor,
IOP::_tc_CodecFactory,
- 1,
- *_tao_elem,
- IOP::CodecFactory::_tao_any_destructor
+ *_tao_elem
);
-
- _tao_any.contains_local (1);
}
-CORBA::Boolean operator>>= (
+CORBA::Boolean
+operator>>= (
const CORBA::Any &_tao_any,
IOP::CodecFactory_ptr &_tao_elem
)
{
- ACE_TRY_NEW_ENV
- {
- _tao_elem = IOP::CodecFactory::_nil ();
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::_tc_CodecFactory
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- _tao_elem =
- ACE_reinterpret_cast (
- IOP::CodecFactory_ptr,
- ACE_const_cast (void *, _tao_any.value ())
- );
-
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- _tao_elem = IOP::CodecFactory::_nil ();
- return 0;
+ return
+ TAO::Any_Impl_T<IOP::CodecFactory>::extract (
+ _tao_any,
+ IOP::CodecFactory::_tao_any_destructor,
+ IOP::_tc_CodecFactory,
+ _tao_elem
+ );
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
defined (ACE_HAS_GNU_REPO)
template class TAO_Object_Manager<IOP::CodecFactory,IOP::CodecFactory_var>;
+ template class TAO::Any_Impl_T<IOP::CodecFactory>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<IOP::CodecFactory,IOP::CodecFactory_var>
+# pragma instantiate TAO_Object_Manager<IOP::CodecFactory, IOP::CodecFactory_var>
+# pragma instantiate TAO::Any_Impl_T<IOP::CodecFactory>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-
// TAO_IDL - Generated from
-// be/be_visitor_exception/any_op_cs.cpp:60
-
-// Copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- const IOP::CodecFactory::UnknownEncoding &_tao_elem
- )
-{
- IOP::CodecFactory::UnknownEncoding *_tao_elem_copy = 0;
- ACE_NEW (
- _tao_elem_copy,
- IOP::CodecFactory::UnknownEncoding (_tao_elem)
- );
-
- _tao_any._tao_replace (
- IOP::CodecFactory::_tc_UnknownEncoding,
- 1,
- _tao_elem_copy,
- IOP::CodecFactory::UnknownEncoding::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
-// Non-copying insertion.
-void operator<<= (
- CORBA::Any &_tao_any,
- IOP::CodecFactory::UnknownEncoding *_tao_elem
- )
-{
- _tao_any._tao_replace (
- IOP::CodecFactory::_tc_UnknownEncoding,
- 1,
- _tao_elem,
- IOP::CodecFactory::UnknownEncoding::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
-}
-
-// Extraction to non-const pointer (deprecated).
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,IOP::CodecFactory::UnknownEncoding *&_tao_elem
- )
-{
- return _tao_any >>= ACE_const_cast(
- const IOP::CodecFactory::UnknownEncoding*&,
- _tao_elem
- );
-}
-
-// Extraction to const pointer.
-CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,
- const IOP::CodecFactory::UnknownEncoding *&_tao_elem
- )
-{
- _tao_elem = 0;
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- IOP::CodecFactory::_tc_UnknownEncoding
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- _tao_elem = (IOP::CodecFactory::UnknownEncoding *)_tao_any.value ();
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
-}
-
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_
#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_
@@ -4567,26 +3825,29 @@ CORBA::Boolean operator<< (
const IOP::TaggedProfile::_tao_seq_Octet &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::TaggedProfile::_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 ());
- }
-
+ // Encode all elements.
+
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ {
+ TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
+ ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::TaggedProfile::_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 ());
+ }
+
#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
+ return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
+ }
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -4595,48 +3856,59 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
-
-#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)
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ if (ACE_BIT_DISABLED (strm.start ()->flags (),
+ ACE_Message_Block::DONT_DELETE))
{
- 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_ORB_Core* orb_core = strm.orb_core ();
+ if (orb_core != 0 &&
+ strm.orb_core ()->resource_factory ()->
+ input_cdr_allocator_type_locked () == 1)
+ {
+ 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;
+ }
}
- }
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
+ 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 strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
+ }
+
+ return 0;
}
#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_CPP_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_
#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_
@@ -4646,17 +3918,22 @@ CORBA::Boolean operator<< (
const IOP::IOR::_tao_seq_TaggedProfile &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- _tao_marshal_flag = (strm << _tao_sequence[i]);
+ // Encode all elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -4665,31 +3942,44 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
{
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_CPP_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_
#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_
@@ -4699,26 +3989,29 @@ CORBA::Boolean operator<< (
const IOP::TaggedComponent::_tao_seq_Octet &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
- ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::TaggedComponent::_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 ());
- }
-
+ // Encode all elements.
+
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ {
+ TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
+ ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::TaggedComponent::_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 ());
+ }
+
#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
+ return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
+ }
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -4727,64 +4020,81 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
-
-#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)
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ if (ACE_BIT_DISABLED (strm.start ()->flags (),
+ ACE_Message_Block::DONT_DELETE))
{
- 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_ORB_Core* orb_core = strm.orb_core ();
+ if (orb_core != 0 &&
+ strm.orb_core ()->resource_factory ()->
+ input_cdr_allocator_type_locked () == 1)
+ {
+ 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;
+ }
}
- }
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
+ 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 strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
+ }
+
+ return 0;
}
#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_CPP_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
+
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
const IOP::MultipleComponentProfile &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- _tao_marshal_flag = (strm << _tao_sequence[i]);
+ // Encode all elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -4793,45 +4103,64 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
{
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
+
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
const IOP::TaggedComponentList &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- _tao_marshal_flag = (strm << _tao_sequence[i]);
+ // Encode all elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -4840,45 +4169,64 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
{
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
+
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
const IOP::TaggedComponentSeq &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- _tao_marshal_flag = (strm << _tao_sequence[i]);
+ // Encode all elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -4887,29 +4235,42 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
{
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_
#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_
@@ -4919,26 +4280,29 @@ CORBA::Boolean operator<< (
const IOP::ServiceContext::_tao_seq_Octet &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
-
-#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- 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 ());
- }
-
+ // Encode all elements.
+
+#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 ());
+ }
+
#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
+ return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
+ }
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -4947,64 +4311,81 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
-
-#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)
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ if (ACE_BIT_DISABLED (strm.start ()->flags (),
+ ACE_Message_Block::DONT_DELETE))
{
- 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_ORB_Core* orb_core = strm.orb_core ();
+ if (orb_core != 0 &&
+ strm.orb_core ()->resource_factory ()->
+ input_cdr_allocator_type_locked () == 1)
+ {
+ 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;
+ }
}
- }
- return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len);
+ 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 strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- }
- return 0; // error
+ }
+
+ return 0;
}
#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_CPP_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
+
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
const IOP::ServiceContextList &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
{
- _tao_marshal_flag = (strm << _tao_sequence[i]);
+ // Encode all elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -5013,25 +4394,67 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
- CORBA::Boolean _tao_marshal_flag = 1;
- for (CORBA::ULong i = 0; i < _tao_sequence.length () && _tao_marshal_flag; i++)
{
- _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+ CORBA::Boolean _tao_marshal_flag = 1;
+
+ for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
+ {
+ _tao_marshal_flag = (strm >> _tao_sequence[i]);
+ }
+
+ return _tao_marshal_flag;
}
- return _tao_marshal_flag;
- }
- return 0; // error
+
+ return 0;
}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:60
+
+CORBA::Boolean
+TAO::Any_Impl_T<IOP::Codec>::marshal_value (TAO_OutputCDR &)
+{
+ return 0;
+}
+
+CORBA::Boolean
+TAO::Any_Impl_T<IOP::Codec>::demarshal_value (TAO_InputCDR &)
+{
+ return 0;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:60
+
+CORBA::Boolean
+TAO::Any_Impl_T<IOP::CodecFactory>::marshal_value (TAO_OutputCDR &)
+{
+ return 0;
+}
+
+CORBA::Boolean
+TAO::Any_Impl_T<IOP::CodecFactory>::demarshal_value (TAO_InputCDR &)
+{
+ return 0;
+}
+
diff --git a/TAO/tao/IOPC.h b/TAO/tao/IOPC.h
index ea882509ce4..21815aa277f 100644
--- a/TAO/tao/IOPC.h
+++ b/TAO/tao/IOPC.h
@@ -19,8 +19,11 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef _TAO_IDL_IOPC_H_
-#define _TAO_IDL_IOPC_H_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
+
+#ifndef _TAO_IDL_ORIG_IOPC_H_
+#define _TAO_IDL_ORIG_IOPC_H_
#include "ace/pre.h"
#include "tao/corbafwd.h"
@@ -32,7 +35,7 @@
#include "tao/TAO_Export.h"
#include "Exception.h"
#include "Object.h"
-#include "Any.h"
+#include "Any_T.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
@@ -57,59 +60,85 @@
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
+
TAO_NAMESPACE IOP
{
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
+
typedef CORBA::ULong ProfileId;
typedef CORBA::ULong_out ProfileId_out;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ProfileId;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_INTERNET_IOP;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_MULTIPLE_COMPONENTS;
+ const CORBA::ULong TAG_INTERNET_IOP = 0U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_MULTIPLE_COMPONENTS = 1U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
- struct TaggedProfile;
class TaggedProfile_var;
struct TAO_Export TaggedProfile
{
-
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef TaggedProfile_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
- static void _tao_any_destructor (void*);
- ACE_NESTED_CLASS (IOP, ProfileId) tag;
+ static void _tao_any_destructor (void *);
+ IOP::ProfileId tag;
+
#if !defined (_IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_)
#define _IOP_TAGGEDPROFILE__TAO_SEQ_OCTET_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class _tao_seq_Octet;
// *************************************************************
- // _tao_seq_Octet
+ // IOP::TaggedProfile::_tao_seq_Octet
// *************************************************************
class TAO_Export _tao_seq_Octet : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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 */
{
public:
- _tao_seq_Octet (void); // default ctor
- _tao_seq_Octet (CORBA::ULong max); // uses max size
+ _tao_seq_Octet (void);
+ _tao_seq_Octet (CORBA::ULong max);
_tao_seq_Octet (
CORBA::ULong max,
CORBA::ULong length,
CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
- _tao_seq_Octet (const _tao_seq_Octet &); // copy ctor
+ _tao_seq_Octet (const _tao_seq_Octet &);
~_tao_seq_Octet (void);
+
static void _tao_any_destructor (void*);
+
#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
_tao_seq_Octet (
CORBA::ULong length,
@@ -117,20 +146,20 @@ TAO_NAMESPACE IOP
)
: TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
-
};
-
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef _tao_seq_Octet _profile_data_seq;
-#endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */
-
_tao_seq_Octet profile_data;
-
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
+
class TAO_Export TaggedProfile_var
{
public:
@@ -147,6 +176,7 @@ TAO_NAMESPACE IOP
operator const TaggedProfile &() const;
operator TaggedProfile &();
operator TaggedProfile &() const;
+
// Variable-size types only.
operator TaggedProfile *&();
@@ -161,6 +191,9 @@ TAO_NAMESPACE IOP
TaggedProfile *ptr_;
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
+
class TAO_Export TaggedProfile_out
{
public:
@@ -179,32 +212,36 @@ TAO_NAMESPACE IOP
void operator= (const TaggedProfile_var &);
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedProfile;
- struct IOR;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
+
class IOR_var;
struct TAO_Export IOR
{
-
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef IOR_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
- static void _tao_any_destructor (void*);
+ static void _tao_any_destructor (void *);
TAO_String_Manager type_id;
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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_MACRO _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
+ class TAO_Export _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile
: public TAO_Unbounded_Base_Sequence
{
public:
- // = Initialization and termination methods.
_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 (
@@ -241,54 +278,64 @@ TAO_NAMESPACE IOP
CORBA::Boolean release
);
};
-
+
#endif /* end #if !defined */
-
-
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+
#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_)
#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class _tao_seq_TaggedProfile;
// *************************************************************
- // _tao_seq_TaggedProfile
+ // IOP::IOR::_tao_seq_TaggedProfile
// *************************************************************
class TAO_Export _tao_seq_TaggedProfile : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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); // default ctor
- _tao_seq_TaggedProfile (CORBA::ULong max); // uses max size
+ _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 &); // copy ctor
+ _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
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef _tao_seq_TaggedProfile _profiles_seq;
-#endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */
-
_tao_seq_TaggedProfile profiles;
-
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
+
class TAO_Export IOR_var
{
public:
@@ -305,6 +352,7 @@ TAO_NAMESPACE IOP
operator const IOR &() const;
operator IOR &();
operator IOR &() const;
+
// Variable-size types only.
operator IOR *&();
@@ -319,6 +367,9 @@ TAO_NAMESPACE IOP
IOR *ptr_;
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
+
class TAO_Export IOR_out
{
public:
@@ -337,55 +388,74 @@ TAO_NAMESPACE IOP
void operator= (const IOR_var &);
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_IOR;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
+
typedef CORBA::ULong ComponentId;
typedef CORBA::ULong_out ComponentId_out;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ComponentId;
- struct TaggedComponent;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
+
class TaggedComponent_var;
struct TAO_Export TaggedComponent
{
-
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef TaggedComponent_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
- static void _tao_any_destructor (void*);
- ACE_NESTED_CLASS (IOP, ComponentId) tag;
+ static void _tao_any_destructor (void *);
+ IOP::ComponentId tag;
+
#if !defined (_IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_)
#define _IOP_TAGGEDCOMPONENT__TAO_SEQ_OCTET_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class _tao_seq_Octet;
// *************************************************************
- // _tao_seq_Octet
+ // IOP::TaggedComponent::_tao_seq_Octet
// *************************************************************
class TAO_Export _tao_seq_Octet : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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 */
{
public:
- _tao_seq_Octet (void); // default ctor
- _tao_seq_Octet (CORBA::ULong max); // uses max size
+ _tao_seq_Octet (void);
+ _tao_seq_Octet (CORBA::ULong max);
_tao_seq_Octet (
CORBA::ULong max,
CORBA::ULong length,
CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
- _tao_seq_Octet (const _tao_seq_Octet &); // copy ctor
+ _tao_seq_Octet (const _tao_seq_Octet &);
~_tao_seq_Octet (void);
+
static void _tao_any_destructor (void*);
+
#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
_tao_seq_Octet (
CORBA::ULong length,
@@ -393,20 +463,20 @@ TAO_NAMESPACE IOP
)
: TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
-
};
-
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef _tao_seq_Octet _component_data_seq;
-#endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */
-
_tao_seq_Octet component_data;
-
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
+
class TAO_Export TaggedComponent_var
{
public:
@@ -423,6 +493,7 @@ TAO_NAMESPACE IOP
operator const TaggedComponent &() const;
operator TaggedComponent &();
operator TaggedComponent &() const;
+
// Variable-size types only.
operator TaggedComponent *&();
@@ -437,6 +508,9 @@ TAO_NAMESPACE IOP
TaggedComponent *ptr_;
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
+
class TAO_Export TaggedComponent_out
{
public:
@@ -455,19 +529,23 @@ TAO_NAMESPACE IOP
void operator= (const TaggedComponent_var &);
};
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponent;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponent;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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_MACRO _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
+ class TAO_Export _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile
: public TAO_Unbounded_Base_Sequence
{
public:
- // = Initialization and termination methods.
_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void);
_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (
@@ -504,55 +582,61 @@ TAO_NAMESPACE IOP
CORBA::Boolean release
);
};
-
+
#endif /* end #if !defined */
-
-
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+
#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CH_)
#define _IOP_MULTIPLECOMPONENTPROFILE_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class MultipleComponentProfile;
class MultipleComponentProfile_var;
// *************************************************************
- // MultipleComponentProfile
+ // IOP::MultipleComponentProfile
// *************************************************************
class TAO_Export MultipleComponentProfile : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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 */
{
public:
- MultipleComponentProfile (void); // default ctor
- MultipleComponentProfile (CORBA::ULong max); // uses max size
+ MultipleComponentProfile (void);
+ MultipleComponentProfile (CORBA::ULong max);
MultipleComponentProfile (
CORBA::ULong max,
CORBA::ULong length,
TaggedComponent *buffer,
CORBA::Boolean release = 0
);
- MultipleComponentProfile (const MultipleComponentProfile &); // copy ctor
+ MultipleComponentProfile (const MultipleComponentProfile &);
~MultipleComponentProfile (void);
+
static void _tao_any_destructor (void*);
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef MultipleComponentProfile_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
-
};
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_)
#define _IOP_MULTIPLECOMPONENTPROFILE___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
+
// *************************************************************
// class IOP::MultipleComponentProfile_var
// *************************************************************
@@ -573,7 +657,9 @@ TAO_NAMESPACE IOP
operator const MultipleComponentProfile &() const;
operator MultipleComponentProfile &();
operator MultipleComponentProfile &() const;
- operator MultipleComponentProfile *&(); // variable-size base types only
+
+ // Variable-size base types only.
+ operator MultipleComponentProfile *&();
TaggedComponent & operator[] (CORBA::ULong index);
const TaggedComponent & operator[] (CORBA::ULong index) const;
@@ -588,14 +674,15 @@ TAO_NAMESPACE IOP
private:
MultipleComponentProfile *ptr_;
};
-
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_)
#define _IOP_MULTIPLECOMPONENTPROFILE___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
+
class TAO_Export MultipleComponentProfile_out
{
public:
@@ -614,23 +701,26 @@ TAO_NAMESPACE IOP
// Assignment from T_var not allowed.
void operator= (const MultipleComponentProfile_var &);
};
-
-
+
#endif /* end #if !defined */
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultipleComponentProfile;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultipleComponentProfile;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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_MACRO _TAO_Unbounded_Sequence_IOP_TaggedComponentList
+ class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentList
: public TAO_Unbounded_Base_Sequence
{
public:
- // = Initialization and termination methods.
_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void);
_TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_TaggedComponentList (
@@ -667,55 +757,61 @@ TAO_NAMESPACE IOP
CORBA::Boolean release
);
};
-
+
#endif /* end #if !defined */
-
-
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+
#if !defined (_IOP_TAGGEDCOMPONENTLIST_CH_)
#define _IOP_TAGGEDCOMPONENTLIST_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class TaggedComponentList;
class TaggedComponentList_var;
// *************************************************************
- // TaggedComponentList
+ // IOP::TaggedComponentList
// *************************************************************
class TAO_Export TaggedComponentList : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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 */
{
public:
- TaggedComponentList (void); // default ctor
- TaggedComponentList (CORBA::ULong max); // uses max size
+ TaggedComponentList (void);
+ TaggedComponentList (CORBA::ULong max);
TaggedComponentList (
CORBA::ULong max,
CORBA::ULong length,
TaggedComponent *buffer,
CORBA::Boolean release = 0
);
- TaggedComponentList (const TaggedComponentList &); // copy ctor
+ TaggedComponentList (const TaggedComponentList &);
~TaggedComponentList (void);
+
static void _tao_any_destructor (void*);
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef TaggedComponentList_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
-
};
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_TAGGEDCOMPONENTLIST___VAR_CH_)
#define _IOP_TAGGEDCOMPONENTLIST___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
+
// *************************************************************
// class IOP::TaggedComponentList_var
// *************************************************************
@@ -736,7 +832,9 @@ TAO_NAMESPACE IOP
operator const TaggedComponentList &() const;
operator TaggedComponentList &();
operator TaggedComponentList &() const;
- operator TaggedComponentList *&(); // variable-size base types only
+
+ // Variable-size base types only.
+ operator TaggedComponentList *&();
TaggedComponent & operator[] (CORBA::ULong index);
const TaggedComponent & operator[] (CORBA::ULong index) const;
@@ -751,14 +849,15 @@ TAO_NAMESPACE IOP
private:
TaggedComponentList *ptr_;
};
-
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_TAGGEDCOMPONENTLIST___OUT_CH_)
#define _IOP_TAGGEDCOMPONENTLIST___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
+
class TAO_Export TaggedComponentList_out
{
public:
@@ -777,23 +876,26 @@ TAO_NAMESPACE IOP
// Assignment from T_var not allowed.
void operator= (const TaggedComponentList_var &);
};
-
-
+
#endif /* end #if !defined */
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentList;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentList;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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_MACRO _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
+ class TAO_Export _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq
: public TAO_Unbounded_Base_Sequence
{
public:
- // = Initialization and termination methods.
_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void);
_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (
@@ -830,55 +932,61 @@ TAO_NAMESPACE IOP
CORBA::Boolean release
);
};
-
+
#endif /* end #if !defined */
-
-
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+
#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CH_)
#define _IOP_TAGGEDCOMPONENTSEQ_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class TaggedComponentSeq;
class TaggedComponentSeq_var;
// *************************************************************
- // TaggedComponentSeq
+ // IOP::TaggedComponentSeq
// *************************************************************
class TAO_Export TaggedComponentSeq : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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 */
{
public:
- TaggedComponentSeq (void); // default ctor
- TaggedComponentSeq (CORBA::ULong max); // uses max size
+ TaggedComponentSeq (void);
+ TaggedComponentSeq (CORBA::ULong max);
TaggedComponentSeq (
CORBA::ULong max,
CORBA::ULong length,
TaggedComponent *buffer,
CORBA::Boolean release = 0
);
- TaggedComponentSeq (const TaggedComponentSeq &); // copy ctor
+ TaggedComponentSeq (const TaggedComponentSeq &);
~TaggedComponentSeq (void);
+
static void _tao_any_destructor (void*);
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef TaggedComponentSeq_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
-
};
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_TAGGEDCOMPONENTSEQ___VAR_CH_)
#define _IOP_TAGGEDCOMPONENTSEQ___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
+
// *************************************************************
// class IOP::TaggedComponentSeq_var
// *************************************************************
@@ -899,7 +1007,9 @@ TAO_NAMESPACE IOP
operator const TaggedComponentSeq &() const;
operator TaggedComponentSeq &();
operator TaggedComponentSeq &() const;
- operator TaggedComponentSeq *&(); // variable-size base types only
+
+ // Variable-size base types only.
+ operator TaggedComponentSeq *&();
TaggedComponent & operator[] (CORBA::ULong index);
const TaggedComponent & operator[] (CORBA::ULong index) const;
@@ -914,14 +1024,15 @@ TAO_NAMESPACE IOP
private:
TaggedComponentSeq *ptr_;
};
-
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_TAGGEDCOMPONENTSEQ___OUT_CH_)
#define _IOP_TAGGEDCOMPONENTSEQ___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
+
class TAO_Export TaggedComponentSeq_out
{
public:
@@ -940,79 +1051,127 @@ TAO_NAMESPACE IOP
// Assignment from T_var not allowed.
void operator= (const TaggedComponentSeq_var &);
};
-
-
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TaggedComponentSeq;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ORB_TYPE;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_ORB_TYPE = 0U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_CODE_SETS = 1U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_POLICIES = 2U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_ALTERNATE_IIOP_ADDRESS = 3U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_CODE_SETS;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_POLICIES;
+ const CORBA::ULong TAG_COMPLETE_OBJECT_KEY = 5U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ALTERNATE_IIOP_ADDRESS;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_COMPLETE_OBJECT_KEY;
+ const CORBA::ULong TAG_ENDPOINT_ID_POSITION = 6U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_ENDPOINT_ID_POSITION;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_LOCATION_POLICY;
+ const CORBA::ULong TAG_LOCATION_POLICY = 12U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_DCE_STRING_BINDING;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_DCE_BINDING_NAME;
+ const CORBA::ULong TAG_DCE_STRING_BINDING = 100U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_DCE_NO_PIPES;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_DCE_BINDING_NAME = 101U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_DCE_NO_PIPES = 102U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
typedef CORBA::ULong ServiceId;
typedef CORBA::ULong_out ServiceId_out;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceId;
- struct ServiceContext;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
+
class ServiceContext_var;
struct TAO_Export ServiceContext
{
-
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef ServiceContext_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
- static void _tao_any_destructor (void*);
- ACE_NESTED_CLASS (IOP, ServiceId) context_id;
+ 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
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class _tao_seq_Octet;
// *************************************************************
- // _tao_seq_Octet
+ // IOP::ServiceContext::_tao_seq_Octet
// *************************************************************
class TAO_Export _tao_seq_Octet : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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 */
{
public:
- _tao_seq_Octet (void); // default ctor
- _tao_seq_Octet (CORBA::ULong max); // uses max size
+ _tao_seq_Octet (void);
+ _tao_seq_Octet (CORBA::ULong max);
_tao_seq_Octet (
CORBA::ULong max,
CORBA::ULong length,
CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
- _tao_seq_Octet (const _tao_seq_Octet &); // copy ctor
+ _tao_seq_Octet (const _tao_seq_Octet &);
~_tao_seq_Octet (void);
+
static void _tao_any_destructor (void*);
+
#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
_tao_seq_Octet (
CORBA::ULong length,
@@ -1020,20 +1179,20 @@ TAO_NAMESPACE IOP
)
: TAO_Unbounded_Sequence<CORBA::Octet> (length, mb) {}
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
-
};
-
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef _tao_seq_Octet _context_data_seq;
-#endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */
-
_tao_seq_Octet context_data;
-
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
+
class TAO_Export ServiceContext_var
{
public:
@@ -1050,6 +1209,7 @@ TAO_NAMESPACE IOP
operator const ServiceContext &() const;
operator ServiceContext &();
operator ServiceContext &() const;
+
// Variable-size types only.
operator ServiceContext *&();
@@ -1064,6 +1224,9 @@ TAO_NAMESPACE IOP
ServiceContext *ptr_;
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:445
+
class TAO_Export ServiceContext_out
{
public:
@@ -1082,19 +1245,23 @@ TAO_NAMESPACE IOP
void operator= (const ServiceContext_var &);
};
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContext;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContext;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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_MACRO _TAO_Unbounded_Sequence_IOP_ServiceContextList
+ class TAO_Export _TAO_Unbounded_Sequence_IOP_ServiceContextList
: public TAO_Unbounded_Base_Sequence
{
public:
- // = Initialization and termination methods.
_TAO_Unbounded_Sequence_IOP_ServiceContextList (void);
_TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_ServiceContextList (
@@ -1131,55 +1298,61 @@ TAO_NAMESPACE IOP
CORBA::Boolean release
);
};
-
+
#endif /* end #if !defined */
-
-
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+
#if !defined (_IOP_SERVICECONTEXTLIST_CH_)
#define _IOP_SERVICECONTEXTLIST_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class ServiceContextList;
class ServiceContextList_var;
// *************************************************************
- // ServiceContextList
+ // IOP::ServiceContextList
// *************************************************************
class TAO_Export ServiceContextList : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\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 */
{
public:
- ServiceContextList (void); // default ctor
- ServiceContextList (CORBA::ULong max); // uses max size
+ ServiceContextList (void);
+ ServiceContextList (CORBA::ULong max);
ServiceContextList (
CORBA::ULong max,
CORBA::ULong length,
ServiceContext *buffer,
CORBA::Boolean release = 0
);
- ServiceContextList (const ServiceContextList &); // copy ctor
+ ServiceContextList (const ServiceContextList &);
~ServiceContextList (void);
+
static void _tao_any_destructor (void*);
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef ServiceContextList_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
-
};
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_SERVICECONTEXTLIST___VAR_CH_)
#define _IOP_SERVICECONTEXTLIST___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:549
+
// *************************************************************
// class IOP::ServiceContextList_var
// *************************************************************
@@ -1200,7 +1373,9 @@ TAO_NAMESPACE IOP
operator const ServiceContextList &() const;
operator ServiceContextList &();
operator ServiceContextList &() const;
- operator ServiceContextList *&(); // variable-size base types only
+
+ // Variable-size base types only.
+ operator ServiceContextList *&();
ServiceContext & operator[] (CORBA::ULong index);
const ServiceContext & operator[] (CORBA::ULong index) const;
@@ -1215,14 +1390,15 @@ TAO_NAMESPACE IOP
private:
ServiceContextList *ptr_;
};
-
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_SERVICECONTEXTLIST___OUT_CH_)
#define _IOP_SERVICECONTEXTLIST___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:753
+
class TAO_Export ServiceContextList_out
{
public:
@@ -1241,63 +1417,126 @@ TAO_NAMESPACE IOP
// Assignment from T_var not allowed.
void operator= (const ServiceContextList_var &);
};
-
-
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServiceContextList;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TransactionService;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TransactionService = 0U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong CodeSets = 1U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong ChainBypassCheck = 2U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong ChainBypassInfo = 3U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong LogicalThreadId = 4U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong BI_DIR_IIOP = 5U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong SendingContextRunTime = 6U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong CodeSets;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong ChainBypassCheck;
+ const CORBA::ULong INVOCATION_POLICIES = 7U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong ChainBypassInfo;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong LogicalThreadId;
+ const CORBA::ULong UnknownExceptionInfo = 9U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong BI_DIR_IIOP;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong SendingContextRunTime;
+ const CORBA::ULong RTCorbaPriority = 10U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong INVOCATION_POLICIES;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong UnknownExceptionInfo;
+ const CORBA::ULong RTCorbaPriorityRange = 11U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong RTCorbaPriority;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong RTCorbaPriorityRange;
+ const CORBA::ULong TAG_FT_GROUP = 27U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_FT_GROUP;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_FT_PRIMARY;
+ const CORBA::ULong TAG_FT_PRIMARY = 28U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_FT_HEARTBEAT_ENABLED;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong FT_GROUP_VERSION;
+ const CORBA::ULong TAG_FT_HEARTBEAT_ENABLED = 29U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong FT_REQUEST;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_UIPMC;
+ const CORBA::ULong FT_GROUP_VERSION = 12U;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_GROUP;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong FT_REQUEST = 13U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong TAG_GROUP_IIOP;
+ const CORBA::ULong TAG_UIPMC = 1413566220U;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong TAG_GROUP = 1413566211U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+ const CORBA::ULong TAG_GROUP_IIOP = 1413566212U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
+
#if !defined (_IOP_CODEC___PTR_CH_)
#define _IOP_CODEC___PTR_CH_
class Codec;
typedef Codec *Codec_ptr;
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_CODEC___VAR_CH_)
#define _IOP_CODEC___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
+
class TAO_Export Codec_var : public TAO_Base_var
{
public:
@@ -1337,13 +1576,14 @@ TAO_NAMESPACE IOP
Codec_var &operator= (const TAO_Base_var &rhs);
};
-
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_CODEC___OUT_CH_)
#define _IOP_CODEC___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
+
class TAO_Export Codec_out
{
public:
@@ -1360,29 +1600,21 @@ TAO_NAMESPACE IOP
private:
Codec_ptr &ptr_;
};
-
-
+
#endif /* end #if !defined */
- // *************************************************************
- // IOP::Codec
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:106
- // *************************************************************
-
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
+
#if !defined (_IOP_CODEC_CH_)
#define _IOP_CODEC_CH_
class TAO_Export Codec
- : public virtual CORBA_Object
+ : public virtual CORBA::Object
{
public:
- #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef Codec_ptr _ptr_type;
typedef Codec_var _var_type;
- #endif /* ! __GNUC__ || g++ >= 2.8 */
-
static int _tao_class_id;
// The static operations.
@@ -1403,9 +1635,11 @@ TAO_NAMESPACE IOP
return (Codec_ptr)0;
}
- static void _tao_any_destructor (void*);
-
+ static void _tao_any_destructor (void *);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+
#if !defined (_IOP_CODEC_INVALIDTYPEFORENCODING_CH_)
#define _IOP_CODEC_INVALIDTYPEFORENCODING_CH_
@@ -1418,9 +1652,9 @@ TAO_NAMESPACE IOP
~InvalidTypeForEncoding (void);
InvalidTypeForEncoding &operator= (const InvalidTypeForEncoding &);
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
static InvalidTypeForEncoding *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -1438,16 +1672,22 @@ TAO_NAMESPACE IOP
ACE_ENV_ARG_DECL_NOT_USED
);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
-static ::CORBA::TypeCode_ptr _tc_InvalidTypeForEncoding;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ static ::CORBA::TypeCode_ptr _tc_InvalidTypeForEncoding;
+
#endif /* end #if !defined */
-
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+
#if !defined (_IOP_CODEC_FORMATMISMATCH_CH_)
#define _IOP_CODEC_FORMATMISMATCH_CH_
@@ -1460,9 +1700,9 @@ static ::CORBA::TypeCode_ptr _tc_InvalidTypeForEncoding;
~FormatMismatch (void);
FormatMismatch &operator= (const FormatMismatch &);
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
static FormatMismatch *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -1480,16 +1720,22 @@ static ::CORBA::TypeCode_ptr _tc_InvalidTypeForEncoding;
ACE_ENV_ARG_DECL_NOT_USED
);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
-static ::CORBA::TypeCode_ptr _tc_FormatMismatch;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ static ::CORBA::TypeCode_ptr _tc_FormatMismatch;
+
#endif /* end #if !defined */
-
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+
#if !defined (_IOP_CODEC_TYPEMISMATCH_CH_)
#define _IOP_CODEC_TYPEMISMATCH_CH_
@@ -1502,9 +1748,9 @@ static ::CORBA::TypeCode_ptr _tc_FormatMismatch;
~TypeMismatch (void);
TypeMismatch &operator= (const TypeMismatch &);
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
static TypeMismatch *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -1522,15 +1768,22 @@ static ::CORBA::TypeCode_ptr _tc_FormatMismatch;
ACE_ENV_ARG_DECL_NOT_USED
);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
-static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual ::CORBA::OctetSeq * encode (
const CORBA::Any & data
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -1540,6 +1793,9 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
, IOP::Codec::InvalidTypeForEncoding
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual CORBA::Any * decode (
const CORBA::OctetSeq & data
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -1549,6 +1805,9 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
, IOP::Codec::FormatMismatch
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual ::CORBA::OctetSeq * encode_value (
const CORBA::Any & data
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -1558,6 +1817,9 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
, IOP::Codec::InvalidTypeForEncoding
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual CORBA::Any * decode_value (
const CORBA::OctetSeq & data,
CORBA::TypeCode_ptr tc
@@ -1569,49 +1831,64 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
, IOP::Codec::TypeMismatch
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
+
virtual void *_tao_QueryInterface (ptr_arith_t type);
virtual const char* _interface_repository_id (void) const;
-
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
+
protected:
Codec (void);
-
virtual ~Codec (void);
-
+
private:
Codec (const Codec &);
void operator= (const Codec &);
};
-
-
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Codec;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
+
typedef CORBA::Short EncodingFormat;
typedef CORBA::Short_out EncodingFormat_out;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_EncodingFormat;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short ENCODING_CDR_ENCAPS;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::Short ENCODING_CDR_ENCAPS = 0;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
- struct Encoding;
class Encoding_var;
struct TAO_Export Encoding
{
-
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef Encoding_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
- static void _tao_any_destructor (void*);
- ACE_NESTED_CLASS (IOP, EncodingFormat) format;
+ static void _tao_any_destructor (void *);
+ IOP::EncodingFormat format;
CORBA::Octet major_version;
CORBA::Octet minor_version;
-
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
+
class TAO_Export Encoding_var
{
public:
@@ -1624,8 +1901,10 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
Encoding_var &operator= (Encoding *);
Encoding_var &operator= (const Encoding_var &);
+
// Fixed-size types only.
Encoding_var &operator= (const Encoding &);
+
Encoding *operator-> (void);
const Encoding *operator-> (void) const;
@@ -1644,23 +1923,33 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
Encoding *ptr_;
};
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:105
+
typedef Encoding &Encoding_out;
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Encoding;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Encoding;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
+
#if !defined (_IOP_CODECFACTORY___PTR_CH_)
#define _IOP_CODECFACTORY___PTR_CH_
class CodecFactory;
typedef CodecFactory *CodecFactory_ptr;
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_CODECFACTORY___VAR_CH_)
#define _IOP_CODECFACTORY___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
+
class TAO_Export CodecFactory_var : public TAO_Base_var
{
public:
@@ -1700,13 +1989,14 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
CodecFactory_var &operator= (const TAO_Base_var &rhs);
};
-
#endif /* end #if !defined */
-
-
+
#if !defined (_IOP_CODECFACTORY___OUT_CH_)
#define _IOP_CODECFACTORY___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
+
class TAO_Export CodecFactory_out
{
public:
@@ -1723,29 +2013,21 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
private:
CodecFactory_ptr &ptr_;
};
-
-
+
#endif /* end #if !defined */
- // *************************************************************
- // IOP::CodecFactory
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:106
- // *************************************************************
-
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
+
#if !defined (_IOP_CODECFACTORY_CH_)
#define _IOP_CODECFACTORY_CH_
class TAO_Export CodecFactory
- : public virtual CORBA_Object
+ : public virtual CORBA::Object
{
public:
- #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef CodecFactory_ptr _ptr_type;
typedef CodecFactory_var _var_type;
- #endif /* ! __GNUC__ || g++ >= 2.8 */
-
static int _tao_class_id;
// The static operations.
@@ -1766,9 +2048,11 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
return (CodecFactory_ptr)0;
}
- static void _tao_any_destructor (void*);
-
+ static void _tao_any_destructor (void *);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+
#if !defined (_IOP_CODECFACTORY_UNKNOWNENCODING_CH_)
#define _IOP_CODECFACTORY_UNKNOWNENCODING_CH_
@@ -1781,9 +2065,9 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
~UnknownEncoding (void);
UnknownEncoding &operator= (const UnknownEncoding &);
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
static UnknownEncoding *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -1801,15 +2085,22 @@ static ::CORBA::TypeCode_ptr _tc_TypeMismatch;
ACE_ENV_ARG_DECL_NOT_USED
);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
-static ::CORBA::TypeCode_ptr _tc_UnknownEncoding;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ static ::CORBA::TypeCode_ptr _tc_UnknownEncoding;
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual ::IOP::Codec_ptr create_codec (
const IOP::Encoding & enc
ACE_ENV_ARG_DECL_WITH_DEFAULTS
@@ -1819,95 +2110,172 @@ static ::CORBA::TypeCode_ptr _tc_UnknownEncoding;
, IOP::CodecFactory::UnknownEncoding
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
+
virtual void *_tao_QueryInterface (ptr_arith_t type);
virtual const char* _interface_repository_id (void) const;
-
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
+
protected:
CodecFactory (void);
-
virtual ~CodecFactory (void);
+
+ friend class _TAO_CodecFactory_Remote_Proxy_Impl;
+ friend class _TAO_CodecFactory_ThruPOA_Proxy_Impl;
+ friend class _TAO_CodecFactory_Direct_Proxy_Impl;
private:
CodecFactory (const CodecFactory &);
void operator= (const CodecFactory &);
};
-
-
+
#endif /* end #if !defined */
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CodecFactory;
-
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_CodecFactory;
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67
+
}
TAO_NAMESPACE_CLOSE // module IOP
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedProfile &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedProfile*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedProfile *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedProfile *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::IOR &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::IOR*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::IOR *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::IOR *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponent &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponent*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponent *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponent *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::MultipleComponentProfile &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::MultipleComponentProfile*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::MultipleComponentProfile *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::MultipleComponentProfile *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentList &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentList*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentList *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentList *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentSeq &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentSeq*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentSeq *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentSeq *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContext &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContext*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContext *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContext *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContextList &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContextList*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContextList *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContextList *&);
-// Any operators for interface IOP::Codec
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr); // copying
TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr *); // non-copying
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec_ptr &);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::InvalidTypeForEncoding*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::InvalidTypeForEncoding *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::FormatMismatch &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::FormatMismatch*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::FormatMismatch *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::FormatMismatch *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::TypeMismatch &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::TypeMismatch*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::TypeMismatch *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::TypeMismatch *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::Encoding &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::Encoding*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Encoding *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Encoding *&);
-// Any operators for interface IOP::CodecFactory
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr); // copying
TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr *); // non-copying
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory_ptr &);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const IOP::CodecFactory::UnknownEncoding &); // copying version
TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory::UnknownEncoding*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory::UnknownEncoding *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::CodecFactory::UnknownEncoding *&);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48
+
#ifndef __ACE_INLINE__
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedProfile &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedProfile &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
+
#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_
#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_
@@ -1922,9 +2290,15 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::IOR &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::IOR &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
+
#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_
#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_
@@ -1939,9 +2313,15 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::TaggedComponent &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::TaggedComponent &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
+
#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_
#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_
@@ -1956,6 +2336,8 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_H_
#define _TAO_CDR_OP_IOP_MultipleComponentProfile_H_
@@ -1971,6 +2353,8 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_H_
#define _TAO_CDR_OP_IOP_TaggedComponentList_H_
@@ -1986,6 +2370,8 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
#if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_H_
#define _TAO_CDR_OP_IOP_TaggedComponentSeq_H_
@@ -2001,9 +2387,15 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::ServiceContext &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::ServiceContext &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
+
#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_
#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_
@@ -2018,6 +2410,8 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
#if !defined _TAO_CDR_OP_IOP_ServiceContextList_H_
#define _TAO_CDR_OP_IOP_ServiceContextList_H_
@@ -2033,11 +2427,19 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_IOP_ServiceContextList_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const IOP::Encoding &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::Encoding &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64
+
#endif /* __ACE_INLINE__ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1009
#if defined (__ACE_INLINE__)
#include "IOPC.i"
@@ -2053,3 +2455,4 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, IOP::Encoding &);
#include "ace/post.h"
#endif /* ifndef */
+
diff --git a/TAO/tao/IOPC.i b/TAO/tao/IOPC.i
index d026f5cdcba..1e49f78c2f5 100644
--- a/TAO/tao/IOPC.i
+++ b/TAO/tao/IOPC.i
@@ -19,12 +19,16 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
+
// *************************************************************
// Inline operations for class IOP::TaggedProfile_var
// *************************************************************
ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (void) // default constructor
+IOP::TaggedProfile_var::TaggedProfile_var (void)
: ptr_ (0)
{}
@@ -34,42 +38,52 @@ IOP::TaggedProfile_var::TaggedProfile_var (TaggedProfile *p)
{}
ACE_INLINE
-IOP::TaggedProfile_var::TaggedProfile_var (const ::IOP::TaggedProfile_var &p) // copy constructor
+IOP::TaggedProfile_var::TaggedProfile_var (const ::IOP::TaggedProfile_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::TaggedProfile (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::TaggedProfile (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::TaggedProfile_var::~TaggedProfile_var (void) // destructor
+IOP::TaggedProfile_var::~TaggedProfile_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::TaggedProfile_var &
-IOP::TaggedProfile_var::operator= (TaggedProfile *p)
+ACE_INLINE
+IOP::TaggedProfile_var &
+IOP::TaggedProfile_var::operator= (TaggedProfile *_tao_struct_var)
{
delete this->ptr_;
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_var;
return *this;
}
-ACE_INLINE ::IOP::TaggedProfile_var &
-IOP::TaggedProfile_var::operator= (const ::IOP::TaggedProfile_var &p)
+ACE_INLINE
+::IOP::TaggedProfile_var &
+IOP::TaggedProfile_var::operator= (const ::IOP::TaggedProfile_var &_tao_struct_var)
{
- if (this != &p)
+ if (this != &_tao_struct_var)
{
- if (p.ptr_ == 0)
+ if (_tao_struct_var.ptr_ == 0)
{
delete this->ptr_;
this->ptr_ = 0;
}
else
{
- TaggedProfile *deep_copy =
- new TaggedProfile (*p.ptr_);
+ TaggedProfile *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ TaggedProfile (*_tao_struct_var.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -114,7 +128,7 @@ IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() const // cast
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::TaggedProfile_var::operator ::IOP::TaggedProfile *&() // cast
{
@@ -133,7 +147,7 @@ IOP::TaggedProfile_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// Mapping for variable size.
ACE_INLINE ::IOP::TaggedProfile *&
IOP::TaggedProfile_var::out (void)
{
@@ -156,6 +170,9 @@ IOP::TaggedProfile_var::ptr (void) const
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
+
// *************************************************************
// Inline operations for class IOP::TaggedProfile_out
// *************************************************************
@@ -168,7 +185,7 @@ IOP::TaggedProfile_out::TaggedProfile_out (::IOP::TaggedProfile *&p)
}
ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (TaggedProfile_var &p) // constructor from _var
+IOP::TaggedProfile_out::TaggedProfile_out (TaggedProfile_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -176,21 +193,23 @@ IOP::TaggedProfile_out::TaggedProfile_out (TaggedProfile_var &p) // constructor
}
ACE_INLINE
-IOP::TaggedProfile_out::TaggedProfile_out (const ::IOP::TaggedProfile_out &p) // copy constructor
+IOP::TaggedProfile_out::TaggedProfile_out (const ::IOP::TaggedProfile_out &p)
: ptr_ (ACE_const_cast (TaggedProfile_out&, p).ptr_)
{}
-ACE_INLINE IOP::TaggedProfile_out &
+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 *p)
+ACE_INLINE
+IOP::TaggedProfile_out &
+IOP::TaggedProfile_out::operator= (TaggedProfile *_tao_struct_out)
{
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_out;
return *this;
}
@@ -212,12 +231,15 @@ IOP::TaggedProfile_out::operator-> (void)
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
+
// *************************************************************
// Inline operations for class IOP::IOR_var
// *************************************************************
ACE_INLINE
-IOP::IOR_var::IOR_var (void) // default constructor
+IOP::IOR_var::IOR_var (void)
: ptr_ (0)
{}
@@ -227,42 +249,52 @@ IOP::IOR_var::IOR_var (IOR *p)
{}
ACE_INLINE
-IOP::IOR_var::IOR_var (const ::IOP::IOR_var &p) // copy constructor
+IOP::IOR_var::IOR_var (const ::IOP::IOR_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::IOR (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::IOR (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::IOR_var::~IOR_var (void) // destructor
+IOP::IOR_var::~IOR_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::IOR_var &
-IOP::IOR_var::operator= (IOR *p)
+ACE_INLINE
+IOP::IOR_var &
+IOP::IOR_var::operator= (IOR *_tao_struct_var)
{
delete this->ptr_;
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_var;
return *this;
}
-ACE_INLINE ::IOP::IOR_var &
-IOP::IOR_var::operator= (const ::IOP::IOR_var &p)
+ACE_INLINE
+::IOP::IOR_var &
+IOP::IOR_var::operator= (const ::IOP::IOR_var &_tao_struct_var)
{
- if (this != &p)
+ if (this != &_tao_struct_var)
{
- if (p.ptr_ == 0)
+ if (_tao_struct_var.ptr_ == 0)
{
delete this->ptr_;
this->ptr_ = 0;
}
else
{
- IOR *deep_copy =
- new IOR (*p.ptr_);
+ IOR *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ IOR (*_tao_struct_var.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -307,7 +339,7 @@ IOP::IOR_var::operator ::IOP::IOR &() const // cast
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::IOR_var::operator ::IOP::IOR *&() // cast
{
@@ -326,7 +358,7 @@ IOP::IOR_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// Mapping for variable size.
ACE_INLINE ::IOP::IOR *&
IOP::IOR_var::out (void)
{
@@ -349,6 +381,9 @@ IOP::IOR_var::ptr (void) const
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
+
// *************************************************************
// Inline operations for class IOP::IOR_out
// *************************************************************
@@ -361,7 +396,7 @@ IOP::IOR_out::IOR_out (::IOP::IOR *&p)
}
ACE_INLINE
-IOP::IOR_out::IOR_out (IOR_var &p) // constructor from _var
+IOP::IOR_out::IOR_out (IOR_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -369,21 +404,23 @@ IOP::IOR_out::IOR_out (IOR_var &p) // constructor from _var
}
ACE_INLINE
-IOP::IOR_out::IOR_out (const ::IOP::IOR_out &p) // copy constructor
+IOP::IOR_out::IOR_out (const ::IOP::IOR_out &p)
: ptr_ (ACE_const_cast (IOR_out&, p).ptr_)
{}
-ACE_INLINE IOP::IOR_out &
+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 *p)
+ACE_INLINE
+IOP::IOR_out &
+IOP::IOR_out::operator= (IOR *_tao_struct_out)
{
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_out;
return *this;
}
@@ -405,188 +442,228 @@ IOP::IOR_out::operator-> (void)
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
#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_
-// = Static operations.
-ACE_INLINE IOP::TaggedProfile *
+ACE_INLINE
+IOP::TaggedProfile *
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (CORBA::ULong size)
-// Allocate storage for the sequence.
{
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)
-// Free the sequence.
+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) // Default constructor.
+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) // Constructor using a maximum length value.
+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)
+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)
-// Copy constructor.
+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;
- }
+ {
+ 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;
- }
+ {
+ 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)
-// Assignment operator.
+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;
+ {
+ 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_);
+ 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_);
+ {
+ 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_);
+ 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];
+ {
+ tmp1[i] = tmp2[i];
+ }
return *this;
}
// = Accessors.
-ACE_INLINE IOP::TaggedProfile &
+ACE_INLINE
+IOP::TaggedProfile &
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i)
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedProfile* tmp = ACE_reinterpret_cast(IOP::TaggedProfile*,this->buffer_);
+ IOP::TaggedProfile* tmp =
+ ACE_reinterpret_cast (IOP::TaggedProfile*, this->buffer_);
return tmp[i];
}
-ACE_INLINE const IOP::TaggedProfile &
+ACE_INLINE
+const IOP::TaggedProfile &
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i) const
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedProfile * const tmp = ACE_reinterpret_cast (IOP::TaggedProfile* ACE_CAST_CONST, this->buffer_);
+ 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 *
+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_);
+ // 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;
+ 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 *
+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_);
+ 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)
+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);
- }
+ {
+ 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
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
+
// *************************************************************
// Inline operations for class IOP::TaggedComponent_var
// *************************************************************
ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (void) // default constructor
+IOP::TaggedComponent_var::TaggedComponent_var (void)
: ptr_ (0)
{}
@@ -596,42 +673,52 @@ IOP::TaggedComponent_var::TaggedComponent_var (TaggedComponent *p)
{}
ACE_INLINE
-IOP::TaggedComponent_var::TaggedComponent_var (const ::IOP::TaggedComponent_var &p) // copy constructor
+IOP::TaggedComponent_var::TaggedComponent_var (const ::IOP::TaggedComponent_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::TaggedComponent (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::TaggedComponent (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::TaggedComponent_var::~TaggedComponent_var (void) // destructor
+IOP::TaggedComponent_var::~TaggedComponent_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::TaggedComponent_var &
-IOP::TaggedComponent_var::operator= (TaggedComponent *p)
+ACE_INLINE
+IOP::TaggedComponent_var &
+IOP::TaggedComponent_var::operator= (TaggedComponent *_tao_struct_var)
{
delete this->ptr_;
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_var;
return *this;
}
-ACE_INLINE ::IOP::TaggedComponent_var &
-IOP::TaggedComponent_var::operator= (const ::IOP::TaggedComponent_var &p)
+ACE_INLINE
+::IOP::TaggedComponent_var &
+IOP::TaggedComponent_var::operator= (const ::IOP::TaggedComponent_var &_tao_struct_var)
{
- if (this != &p)
+ if (this != &_tao_struct_var)
{
- if (p.ptr_ == 0)
+ if (_tao_struct_var.ptr_ == 0)
{
delete this->ptr_;
this->ptr_ = 0;
}
else
{
- TaggedComponent *deep_copy =
- new TaggedComponent (*p.ptr_);
+ TaggedComponent *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ TaggedComponent (*_tao_struct_var.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -676,7 +763,7 @@ IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() const // cast
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::TaggedComponent_var::operator ::IOP::TaggedComponent *&() // cast
{
@@ -695,7 +782,7 @@ IOP::TaggedComponent_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// Mapping for variable size.
ACE_INLINE ::IOP::TaggedComponent *&
IOP::TaggedComponent_var::out (void)
{
@@ -718,6 +805,9 @@ IOP::TaggedComponent_var::ptr (void) const
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
+
// *************************************************************
// Inline operations for class IOP::TaggedComponent_out
// *************************************************************
@@ -730,7 +820,7 @@ IOP::TaggedComponent_out::TaggedComponent_out (::IOP::TaggedComponent *&p)
}
ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (TaggedComponent_var &p) // constructor from _var
+IOP::TaggedComponent_out::TaggedComponent_out (TaggedComponent_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -738,21 +828,23 @@ IOP::TaggedComponent_out::TaggedComponent_out (TaggedComponent_var &p) // constr
}
ACE_INLINE
-IOP::TaggedComponent_out::TaggedComponent_out (const ::IOP::TaggedComponent_out &p) // copy constructor
+IOP::TaggedComponent_out::TaggedComponent_out (const ::IOP::TaggedComponent_out &p)
: ptr_ (ACE_const_cast (TaggedComponent_out&, p).ptr_)
{}
-ACE_INLINE IOP::TaggedComponent_out &
+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 *p)
+ACE_INLINE
+IOP::TaggedComponent_out &
+IOP::TaggedComponent_out::operator= (TaggedComponent *_tao_struct_out)
{
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_out;
return *this;
}
@@ -774,192 +866,231 @@ IOP::TaggedComponent_out::operator-> (void)
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_
-// = Static operations.
-ACE_INLINE IOP::TaggedComponent *
+ACE_INLINE
+IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (CORBA::ULong size)
-// Allocate storage for the sequence.
{
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)
-// Free the sequence.
+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) // Default constructor.
+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) // Constructor using a maximum length value.
+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)
+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)
-// Copy constructor.
+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;
- }
+ {
+ 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;
- }
+ {
+ 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)
-// Assignment operator.
+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;
+ {
+ 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_);
+ 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_);
+ {
+ 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_);
+ 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];
+ {
+ tmp1[i] = tmp2[i];
+ }
return *this;
}
// = Accessors.
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i)
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
+ IOP::TaggedComponent* tmp =
+ ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
return tmp[i];
}
-ACE_INLINE const IOP::TaggedComponent &
+ACE_INLINE
+const IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i) const
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp = ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
+ 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 *
+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_);
+ // 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;
+ 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 *
+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_);
+ 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)
+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);
- }
+ {
+ 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
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
+
// *************************************************************
// Inline operations for class IOP::MultipleComponentProfile_var
// *************************************************************
ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (void) // default constructor
+IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (void)
: ptr_ (0)
{}
@@ -969,21 +1100,26 @@ IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (MultipleCompone
{}
ACE_INLINE
-IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (const ::IOP::MultipleComponentProfile_var &p) // copy constructor
+IOP::MultipleComponentProfile_var::MultipleComponentProfile_var (const ::IOP::MultipleComponentProfile_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::MultipleComponentProfile (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::MultipleComponentProfile (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::MultipleComponentProfile_var::~MultipleComponentProfile_var (void) // destructor
+IOP::MultipleComponentProfile_var::~MultipleComponentProfile_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::MultipleComponentProfile_var &
+ACE_INLINE
+IOP::MultipleComponentProfile_var &
IOP::MultipleComponentProfile_var::operator= (MultipleComponentProfile *p)
{
delete this->ptr_;
@@ -991,7 +1127,8 @@ IOP::MultipleComponentProfile_var::operator= (MultipleComponentProfile *p)
return *this;
}
-ACE_INLINE ::IOP::MultipleComponentProfile_var &
+ACE_INLINE
+::IOP::MultipleComponentProfile_var &
IOP::MultipleComponentProfile_var::operator= (const ::IOP::MultipleComponentProfile_var &p)
{
if (this != &p)
@@ -1003,8 +1140,12 @@ IOP::MultipleComponentProfile_var::operator= (const ::IOP::MultipleComponentProf
}
else
{
- MultipleComponentProfile *deep_copy =
- new MultipleComponentProfile (*p.ptr_);
+ MultipleComponentProfile *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ MultipleComponentProfile (*p.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -1019,69 +1160,75 @@ IOP::MultipleComponentProfile_var::operator= (const ::IOP::MultipleComponentProf
return *this;
}
-ACE_INLINE const ::IOP::MultipleComponentProfile *
+ACE_INLINE
+const ::IOP::MultipleComponentProfile *
IOP::MultipleComponentProfile_var::operator-> (void) const
{
return this->ptr_;
}
-ACE_INLINE ::IOP::MultipleComponentProfile *
+ACE_INLINE
+::IOP::MultipleComponentProfile *
IOP::MultipleComponentProfile_var::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::MultipleComponentProfile_var::operator const ::IOP::MultipleComponentProfile &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() const // cast
{
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile *&() // cast
{
return this->ptr_;
}
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::MultipleComponentProfile_var::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-ACE_INLINE const IOP::TaggedComponent &
+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 &
+ACE_INLINE
+const ::IOP::MultipleComponentProfile &
IOP::MultipleComponentProfile_var::in (void) const
{
return *this->ptr_;
}
-ACE_INLINE ::IOP::MultipleComponentProfile &
+ACE_INLINE
+::IOP::MultipleComponentProfile &
IOP::MultipleComponentProfile_var::inout (void)
{
return *this->ptr_;
}
-// mapping for variable size
-ACE_INLINE ::IOP::MultipleComponentProfile *&
+ACE_INLINE
+::IOP::MultipleComponentProfile *&
IOP::MultipleComponentProfile_var::out (void)
{
delete this->ptr_;
@@ -1089,7 +1236,8 @@ IOP::MultipleComponentProfile_var::out (void)
return this->ptr_;
}
-ACE_INLINE ::IOP::MultipleComponentProfile *
+ACE_INLINE
+::IOP::MultipleComponentProfile *
IOP::MultipleComponentProfile_var::_retn (void)
{
::IOP::MultipleComponentProfile *tmp = this->ptr_;
@@ -1097,12 +1245,16 @@ IOP::MultipleComponentProfile_var::_retn (void)
return tmp;
}
-ACE_INLINE ::IOP::MultipleComponentProfile *
+ACE_INLINE
+::IOP::MultipleComponentProfile *
IOP::MultipleComponentProfile_var::ptr (void) const
{
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
+
// *************************************************************
// Inline operations for class IOP::MultipleComponentProfile_out
// *************************************************************
@@ -1115,7 +1267,7 @@ IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleCompone
}
ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleComponentProfile_var &p) // constructor from _var
+IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleComponentProfile_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -1123,237 +1275,280 @@ IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (MultipleCompone
}
ACE_INLINE
-IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (const ::IOP::MultipleComponentProfile_out &p) // copy constructor
+IOP::MultipleComponentProfile_out::MultipleComponentProfile_out (const ::IOP::MultipleComponentProfile_out &p)
: ptr_ (ACE_const_cast (MultipleComponentProfile_out&, p).ptr_)
{}
-ACE_INLINE ::IOP::MultipleComponentProfile_out &
+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 &
+ACE_INLINE
+::IOP::MultipleComponentProfile_out &
IOP::MultipleComponentProfile_out::operator= (MultipleComponentProfile *p)
{
this->ptr_ = p;
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::MultipleComponentProfile_out::operator ::IOP::MultipleComponentProfile *&() // cast
{
return this->ptr_;
}
-ACE_INLINE ::IOP::MultipleComponentProfile *&
+ACE_INLINE
+::IOP::MultipleComponentProfile *&
IOP::MultipleComponentProfile_out::ptr (void) // ptr
{
return this->ptr_;
}
-ACE_INLINE ::IOP::MultipleComponentProfile *
+ACE_INLINE
+::IOP::MultipleComponentProfile *
IOP::MultipleComponentProfile_out::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_
-// = Static operations.
-ACE_INLINE IOP::TaggedComponent *
+ACE_INLINE
+IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (CORBA::ULong size)
-// Allocate storage for the sequence.
{
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)
-// Free the sequence.
+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) // Default constructor.
+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) // Constructor using a maximum length value.
+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)
+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)
-// Copy constructor.
+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;
- }
+ {
+ 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;
- }
+ {
+ 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)
-// Assignment operator.
+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;
+ {
+ 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_);
+ 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_);
+ {
+ 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_);
+ 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];
+ {
+ tmp1[i] = tmp2[i];
+ }
return *this;
}
// = Accessors.
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i)
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
+ IOP::TaggedComponent* tmp =
+ ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
return tmp[i];
}
-ACE_INLINE const IOP::TaggedComponent &
+ACE_INLINE
+const IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i) const
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp = ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
+ 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 *
+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_);
+ // 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;
+ 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 *
+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_);
+ 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)
+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);
- }
+ {
+ 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
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
+
// *************************************************************
// Inline operations for class IOP::TaggedComponentList_var
// *************************************************************
ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (void) // default constructor
+IOP::TaggedComponentList_var::TaggedComponentList_var (void)
: ptr_ (0)
{}
@@ -1363,21 +1558,26 @@ IOP::TaggedComponentList_var::TaggedComponentList_var (TaggedComponentList *p)
{}
ACE_INLINE
-IOP::TaggedComponentList_var::TaggedComponentList_var (const ::IOP::TaggedComponentList_var &p) // copy constructor
+IOP::TaggedComponentList_var::TaggedComponentList_var (const ::IOP::TaggedComponentList_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::TaggedComponentList (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::TaggedComponentList (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::TaggedComponentList_var::~TaggedComponentList_var (void) // destructor
+IOP::TaggedComponentList_var::~TaggedComponentList_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::TaggedComponentList_var &
+ACE_INLINE
+IOP::TaggedComponentList_var &
IOP::TaggedComponentList_var::operator= (TaggedComponentList *p)
{
delete this->ptr_;
@@ -1385,7 +1585,8 @@ IOP::TaggedComponentList_var::operator= (TaggedComponentList *p)
return *this;
}
-ACE_INLINE ::IOP::TaggedComponentList_var &
+ACE_INLINE
+::IOP::TaggedComponentList_var &
IOP::TaggedComponentList_var::operator= (const ::IOP::TaggedComponentList_var &p)
{
if (this != &p)
@@ -1397,8 +1598,12 @@ IOP::TaggedComponentList_var::operator= (const ::IOP::TaggedComponentList_var &p
}
else
{
- TaggedComponentList *deep_copy =
- new TaggedComponentList (*p.ptr_);
+ TaggedComponentList *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ TaggedComponentList (*p.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -1413,69 +1618,75 @@ IOP::TaggedComponentList_var::operator= (const ::IOP::TaggedComponentList_var &p
return *this;
}
-ACE_INLINE const ::IOP::TaggedComponentList *
+ACE_INLINE
+const ::IOP::TaggedComponentList *
IOP::TaggedComponentList_var::operator-> (void) const
{
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentList *
+ACE_INLINE
+::IOP::TaggedComponentList *
IOP::TaggedComponentList_var::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentList_var::operator const ::IOP::TaggedComponentList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() const // cast
{
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList *&() // cast
{
return this->ptr_;
}
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::TaggedComponentList_var::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-ACE_INLINE const IOP::TaggedComponent &
+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 &
+ACE_INLINE
+const ::IOP::TaggedComponentList &
IOP::TaggedComponentList_var::in (void) const
{
return *this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentList &
+ACE_INLINE
+::IOP::TaggedComponentList &
IOP::TaggedComponentList_var::inout (void)
{
return *this->ptr_;
}
-// mapping for variable size
-ACE_INLINE ::IOP::TaggedComponentList *&
+ACE_INLINE
+::IOP::TaggedComponentList *&
IOP::TaggedComponentList_var::out (void)
{
delete this->ptr_;
@@ -1483,7 +1694,8 @@ IOP::TaggedComponentList_var::out (void)
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentList *
+ACE_INLINE
+::IOP::TaggedComponentList *
IOP::TaggedComponentList_var::_retn (void)
{
::IOP::TaggedComponentList *tmp = this->ptr_;
@@ -1491,12 +1703,16 @@ IOP::TaggedComponentList_var::_retn (void)
return tmp;
}
-ACE_INLINE ::IOP::TaggedComponentList *
+ACE_INLINE
+::IOP::TaggedComponentList *
IOP::TaggedComponentList_var::ptr (void) const
{
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
+
// *************************************************************
// Inline operations for class IOP::TaggedComponentList_out
// *************************************************************
@@ -1509,7 +1725,7 @@ IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList *&p)
}
ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList_var &p) // constructor from _var
+IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -1517,237 +1733,280 @@ IOP::TaggedComponentList_out::TaggedComponentList_out (TaggedComponentList_var &
}
ACE_INLINE
-IOP::TaggedComponentList_out::TaggedComponentList_out (const ::IOP::TaggedComponentList_out &p) // copy constructor
+IOP::TaggedComponentList_out::TaggedComponentList_out (const ::IOP::TaggedComponentList_out &p)
: ptr_ (ACE_const_cast (TaggedComponentList_out&, p).ptr_)
{}
-ACE_INLINE ::IOP::TaggedComponentList_out &
+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 &
+ACE_INLINE
+::IOP::TaggedComponentList_out &
IOP::TaggedComponentList_out::operator= (TaggedComponentList *p)
{
this->ptr_ = p;
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentList_out::operator ::IOP::TaggedComponentList *&() // cast
{
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentList *&
+ACE_INLINE
+::IOP::TaggedComponentList *&
IOP::TaggedComponentList_out::ptr (void) // ptr
{
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentList *
+ACE_INLINE
+::IOP::TaggedComponentList *
IOP::TaggedComponentList_out::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_
-// = Static operations.
-ACE_INLINE IOP::TaggedComponent *
+ACE_INLINE
+IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (CORBA::ULong size)
-// Allocate storage for the sequence.
{
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)
-// Free the sequence.
+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) // Default constructor.
+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) // Constructor using a maximum length value.
+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)
+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)
-// Copy constructor.
+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;
- }
+ {
+ 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;
- }
+ {
+ 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)
-// Assignment operator.
+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;
+ {
+ 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_);
+ 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_);
+ {
+ 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_);
+ 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];
+ {
+ tmp1[i] = tmp2[i];
+ }
return *this;
}
// = Accessors.
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i)
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent* tmp = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
+ IOP::TaggedComponent* tmp =
+ ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
return tmp[i];
}
-ACE_INLINE const IOP::TaggedComponent &
+ACE_INLINE
+const IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i) const
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::TaggedComponent * const tmp = ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
+ 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 *
+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_);
+ // 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;
+ 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 *
+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_);
+ 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)
+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);
- }
+ {
+ 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
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
+
// *************************************************************
// Inline operations for class IOP::TaggedComponentSeq_var
// *************************************************************
ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (void) // default constructor
+IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (void)
: ptr_ (0)
{}
@@ -1757,21 +2016,26 @@ IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (TaggedComponentSeq *p)
{}
ACE_INLINE
-IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (const ::IOP::TaggedComponentSeq_var &p) // copy constructor
+IOP::TaggedComponentSeq_var::TaggedComponentSeq_var (const ::IOP::TaggedComponentSeq_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::TaggedComponentSeq (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::TaggedComponentSeq (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::TaggedComponentSeq_var::~TaggedComponentSeq_var (void) // destructor
+IOP::TaggedComponentSeq_var::~TaggedComponentSeq_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::TaggedComponentSeq_var &
+ACE_INLINE
+IOP::TaggedComponentSeq_var &
IOP::TaggedComponentSeq_var::operator= (TaggedComponentSeq *p)
{
delete this->ptr_;
@@ -1779,7 +2043,8 @@ IOP::TaggedComponentSeq_var::operator= (TaggedComponentSeq *p)
return *this;
}
-ACE_INLINE ::IOP::TaggedComponentSeq_var &
+ACE_INLINE
+::IOP::TaggedComponentSeq_var &
IOP::TaggedComponentSeq_var::operator= (const ::IOP::TaggedComponentSeq_var &p)
{
if (this != &p)
@@ -1791,8 +2056,12 @@ IOP::TaggedComponentSeq_var::operator= (const ::IOP::TaggedComponentSeq_var &p)
}
else
{
- TaggedComponentSeq *deep_copy =
- new TaggedComponentSeq (*p.ptr_);
+ TaggedComponentSeq *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ TaggedComponentSeq (*p.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -1807,69 +2076,75 @@ IOP::TaggedComponentSeq_var::operator= (const ::IOP::TaggedComponentSeq_var &p)
return *this;
}
-ACE_INLINE const ::IOP::TaggedComponentSeq *
+ACE_INLINE
+const ::IOP::TaggedComponentSeq *
IOP::TaggedComponentSeq_var::operator-> (void) const
{
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentSeq *
+ACE_INLINE
+::IOP::TaggedComponentSeq *
IOP::TaggedComponentSeq_var::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentSeq_var::operator const ::IOP::TaggedComponentSeq &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() const // cast
{
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq *&() // cast
{
return this->ptr_;
}
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::TaggedComponentSeq_var::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-ACE_INLINE const IOP::TaggedComponent &
+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 &
+ACE_INLINE
+const ::IOP::TaggedComponentSeq &
IOP::TaggedComponentSeq_var::in (void) const
{
return *this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentSeq &
+ACE_INLINE
+::IOP::TaggedComponentSeq &
IOP::TaggedComponentSeq_var::inout (void)
{
return *this->ptr_;
}
-// mapping for variable size
-ACE_INLINE ::IOP::TaggedComponentSeq *&
+ACE_INLINE
+::IOP::TaggedComponentSeq *&
IOP::TaggedComponentSeq_var::out (void)
{
delete this->ptr_;
@@ -1877,7 +2152,8 @@ IOP::TaggedComponentSeq_var::out (void)
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentSeq *
+ACE_INLINE
+::IOP::TaggedComponentSeq *
IOP::TaggedComponentSeq_var::_retn (void)
{
::IOP::TaggedComponentSeq *tmp = this->ptr_;
@@ -1885,12 +2161,16 @@ IOP::TaggedComponentSeq_var::_retn (void)
return tmp;
}
-ACE_INLINE ::IOP::TaggedComponentSeq *
+ACE_INLINE
+::IOP::TaggedComponentSeq *
IOP::TaggedComponentSeq_var::ptr (void) const
{
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
+
// *************************************************************
// Inline operations for class IOP::TaggedComponentSeq_out
// *************************************************************
@@ -1903,7 +2183,7 @@ IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq *&p)
}
ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq_var &p) // constructor from _var
+IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -1911,57 +2191,64 @@ IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (TaggedComponentSeq_var &p)
}
ACE_INLINE
-IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (const ::IOP::TaggedComponentSeq_out &p) // copy constructor
+IOP::TaggedComponentSeq_out::TaggedComponentSeq_out (const ::IOP::TaggedComponentSeq_out &p)
: ptr_ (ACE_const_cast (TaggedComponentSeq_out&, p).ptr_)
{}
-ACE_INLINE ::IOP::TaggedComponentSeq_out &
+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 &
+ACE_INLINE
+::IOP::TaggedComponentSeq_out &
IOP::TaggedComponentSeq_out::operator= (TaggedComponentSeq *p)
{
this->ptr_ = p;
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentSeq_out::operator ::IOP::TaggedComponentSeq *&() // cast
{
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentSeq *&
+ACE_INLINE
+::IOP::TaggedComponentSeq *&
IOP::TaggedComponentSeq_out::ptr (void) // ptr
{
return this->ptr_;
}
-ACE_INLINE ::IOP::TaggedComponentSeq *
+ACE_INLINE
+::IOP::TaggedComponentSeq *
IOP::TaggedComponentSeq_out::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE IOP::TaggedComponent &
+ACE_INLINE
+IOP::TaggedComponent &
IOP::TaggedComponentSeq_out::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
+
// *************************************************************
// Inline operations for class IOP::ServiceContext_var
// *************************************************************
ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (void) // default constructor
+IOP::ServiceContext_var::ServiceContext_var (void)
: ptr_ (0)
{}
@@ -1971,42 +2258,52 @@ IOP::ServiceContext_var::ServiceContext_var (ServiceContext *p)
{}
ACE_INLINE
-IOP::ServiceContext_var::ServiceContext_var (const ::IOP::ServiceContext_var &p) // copy constructor
+IOP::ServiceContext_var::ServiceContext_var (const ::IOP::ServiceContext_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::ServiceContext (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::ServiceContext (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::ServiceContext_var::~ServiceContext_var (void) // destructor
+IOP::ServiceContext_var::~ServiceContext_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::ServiceContext_var &
-IOP::ServiceContext_var::operator= (ServiceContext *p)
+ACE_INLINE
+IOP::ServiceContext_var &
+IOP::ServiceContext_var::operator= (ServiceContext *_tao_struct_var)
{
delete this->ptr_;
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_var;
return *this;
}
-ACE_INLINE ::IOP::ServiceContext_var &
-IOP::ServiceContext_var::operator= (const ::IOP::ServiceContext_var &p)
+ACE_INLINE
+::IOP::ServiceContext_var &
+IOP::ServiceContext_var::operator= (const ::IOP::ServiceContext_var &_tao_struct_var)
{
- if (this != &p)
+ if (this != &_tao_struct_var)
{
- if (p.ptr_ == 0)
+ if (_tao_struct_var.ptr_ == 0)
{
delete this->ptr_;
this->ptr_ = 0;
}
else
{
- ServiceContext *deep_copy =
- new ServiceContext (*p.ptr_);
+ ServiceContext *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ ServiceContext (*_tao_struct_var.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -2051,7 +2348,7 @@ IOP::ServiceContext_var::operator ::IOP::ServiceContext &() const // cast
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::ServiceContext_var::operator ::IOP::ServiceContext *&() // cast
{
@@ -2070,7 +2367,7 @@ IOP::ServiceContext_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// Mapping for variable size.
ACE_INLINE ::IOP::ServiceContext *&
IOP::ServiceContext_var::out (void)
{
@@ -2093,6 +2390,9 @@ IOP::ServiceContext_var::ptr (void) const
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:523
+
// *************************************************************
// Inline operations for class IOP::ServiceContext_out
// *************************************************************
@@ -2105,7 +2405,7 @@ IOP::ServiceContext_out::ServiceContext_out (::IOP::ServiceContext *&p)
}
ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (ServiceContext_var &p) // constructor from _var
+IOP::ServiceContext_out::ServiceContext_out (ServiceContext_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -2113,21 +2413,23 @@ IOP::ServiceContext_out::ServiceContext_out (ServiceContext_var &p) // construct
}
ACE_INLINE
-IOP::ServiceContext_out::ServiceContext_out (const ::IOP::ServiceContext_out &p) // copy constructor
+IOP::ServiceContext_out::ServiceContext_out (const ::IOP::ServiceContext_out &p)
: ptr_ (ACE_const_cast (ServiceContext_out&, p).ptr_)
{}
-ACE_INLINE IOP::ServiceContext_out &
+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 *p)
+ACE_INLINE
+IOP::ServiceContext_out &
+IOP::ServiceContext_out::operator= (ServiceContext *_tao_struct_out)
{
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_out;
return *this;
}
@@ -2149,192 +2451,231 @@ IOP::ServiceContext_out::operator-> (void)
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_
-// = Static operations.
-ACE_INLINE IOP::ServiceContext *
+ACE_INLINE
+IOP::ServiceContext *
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (CORBA::ULong size)
-// Allocate storage for the sequence.
{
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)
-// Free the sequence.
+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) // Default constructor.
+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) // Constructor using a maximum length value.
+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)
+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)
-// Copy constructor.
+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;
- }
+ {
+ 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;
- }
+ {
+ 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)
-// Assignment operator.
+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;
+ {
+ 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_);
+ 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_);
+ {
+ 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_);
+ 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];
+ {
+ tmp1[i] = tmp2[i];
+ }
return *this;
}
// = Accessors.
-ACE_INLINE IOP::ServiceContext &
+ACE_INLINE
+IOP::ServiceContext &
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i)
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::ServiceContext* tmp = ACE_reinterpret_cast(IOP::ServiceContext*,this->buffer_);
+ IOP::ServiceContext* tmp =
+ ACE_reinterpret_cast (IOP::ServiceContext*, this->buffer_);
return tmp[i];
}
-ACE_INLINE const IOP::ServiceContext &
+ACE_INLINE
+const IOP::ServiceContext &
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i) const
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- IOP::ServiceContext * const tmp = ACE_reinterpret_cast (IOP::ServiceContext* ACE_CAST_CONST, this->buffer_);
+ 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 *
+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_);
+ // 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;
+ 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 *
+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_);
+ 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)
+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);
- }
+ {
+ 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
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:226
+
// *************************************************************
// Inline operations for class IOP::ServiceContextList_var
// *************************************************************
ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (void) // default constructor
+IOP::ServiceContextList_var::ServiceContextList_var (void)
: ptr_ (0)
{}
@@ -2344,21 +2685,26 @@ IOP::ServiceContextList_var::ServiceContextList_var (ServiceContextList *p)
{}
ACE_INLINE
-IOP::ServiceContextList_var::ServiceContextList_var (const ::IOP::ServiceContextList_var &p) // copy constructor
+IOP::ServiceContextList_var::ServiceContextList_var (const ::IOP::ServiceContextList_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::ServiceContextList (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::ServiceContextList (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
ACE_INLINE
-IOP::ServiceContextList_var::~ServiceContextList_var (void) // destructor
+IOP::ServiceContextList_var::~ServiceContextList_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::ServiceContextList_var &
+ACE_INLINE
+IOP::ServiceContextList_var &
IOP::ServiceContextList_var::operator= (ServiceContextList *p)
{
delete this->ptr_;
@@ -2366,7 +2712,8 @@ IOP::ServiceContextList_var::operator= (ServiceContextList *p)
return *this;
}
-ACE_INLINE ::IOP::ServiceContextList_var &
+ACE_INLINE
+::IOP::ServiceContextList_var &
IOP::ServiceContextList_var::operator= (const ::IOP::ServiceContextList_var &p)
{
if (this != &p)
@@ -2378,8 +2725,12 @@ IOP::ServiceContextList_var::operator= (const ::IOP::ServiceContextList_var &p)
}
else
{
- ServiceContextList *deep_copy =
- new ServiceContextList (*p.ptr_);
+ ServiceContextList *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ ServiceContextList (*p.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -2394,69 +2745,75 @@ IOP::ServiceContextList_var::operator= (const ::IOP::ServiceContextList_var &p)
return *this;
}
-ACE_INLINE const ::IOP::ServiceContextList *
+ACE_INLINE
+const ::IOP::ServiceContextList *
IOP::ServiceContextList_var::operator-> (void) const
{
return this->ptr_;
}
-ACE_INLINE ::IOP::ServiceContextList *
+ACE_INLINE
+::IOP::ServiceContextList *
IOP::ServiceContextList_var::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::ServiceContextList_var::operator const ::IOP::ServiceContextList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() const // cast
{
return *this->ptr_;
}
-// variable-size types only
+// Variable-size types only.
ACE_INLINE
IOP::ServiceContextList_var::operator ::IOP::ServiceContextList *&() // cast
{
return this->ptr_;
}
-ACE_INLINE IOP::ServiceContext &
+ACE_INLINE
+IOP::ServiceContext &
IOP::ServiceContextList_var::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-ACE_INLINE const IOP::ServiceContext &
+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 &
+ACE_INLINE
+const ::IOP::ServiceContextList &
IOP::ServiceContextList_var::in (void) const
{
return *this->ptr_;
}
-ACE_INLINE ::IOP::ServiceContextList &
+ACE_INLINE
+::IOP::ServiceContextList &
IOP::ServiceContextList_var::inout (void)
{
return *this->ptr_;
}
-// mapping for variable size
-ACE_INLINE ::IOP::ServiceContextList *&
+ACE_INLINE
+::IOP::ServiceContextList *&
IOP::ServiceContextList_var::out (void)
{
delete this->ptr_;
@@ -2464,7 +2821,8 @@ IOP::ServiceContextList_var::out (void)
return this->ptr_;
}
-ACE_INLINE ::IOP::ServiceContextList *
+ACE_INLINE
+::IOP::ServiceContextList *
IOP::ServiceContextList_var::_retn (void)
{
::IOP::ServiceContextList *tmp = this->ptr_;
@@ -2472,12 +2830,16 @@ IOP::ServiceContextList_var::_retn (void)
return tmp;
}
-ACE_INLINE ::IOP::ServiceContextList *
+ACE_INLINE
+::IOP::ServiceContextList *
IOP::ServiceContextList_var::ptr (void) const
{
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ci.cpp:567
+
// *************************************************************
// Inline operations for class IOP::ServiceContextList_out
// *************************************************************
@@ -2490,7 +2852,7 @@ IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList *&p)
}
ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList_var &p) // constructor from _var
+IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList_var &p)
: ptr_ (p.out ())
{
delete this->ptr_;
@@ -2498,76 +2860,79 @@ IOP::ServiceContextList_out::ServiceContextList_out (ServiceContextList_var &p)
}
ACE_INLINE
-IOP::ServiceContextList_out::ServiceContextList_out (const ::IOP::ServiceContextList_out &p) // copy constructor
+IOP::ServiceContextList_out::ServiceContextList_out (const ::IOP::ServiceContextList_out &p)
: ptr_ (ACE_const_cast (ServiceContextList_out&, p).ptr_)
{}
-ACE_INLINE ::IOP::ServiceContextList_out &
+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 &
+ACE_INLINE
+::IOP::ServiceContextList_out &
IOP::ServiceContextList_out::operator= (ServiceContextList *p)
{
this->ptr_ = p;
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::ServiceContextList_out::operator ::IOP::ServiceContextList *&() // cast
{
return this->ptr_;
}
-ACE_INLINE ::IOP::ServiceContextList *&
+ACE_INLINE
+::IOP::ServiceContextList *&
IOP::ServiceContextList_out::ptr (void) // ptr
{
return this->ptr_;
}
-ACE_INLINE ::IOP::ServiceContextList *
+ACE_INLINE
+::IOP::ServiceContextList *
IOP::ServiceContextList_out::operator-> (void)
{
return this->ptr_;
}
-ACE_INLINE IOP::ServiceContext &
+ACE_INLINE
+IOP::ServiceContext &
IOP::ServiceContextList_out::operator[] (CORBA::ULong index)
{
return this->ptr_->operator[] (index);
}
-
#endif /* end #if !defined */
-// *************************************************************
-// Inline operations for exception IOP::Codec::InvalidTypeForEncoding
-// *************************************************************
-
-// *************************************************************
-// Inline operations for exception IOP::Codec::FormatMismatch
-// *************************************************************
-
-// *************************************************************
-// Inline operations for exception IOP::Codec::TypeMismatch
-// *************************************************************
-
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_IOP_CODEC___CI_)
#define _IOP_CODEC___CI_
+ACE_INLINE
+CORBA::Boolean
+IOP::Codec::marshal (TAO_OutputCDR &)
+{
+ return 0;
+}
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
+
// *************************************************************
// Inline operations for class IOP::Encoding_var
// *************************************************************
ACE_INLINE
-IOP::Encoding_var::Encoding_var (void) // default constructor
+IOP::Encoding_var::Encoding_var (void)
: ptr_ (0)
{}
@@ -2577,15 +2942,19 @@ IOP::Encoding_var::Encoding_var (Encoding *p)
{}
ACE_INLINE
-IOP::Encoding_var::Encoding_var (const ::IOP::Encoding_var &p) // copy constructor
+IOP::Encoding_var::Encoding_var (const ::IOP::Encoding_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::IOP::Encoding (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::IOP::Encoding (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
-// fixed-size types only
+// Fixed-size types only.
ACE_INLINE
IOP::Encoding_var::Encoding_var (const ::IOP::Encoding &p)
{
@@ -2593,33 +2962,39 @@ IOP::Encoding_var::Encoding_var (const ::IOP::Encoding &p)
}
ACE_INLINE
-IOP::Encoding_var::~Encoding_var (void) // destructor
+IOP::Encoding_var::~Encoding_var (void)
{
delete this->ptr_;
}
-ACE_INLINE IOP::Encoding_var &
-IOP::Encoding_var::operator= (Encoding *p)
+ACE_INLINE
+IOP::Encoding_var &
+IOP::Encoding_var::operator= (Encoding *_tao_struct_var)
{
delete this->ptr_;
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_var;
return *this;
}
-ACE_INLINE ::IOP::Encoding_var &
-IOP::Encoding_var::operator= (const ::IOP::Encoding_var &p)
+ACE_INLINE
+::IOP::Encoding_var &
+IOP::Encoding_var::operator= (const ::IOP::Encoding_var &_tao_struct_var)
{
- if (this != &p)
+ if (this != &_tao_struct_var)
{
- if (p.ptr_ == 0)
+ if (_tao_struct_var.ptr_ == 0)
{
delete this->ptr_;
this->ptr_ = 0;
}
else
{
- Encoding *deep_copy =
- new Encoding (*p.ptr_);
+ Encoding *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ Encoding (*_tao_struct_var.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -2641,8 +3016,13 @@ IOP::Encoding_var::operator= (const ::IOP::Encoding &p)
if (this->ptr_ != &p)
{
delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::IOP::Encoding (p), *this);
+ ACE_NEW_RETURN (
+ this->ptr_,
+ ::IOP::Encoding (p),
+ *this
+ );
}
+
return *this;
}
@@ -2707,17 +3087,23 @@ IOP::Encoding_var::ptr (void) const
return this->ptr_;
}
-// *************************************************************
-// Inline operations for exception IOP::CodecFactory::UnknownEncoding
-// *************************************************************
-
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_IOP_CODECFACTORY___CI_)
#define _IOP_CODECFACTORY___CI_
+ACE_INLINE
+CORBA::Boolean
+IOP::CodecFactory::marshal (TAO_OutputCDR &)
+{
+ return 0;
+}
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_
#define _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_
@@ -2726,6 +3112,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::TaggedProfile::_tao_seq_Octet &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::TaggedProfile::_tao_seq_Octet &
@@ -2733,30 +3120,49 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedProfile__tao_seq_Octet_I_ */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::TaggedProfile &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const IOP::TaggedProfile &_tao_aggregate
+ )
{
if (
(strm << _tao_aggregate.tag) &&
(strm << _tao_aggregate.profile_data)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::TaggedProfile &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ IOP::TaggedProfile &_tao_aggregate
+ )
{
if (
(strm >> _tao_aggregate.tag) &&
(strm >> _tao_aggregate.profile_data)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_
#define _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_
@@ -2765,6 +3171,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::IOR::_tao_seq_TaggedProfile &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::IOR::_tao_seq_TaggedProfile &
@@ -2772,30 +3179,49 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_TaggedProfile_I_ */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::IOR &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const IOP::IOR &_tao_aggregate
+ )
{
if (
(strm << _tao_aggregate.type_id.in ()) &&
(strm << _tao_aggregate.profiles)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::IOR &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ IOP::IOR &_tao_aggregate
+ )
{
if (
(strm >> _tao_aggregate.type_id.out ()) &&
(strm >> _tao_aggregate.profiles)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_
#define _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_
@@ -2804,6 +3230,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::TaggedComponent::_tao_seq_Octet &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::TaggedComponent::_tao_seq_Octet &
@@ -2811,30 +3238,49 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponent__tao_seq_Octet_I_ */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::TaggedComponent &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const IOP::TaggedComponent &_tao_aggregate
+ )
{
if (
(strm << _tao_aggregate.tag) &&
(strm << _tao_aggregate.component_data)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::TaggedComponent &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ IOP::TaggedComponent &_tao_aggregate
+ )
{
if (
(strm >> _tao_aggregate.tag) &&
(strm >> _tao_aggregate.component_data)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_I_
#define _TAO_CDR_OP_IOP_MultipleComponentProfile_I_
@@ -2843,6 +3289,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::MultipleComponentProfile &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::MultipleComponentProfile &
@@ -2850,6 +3297,8 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_TaggedComponentList_I_
#define _TAO_CDR_OP_IOP_TaggedComponentList_I_
@@ -2858,6 +3307,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::TaggedComponentList &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::TaggedComponentList &
@@ -2865,6 +3315,8 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentList_I_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_I_
#define _TAO_CDR_OP_IOP_TaggedComponentSeq_I_
@@ -2873,6 +3325,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::TaggedComponentSeq &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::TaggedComponentSeq &
@@ -2880,6 +3333,8 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_
#define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_
@@ -2888,6 +3343,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::ServiceContext::_tao_seq_Octet &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::ServiceContext::_tao_seq_Octet &
@@ -2895,30 +3351,49 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_Octet_I_ */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::ServiceContext &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const IOP::ServiceContext &_tao_aggregate
+ )
{
if (
(strm << _tao_aggregate.context_id) &&
(strm << _tao_aggregate.context_data)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::ServiceContext &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ IOP::ServiceContext &_tao_aggregate
+ )
{
if (
(strm >> _tao_aggregate.context_id) &&
(strm >> _tao_aggregate.context_data)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_IOP_ServiceContextList_I_
#define _TAO_CDR_OP_IOP_ServiceContextList_I_
@@ -2927,6 +3402,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const IOP::ServiceContextList &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
IOP::ServiceContextList &
@@ -2934,29 +3410,46 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_IOP_ServiceContextList_I_ */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::Encoding &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const IOP::Encoding &_tao_aggregate
+ )
{
if (
(strm << _tao_aggregate.format) &&
(strm << CORBA::Any::from_octet (_tao_aggregate.major_version)) &&
(strm << CORBA::Any::from_octet (_tao_aggregate.minor_version))
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::Encoding &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ IOP::Encoding &_tao_aggregate
+ )
{
if (
(strm >> _tao_aggregate.format) &&
(strm >> CORBA::Any::to_octet (_tao_aggregate.major_version)) &&
(strm >> CORBA::Any::to_octet (_tao_aggregate.minor_version))
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp
index d66d67d67bb..d5cac9d2298 100644
--- a/TAO/tao/PolicyC.cpp
+++ b/TAO/tao/PolicyC.cpp
@@ -19,8 +19,11 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#include "PolicyC.h"
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314
+
+#include "PolicyC.h"
#include "tao/Stub.h"
#include "tao/Invocation.h"
#include "tao/PortableInterceptor.h"
@@ -31,6 +34,8 @@
#include "tao/ClientInterceptorAdapter.h"
#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
@@ -39,9 +44,12 @@
#include "PolicyC.i"
#endif /* !defined INLINE */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_CORBA_PolicyErrorCode[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
38,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
@@ -53,12 +61,12 @@ static const CORBA::Long _oc_CORBA_PolicyErrorCode[] =
ACE_NTOHL (0x72436f64),
ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/PolicyErrorCode:1.0
- 16,
+ 16,
ACE_NTOHL (0x506f6c69),
ACE_NTOHL (0x63794572),
ACE_NTOHL (0x726f7243),
ACE_NTOHL (0x6f646500), // name = PolicyErrorCode
- CORBA::tk_short,
+ CORBA::tk_short,
};
@@ -72,42 +80,28 @@ static CORBA::TypeCode _tc_TAO_tc_CORBA_PolicyErrorCode (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_PolicyErrorCode, &_tc_TAO_tc_CORBA_PolicyErrorCode)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_PolicyErrorCode,
+ &_tc_TAO_tc_CORBA_PolicyErrorCode
+ )
TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, BAD_POLICY, 0)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, UNSUPPORTED_POLICY, 1)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, BAD_POLICY_TYPE, 2)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, BAD_POLICY_VALUE, 3)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, UNSUPPORTED_POLICY_VALUE, 4)
-TAO_NAMESPACE_END
-// Default constructor.
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+
CORBA::PolicyError::PolicyError (void)
- : CORBA_UserException ("IDL:omg.org/CORBA/PolicyError:1.0",
- "PolicyError")
+ : CORBA_UserException (
+ "IDL:omg.org/CORBA/PolicyError:1.0",
+ "PolicyError"
+ )
{
}
-// Destructor - all members are of self managing types.
CORBA::PolicyError::~PolicyError (void)
{
}
-// Copy constructor.
CORBA::PolicyError::PolicyError (const ::CORBA::PolicyError &_tao_excp)
: CORBA_UserException (
_tao_excp._rep_id (),
@@ -117,7 +111,6 @@ CORBA::PolicyError::PolicyError (const ::CORBA::PolicyError &_tao_excp)
this->reason = _tao_excp.reason;
}
-// Assignment operator.
CORBA::PolicyError&
CORBA::PolicyError::operator= (const ::CORBA::PolicyError &_tao_excp)
{
@@ -133,11 +126,11 @@ void CORBA::PolicyError::_tao_any_destructor (void *_tao_void_pointer)
}
CORBA::PolicyError *
-CORBA::PolicyError::_downcast (CORBA::Exception *exc)
+CORBA::PolicyError::_downcast (CORBA::Exception *_tao_excp)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/PolicyError:1.0", exc->_rep_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/PolicyError:1.0", _tao_excp->_rep_id ()))
{
- return ACE_dynamic_cast (PolicyError *, exc);
+ return ACE_dynamic_cast (PolicyError *, _tao_excp);
}
else
{
@@ -164,7 +157,7 @@ CORBA::PolicyError::_tao_duplicate (void) const
return result;
}
-void CORBA::PolicyError::_raise ()
+void CORBA::PolicyError::_raise (void)
{
TAO_RAISE (*this);
}
@@ -195,18 +188,33 @@ void CORBA::PolicyError::_tao_decode (
ACE_THROW (CORBA::MARSHAL ());
}
+
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66
+
CORBA::PolicyError::PolicyError (
CORBA::PolicyErrorCode _tao_reason
- )
- : CORBA_UserException ("IDL:omg.org/CORBA/PolicyError:1.0",
- "PolicyError")
+ ) : CORBA_UserException (
+ "IDL:omg.org/CORBA/PolicyError:1.0",
+ "PolicyError"
+ )
{
this->reason = _tao_reason;
}
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr CORBA::PolicyError::_type (void) const
+{
+ return ::CORBA::_tc_PolicyError;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_CORBA_PolicyError[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
34,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
@@ -217,15 +225,15 @@ static const CORBA::Long _oc_CORBA_PolicyError[] =
ACE_NTOHL (0x4572726f),
ACE_NTOHL (0x723a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/PolicyError:1.0
- 12,
+ 12,
ACE_NTOHL (0x506f6c69),
ACE_NTOHL (0x63794572),
ACE_NTOHL (0x726f7200), // name = PolicyError
1, // member count
- 7,
+ 7,
ACE_NTOHL (0x72656173),
ACE_NTOHL (0x6f6e0000), // name = reason
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
72, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38,
@@ -239,12 +247,12 @@ static const CORBA::Long _oc_CORBA_PolicyError[] =
ACE_NTOHL (0x72436f64),
ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/PolicyErrorCode:1.0
- 16,
+ 16,
ACE_NTOHL (0x506f6c69),
ACE_NTOHL (0x63794572),
ACE_NTOHL (0x726f7243),
ACE_NTOHL (0x6f646500), // name = PolicyErrorCode
- CORBA::tk_short,
+ CORBA::tk_short,
};
@@ -259,16 +267,15 @@ static CORBA::TypeCode _tc_TAO_tc_CORBA_PolicyError (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_PolicyError, &_tc_TAO_tc_CORBA_PolicyError)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_PolicyError,
+ &_tc_TAO_tc_CORBA_PolicyError
+ )
TAO_NAMESPACE_END
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr CORBA::PolicyError::_type (void) const
-{
- return ::CORBA::_tc_PolicyError;
-}
-
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_cs.cpp:101
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
@@ -282,16 +289,21 @@ CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_U
tmp = _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (length);
if (this->buffer_ != 0)
- {
- CORBA::UShort *old = ACE_reinterpret_cast (CORBA::UShort *,this->buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp[i] = old[i];
-
- if (this->release_)
- _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (old);
-
- }
+ {
+ CORBA::UShort *old =
+ ACE_reinterpret_cast (CORBA::UShort *, this->buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ {
+ tmp[i] = old[i];
+ }
+
+ if (this->release_)
+ {
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (old);
+ }
+ }
+
this->buffer_ = tmp;
}
@@ -299,73 +311,93 @@ void
CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
- return;
-
- CORBA::UShort *tmp = ACE_reinterpret_cast (CORBA::UShort *,this->buffer_);
+ {
+ return;
+ }
+ CORBA::UShort *tmp =
+ ACE_reinterpret_cast (CORBA::UShort *, this->buffer_);
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (tmp);
this->buffer_ = 0;
}
-CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::~_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (void) // Dtor.
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::~_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (void)
{
this->_deallocate_buffer ();
}
-
#endif /* end #if !defined */
-
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CS_)
#define _CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CS_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:250
+
// *************************************************************
// CORBA::InvalidPolicies::_tao_seq_UShort
// *************************************************************
CORBA::InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (void)
{}
-CORBA::InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (CORBA::ULong max) // uses max size
+
+CORBA::InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (CORBA::ULong max)
:
+
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::UShort>
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
-CORBA::InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (CORBA::ULong max, CORBA::ULong length, CORBA::UShort *buffer, CORBA::Boolean release)
+
+CORBA::InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::UShort *buffer,
+ CORBA::Boolean release
+ )
:
+
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::UShort>
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
-CORBA::InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (const _tao_seq_UShort &seq) // copy ctor
+
+CORBA::InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (const _tao_seq_UShort &seq)
:
+
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::UShort>
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
+
CORBA::InvalidPolicies::_tao_seq_UShort::~_tao_seq_UShort (void) // dtor
{}
+
void CORBA::InvalidPolicies::_tao_seq_UShort::_tao_any_destructor (void *_tao_void_pointer)
{
_tao_seq_UShort *tmp = ACE_static_cast (_tao_seq_UShort*, _tao_void_pointer);
delete tmp;
}
-
#endif /* end #if !defined */
-// Default constructor.
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+
CORBA::InvalidPolicies::InvalidPolicies (void)
: CORBA_UserException (
"IDL:omg.org/CORBA/InvalidPolicies:1.0",
@@ -374,12 +406,10 @@ CORBA::InvalidPolicies::InvalidPolicies (void)
{
}
-// Destructor - all members are of self managing types.
CORBA::InvalidPolicies::~InvalidPolicies (void)
{
}
-// Copy constructor.
CORBA::InvalidPolicies::InvalidPolicies (const ::CORBA::InvalidPolicies &_tao_excp)
: CORBA_UserException (
_tao_excp._rep_id (),
@@ -389,7 +419,6 @@ CORBA::InvalidPolicies::InvalidPolicies (const ::CORBA::InvalidPolicies &_tao_ex
this->indices = _tao_excp.indices;
}
-// Assignment operator.
CORBA::InvalidPolicies&
CORBA::InvalidPolicies::operator= (const ::CORBA::InvalidPolicies &_tao_excp)
{
@@ -405,11 +434,11 @@ void CORBA::InvalidPolicies::_tao_any_destructor (void *_tao_void_pointer)
}
CORBA::InvalidPolicies *
-CORBA::InvalidPolicies::_downcast (CORBA::Exception *exc)
+CORBA::InvalidPolicies::_downcast (CORBA::Exception *_tao_excp)
{
- if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/InvalidPolicies:1.0", exc->_rep_id ()))
+ if (!ACE_OS::strcmp ("IDL:omg.org/CORBA/InvalidPolicies:1.0", _tao_excp->_rep_id ()))
{
- return ACE_dynamic_cast (InvalidPolicies *, exc);
+ return ACE_dynamic_cast (InvalidPolicies *, _tao_excp);
}
else
{
@@ -436,7 +465,7 @@ CORBA::InvalidPolicies::_tao_duplicate (void) const
return result;
}
-void CORBA::InvalidPolicies::_raise ()
+void CORBA::InvalidPolicies::_raise (void)
{
TAO_RAISE (*this);
}
@@ -467,10 +496,14 @@ void CORBA::InvalidPolicies::_tao_decode (
ACE_THROW (CORBA::MARSHAL ());
}
+
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66
+
CORBA::InvalidPolicies::InvalidPolicies (
const CORBA::InvalidPolicies::_tao_seq_UShort & _tao_indices
- )
- : CORBA_UserException (
+ ) : CORBA_UserException (
"IDL:omg.org/CORBA/InvalidPolicies:1.0",
"InvalidPolicies"
)
@@ -478,9 +511,18 @@ CORBA::InvalidPolicies::InvalidPolicies (
this->indices = _tao_indices;
}
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr CORBA::InvalidPolicies::_type (void) const
+{
+ return ::CORBA::_tc_InvalidPolicies;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_CORBA_InvalidPolicies[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
38,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
@@ -492,16 +534,16 @@ static const CORBA::Long _oc_CORBA_InvalidPolicies[] =
ACE_NTOHL (0x69636965),
ACE_NTOHL (0x733a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/InvalidPolicies:1.0
- 16,
+ 16,
ACE_NTOHL (0x496e7661),
ACE_NTOHL (0x6c696450),
ACE_NTOHL (0x6f6c6963),
ACE_NTOHL (0x69657300), // name = InvalidPolicies
1, // member count
- 8,
+ 8,
ACE_NTOHL (0x696e6469),
ACE_NTOHL (0x63657300), // name = indices
- CORBA::tk_sequence, // typecode kind
+ CORBA::tk_sequence, // typecode kind
12, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
CORBA::tk_ushort,
@@ -520,19 +562,15 @@ static CORBA::TypeCode _tc_TAO_tc_CORBA_InvalidPolicies (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_InvalidPolicies, &_tc_TAO_tc_CORBA_InvalidPolicies)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_InvalidPolicies,
+ &_tc_TAO_tc_CORBA_InvalidPolicies
+ )
TAO_NAMESPACE_END
-
-// TAO extension - the virtual _type method.
-CORBA::TypeCode_ptr CORBA::InvalidPolicies::_type (void) const
-{
- return ::CORBA::_tc_InvalidPolicies;
-}
-
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:67
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
int CORBA::Policy::_tao_class_id = 0;
@@ -579,13 +617,23 @@ tao_CORBA_Policy_upcast (
return *tmp;
}
+CORBA::Boolean
+tao_CORBA_Policy_marshal (
+ CORBA::Policy_ptr p,
+ TAO_OutputCDR &strm
+ )
+{
+ return p->marshal (strm);
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
+
// *************************************************************
// CORBA::Policy_var
-// TAO_IDL - Generated from
-// be/be_interface.cpp:654
// *************************************************************
-CORBA::Policy_var::Policy_var (void) // default constructor
+CORBA::Policy_var::Policy_var (void)
: ptr_ (Policy::_nil ())
{}
@@ -595,12 +643,12 @@ CORBA::Policy_var::ptr (void) const
return this->ptr_;
}
-CORBA::Policy_var::Policy_var (const ::CORBA::Policy_var &p) // copy constructor
+CORBA::Policy_var::Policy_var (const ::CORBA::Policy_var &p)
: TAO_Base_var (),
ptr_ (Policy::_duplicate (p.ptr ()))
{}
-CORBA::Policy_var::~Policy_var (void) // destructor
+CORBA::Policy_var::~Policy_var (void)
{
CORBA::release (this->ptr_);
}
@@ -704,10 +752,11 @@ CORBA::Policy_var::tao_upcast (void *src)
return *tmp;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
+
// *************************************************************
// CORBA::Policy_out
-// TAO_IDL - Generated from
-// be/be_interface.cpp:932
// *************************************************************
CORBA::Policy_out::Policy_out (Policy_ptr &p)
@@ -716,14 +765,14 @@ CORBA::Policy_out::Policy_out (Policy_ptr &p)
this->ptr_ = ::CORBA::Policy::_nil ();
}
-CORBA::Policy_out::Policy_out (Policy_var &p) // constructor from _var
+CORBA::Policy_out::Policy_out (Policy_var &p)
: ptr_ (p.out ())
{
CORBA::release (this->ptr_);
this->ptr_ = ::CORBA::Policy::_nil ();
}
-CORBA::Policy_out::Policy_out (const ::CORBA::Policy_out &p) // copy constructor
+CORBA::Policy_out::Policy_out (const ::CORBA::Policy_out &p)
: ptr_ (ACE_const_cast (Policy_out &, p).ptr_)
{}
@@ -754,7 +803,7 @@ CORBA::Policy_out::operator ::CORBA::Policy_ptr &() // cast
}
::CORBA::Policy_ptr &
-CORBA::Policy_out::ptr (void) // ptr
+CORBA::Policy_out::ptr (void)
{
return this->ptr_;
}
@@ -765,39 +814,49 @@ CORBA::Policy_out::operator-> (void)
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interceptors_cs.cpp:56
#if (TAO_HAS_INTERCEPTORS == 1)
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/interceptors_cs.cpp:76
+
class TAO_ClientRequestInfo_CORBA_Policy_policy_type_get : public TAO_ClientRequestInfo_i
{
public:
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get (
TAO_GIOP_Invocation *_tao_invocation,
- CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
+ CORBA::Object_ptr _tao_target
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
- virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ void result (::CORBA::PolicyType result);
+
+ private:
+ TAO_ClientRequestInfo_CORBA_Policy_policy_type_get (const TAO_ClientRequestInfo_CORBA_Policy_policy_type_get &);
+ void operator= (const TAO_ClientRequestInfo_CORBA_Policy_policy_type_get &);
+
+ ::CORBA::PolicyType _result;
+ };
- virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/interceptors_cs.cpp:378
- virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- void result (CORBA::PolicyType result);
-
-private:
- TAO_ClientRequestInfo_CORBA_Policy_policy_type_get (const TAO_ClientRequestInfo_CORBA_Policy_policy_type_get &);
- void operator= (const TAO_ClientRequestInfo_CORBA_Policy_policy_type_get &);
-
- CORBA::PolicyType _result;
-};
-
-TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::TAO_ClientRequestInfo_CORBA_Policy_policy_type_get (
- TAO_GIOP_Invocation *_tao_invocation,
- CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_NOT_USED
- )
- : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target)
+ TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::TAO_ClientRequestInfo_CORBA_Policy_policy_type_get (
+ TAO_GIOP_Invocation *_tao_invocation,
+ CORBA::Object_ptr _tao_target
+ ACE_ENV_ARG_DECL_NOT_USED
+ )
+ : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target)
{}
Dynamic::ParameterList *
@@ -810,7 +869,6 @@ TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::arguments (ACE_ENV_SINGLE_AR
ACE_CHECK_RETURN (0);
return parameter_list;
-
}
Dynamic::ExceptionList *
@@ -844,41 +902,48 @@ TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::result (ACE_ENV_SINGLE_ARG_D
void
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::PolicyType result)
{
- // update the result
+ // Update the result.
this->_result = result;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/interceptors_cs.cpp:76
+
class TAO_ClientRequestInfo_CORBA_Policy_copy : public TAO_ClientRequestInfo_i
{
public:
TAO_ClientRequestInfo_CORBA_Policy_copy (
TAO_GIOP_Invocation *_tao_invocation,
- CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
+ CORBA::Object_ptr _tao_target
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
- virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ void result (::CORBA::Policy_ptr result);
+
+ private:
+ TAO_ClientRequestInfo_CORBA_Policy_copy (const TAO_ClientRequestInfo_CORBA_Policy_copy &);
+ void operator= (const TAO_ClientRequestInfo_CORBA_Policy_copy &);
+
+ ::CORBA::Policy_ptr _result;
+ };
- virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/interceptors_cs.cpp:378
- virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- void result (CORBA::Policy_ptr result);
-
-private:
- TAO_ClientRequestInfo_CORBA_Policy_copy (const TAO_ClientRequestInfo_CORBA_Policy_copy &);
- void operator= (const TAO_ClientRequestInfo_CORBA_Policy_copy &);
-
- CORBA::Policy_ptr _result;
-};
-
-TAO_ClientRequestInfo_CORBA_Policy_copy::TAO_ClientRequestInfo_CORBA_Policy_copy (
- TAO_GIOP_Invocation *_tao_invocation,
- CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_NOT_USED
- )
- : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target)
+ TAO_ClientRequestInfo_CORBA_Policy_copy::TAO_ClientRequestInfo_CORBA_Policy_copy (
+ TAO_GIOP_Invocation *_tao_invocation,
+ CORBA::Object_ptr _tao_target
+ ACE_ENV_ARG_DECL_NOT_USED
+ )
+ : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target)
{}
Dynamic::ParameterList *
@@ -891,7 +956,6 @@ TAO_ClientRequestInfo_CORBA_Policy_copy::arguments (ACE_ENV_SINGLE_ARG_DECL)
ACE_CHECK_RETURN (0);
return parameter_list;
-
}
Dynamic::ExceptionList *
@@ -925,39 +989,44 @@ TAO_ClientRequestInfo_CORBA_Policy_copy::result (ACE_ENV_SINGLE_ARG_DECL)
void
TAO_ClientRequestInfo_CORBA_Policy_copy::result (::CORBA::Policy_ptr result)
{
- // update the result
+ // Update the result.
this->_result = result;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/interceptors_cs.cpp:76
+
class TAO_ClientRequestInfo_CORBA_Policy_destroy : public TAO_ClientRequestInfo_i
{
public:
TAO_ClientRequestInfo_CORBA_Policy_destroy (
TAO_GIOP_Invocation *_tao_invocation,
- CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_WITH_DEFAULTS
- );
-
- virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ CORBA::Object_ptr _tao_target
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS);
-private:
- TAO_ClientRequestInfo_CORBA_Policy_destroy (const TAO_ClientRequestInfo_CORBA_Policy_destroy &);
- void operator= (const TAO_ClientRequestInfo_CORBA_Policy_destroy &);
+ virtual Dynamic::ParameterList * arguments (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+ private:
+ TAO_ClientRequestInfo_CORBA_Policy_destroy (const TAO_ClientRequestInfo_CORBA_Policy_destroy &);
+ void operator= (const TAO_ClientRequestInfo_CORBA_Policy_destroy &);
+ };
-};
-
-TAO_ClientRequestInfo_CORBA_Policy_destroy::TAO_ClientRequestInfo_CORBA_Policy_destroy (
- TAO_GIOP_Invocation *_tao_invocation,
- CORBA::Object_ptr _tao_target ACE_ENV_ARG_DECL_NOT_USED
- )
- : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target)
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/interceptors_cs.cpp:378
+
+ TAO_ClientRequestInfo_CORBA_Policy_destroy::TAO_ClientRequestInfo_CORBA_Policy_destroy (
+ TAO_GIOP_Invocation *_tao_invocation,
+ CORBA::Object_ptr _tao_target
+ ACE_ENV_ARG_DECL_NOT_USED
+ )
+ : TAO_ClientRequestInfo_i (_tao_invocation, _tao_target)
{}
Dynamic::ParameterList *
@@ -970,7 +1039,6 @@ TAO_ClientRequestInfo_CORBA_Policy_destroy::arguments (ACE_ENV_SINGLE_ARG_DECL)
ACE_CHECK_RETURN (0);
return parameter_list;
-
}
Dynamic::ExceptionList *
@@ -998,8 +1066,13 @@ TAO_ClientRequestInfo_CORBA_Policy_destroy::result (ACE_ENV_SINGLE_ARG_DECL)
return result_any;
}
+
+
#endif /* TAO_HAS_INTERCEPTORS */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_impl_cs.cpp:31
+
///////////////////////////////////////////////////////////////////////
// Base & Remote Proxy Implementation.
//
@@ -1012,6 +1085,9 @@ CORBA::_TAO_Policy_Remote_Proxy_Impl::_TAO_Policy_Remote_Proxy_Impl (void)
// Remote Implementation of the IDL interface methods
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/remote_proxy_impl_cs.cpp:63
+
CORBA::PolicyType CORBA::_TAO_Policy_Remote_Proxy_Impl::policy_type (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -1020,15 +1096,14 @@ CORBA::PolicyType CORBA::_TAO_Policy_Remote_Proxy_Impl::policy_type (
CORBA::SystemException
))
{
-
CORBA::PolicyType _tao_retval = 0;
-
-
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
- if (istub == 0)
- ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval);
-
+ if (istub == 0)
+ {
+ ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval);
+ }
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"_get_policy_type",
@@ -1054,13 +1129,13 @@ CORBA::PolicyType CORBA::_TAO_Policy_Remote_Proxy_Impl::policy_type (
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get _tao_ri (
- &_tao_call,
- _collocated_tao_target_ ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK_RETURN (_tao_retval);
-
-#endif /* TAO_HAS_INTERCEPTORS */
+ &_tao_call,
+ _collocated_tao_target_
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+#endif /* TAO_HAS_INTERCEPTORS */
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (_tao_ri.response_expected (1));
@@ -1070,9 +1145,9 @@ CORBA::PolicyType CORBA::_TAO_Policy_Remote_Proxy_Impl::policy_type (
ACE_TRY
{
_tao_vfr.send_request (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_TRY_CHECK;
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -1084,99 +1159,134 @@ CORBA::PolicyType CORBA::_TAO_Policy_Remote_Proxy_Impl::policy_type (
#endif /* TAO_HAS_INTERCEPTORS */
_tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER);
- TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
+ TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag)
ACE_ENV_ARG_PARAMETER
);
- TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
+ TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
+
_invoke_status =
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
- TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
+ TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW_RETURN (
- CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES),
- _tao_retval
- );
-
+ CORBA::UNKNOWN (
+ CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES
+ ),
+ _tao_retval
+ );
}
else if (_invoke_status == TAO_INVOKE_RESTART)
{
TAO_INTERCEPTOR (
- _tao_ri.reply_status (_invoke_status);
- _tao_vfr.receive_other (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
- )
+ _tao_ri.reply_status (_invoke_status);
+ _tao_vfr.receive_other (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+ )
continue;
}
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
+
if (!(
- (_tao_in >> _tao_retval)
+ (_tao_in >> _tao_retval)
))
{
TAO_INTERCEPTOR_THROW_RETURN (
- CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
- _tao_retval
- );
-
+ CORBA::MARSHAL (
+ TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES
+ ),
+ _tao_retval
+ );
}
#if TAO_HAS_INTERCEPTORS == 1
- CORBA::PolicyType _tao_retval_info = _tao_retval;
+ CORBA::PolicyType _tao_retval_info =
+ _tao_retval;
_tao_ri.result (_tao_retval_info);
_tao_ri.reply_status (_invoke_status);
_tao_vfr.receive_reply (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_TRY_CHECK;
-
- }
- ACE_CATCHANY
- {
- _tao_ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.receive_exception (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- PortableInterceptor::ReplyStatus _tao_status =
- _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
-
- if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
- || _tao_status == PortableInterceptor::USER_EXCEPTION)
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK_RETURN (_tao_retval);
-
- PortableInterceptor::ReplyStatus _tao_status =
- _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (_tao_retval);
-
- if (_tao_status == PortableInterceptor::LOCATION_FORWARD
- || _tao_status == PortableInterceptor::TRANSPORT_RETRY)
- continue;
-
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.receive_exception (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
+
+# if defined (ACE_HAS_EXCEPTIONS) \
+ && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
+ ACE_CATCHALL
+ {
+ CORBA::UNKNOWN ex;
+
+ _tao_ri.exception (&ex);
+ _tao_vfr.receive_exception (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
+ ACE_TRY_THROW (ex);
+ }
+# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
+
+ ACE_ENDTRY;
+ ACE_CHECK_RETURN (_tao_retval);
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_CHECK_RETURN (_tao_retval);
+
+ if (_tao_status == PortableInterceptor::LOCATION_FORWARD
+ || _tao_status == PortableInterceptor::TRANSPORT_RETRY)
+ {
+ continue;
+ }
+
#endif /* TAO_HAS_INTERCEPTORS */
-
- break;
- }
-return _tao_retval;
+
+ break;
+ }
+
+ return _tao_retval;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/remote_proxy_impl_cs.cpp:63
+
::CORBA::Policy_ptr CORBA::_TAO_Policy_Remote_Proxy_Impl::copy (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -1185,16 +1295,14 @@ return _tao_retval;
CORBA::SystemException
))
{
-
CORBA::Policy_var _tao_retval (CORBA::Policy::_nil ());
-
-
-
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
- if (istub == 0)
- ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval._retn ());
-
+ if (istub == 0)
+ {
+ ACE_THROW_RETURN (CORBA::INTERNAL (),_tao_retval._retn ());
+ }
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"copy",
@@ -1220,13 +1328,13 @@ return _tao_retval;
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_CORBA_Policy_copy _tao_ri (
- &_tao_call,
- _collocated_tao_target_ ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK_RETURN (_tao_retval._retn ());
-
-#endif /* TAO_HAS_INTERCEPTORS */
+ &_tao_call,
+ _collocated_tao_target_
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_CHECK_RETURN (_tao_retval._retn ());
+#endif /* TAO_HAS_INTERCEPTORS */
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (_tao_ri.response_expected (1));
@@ -1236,9 +1344,9 @@ return _tao_retval;
ACE_TRY
{
_tao_vfr.send_request (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_TRY_CHECK;
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -1250,100 +1358,135 @@ return _tao_retval;
#endif /* TAO_HAS_INTERCEPTORS */
_tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER);
- TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ());
+ TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ());
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag)
ACE_ENV_ARG_PARAMETER
);
- TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ());
+ TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ());
+
_invoke_status =
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
- TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ());
+ TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval._retn ());
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW_RETURN (
- CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES),
- 0
- );
-
+ CORBA::UNKNOWN (
+ CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES
+ ),
+ 0
+ );
}
else if (_invoke_status == TAO_INVOKE_RESTART)
{
TAO_INTERCEPTOR (
- _tao_ri.reply_status (_invoke_status);
- _tao_vfr.receive_other (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
- )
+ _tao_ri.reply_status (_invoke_status);
+ _tao_vfr.receive_other (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+ )
continue;
}
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
+
if (!(
- (_tao_in >> _tao_retval.inout ())
+ (_tao_in >> _tao_retval.inout ())
))
{
TAO_INTERCEPTOR_THROW_RETURN (
- CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
- 0
- );
-
+ CORBA::MARSHAL (
+ TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES
+ ),
+ 0
+ );
}
#if TAO_HAS_INTERCEPTORS == 1
- ::CORBA::Policy_ptr _tao_retval_info = _tao_retval._retn ();
+ ::CORBA::Policy_ptr _tao_retval_info =
+ _tao_retval._retn ();
_tao_ri.result (_tao_retval_info);
_tao_retval = _tao_retval_info;
_tao_ri.reply_status (_invoke_status);
_tao_vfr.receive_reply (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_TRY_CHECK;
-
- }
- ACE_CATCHANY
- {
- _tao_ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.receive_exception (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- PortableInterceptor::ReplyStatus _tao_status =
- _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
-
- if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
- || _tao_status == PortableInterceptor::USER_EXCEPTION)
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK_RETURN (_tao_retval._retn ());
-
- PortableInterceptor::ReplyStatus _tao_status =
- _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (_tao_retval._retn ());
-
- if (_tao_status == PortableInterceptor::LOCATION_FORWARD
- || _tao_status == PortableInterceptor::TRANSPORT_RETRY)
- continue;
-
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.receive_exception (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
+
+# if defined (ACE_HAS_EXCEPTIONS) \
+ && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
+ ACE_CATCHALL
+ {
+ CORBA::UNKNOWN ex;
+
+ _tao_ri.exception (&ex);
+ _tao_vfr.receive_exception (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
+ ACE_TRY_THROW (ex);
+ }
+# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
+
+ ACE_ENDTRY;
+ ACE_CHECK_RETURN (_tao_retval._retn ());
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_CHECK_RETURN (_tao_retval._retn ());
+
+ if (_tao_status == PortableInterceptor::LOCATION_FORWARD
+ || _tao_status == PortableInterceptor::TRANSPORT_RETRY)
+ {
+ continue;
+ }
+
#endif /* TAO_HAS_INTERCEPTORS */
-
- break;
- }
-return _tao_retval._retn ();
+
+ break;
+ }
+
+ return _tao_retval._retn ();
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/remote_proxy_impl_cs.cpp:63
+
void CORBA::_TAO_Policy_Remote_Proxy_Impl::destroy (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -1352,15 +1495,13 @@ void CORBA::_TAO_Policy_Remote_Proxy_Impl::destroy (
CORBA::SystemException
))
{
-
-
-
-
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
- if (istub == 0)
- ACE_THROW (CORBA::INTERNAL ());
-
+ if (istub == 0)
+ {
+ ACE_THROW (CORBA::INTERNAL ());
+ }
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"destroy",
@@ -1386,13 +1527,13 @@ void CORBA::_TAO_Policy_Remote_Proxy_Impl::destroy (
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_CORBA_Policy_destroy _tao_ri (
- &_tao_call,
- _collocated_tao_target_ ACE_ENV_ARG_PARAMETER
- );
- ACE_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
+ &_tao_call,
+ _collocated_tao_target_
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (_tao_ri.response_expected (1));
@@ -1402,9 +1543,9 @@ void CORBA::_TAO_Policy_Remote_Proxy_Impl::destroy (
ACE_TRY
{
_tao_vfr.send_request (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_TRY_CHECK;
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -1416,90 +1557,116 @@ void CORBA::_TAO_Policy_Remote_Proxy_Impl::destroy (
#endif /* TAO_HAS_INTERCEPTORS */
_tao_call.start (ACE_ENV_SINGLE_ARG_PARAMETER);
- TAO_INTERCEPTOR_CHECK;
+ TAO_INTERCEPTOR_CHECK;
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag)
ACE_ENV_ARG_PARAMETER
);
- TAO_INTERCEPTOR_CHECK;
+ TAO_INTERCEPTOR_CHECK;
+
_invoke_status =
_tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
- TAO_INTERCEPTOR_CHECK;
+ TAO_INTERCEPTOR_CHECK;
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
- CORBA::UNKNOWN (CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES)
- );
-
+ CORBA::UNKNOWN (
+ CORBA::OMGVMCID | 1, CORBA::COMPLETED_YES
+ )
+ );
}
else if (_invoke_status == TAO_INVOKE_RESTART)
{
TAO_INTERCEPTOR (
- _tao_ri.reply_status (_invoke_status);
- _tao_vfr.receive_other (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
- )
+ _tao_ri.reply_status (_invoke_status);
+ _tao_vfr.receive_other (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+ )
continue;
}
-
-
#if TAO_HAS_INTERCEPTORS == 1
_tao_ri.reply_status (_invoke_status);
_tao_vfr.receive_reply (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_TRY_CHECK;
-
- }
- ACE_CATCHANY
- {
- _tao_ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.receive_exception (
- &_tao_ri
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- PortableInterceptor::ReplyStatus _tao_status =
- _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_TRY_CHECK;
-
- if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
- || _tao_status == PortableInterceptor::USER_EXCEPTION)
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-
- PortableInterceptor::ReplyStatus _tao_status =
- _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK;
-
- if (_tao_status == PortableInterceptor::LOCATION_FORWARD
- || _tao_status == PortableInterceptor::TRANSPORT_RETRY)
- continue;
-
+ }
+ ACE_CATCHANY
+ {
+ _tao_ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.receive_exception (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION
+ || _tao_status == PortableInterceptor::USER_EXCEPTION)
+ {
+ ACE_RE_THROW;
+ }
+ }
+
+# if defined (ACE_HAS_EXCEPTIONS) \
+ && defined (ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS)
+ ACE_CATCHALL
+ {
+ CORBA::UNKNOWN ex;
+
+ _tao_ri.exception (&ex);
+ _tao_vfr.receive_exception (
+ &_tao_ri
+ ACE_ENV_ARG_PARAMETER
+ );
+ ACE_TRY_CHECK;
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+
+ if (_tao_status == PortableInterceptor::SYSTEM_EXCEPTION)
+ ACE_TRY_THROW (ex);
+ }
+# endif /* ACE_HAS_EXCEPTIONS && ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS */
+
+ ACE_ENDTRY;
+ ACE_CHECK;
+
+ PortableInterceptor::ReplyStatus _tao_status =
+ _tao_ri.reply_status (ACE_ENV_SINGLE_ARG_PARAMETER);
+ ACE_CHECK;
+
+ if (_tao_status == PortableInterceptor::LOCATION_FORWARD
+ || _tao_status == PortableInterceptor::TRANSPORT_RETRY)
+ {
+ continue;
+ }
+
#endif /* TAO_HAS_INTERCEPTORS */
-
- break;
- }
-
+
+ break;
+ }
}
-
//
// End Base & Remote Proxy Implemeentation.
///////////////////////////////////////////////////////////////////////
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_broker_cs.cpp:31
///////////////////////////////////////////////////////////////////////
// Remote & Base Proxy Broker Implementation
@@ -1535,30 +1702,25 @@ CORBA::_TAO_Policy_Remote_Proxy_Broker::~_TAO_Policy_Remote_Proxy_Broker (void)
CORBA::_TAO_Policy_Proxy_Impl&
CORBA::_TAO_Policy_Remote_Proxy_Broker::select_proxy (
- ::CORBA::Policy *
- ACE_ENV_ARG_DECL_NOT_USED
-)
+ ::CORBA::Policy *
+ ACE_ENV_ARG_DECL_NOT_USED
+ )
{
return this->remote_proxy_impl_;
}
-
//
// End Remote & Base Proxy Broker Implementation
///////////////////////////////////////////////////////////////////////
-
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:198
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
CORBA::Policy::Policy (int collocated)
{
this->CORBA_Policy_setup_collocation (collocated);
}
-CORBA::Policy::~Policy (void)
-{}
-
void
CORBA::Policy::CORBA_Policy_setup_collocation (int collocated)
{
@@ -1570,26 +1732,42 @@ CORBA::Policy::CORBA_Policy_setup_collocation (int collocated)
::CORBA::_TAO_Policy_Remote_Proxy_Broker::the_TAO_Policy_Remote_Proxy_Broker ();
}
-void CORBA::Policy::_tao_any_destructor (void *_tao_void_pointer)
+CORBA::Policy::~Policy (void)
+{}
+
+void
+CORBA::Policy::_tao_any_destructor (void *_tao_void_pointer)
{
- Policy *tmp = ACE_static_cast (Policy*, _tao_void_pointer);
+ Policy *tmp = ACE_static_cast (Policy *, _tao_void_pointer);
CORBA::release (tmp);
}
-CORBA::Policy_ptr CORBA::Policy::_narrow (
+CORBA::Policy_ptr
+CORBA::Policy::_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL
)
{
if (CORBA::is_nil (obj))
- return Policy::_nil ();
+ {
+ return Policy::_nil ();
+ }
+
if (! obj->_is_local ())
{
- CORBA::Boolean is_a = obj->_is_a ("IDL:omg.org/CORBA/Policy:1.0" ACE_ENV_ARG_PARAMETER);
+ CORBA::Boolean is_a =
+ obj->_is_a (
+ "IDL:omg.org/CORBA/Policy:1.0"
+ ACE_ENV_ARG_PARAMETER
+ );
ACE_CHECK_RETURN (Policy::_nil ());
+
if (is_a == 0)
- return Policy::_nil ();
+ {
+ return Policy::_nil ();
+ }
}
+
return Policy::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
@@ -1600,14 +1778,21 @@ CORBA::Policy::_unchecked_narrow (
)
{
if (CORBA::is_nil (obj))
- return Policy::_nil ();
+ {
+ return Policy::_nil ();
+ }
+
if (! obj->_is_local ())
{
TAO_Stub* stub = obj->_stubobj ();
- if (stub)
- stub->_incr_refcnt ();
+
+ if (stub != 0)
+ {
+ stub->_incr_refcnt ();
+ }
+
Policy_ptr default_proxy = Policy::_nil ();
-
+
if (
!CORBA::is_nil (stub->servant_orb_var ().ptr ()) &&
stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects () &&
@@ -1643,51 +1828,84 @@ CORBA::Policy::_unchecked_narrow (
}
else
return
- ACE_reinterpret_cast
- (
+ ACE_reinterpret_cast (
Policy_ptr,
- obj->_tao_QueryInterface
- (
- ACE_reinterpret_cast
- (
- ptr_arith_t,
- &Policy::_tao_class_id
- )
- )
+ obj->_tao_QueryInterface (
+ ACE_reinterpret_cast (
+ ptr_arith_t,
+ &Policy::_tao_class_id
+ )
+ )
);
}
CORBA::Policy_ptr
CORBA::Policy::_duplicate (Policy_ptr obj)
{
- if (!CORBA::is_nil (obj))
- obj->_add_ref ();
+ if (! CORBA::is_nil (obj))
+ {
+ obj->_add_ref ();
+ }
+
return obj;
}
-CORBA::Boolean CORBA::Policy::_is_a (const CORBA::Char *value ACE_ENV_ARG_DECL)
+CORBA::Boolean
+CORBA::Policy::_is_a (
+ const char *value
+ ACE_ENV_ARG_DECL
+ )
{
if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Policy:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Object:1.0")))
- return 1; // success using local knowledge
+ !ACE_OS::strcmp (
+ (char *)value,
+ "IDL:omg.org/CORBA/Policy:1.0"
+ ) ||
+ !ACE_OS::strcmp (
+ (char *)value,
+ "IDL:omg.org/CORBA/Object:1.0"
+ )
+ )
+ {
+ return 1; // success using local knowledge
+ }
else
- return this->CORBA_Object::_is_a (value ACE_ENV_ARG_PARAMETER);
+ {
+ return this->CORBA_Object::_is_a (
+ value
+ ACE_ENV_ARG_PARAMETER
+ );
+ }
}
void *CORBA::Policy::_tao_QueryInterface (ptr_arith_t type)
{
void *retv = 0;
- if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &ACE_NESTED_CLASS (::CORBA, Policy)::_tao_class_id))
- retv = ACE_reinterpret_cast (void*, this);
- else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id))
- retv = ACE_reinterpret_cast (void *,
- ACE_static_cast (CORBA::Object_ptr, this));
-
- if (retv)
- this->_add_ref ();
+
+ if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &ACE_NESTED_CLASS (::CORBA, Policy)::_tao_class_id)
+ )
+ {
+ retv = ACE_reinterpret_cast (void*, this);
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &CORBA::Object::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (CORBA::Object_ptr, this)
+ );
+ }
+
+ if (retv != 0)
+ {
+ this->_add_ref ();
+ }
+
return retv;
}
@@ -1722,8 +1940,10 @@ CORBA::Policy::_tao_scope (void) const
}
// ****************************************************************
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_cs.cpp:80
+
CORBA::PolicyType CORBA::Policy::policy_type (
-
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((
@@ -1735,12 +1955,15 @@ CORBA::PolicyType CORBA::Policy::policy_type (
ACE_CHECK_RETURN (0);
return proxy.policy_type (
- this ACE_ENV_ARG_PARAMETER
+ this
+ ACE_ENV_ARG_PARAMETER
);
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_cs.cpp:80
+
::CORBA::Policy_ptr CORBA::Policy::copy (
-
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((
@@ -1752,12 +1975,15 @@ CORBA::PolicyType CORBA::Policy::policy_type (
ACE_CHECK_RETURN (0);
return proxy.copy (
- this ACE_ENV_ARG_PARAMETER
+ this
+ ACE_ENV_ARG_PARAMETER
);
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_cs.cpp:80
+
void CORBA::Policy::destroy (
-
ACE_ENV_SINGLE_ARG_DECL
)
ACE_THROW_SPEC ((
@@ -1769,13 +1995,17 @@ void CORBA::Policy::destroy (
ACE_CHECK;
proxy.destroy (
- this ACE_ENV_ARG_PARAMETER
+ this
+ ACE_ENV_ARG_PARAMETER
);
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_CORBA_Policy[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
29,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
@@ -1785,10 +2015,10 @@ static const CORBA::Long _oc_CORBA_Policy[] =
ACE_NTOHL (0x6c696379),
ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/Policy:1.0
- 7,
+ 7,
ACE_NTOHL (0x506f6c69),
ACE_NTOHL (0x63790000), // name = Policy
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_CORBA_Policy (
CORBA::tk_objref,
@@ -1800,12 +2030,15 @@ static CORBA::TypeCode _tc_TAO_tc_CORBA_Policy (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_Policy, &_tc_TAO_tc_CORBA_Policy)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_Policy,
+ &_tc_TAO_tc_CORBA_Policy
+ )
TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:67
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
int CORBA::PolicyManager::_tao_class_id = 0;
@@ -1852,13 +2085,23 @@ tao_CORBA_PolicyManager_upcast (
return *tmp;
}
+CORBA::Boolean
+tao_CORBA_PolicyManager_marshal (
+ CORBA::PolicyManager_ptr p,
+ TAO_OutputCDR &strm
+ )
+{
+ return p->marshal (strm);
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
+
// *************************************************************
// CORBA::PolicyManager_var
-// TAO_IDL - Generated from
-// be/be_interface.cpp:654
// *************************************************************
-CORBA::PolicyManager_var::PolicyManager_var (void) // default constructor
+CORBA::PolicyManager_var::PolicyManager_var (void)
: ptr_ (PolicyManager::_nil ())
{}
@@ -1868,12 +2111,12 @@ CORBA::PolicyManager_var::ptr (void) const
return this->ptr_;
}
-CORBA::PolicyManager_var::PolicyManager_var (const ::CORBA::PolicyManager_var &p) // copy constructor
+CORBA::PolicyManager_var::PolicyManager_var (const ::CORBA::PolicyManager_var &p)
: TAO_Base_var (),
ptr_ (PolicyManager::_duplicate (p.ptr ()))
{}
-CORBA::PolicyManager_var::~PolicyManager_var (void) // destructor
+CORBA::PolicyManager_var::~PolicyManager_var (void)
{
CORBA::release (this->ptr_);
}
@@ -1977,10 +2220,11 @@ CORBA::PolicyManager_var::tao_upcast (void *src)
return *tmp;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
+
// *************************************************************
// CORBA::PolicyManager_out
-// TAO_IDL - Generated from
-// be/be_interface.cpp:932
// *************************************************************
CORBA::PolicyManager_out::PolicyManager_out (PolicyManager_ptr &p)
@@ -1989,14 +2233,14 @@ CORBA::PolicyManager_out::PolicyManager_out (PolicyManager_ptr &p)
this->ptr_ = ::CORBA::PolicyManager::_nil ();
}
-CORBA::PolicyManager_out::PolicyManager_out (PolicyManager_var &p) // constructor from _var
+CORBA::PolicyManager_out::PolicyManager_out (PolicyManager_var &p)
: ptr_ (p.out ())
{
CORBA::release (this->ptr_);
this->ptr_ = ::CORBA::PolicyManager::_nil ();
}
-CORBA::PolicyManager_out::PolicyManager_out (const ::CORBA::PolicyManager_out &p) // copy constructor
+CORBA::PolicyManager_out::PolicyManager_out (const ::CORBA::PolicyManager_out &p)
: ptr_ (ACE_const_cast (PolicyManager_out &, p).ptr_)
{}
@@ -2027,7 +2271,7 @@ CORBA::PolicyManager_out::operator ::CORBA::PolicyManager_ptr &() // cast
}
::CORBA::PolicyManager_ptr &
-CORBA::PolicyManager_out::ptr (void) // ptr
+CORBA::PolicyManager_out::ptr (void)
{
return this->ptr_;
}
@@ -2038,9 +2282,8 @@ CORBA::PolicyManager_out::operator-> (void)
return this->ptr_;
}
-
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:198
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
CORBA::PolicyManager::PolicyManager (void)
{}
@@ -2048,13 +2291,15 @@ CORBA::PolicyManager::PolicyManager (void)
CORBA::PolicyManager::~PolicyManager (void)
{}
-void CORBA::PolicyManager::_tao_any_destructor (void *_tao_void_pointer)
+void
+CORBA::PolicyManager::_tao_any_destructor (void *_tao_void_pointer)
{
- PolicyManager *tmp = ACE_static_cast (PolicyManager*, _tao_void_pointer);
+ PolicyManager *tmp = ACE_static_cast (PolicyManager *, _tao_void_pointer);
CORBA::release (tmp);
}
-CORBA::PolicyManager_ptr CORBA::PolicyManager::_narrow (
+CORBA::PolicyManager_ptr
+CORBA::PolicyManager::_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL
)
@@ -2069,43 +2314,61 @@ CORBA::PolicyManager::_unchecked_narrow (
)
{
if (CORBA::is_nil (obj))
- return PolicyManager::_nil ();
+ {
+ return PolicyManager::_nil ();
+ }
+
return
- ACE_reinterpret_cast
- (
+ ACE_reinterpret_cast (
PolicyManager_ptr,
- obj->_tao_QueryInterface
- (
- ACE_reinterpret_cast
- (
- ptr_arith_t,
- &PolicyManager::_tao_class_id
- )
- )
+ obj->_tao_QueryInterface (
+ ACE_reinterpret_cast (
+ ptr_arith_t,
+ &PolicyManager::_tao_class_id
+ )
+ )
);
}
CORBA::PolicyManager_ptr
CORBA::PolicyManager::_duplicate (PolicyManager_ptr obj)
{
- if (!CORBA::is_nil (obj))
- obj->_add_ref ();
+ if (! CORBA::is_nil (obj))
+ {
+ obj->_add_ref ();
+ }
+
return obj;
}
void *CORBA::PolicyManager::_tao_QueryInterface (ptr_arith_t type)
{
void *retv = 0;
- if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &ACE_NESTED_CLASS (::CORBA, PolicyManager)::_tao_class_id))
- retv = ACE_reinterpret_cast (void*, this);
- else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id))
- retv = ACE_reinterpret_cast (void *,
- ACE_static_cast (CORBA::Object_ptr, this));
-
- if (retv)
- this->_add_ref ();
+
+ if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &ACE_NESTED_CLASS (::CORBA, PolicyManager)::_tao_class_id)
+ )
+ {
+ retv = ACE_reinterpret_cast (void*, this);
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &CORBA::Object::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (CORBA::Object_ptr, this)
+ );
+ }
+
+ if (retv != 0)
+ {
+ this->_add_ref ();
+ }
+
return retv;
}
@@ -2114,9 +2377,12 @@ const char* CORBA::PolicyManager::_interface_repository_id (void) const
return "IDL:omg.org/CORBA/PolicyManager:1.0";
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_CORBA_PolicyManager[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
36,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
@@ -2127,12 +2393,12 @@ static const CORBA::Long _oc_CORBA_PolicyManager[] =
ACE_NTOHL (0x4d616e61),
ACE_NTOHL (0x6765723a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CORBA/PolicyManager:1.0
- 14,
+ 14,
ACE_NTOHL (0x506f6c69),
ACE_NTOHL (0x63794d61),
ACE_NTOHL (0x6e616765),
ACE_NTOHL (0x72000000), // name = PolicyManager
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_CORBA_PolicyManager (
CORBA::tk_objref,
@@ -2144,12 +2410,15 @@ static CORBA::TypeCode _tc_TAO_tc_CORBA_PolicyManager (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_PolicyManager, &_tc_TAO_tc_CORBA_PolicyManager)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_PolicyManager,
+ &_tc_TAO_tc_CORBA_PolicyManager
+ )
TAO_NAMESPACE_END
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:67
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
int CORBA::PolicyCurrent::_tao_class_id = 0;
@@ -2196,13 +2465,23 @@ tao_CORBA_PolicyCurrent_upcast (
return *tmp;
}
+CORBA::Boolean
+tao_CORBA_PolicyCurrent_marshal (
+ CORBA::PolicyCurrent_ptr p,
+ TAO_OutputCDR &strm
+ )
+{
+ return p->marshal (strm);
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
+
// *************************************************************
// CORBA::PolicyCurrent_var
-// TAO_IDL - Generated from
-// be/be_interface.cpp:654
// *************************************************************
-CORBA::PolicyCurrent_var::PolicyCurrent_var (void) // default constructor
+CORBA::PolicyCurrent_var::PolicyCurrent_var (void)
: ptr_ (PolicyCurrent::_nil ())
{}
@@ -2212,12 +2491,12 @@ CORBA::PolicyCurrent_var::ptr (void) const
return this->ptr_;
}
-CORBA::PolicyCurrent_var::PolicyCurrent_var (const ::CORBA::PolicyCurrent_var &p) // copy constructor
+CORBA::PolicyCurrent_var::PolicyCurrent_var (const ::CORBA::PolicyCurrent_var &p)
: TAO_Base_var (),
ptr_ (PolicyCurrent::_duplicate (p.ptr ()))
{}
-CORBA::PolicyCurrent_var::~PolicyCurrent_var (void) // destructor
+CORBA::PolicyCurrent_var::~PolicyCurrent_var (void)
{
CORBA::release (this->ptr_);
}
@@ -2321,10 +2600,11 @@ CORBA::PolicyCurrent_var::tao_upcast (void *src)
return *tmp;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
+
// *************************************************************
// CORBA::PolicyCurrent_out
-// TAO_IDL - Generated from
-// be/be_interface.cpp:932
// *************************************************************
CORBA::PolicyCurrent_out::PolicyCurrent_out (PolicyCurrent_ptr &p)
@@ -2333,14 +2613,14 @@ CORBA::PolicyCurrent_out::PolicyCurrent_out (PolicyCurrent_ptr &p)
this->ptr_ = ::CORBA::PolicyCurrent::_nil ();
}
-CORBA::PolicyCurrent_out::PolicyCurrent_out (PolicyCurrent_var &p) // constructor from _var
+CORBA::PolicyCurrent_out::PolicyCurrent_out (PolicyCurrent_var &p)
: ptr_ (p.out ())
{
CORBA::release (this->ptr_);
this->ptr_ = ::CORBA::PolicyCurrent::_nil ();
}
-CORBA::PolicyCurrent_out::PolicyCurrent_out (const ::CORBA::PolicyCurrent_out &p) // copy constructor
+CORBA::PolicyCurrent_out::PolicyCurrent_out (const ::CORBA::PolicyCurrent_out &p)
: ptr_ (ACE_const_cast (PolicyCurrent_out &, p).ptr_)
{}
@@ -2371,7 +2651,7 @@ CORBA::PolicyCurrent_out::operator ::CORBA::PolicyCurrent_ptr &() // cast
}
::CORBA::PolicyCurrent_ptr &
-CORBA::PolicyCurrent_out::ptr (void) // ptr
+CORBA::PolicyCurrent_out::ptr (void)
{
return this->ptr_;
}
@@ -2382,9 +2662,8 @@ CORBA::PolicyCurrent_out::operator-> (void)
return this->ptr_;
}
-
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:198
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
CORBA::PolicyCurrent::PolicyCurrent (void)
{}
@@ -2392,13 +2671,15 @@ CORBA::PolicyCurrent::PolicyCurrent (void)
CORBA::PolicyCurrent::~PolicyCurrent (void)
{}
-void CORBA::PolicyCurrent::_tao_any_destructor (void *_tao_void_pointer)
+void
+CORBA::PolicyCurrent::_tao_any_destructor (void *_tao_void_pointer)
{
- PolicyCurrent *tmp = ACE_static_cast (PolicyCurrent*, _tao_void_pointer);
+ PolicyCurrent *tmp = ACE_static_cast (PolicyCurrent *, _tao_void_pointer);
CORBA::release (tmp);
}
-CORBA::PolicyCurrent_ptr CORBA::PolicyCurrent::_narrow (
+CORBA::PolicyCurrent_ptr
+CORBA::PolicyCurrent::_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL
)
@@ -2413,67 +2694,89 @@ CORBA::PolicyCurrent::_unchecked_narrow (
)
{
if (CORBA::is_nil (obj))
- return PolicyCurrent::_nil ();
+ {
+ return PolicyCurrent::_nil ();
+ }
+
return
- ACE_reinterpret_cast
- (
+ ACE_reinterpret_cast (
PolicyCurrent_ptr,
- obj->_tao_QueryInterface
- (
- ACE_reinterpret_cast
- (
- ptr_arith_t,
- &PolicyCurrent::_tao_class_id
- )
- )
+ obj->_tao_QueryInterface (
+ ACE_reinterpret_cast (
+ ptr_arith_t,
+ &PolicyCurrent::_tao_class_id
+ )
+ )
);
}
CORBA::PolicyCurrent_ptr
CORBA::PolicyCurrent::_duplicate (PolicyCurrent_ptr obj)
{
- if (!CORBA::is_nil (obj))
- obj->_add_ref ();
+ if (! CORBA::is_nil (obj))
+ {
+ obj->_add_ref ();
+ }
+
return obj;
}
void *CORBA::PolicyCurrent::_tao_QueryInterface (ptr_arith_t type)
{
void *retv = 0;
- if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &ACE_NESTED_CLASS (::CORBA, PolicyCurrent)::_tao_class_id))
- retv = ACE_reinterpret_cast (void*, this);
- else if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &ACE_NESTED_CLASS (::CORBA, PolicyManager)::_tao_class_id))
- retv = ACE_reinterpret_cast
- (
- void *,
- ACE_static_cast
- (
- CORBA::PolicyManager_ptr,
- this
- )
- );
- else if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &::CORBA::Current::_tao_class_id))
- retv = ACE_reinterpret_cast
- (
- void *,
- ACE_static_cast
- (
- CORBA::Current_ptr,
- this
- )
- );
- else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id))
- retv = ACE_reinterpret_cast (void *,
- ACE_static_cast (CORBA::Object_ptr, this));
-
- if (retv)
- this->_add_ref ();
+
+ if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &ACE_NESTED_CLASS (::CORBA, PolicyCurrent)::_tao_class_id)
+ )
+ {
+ retv = ACE_reinterpret_cast (void*, this);
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &ACE_NESTED_CLASS (::CORBA, PolicyManager)::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (
+ CORBA::PolicyManager_ptr,
+ this
+ )
+ );
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &::CORBA::Current::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (
+ CORBA::Current_ptr,
+ this
+ )
+ );
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &CORBA::Object::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (CORBA::Object_ptr, this)
+ );
+ }
+
+ if (retv != 0)
+ {
+ this->_add_ref ();
+ }
+
return retv;
}
@@ -2482,9 +2785,12 @@ const char* CORBA::PolicyCurrent::_interface_repository_id (void) const
return "IDL:omg.org/CORBA/PolicyCurrent:1.0";
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_CORBA_PolicyCurrent[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
36,
ACE_NTOHL (0x49444c3a),
ACE_NTOHL (0x6f6d672e),
@@ -2495,12 +2801,12 @@ static const CORBA::Long _oc_CORBA_PolicyCurrent[] =
ACE_NTOHL (0x43757272),
ACE_NTOHL (0x656e743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CORBA/PolicyCurrent:1.0
- 14,
+ 14,
ACE_NTOHL (0x506f6c69),
ACE_NTOHL (0x63794375),
ACE_NTOHL (0x7272656e),
ACE_NTOHL (0x74000000), // name = PolicyCurrent
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_CORBA_PolicyCurrent (
CORBA::tk_objref,
@@ -2512,12 +2818,15 @@ static CORBA::TypeCode _tc_TAO_tc_CORBA_PolicyCurrent (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (CORBA)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_PolicyCurrent, &_tc_TAO_tc_CORBA_PolicyCurrent)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_PolicyCurrent,
+ &_tc_TAO_tc_CORBA_PolicyCurrent
+ )
TAO_NAMESPACE_END
-
// TAO_IDL - Generated from
-// be/be_visitor_exception/any_op_cs.cpp:60
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -2525,16 +2834,12 @@ void operator<<= (
const CORBA::PolicyError &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- CORBA::_tc_PolicyError,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<CORBA::PolicyError>::insert_copy (
+ _tao_any,
+ CORBA::PolicyError::_tao_any_destructor,
+ CORBA::_tc_PolicyError,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -2543,28 +2848,22 @@ void operator<<= (
CORBA::PolicyError *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- CORBA::_tc_PolicyError,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- CORBA::PolicyError::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<CORBA::PolicyError>::insert (
+ _tao_any,
+ CORBA::PolicyError::_tao_any_destructor,
+ CORBA::_tc_PolicyError,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,CORBA::PolicyError *&_tao_elem
+ const CORBA::Any &_tao_any,
+ CORBA::PolicyError *&_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const CORBA::PolicyError*&,
+ return _tao_any >>= ACE_const_cast (
+ const CORBA::PolicyError *&,
_tao_elem
);
}
@@ -2575,86 +2874,24 @@ CORBA::Boolean operator>>= (
const CORBA::PolicyError *&_tao_elem
)
{
- _tao_elem = 0;
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- CORBA::_tc_PolicyError
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = (CORBA::PolicyError *)_tao_any.value ();
- return 1;
- }
- else
- {
- CORBA::PolicyError *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- CORBA::PolicyError,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- CORBA::String_var interface_repository_id;
-
- if (!(stream >> interface_repository_id.out ()))
- {
- return 0;
- }
-
- if (ACE_OS::strcmp (
- interface_repository_id.in (),
- "IDL:omg.org/CORBA/PolicyError:1.0")
- )
- {
- return 0;
- }
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- CORBA::_tc_PolicyError,
- 1,
- tmp,
- CORBA::PolicyError::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<CORBA::PolicyError>::extract (
+ _tao_any,
+ CORBA::PolicyError::_tao_any_destructor,
+ CORBA::_tc_PolicyError,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<CORBA::PolicyError>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<CORBA::PolicyError>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// be/be_visitor_exception/any_op_cs.cpp:60
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -2662,16 +2899,12 @@ void operator<<= (
const CORBA::InvalidPolicies &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- CORBA::_tc_InvalidPolicies,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::insert_copy (
+ _tao_any,
+ CORBA::InvalidPolicies::_tao_any_destructor,
+ CORBA::_tc_InvalidPolicies,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -2680,28 +2913,22 @@ void operator<<= (
CORBA::InvalidPolicies *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- CORBA::_tc_InvalidPolicies,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- CORBA::InvalidPolicies::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::insert (
+ _tao_any,
+ CORBA::InvalidPolicies::_tao_any_destructor,
+ CORBA::_tc_InvalidPolicies,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
- const CORBA::Any &_tao_any,CORBA::InvalidPolicies *&_tao_elem
+ const CORBA::Any &_tao_any,
+ CORBA::InvalidPolicies *&_tao_elem
)
{
- return _tao_any >>= ACE_const_cast(
- const CORBA::InvalidPolicies*&,
+ return _tao_any >>= ACE_const_cast (
+ const CORBA::InvalidPolicies *&,
_tao_elem
);
}
@@ -2712,342 +2939,186 @@ CORBA::Boolean operator>>= (
const CORBA::InvalidPolicies *&_tao_elem
)
{
- _tao_elem = 0;
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- CORBA::_tc_InvalidPolicies
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = (CORBA::InvalidPolicies *)_tao_any.value ();
- return 1;
- }
- else
- {
- CORBA::InvalidPolicies *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- CORBA::InvalidPolicies,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- CORBA::String_var interface_repository_id;
-
- if (!(stream >> interface_repository_id.out ()))
- {
- return 0;
- }
-
- if (ACE_OS::strcmp (
- interface_repository_id.in (),
- "IDL:omg.org/CORBA/InvalidPolicies:1.0")
- )
- {
- return 0;
- }
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- CORBA::_tc_InvalidPolicies,
- 1,
- tmp,
- CORBA::InvalidPolicies::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::extract (
+ _tao_any,
+ CORBA::InvalidPolicies::_tao_any_destructor,
+ CORBA::_tc_InvalidPolicies,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// be/be_visitor_interface/any_op_cs.cpp:60
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-void operator<<= (
+// Copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
CORBA::Policy_ptr _tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- CORBA::_tc_Policy,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- CORBA::Policy::_duplicate (_tao_elem),
- CORBA::Policy::_tao_any_destructor
- );
- }
+ CORBA::Policy_ptr _tao_objptr =
+ CORBA::Policy::_duplicate (_tao_elem);
+ _tao_any <<= &_tao_objptr;
}
-void operator<<= (
+// Non-copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
CORBA::Policy_ptr *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- CORBA::_tc_Policy,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- *_tao_elem,
- CORBA::Policy::_tao_any_destructor
- );
- }
+ TAO::Any_Impl_T<CORBA::Policy>::insert (
+ _tao_any,
+ CORBA::Policy::_tao_any_destructor,
+ CORBA::_tc_Policy,
+ *_tao_elem
+ );
}
-CORBA::Boolean operator>>= (
+CORBA::Boolean
+operator>>= (
const CORBA::Any &_tao_any,
CORBA::Policy_ptr &_tao_elem
)
{
- ACE_TRY_NEW_ENV
- {
- _tao_elem = CORBA::Policy::_nil ();
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- CORBA::_tc_Policy
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
+ return
+ TAO::Any_Impl_T<CORBA::Policy>::extract (
+ _tao_any,
+ CORBA::Policy::_tao_any_destructor,
+ CORBA::_tc_Policy,
+ _tao_elem
);
-
- if (stream >> _tao_elem)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- CORBA::_tc_Policy,
- 1,
- _tao_elem,
- CORBA::Policy::_tao_any_destructor
- );
-
- return 1;
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- _tao_elem = CORBA::Policy::_nil ();
- return 0;
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
defined (ACE_HAS_GNU_REPO)
template class TAO_Object_Manager<CORBA::Policy,CORBA::Policy_var>;
+ template class TAO::Any_Impl_T<CORBA::Policy>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<CORBA::Policy,CORBA::Policy_var>
+# pragma instantiate TAO_Object_Manager<CORBA::Policy, CORBA::Policy_var>
+# pragma instantiate TAO::Any_Impl_T<CORBA::Policy>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-// TAO_IDL - Generated from
-// be/be_visitor_interface/any_op_cs.cpp:60
-
-void operator<<= (
+// Copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
CORBA::PolicyManager_ptr _tao_elem
)
{
- _tao_any._tao_replace (
- CORBA::_tc_PolicyManager,
- 1,
- CORBA::PolicyManager::_duplicate (_tao_elem),
- CORBA::PolicyManager::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
+ CORBA::PolicyManager_ptr _tao_objptr =
+ CORBA::PolicyManager::_duplicate (_tao_elem);
+ _tao_any <<= &_tao_objptr;
}
-void operator<<= (
+// Non-copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
CORBA::PolicyManager_ptr *_tao_elem
)
{
- _tao_any._tao_replace (
- CORBA::_tc_PolicyManager,
- 1,
- *_tao_elem,
- CORBA::PolicyManager::_tao_any_destructor
+ TAO::Any_Impl_T<CORBA::PolicyManager>::insert (
+ _tao_any,
+ CORBA::PolicyManager::_tao_any_destructor,
+ CORBA::_tc_PolicyManager,
+ *_tao_elem
);
-
- _tao_any.contains_local (1);
}
-CORBA::Boolean operator>>= (
+CORBA::Boolean
+operator>>= (
const CORBA::Any &_tao_any,
CORBA::PolicyManager_ptr &_tao_elem
)
{
- ACE_TRY_NEW_ENV
- {
- _tao_elem = CORBA::PolicyManager::_nil ();
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- CORBA::_tc_PolicyManager
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- _tao_elem =
- ACE_reinterpret_cast (
- CORBA::PolicyManager_ptr,
- ACE_const_cast (void *, _tao_any.value ())
- );
-
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- _tao_elem = CORBA::PolicyManager::_nil ();
- return 0;
+ return
+ TAO::Any_Impl_T<CORBA::PolicyManager>::extract (
+ _tao_any,
+ CORBA::PolicyManager::_tao_any_destructor,
+ CORBA::_tc_PolicyManager,
+ _tao_elem
+ );
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
defined (ACE_HAS_GNU_REPO)
template class TAO_Object_Manager<CORBA::PolicyManager,CORBA::PolicyManager_var>;
+ template class TAO::Any_Impl_T<CORBA::PolicyManager>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<CORBA::PolicyManager,CORBA::PolicyManager_var>
+# pragma instantiate TAO_Object_Manager<CORBA::PolicyManager, CORBA::PolicyManager_var>
+# pragma instantiate TAO::Any_Impl_T<CORBA::PolicyManager>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-// TAO_IDL - Generated from
-// be/be_visitor_interface/any_op_cs.cpp:60
-
-void operator<<= (
+// Copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
CORBA::PolicyCurrent_ptr _tao_elem
)
{
- _tao_any._tao_replace (
- CORBA::_tc_PolicyCurrent,
- 1,
- CORBA::PolicyCurrent::_duplicate (_tao_elem),
- CORBA::PolicyCurrent::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
+ CORBA::PolicyCurrent_ptr _tao_objptr =
+ CORBA::PolicyCurrent::_duplicate (_tao_elem);
+ _tao_any <<= &_tao_objptr;
}
-void operator<<= (
+// Non-copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
CORBA::PolicyCurrent_ptr *_tao_elem
)
{
- _tao_any._tao_replace (
- CORBA::_tc_PolicyCurrent,
- 1,
- *_tao_elem,
- CORBA::PolicyCurrent::_tao_any_destructor
+ TAO::Any_Impl_T<CORBA::PolicyCurrent>::insert (
+ _tao_any,
+ CORBA::PolicyCurrent::_tao_any_destructor,
+ CORBA::_tc_PolicyCurrent,
+ *_tao_elem
);
-
- _tao_any.contains_local (1);
}
-CORBA::Boolean operator>>= (
+CORBA::Boolean
+operator>>= (
const CORBA::Any &_tao_any,
CORBA::PolicyCurrent_ptr &_tao_elem
)
{
- ACE_TRY_NEW_ENV
- {
- _tao_elem = CORBA::PolicyCurrent::_nil ();
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- CORBA::_tc_PolicyCurrent
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (!result)
- {
- return 0; // not equivalent
- }
-
- _tao_elem =
- ACE_reinterpret_cast (
- CORBA::PolicyCurrent_ptr,
- ACE_const_cast (void *, _tao_any.value ())
- );
-
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- _tao_elem = CORBA::PolicyCurrent::_nil ();
- return 0;
+ return
+ TAO::Any_Impl_T<CORBA::PolicyCurrent>::extract (
+ _tao_any,
+ CORBA::PolicyCurrent::_tao_any_destructor,
+ CORBA::_tc_PolicyCurrent,
+ _tao_elem
+ );
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
defined (ACE_HAS_GNU_REPO)
template class TAO_Object_Manager<CORBA::PolicyCurrent,CORBA::PolicyCurrent_var>;
+ template class TAO::Any_Impl_T<CORBA::PolicyCurrent>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<CORBA::PolicyCurrent,CORBA::PolicyCurrent_var>
+# pragma instantiate TAO_Object_Manager<CORBA::PolicyCurrent, CORBA::PolicyCurrent_var>
+# pragma instantiate TAO::Any_Impl_T<CORBA::PolicyCurrent>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:125
#if !defined _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_CPP_
#define _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_CPP_
@@ -3057,12 +3128,15 @@ CORBA::Boolean operator<< (
const CORBA::InvalidPolicies::_tao_seq_UShort &_tao_sequence
)
{
- if (strm << _tao_sequence.length ())
- {
- // encode all elements
- return strm.write_ushort_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
- return 0; // error
+ CORBA::ULong _tao_seq_len = _tao_sequence.length ();
+
+ if (strm << _tao_seq_len)
+ {
+ // Encode all elements.
+ return strm.write_ushort_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+ }
+
+ return 0;
}
CORBA::Boolean operator>> (
@@ -3071,26 +3145,38 @@ CORBA::Boolean operator>> (
)
{
CORBA::ULong _tao_seq_len;
+
if (strm >> _tao_seq_len)
- {
- // Add a check to the length of the sequence
- // to make sure it does not exceed the length
- // of the stream. (See bug 1159.)
- if (_tao_seq_len > strm.length())
- return 0;
- // set the length of the sequence
- _tao_sequence.length (_tao_seq_len);
- // If length is 0 we return true.
- if (0 >= _tao_seq_len)
- return 1;
- // retrieve all the elements
- return strm.read_ushort_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
- }
- return 0; // error
+ {
+ // Add a check to the length of the sequence
+ // to make sure it does not exceed the length
+ // of the stream. (See bug 58.)
+ if (_tao_seq_len > strm.length ())
+ {
+ return 0;
+ }
+
+ // Set the length of the sequence.
+ _tao_sequence.length (_tao_seq_len);
+
+ // If length is 0 we return true.
+ if (0 >= _tao_seq_len)
+ {
+ return 1;
+ }
+
+ // Retrieve all the elements.
+ return strm.read_ushort_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+ }
+
+ return 0;
}
#endif /* _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_CPP_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:94
+
CORBA::Boolean operator<< (
TAO_OutputCDR &strm,
const CORBA::Policy_ptr _tao_objref
@@ -3108,9 +3194,13 @@ CORBA::Boolean operator>> (
ACE_TRY_NEW_ENV
{
CORBA::Object_var obj;
+
if ((strm >> obj.inout ()) == 0)
- return 0;
- // narrow to the right type
+ {
+ return 0;
+ }
+
+ // Narrow to the right type.
_tao_objref =
CORBA::Policy::_unchecked_narrow (
obj.in ()
@@ -3127,3 +3217,33 @@ CORBA::Boolean operator>> (
return 0;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:60
+
+CORBA::Boolean
+TAO::Any_Impl_T<CORBA::PolicyManager>::marshal_value (TAO_OutputCDR &)
+{
+ return 0;
+}
+
+CORBA::Boolean
+TAO::Any_Impl_T<CORBA::PolicyManager>::demarshal_value (TAO_InputCDR &)
+{
+ return 0;
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:60
+
+CORBA::Boolean
+TAO::Any_Impl_T<CORBA::PolicyCurrent>::marshal_value (TAO_OutputCDR &)
+{
+ return 0;
+}
+
+CORBA::Boolean
+TAO::Any_Impl_T<CORBA::PolicyCurrent>::demarshal_value (TAO_InputCDR &)
+{
+ return 0;
+}
+
diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h
index 0d8346ce943..ca8984dfd9f 100644
--- a/TAO/tao/PolicyC.h
+++ b/TAO/tao/PolicyC.h
@@ -19,8 +19,11 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef _TAO_IDL_POLICYC_H_
-#define _TAO_IDL_POLICYC_H_
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
+
+#ifndef _TAO_IDL_ORIG_POLICYC_H_
+#define _TAO_IDL_ORIG_POLICYC_H_
#include "ace/pre.h"
#include "tao/corbafwd.h"
@@ -59,39 +62,67 @@
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
+
TAO_NAMESPACE CORBA
{
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
+
typedef CORBA::Short PolicyErrorCode;
typedef CORBA::Short_out PolicyErrorCode_out;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyErrorCode;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short BAD_POLICY;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short UNSUPPORTED_POLICY;
+ const CORBA::Short BAD_POLICY = 0;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short BAD_POLICY_TYPE;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short BAD_POLICY_VALUE;
+ const CORBA::Short UNSUPPORTED_POLICY = 1;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short UNSUPPORTED_POLICY_VALUE;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::Short BAD_POLICY_TYPE = 2;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+ const CORBA::Short BAD_POLICY_VALUE = 3;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::Short UNSUPPORTED_POLICY_VALUE = 4;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+
#if !defined (_CORBA_POLICYERROR_CH_)
#define _CORBA_POLICYERROR_CH_
class TAO_Export PolicyError : public CORBA::UserException
{
public:
- ACE_NESTED_CLASS (CORBA, PolicyErrorCode) reason;
+ CORBA::PolicyErrorCode reason;
PolicyError (void);
PolicyError (const PolicyError &);
~PolicyError (void);
PolicyError &operator= (const PolicyError &);
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
static PolicyError *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -109,19 +140,29 @@ TAO_NAMESPACE CORBA
ACE_ENV_ARG_DECL_NOT_USED
);
- PolicyError (
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66
+
+ PolicyError (
ACE_NESTED_CLASS (CORBA, PolicyErrorCode) _tao_reason
);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
-TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyError;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyError;
+
#endif /* end #if !defined */
-
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+
#if !defined (_CORBA_INVALIDPOLICIES_CH_)
#define _CORBA_INVALIDPOLICIES_CH_
@@ -129,16 +170,20 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyError;
{
public:
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ch.cpp:65
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CH_
- class TAO_EXPORT_MACRO _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort
+ class TAO_Export _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort
: public TAO_Unbounded_Base_Sequence
{
public:
- // = Initialization and termination methods.
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (void);
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (
@@ -175,60 +220,67 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyError;
CORBA::Boolean release
);
};
-
+
#endif /* end #if !defined */
-
-
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+
#if !defined (_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CH_)
#define _CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:371
+
class _tao_seq_UShort;
// *************************************************************
- // _tao_seq_UShort
+ // CORBA::InvalidPolicies::_tao_seq_UShort
// *************************************************************
class TAO_Export _tao_seq_UShort : public
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:51
+
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::UShort>
+
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
- _tao_seq_UShort (void); // default ctor
- _tao_seq_UShort (CORBA::ULong max); // uses max size
+ _tao_seq_UShort (void);
+ _tao_seq_UShort (CORBA::ULong max);
_tao_seq_UShort (
CORBA::ULong max,
CORBA::ULong length,
CORBA::UShort *buffer,
CORBA::Boolean release = 0
);
- _tao_seq_UShort (const _tao_seq_UShort &); // copy ctor
+ _tao_seq_UShort (const _tao_seq_UShort &);
~_tao_seq_UShort (void);
+
static void _tao_any_destructor (void*);
+
};
-
+
#endif /* end #if !defined */
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_field/field_ch.cpp:447
-#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef _tao_seq_UShort _indices_seq;
-#endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */
-
_tao_seq_UShort indices;
-
InvalidPolicies (void);
InvalidPolicies (const InvalidPolicies &);
~InvalidPolicies (void);
InvalidPolicies &operator= (const InvalidPolicies &);
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
static InvalidPolicies *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
@@ -246,31 +298,43 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyError;
ACE_ENV_ARG_DECL_NOT_USED
);
- InvalidPolicies (
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66
+
+ InvalidPolicies (
const _tao_seq_UShort & _tao_indices
);
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
+
virtual CORBA::TypeCode_ptr _type (void) const;
};
-
-TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
+
#endif /* end #if !defined */
-
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
+
#if !defined (_CORBA_POLICY___PTR_CH_)
#define _CORBA_POLICY___PTR_CH_
class Policy;
typedef Policy *Policy_ptr;
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_CORBA_POLICY___VAR_CH_)
#define _CORBA_POLICY___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
+
class TAO_Export Policy_var : public TAO_Base_var
{
public:
@@ -310,13 +374,14 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
Policy_var &operator= (const TAO_Base_var &rhs);
};
-
#endif /* end #if !defined */
-
-
+
#if !defined (_CORBA_POLICY___OUT_CH_)
#define _CORBA_POLICY___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
+
class TAO_Export Policy_out
{
public:
@@ -333,38 +398,29 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
private:
Policy_ptr &ptr_;
};
-
-
+
#endif /* end #if !defined */
- // *************************************************************
- // CORBA::Policy
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:106
- // *************************************************************
-
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
+
#if !defined (_CORBA_POLICY_CH_)
#define _CORBA_POLICY_CH_
- // Forward Classes Declaration.
class _TAO_Policy_Proxy_Impl;
class _TAO_Policy_Remote_Proxy_Impl;
class _TAO_Policy_Proxy_Broker;
class _TAO_Policy_Remote_Proxy_Broker;
class TAO_Export Policy
- : public virtual CORBA_Object
+ : public virtual CORBA::Object
// ****************************************************************
, public virtual TAO_Encodable
// ****************************************************************
{
public:
- #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef Policy_ptr _ptr_type;
typedef Policy_var _var_type;
- #endif /* ! __GNUC__ || g++ >= 2.8 */
-
static int _tao_class_id;
// The static operations.
@@ -385,40 +441,50 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
return (Policy_ptr)0;
}
- static void _tao_any_destructor (void*);
+ static void _tao_any_destructor (void *);
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual CORBA::PolicyType policy_type (
-
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual ::CORBA::Policy_ptr copy (
-
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual void destroy (
-
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
+
virtual CORBA::Boolean _is_a (
- const CORBA::Char *type_id
+ const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual void *_tao_QueryInterface (ptr_arith_t type);
virtual const char* _interface_repository_id (void) const;
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
// ****************************************************************
virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &);
@@ -429,12 +495,12 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
private:
_TAO_Policy_Proxy_Broker *the_TAO_Policy_Proxy_Broker_;
-
+
protected:
Policy (int collocated = 0);
// These methods travese the inheritance tree and set the
- // parents piece of the given class in the right mode
+ // parents piece of the given class in the right mode.
virtual void CORBA_Policy_setup_collocation (int collocated);
Policy (
@@ -442,12 +508,11 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
CORBA::Boolean _tao_collocated = 0,
TAO_Abstract_ServantBase *servant = 0
);
+ virtual ~Policy (void);
friend class _TAO_Policy_Remote_Proxy_Impl;
friend class _TAO_Policy_ThruPOA_Proxy_Impl;
friend class _TAO_Policy_Direct_Proxy_Impl;
-
- virtual ~Policy (void);
private:
Policy (const Policy &);
@@ -455,19 +520,26 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
};
// The Proxy Implementations are used by each interface to
- // perform a call. Each different implementation encapsulate
- // an invocation logics.
+ // perform a call. Each different implementation encapsulates
+ // an invocation logic.
///////////////////////////////////////////////////////////////////////
// Base Proxy Impl. Declaration
//
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_impl_ch.cpp:35
+
class TAO_Export _TAO_Policy_Proxy_Impl
: public virtual TAO_Object_Proxy_Impl
{
public:
- virtual ~_TAO_Policy_Proxy_Impl (void) { }
+ virtual ~_TAO_Policy_Proxy_Impl (void) {}
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual CORBA::PolicyType policy_type (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -476,6 +548,9 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
CORBA::SystemException
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual ::CORBA::Policy_ptr copy (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -484,6 +559,9 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
CORBA::SystemException
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/base_proxy_impl_ch.cpp:24
+
virtual void destroy (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -491,8 +569,7 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
-
+
protected:
_TAO_Policy_Proxy_Impl (void);
};
@@ -506,6 +583,9 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
// Remote Proxy Impl. Declaration
//
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_impl_ch.cpp:37
+
class TAO_Export _TAO_Policy_Remote_Proxy_Impl
: public virtual _TAO_Policy_Proxy_Impl,
public virtual TAO_Remote_Object_Proxy_Impl
@@ -513,7 +593,11 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
public:
_TAO_Policy_Remote_Proxy_Impl (void);
- virtual ~_TAO_Policy_Remote_Proxy_Impl (void) { }
+ virtual ~_TAO_Policy_Remote_Proxy_Impl (void) {}
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual CORBA::PolicyType policy_type (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -522,6 +606,9 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
CORBA::SystemException
));
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual ::CORBA::Policy_ptr copy (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -530,6 +617,9 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
CORBA::SystemException
));
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/proxy_impl_xh.cpp:24
+
virtual void destroy (
CORBA_Object *_collocated_tao_target_
ACE_ENV_ARG_DECL
@@ -537,8 +627,6 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
-
};
//
@@ -550,12 +638,14 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
// collocation scheme, the proxy to be used can vary on
// a call by call basis.
-
///////////////////////////////////////////////////////////////////////
// Base Proxy Broker Declaration
//
- class TAO_Export _TAO_Policy_Proxy_Broker
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/base_proxy_broker_ch.cpp:35
+
+ class TAO_Export _TAO_Policy_Proxy_Broker
{
public:
virtual ~_TAO_Policy_Proxy_Broker (void);
@@ -578,6 +668,9 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
// Remote Proxy Broker Declaration
//
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/remote_proxy_broker_ch.cpp:40
+
class TAO_Export _TAO_Policy_Remote_Proxy_Broker
: public virtual _TAO_Policy_Proxy_Broker
{
@@ -604,25 +697,31 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
//
// End Remote Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
-
-
+
#endif /* end #if !defined */
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Policy;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Policy;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
+
#if !defined (_CORBA_POLICYMANAGER___PTR_CH_)
#define _CORBA_POLICYMANAGER___PTR_CH_
class PolicyManager;
typedef PolicyManager *PolicyManager_ptr;
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_CORBA_POLICYMANAGER___VAR_CH_)
#define _CORBA_POLICYMANAGER___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
+
class TAO_Export PolicyManager_var : public TAO_Base_var
{
public:
@@ -662,13 +761,14 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
PolicyManager_var &operator= (const TAO_Base_var &rhs);
};
-
#endif /* end #if !defined */
-
-
+
#if !defined (_CORBA_POLICYMANAGER___OUT_CH_)
#define _CORBA_POLICYMANAGER___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
+
class TAO_Export PolicyManager_out
{
public:
@@ -685,29 +785,21 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
private:
PolicyManager_ptr &ptr_;
};
-
-
+
#endif /* end #if !defined */
- // *************************************************************
- // CORBA::PolicyManager
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:106
- // *************************************************************
-
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
+
#if !defined (_CORBA_POLICYMANAGER_CH_)
#define _CORBA_POLICYMANAGER_CH_
class TAO_Export PolicyManager
- : public virtual CORBA_Object
+ : public virtual CORBA::Object
{
public:
- #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef PolicyManager_ptr _ptr_type;
typedef PolicyManager_var _var_type;
- #endif /* ! __GNUC__ || g++ >= 2.8 */
-
static int _tao_class_id;
// The static operations.
@@ -728,7 +820,10 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
return (PolicyManager_ptr)0;
}
- static void _tao_any_destructor (void*);
+ static void _tao_any_destructor (void *);
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::CORBA::PolicyList * get_policy_overrides (
const CORBA::PolicyTypeSeq & ts
@@ -738,6 +833,9 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
CORBA::SystemException
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual void set_policy_overrides (
const CORBA::PolicyList & policies,
CORBA::SetOverrideType set_add
@@ -748,38 +846,47 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
, CORBA::InvalidPolicies
)) = 0;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
+
virtual void *_tao_QueryInterface (ptr_arith_t type);
virtual const char* _interface_repository_id (void) const;
-
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
+
protected:
PolicyManager (void);
-
virtual ~PolicyManager (void);
-
+
private:
PolicyManager (const PolicyManager &);
void operator= (const PolicyManager &);
};
-
-
+
#endif /* end #if !defined */
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyManager;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyManager;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
+
#if !defined (_CORBA_POLICYCURRENT___PTR_CH_)
#define _CORBA_POLICYCURRENT___PTR_CH_
class PolicyCurrent;
typedef PolicyCurrent *PolicyCurrent_ptr;
-
+
#endif /* end #if !defined */
-
-
+
#if !defined (_CORBA_POLICYCURRENT___VAR_CH_)
#define _CORBA_POLICYCURRENT___VAR_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
+
class TAO_Export PolicyCurrent_var : public TAO_Base_var
{
public:
@@ -819,13 +926,14 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
PolicyCurrent_var &operator= (const TAO_Base_var &rhs);
};
-
#endif /* end #if !defined */
-
-
+
#if !defined (_CORBA_POLICYCURRENT___OUT_CH_)
#define _CORBA_POLICYCURRENT___OUT_CH_
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
+
class TAO_Export PolicyCurrent_out
{
public:
@@ -842,17 +950,12 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
private:
PolicyCurrent_ptr &ptr_;
};
-
-
+
#endif /* end #if !defined */
- // *************************************************************
- // CORBA::PolicyCurrent
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:106
- // *************************************************************
-
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
+
#if !defined (_CORBA_POLICYCURRENT_CH_)
#define _CORBA_POLICYCURRENT_CH_
@@ -861,11 +964,8 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
public virtual CORBA::Current
{
public:
- #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef PolicyCurrent_ptr _ptr_type;
typedef PolicyCurrent_var _var_type;
- #endif /* ! __GNUC__ || g++ >= 2.8 */
-
static int _tao_class_id;
// The static operations.
@@ -886,68 +986,106 @@ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_InvalidPolicies;
return (PolicyCurrent_ptr)0;
}
- static void _tao_any_destructor (void*);
+ static void _tao_any_destructor (void *);
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
virtual void *_tao_QueryInterface (ptr_arith_t type);
virtual const char* _interface_repository_id (void) const;
-
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
+
protected:
PolicyCurrent (void);
-
virtual ~PolicyCurrent (void);
-
+
private:
PolicyCurrent (const PolicyCurrent &);
void operator= (const PolicyCurrent &);
};
-
-
+
#endif /* end #if !defined */
- TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyCurrent;
-
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_PolicyCurrent;
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67
+
}
TAO_NAMESPACE_CLOSE // module CORBA
// Proxy Broker Factory function pointer declarations.
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:80
+
extern TAO_Export
CORBA::_TAO_Policy_Proxy_Broker *
(*CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer) (
CORBA::Object_ptr obj
);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const CORBA::PolicyError &); // copying version
TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyError*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyError *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::PolicyError *&);
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const CORBA::InvalidPolicies &); // copying version
TAO_Export void operator<<= (CORBA::Any &, CORBA::InvalidPolicies*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::InvalidPolicies *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::InvalidPolicies *&);
-// Any operators for interface CORBA::Policy
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, CORBA::Policy_ptr); // copying
TAO_Export void operator<<= (CORBA::Any &, CORBA::Policy_ptr *); // non-copying
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::Policy_ptr &);
-// Any operators for interface CORBA::PolicyManager
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyManager_ptr); // copying
TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyManager_ptr *); // non-copying
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyManager_ptr &);
-// Any operators for interface CORBA::PolicyCurrent
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyCurrent_ptr); // copying
TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyCurrent_ptr *); // non-copying
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyCurrent_ptr &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48
+
#ifndef __ACE_INLINE__
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::PolicyError &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::PolicyError &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::InvalidPolicies &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::InvalidPolicies &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ch.cpp:57
+
#if !defined _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_H_
#define _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_H_
@@ -962,12 +1100,19 @@ TAO_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_H_ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_ch.cpp:55
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::Policy_ptr );
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::Policy_ptr &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64
+
#endif /* __ACE_INLINE__ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1009
#if defined (__ACE_INLINE__)
#include "PolicyC.i"
@@ -983,3 +1128,4 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::Policy_ptr &);
#include "ace/post.h"
#endif /* ifndef */
+
diff --git a/TAO/tao/PolicyC.i b/TAO/tao/PolicyC.i
index 5ee64975e3f..c5f9e942aba 100644
--- a/TAO/tao/PolicyC.i
+++ b/TAO/tao/PolicyC.i
@@ -19,191 +19,223 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-// *************************************************************
-// Inline operations for exception CORBA::PolicyError
-// *************************************************************
-
-// *************************************************************
-// Inline operations for exception CORBA::InvalidPolicies
-// *************************************************************
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/gen_unbounded_sequence_ci.cpp:99
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CI_
-// = Static operations.
-ACE_INLINE CORBA::UShort *
+ACE_INLINE
+CORBA::UShort *
CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (CORBA::ULong size)
-// Allocate storage for the sequence.
{
CORBA::UShort *retval = 0;
ACE_NEW_RETURN (retval, CORBA::UShort[size], 0);
return retval;
}
-ACE_INLINE void CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (CORBA::UShort *buffer)
-// Free the sequence.
+ACE_INLINE
+void CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (CORBA::UShort *buffer)
{
delete [] buffer;
}
ACE_INLINE
-CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (void) // Default constructor.
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (void)
{
}
ACE_INLINE
-CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (CORBA::ULong maximum) // Constructor using a maximum length value.
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (CORBA::ULong maximum)
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (maximum))
{
}
ACE_INLINE
-CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (CORBA::ULong maximum,
- CORBA::ULong length,
- CORBA::UShort *data,
- CORBA::Boolean release)
-: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (
+ CORBA::ULong maximum,
+ CORBA::ULong length,
+ CORBA::UShort *data,
+ CORBA::Boolean release
+ )
+ : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
ACE_INLINE
-CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (const _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort &rhs)
-// Copy constructor.
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (
+ const _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort &rhs
+ )
: TAO_Unbounded_Base_Sequence (rhs)
{
if (rhs.buffer_ != 0)
- {
- CORBA::UShort *tmp1 = _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (this->maximum_);
- CORBA::UShort * const tmp2 = ACE_reinterpret_cast (CORBA::UShort * ACE_CAST_CONST, rhs.buffer_);
-
- for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp1[i] = tmp2[i];
-
- this->buffer_ = tmp1;
- }
+ {
+ CORBA::UShort *tmp1 =
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (this->maximum_);
+ CORBA::UShort * const tmp2 =
+ ACE_reinterpret_cast (CORBA::UShort * 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;
- }
+ {
+ this->buffer_ = 0;
+ }
}
-ACE_INLINE CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort &
-CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::operator= (const _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort &rhs)
-// Assignment operator.
+ACE_INLINE
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort &
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::operator= (
+ const _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort &rhs
+ )
{
if (this == &rhs)
- return *this;
+ {
+ return *this;
+ }
if (this->release_)
- {
- if (this->maximum_ < rhs.maximum_)
{
- // free the old buffer
- CORBA::UShort *tmp = ACE_reinterpret_cast (CORBA::UShort *, this->buffer_);
- _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (tmp);
- this->buffer_ = _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (rhs.maximum_);
+ if (this->maximum_ < rhs.maximum_)
+ {
+ // Free the old buffer.
+ CORBA::UShort *tmp =
+ ACE_reinterpret_cast (CORBA::UShort *, this->buffer_);
+
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (tmp);
+
+ this->buffer_ =
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (rhs.maximum_);
+ }
}
- }
else
- this->buffer_ = _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (rhs.maximum_);
+ {
+ this->buffer_ =
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (rhs.maximum_);
+ }
TAO_Unbounded_Base_Sequence::operator= (rhs);
- CORBA::UShort *tmp1 = ACE_reinterpret_cast (CORBA::UShort *, this->buffer_);
- CORBA::UShort * const tmp2 = ACE_reinterpret_cast (CORBA::UShort * ACE_CAST_CONST, rhs.buffer_);
+ CORBA::UShort *tmp1 =
+ ACE_reinterpret_cast (CORBA::UShort *, this->buffer_);
+ CORBA::UShort * const tmp2 =
+ ACE_reinterpret_cast (CORBA::UShort * ACE_CAST_CONST, rhs.buffer_);
for (CORBA::ULong i = 0; i < this->length_; ++i)
- tmp1[i] = tmp2[i];
+ {
+ tmp1[i] = tmp2[i];
+ }
return *this;
}
// = Accessors.
-ACE_INLINE CORBA::UShort &
+ACE_INLINE
+CORBA::UShort &
CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::operator[] (CORBA::ULong i)
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- CORBA::UShort* tmp = ACE_reinterpret_cast(CORBA::UShort*,this->buffer_);
+ CORBA::UShort* tmp =
+ ACE_reinterpret_cast (CORBA::UShort*, this->buffer_);
return tmp[i];
}
-ACE_INLINE const CORBA::UShort &
+ACE_INLINE
+const CORBA::UShort &
CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::operator[] (CORBA::ULong i) const
-// operator []
{
ACE_ASSERT (i < this->maximum_);
- CORBA::UShort * const tmp = ACE_reinterpret_cast (CORBA::UShort* ACE_CAST_CONST, this->buffer_);
+ CORBA::UShort * const tmp =
+ ACE_reinterpret_cast (CORBA::UShort* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-ACE_INLINE CORBA::UShort *
+ACE_INLINE
+CORBA::UShort *
CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::get_buffer (CORBA::Boolean orphan)
{
CORBA::UShort *result = 0;
+
if (orphan == 0)
- {
- // We retain ownership.
- if (this->buffer_ == 0)
{
- result = _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (this->length_);
- this->buffer_ = result;
- this->release_ = 1;
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result =
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::allocbuf (this->length_);
+ this->buffer_ = result;
+ this->release_ = 1;
+ }
+ else
+ {
+ result =
+ ACE_reinterpret_cast (CORBA::UShort*, this->buffer_);
+ }
}
- else
- {
- result = ACE_reinterpret_cast (CORBA::UShort*, this->buffer_);
- }
- }
else // if (orphan == 1)
- {
- if (this->release_ != 0)
{
- // We set the state back to default and relinquish
- // ownership.
- result = ACE_reinterpret_cast(CORBA::UShort*,this->buffer_);
- this->maximum_ = 0;
- this->length_ = 0;
- this->buffer_ = 0;
- this->release_ = 0;
+ if (this->release_ != 0)
+ {
+ // We set the state back to default and relinquish ownership.
+ result =
+ ACE_reinterpret_cast(CORBA::UShort*,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
}
- }
+
return result;
}
-ACE_INLINE const CORBA::UShort *
+ACE_INLINE
+const CORBA::UShort *
CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::get_buffer (void) const
{
- return ACE_reinterpret_cast(const CORBA::UShort * ACE_CAST_CONST, this->buffer_);
+ return ACE_reinterpret_cast (const CORBA::UShort * ACE_CAST_CONST, this->buffer_);
}
-ACE_INLINE void
-CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::replace (CORBA::ULong max,
-CORBA::ULong length,
-CORBA::UShort *data,
-CORBA::Boolean release)
+ACE_INLINE
+void
+CORBA::InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::replace (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::UShort *data,
+ CORBA::Boolean release
+ )
{
this->maximum_ = max;
this->length_ = length;
+
if (this->buffer_ && this->release_ == 1)
- {
- CORBA::UShort *tmp = ACE_reinterpret_cast(CORBA::UShort*,this->buffer_);
- _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (tmp);
- }
+ {
+ CORBA::UShort *tmp =
+ ACE_reinterpret_cast (CORBA::UShort*, this->buffer_);
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::freebuf (tmp);
+ }
+
this->buffer_ = data;
this->release_ = release;
}
#endif /* end #if !defined */
-
#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
+
#if !defined (_CORBA_POLICY___CI_)
#define _CORBA_POLICY___CI_
@@ -218,51 +250,96 @@ CORBA::Policy::Policy (
this->CORBA_Policy_setup_collocation (_tao_collocated);
}
+ACE_INLINE
+CORBA::Boolean
+CORBA::Policy::marshal (TAO_OutputCDR &cdr)
+{
+ return (cdr << this);
+}
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_CORBA_POLICYMANAGER___CI_)
#define _CORBA_POLICYMANAGER___CI_
+ACE_INLINE
+CORBA::Boolean
+CORBA::PolicyManager::marshal (TAO_OutputCDR &)
+{
+ return 0;
+}
#endif /* end #if !defined */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_CORBA_POLICYCURRENT___CI_)
#define _CORBA_POLICYCURRENT___CI_
+ACE_INLINE
+CORBA::Boolean
+CORBA::PolicyCurrent::marshal (TAO_OutputCDR &)
+{
+ return 0;
+}
#endif /* end #if !defined */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::PolicyError &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const CORBA::PolicyError &_tao_aggregate
+ )
{
- // first marshal the repository ID
+ // First marshal the repository ID.
if (strm << _tao_aggregate._rep_id ())
- {
- // now marshal the members (if any)
- if (
- (strm << _tao_aggregate.reason)
- )
- return 1;
- else
- return 0;
- }
+ {
+ // Now marshal the members (if any).
+ if (
+ (strm << _tao_aggregate.reason)
+ )
+ {
+ return 1;
+ }
+ else
+ {
+ return 0;
+ }
+ }
else
- return 0;
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,CORBA::PolicyError &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ CORBA::PolicyError &_tao_aggregate
+ )
{
- // now marshal the members
+ // Demarshal the members.
if (
(strm >> _tao_aggregate.reason)
)
- return 1;
+ {
+ return 1;
+ }
else
- return 0;
+ {
+ return 0;
+ }
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:84
#if !defined _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_I_
#define _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_I_
@@ -271,6 +348,7 @@ CORBA::Boolean TAO_Export operator<< (
TAO_OutputCDR &,
const CORBA::InvalidPolicies::_tao_seq_UShort &
);
+
CORBA::Boolean TAO_Export operator>> (
TAO_InputCDR &,
CORBA::InvalidPolicies::_tao_seq_UShort &
@@ -278,34 +356,58 @@ CORBA::Boolean TAO_Export operator>> (
#endif /* _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_UShort_I_ */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::InvalidPolicies &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const CORBA::InvalidPolicies &_tao_aggregate
+ )
{
- // first marshal the repository ID
+ // First marshal the repository ID.
if (strm << _tao_aggregate._rep_id ())
- {
- // now marshal the members (if any)
- if (
- (strm << _tao_aggregate.indices)
- )
- return 1;
- else
- return 0;
- }
+ {
+ // Now marshal the members (if any).
+ if (
+ (strm << _tao_aggregate.indices)
+ )
+ {
+ return 1;
+ }
+ else
+ {
+ return 0;
+ }
+ }
else
- return 0;
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,CORBA::InvalidPolicies &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ CORBA::InvalidPolicies &_tao_aggregate
+ )
{
- // now marshal the members
+ // Demarshal the members.
if (
(strm >> _tao_aggregate.indices)
)
- return 1;
+ {
+ return 1;
+ }
else
- return 0;
+ {
+ return 0;
+ }
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_ci.cpp:72
+
TAO_Export CORBA::Boolean operator<< (
TAO_OutputCDR &,
const CORBA::Policy_ptr
diff --git a/TAO/tao/TAOC.cpp b/TAO/tao/TAOC.cpp
index d0e3f7c56d7..9c57f045efa 100644
--- a/TAO/tao/TAOC.cpp
+++ b/TAO/tao/TAOC.cpp
@@ -19,41 +19,49 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#include "TAOC.h"
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314
+#include "TAOC.h"
+
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+#include "tao/Any_T.h"
+
#if !defined (__ACE_INLINE__)
#include "TAOC.i"
#endif /* !defined INLINE */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_TAO_BufferingConstraintMode[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
40,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x74616f2f),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e744d),
- ACE_NTOHL (0x6f64653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x74616f2f),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e744d),
+ ACE_NTOHL (0x6f64653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:tao/TAO/BufferingConstraintMode:1.0
- 24,
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e744d),
+ 24,
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e744d),
ACE_NTOHL (0x6f646500), // name = BufferingConstraintMode
- CORBA::tk_ushort,
+ CORBA::tk_ushort,
};
@@ -67,106 +75,97 @@ static CORBA::TypeCode _tc_TAO_tc_TAO_BufferingConstraintMode (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_BufferingConstraintMode, &_tc_TAO_tc_TAO_BufferingConstraintMode)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_BufferingConstraintMode,
+ &_tc_TAO_tc_TAO_BufferingConstraintMode
+ )
TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::UShort)
-TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (const CORBA::UShort, BUFFER_FLUSH, 0U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::UShort)
-TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (const CORBA::UShort, BUFFER_TIMEOUT, 1U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::UShort)
-TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (const CORBA::UShort, BUFFER_MESSAGE_COUNT, 2U)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::UShort)
-TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (const CORBA::UShort, BUFFER_MESSAGE_BYTES, 4U)
-TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_TAO_BufferingConstraint[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x74616f2f),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e743a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x74616f2f),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:tao/TAO/BufferingConstraint:1.0
- 20,
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
+ 20,
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
ACE_NTOHL (0x696e7400), // name = BufferingConstraint
4, // member count
- 5,
- ACE_NTOHL (0x6d6f6465),
+ 5,
+ ACE_NTOHL (0x6d6f6465),
ACE_NTOHL (0x0), // name = mode
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
80, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
40,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x74616f2f),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e744d),
- ACE_NTOHL (0x6f64653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x74616f2f),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e744d),
+ ACE_NTOHL (0x6f64653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:tao/TAO/BufferingConstraintMode:1.0
- 24,
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e744d),
+ 24,
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e744d),
ACE_NTOHL (0x6f646500), // name = BufferingConstraintMode
- CORBA::tk_ushort,
+ CORBA::tk_ushort,
8,
- ACE_NTOHL (0x74696d65),
+ ACE_NTOHL (0x74696d65),
ACE_NTOHL (0x6f757400), // name = timeout
- CORBA::tk_alias, // typecode kind for typedefs
+ CORBA::tk_alias, // typecode kind for typedefs
56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
31,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x54696d65),
- ACE_NTOHL (0x42617365),
- ACE_NTOHL (0x2f54696d),
- ACE_NTOHL (0x65543a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x54696d65),
+ ACE_NTOHL (0x42617365),
+ ACE_NTOHL (0x2f54696d),
+ ACE_NTOHL (0x65543a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
- 6,
- ACE_NTOHL (0x54696d65),
+ 6,
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
- CORBA::tk_ulonglong,
+ CORBA::tk_ulonglong,
14,
- ACE_NTOHL (0x6d657373),
- ACE_NTOHL (0x6167655f),
- ACE_NTOHL (0x636f756e),
+ ACE_NTOHL (0x6d657373),
+ ACE_NTOHL (0x6167655f),
+ ACE_NTOHL (0x636f756e),
ACE_NTOHL (0x74000000), // name = message_count
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
14,
- ACE_NTOHL (0x6d657373),
- ACE_NTOHL (0x6167655f),
- ACE_NTOHL (0x62797465),
+ ACE_NTOHL (0x6d657373),
+ ACE_NTOHL (0x6167655f),
+ ACE_NTOHL (0x62797465),
ACE_NTOHL (0x73000000), // name = message_bytes
- CORBA::tk_ulong,
+ CORBA::tk_ulong,
};
@@ -180,22 +179,24 @@ static CORBA::TypeCode _tc_TAO_tc_TAO_BufferingConstraint (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_BufferingConstraint, &_tc_TAO_tc_TAO_BufferingConstraint)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_BufferingConstraint,
+ &_tc_TAO_tc_TAO_BufferingConstraint
+ )
TAO_NAMESPACE_END
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:67
+
void TAO::BufferingConstraint::_tao_any_destructor (void *_tao_void_pointer)
{
BufferingConstraint *tmp = ACE_static_cast (BufferingConstraint*, _tao_void_pointer);
delete tmp;
}
-TAO_NAMESPACE_TYPE (const CORBA::ULong)
-TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (const CORBA::ULong, BUFFERING_CONSTRAINT_POLICY_TYPE, 1413545985U)
-TAO_NAMESPACE_END
-
// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:67
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
int TAO::BufferingConstraintPolicy::_tao_class_id = 0;
@@ -242,13 +243,23 @@ tao_TAO_BufferingConstraintPolicy_upcast (
return *tmp;
}
+CORBA::Boolean
+tao_TAO_BufferingConstraintPolicy_marshal (
+ TAO::BufferingConstraintPolicy_ptr p,
+ TAO_OutputCDR &strm
+ )
+{
+ return p->marshal (strm);
+}
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
+
// *************************************************************
// TAO::BufferingConstraintPolicy_var
-// TAO_IDL - Generated from
-// be/be_interface.cpp:654
// *************************************************************
-TAO::BufferingConstraintPolicy_var::BufferingConstraintPolicy_var (void) // default constructor
+TAO::BufferingConstraintPolicy_var::BufferingConstraintPolicy_var (void)
: ptr_ (BufferingConstraintPolicy::_nil ())
{}
@@ -258,12 +269,12 @@ TAO::BufferingConstraintPolicy_var::ptr (void) const
return this->ptr_;
}
-TAO::BufferingConstraintPolicy_var::BufferingConstraintPolicy_var (const ::TAO::BufferingConstraintPolicy_var &p) // copy constructor
+TAO::BufferingConstraintPolicy_var::BufferingConstraintPolicy_var (const ::TAO::BufferingConstraintPolicy_var &p)
: TAO_Base_var (),
ptr_ (BufferingConstraintPolicy::_duplicate (p.ptr ()))
{}
-TAO::BufferingConstraintPolicy_var::~BufferingConstraintPolicy_var (void) // destructor
+TAO::BufferingConstraintPolicy_var::~BufferingConstraintPolicy_var (void)
{
CORBA::release (this->ptr_);
}
@@ -292,7 +303,7 @@ TAO::BufferingConstraintPolicy_var::operator const ::TAO::BufferingConstraintPol
return this->ptr_;
}
-TAO::BufferingConstraintPolicy_var::operator ::TAO::BufferingConstraintPolicy_ptr &() // cast
+TAO::BufferingConstraintPolicy_var::operator ::TAO::BufferingConstraintPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -367,10 +378,11 @@ TAO::BufferingConstraintPolicy_var::tao_upcast (void *src)
return *tmp;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
+
// *************************************************************
// TAO::BufferingConstraintPolicy_out
-// TAO_IDL - Generated from
-// be/be_interface.cpp:932
// *************************************************************
TAO::BufferingConstraintPolicy_out::BufferingConstraintPolicy_out (BufferingConstraintPolicy_ptr &p)
@@ -379,14 +391,14 @@ TAO::BufferingConstraintPolicy_out::BufferingConstraintPolicy_out (BufferingCons
this->ptr_ = ::TAO::BufferingConstraintPolicy::_nil ();
}
-TAO::BufferingConstraintPolicy_out::BufferingConstraintPolicy_out (BufferingConstraintPolicy_var &p) // constructor from _var
+TAO::BufferingConstraintPolicy_out::BufferingConstraintPolicy_out (BufferingConstraintPolicy_var &p)
: ptr_ (p.out ())
{
CORBA::release (this->ptr_);
this->ptr_ = ::TAO::BufferingConstraintPolicy::_nil ();
}
-TAO::BufferingConstraintPolicy_out::BufferingConstraintPolicy_out (const ::TAO::BufferingConstraintPolicy_out &p) // copy constructor
+TAO::BufferingConstraintPolicy_out::BufferingConstraintPolicy_out (const ::TAO::BufferingConstraintPolicy_out &p)
: ptr_ (ACE_const_cast (BufferingConstraintPolicy_out &, p).ptr_)
{}
@@ -417,7 +429,7 @@ TAO::BufferingConstraintPolicy_out::operator ::TAO::BufferingConstraintPolicy_pt
}
::TAO::BufferingConstraintPolicy_ptr &
-TAO::BufferingConstraintPolicy_out::ptr (void) // ptr
+TAO::BufferingConstraintPolicy_out::ptr (void)
{
return this->ptr_;
}
@@ -428,9 +440,8 @@ TAO::BufferingConstraintPolicy_out::operator-> (void)
return this->ptr_;
}
-
-// TAO_IDL - Generated from
-// be/be_visitor_interface/interface_cs.cpp:198
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
TAO::BufferingConstraintPolicy::BufferingConstraintPolicy (void)
{}
@@ -438,13 +449,15 @@ TAO::BufferingConstraintPolicy::BufferingConstraintPolicy (void)
TAO::BufferingConstraintPolicy::~BufferingConstraintPolicy (void)
{}
-void TAO::BufferingConstraintPolicy::_tao_any_destructor (void *_tao_void_pointer)
+void
+TAO::BufferingConstraintPolicy::_tao_any_destructor (void *_tao_void_pointer)
{
- BufferingConstraintPolicy *tmp = ACE_static_cast (BufferingConstraintPolicy*, _tao_void_pointer);
+ BufferingConstraintPolicy *tmp = ACE_static_cast (BufferingConstraintPolicy *, _tao_void_pointer);
CORBA::release (tmp);
}
-TAO::BufferingConstraintPolicy_ptr TAO::BufferingConstraintPolicy::_narrow (
+TAO::BufferingConstraintPolicy_ptr
+TAO::BufferingConstraintPolicy::_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL
)
@@ -452,62 +465,82 @@ TAO::BufferingConstraintPolicy_ptr TAO::BufferingConstraintPolicy::_narrow (
return BufferingConstraintPolicy::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
-TAO::BufferingConstraintPolicy_ptr
+TAO::BufferingConstraintPolicy_ptr
TAO::BufferingConstraintPolicy::_unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_NOT_USED
)
{
if (CORBA::is_nil (obj))
- return BufferingConstraintPolicy::_nil ();
+ {
+ return BufferingConstraintPolicy::_nil ();
+ }
+
return
- ACE_reinterpret_cast
- (
+ ACE_reinterpret_cast (
BufferingConstraintPolicy_ptr,
- obj->_tao_QueryInterface
- (
- ACE_reinterpret_cast
- (
- ptr_arith_t,
- &BufferingConstraintPolicy::_tao_class_id
- )
- )
+ obj->_tao_QueryInterface (
+ ACE_reinterpret_cast (
+ ptr_arith_t,
+ &BufferingConstraintPolicy::_tao_class_id
+ )
+ )
);
}
TAO::BufferingConstraintPolicy_ptr
TAO::BufferingConstraintPolicy::_duplicate (BufferingConstraintPolicy_ptr obj)
{
- if (!CORBA::is_nil (obj))
- obj->_add_ref ();
+ if (! CORBA::is_nil (obj))
+ {
+ obj->_add_ref ();
+ }
+
return obj;
}
void *TAO::BufferingConstraintPolicy::_tao_QueryInterface (ptr_arith_t type)
{
void *retv = 0;
- if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &ACE_NESTED_CLASS (::TAO, BufferingConstraintPolicy)::_tao_class_id))
- retv = ACE_reinterpret_cast (void*, this);
- else if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &::CORBA::Policy::_tao_class_id))
- retv = ACE_reinterpret_cast
- (
- void *,
- ACE_static_cast
- (
- CORBA::Policy_ptr,
- this
- )
- );
- else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_tao_class_id))
- retv = ACE_reinterpret_cast (void *,
- ACE_static_cast (CORBA::Object_ptr, this));
-
- if (retv)
- this->_add_ref ();
+
+ if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &ACE_NESTED_CLASS (::TAO, BufferingConstraintPolicy)::_tao_class_id)
+ )
+ {
+ retv = ACE_reinterpret_cast (void*, this);
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &::CORBA::Policy::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (
+ CORBA::Policy_ptr,
+ this
+ )
+ );
+ }
+ else if (type == ACE_reinterpret_cast (
+ ptr_arith_t,
+ &CORBA::Object::_tao_class_id)
+ )
+ {
+ retv =
+ ACE_reinterpret_cast (
+ void *,
+ ACE_static_cast (CORBA::Object_ptr, this)
+ );
+ }
+
+ if (retv != 0)
+ {
+ this->_add_ref ();
+ }
+
return retv;
}
@@ -516,30 +549,33 @@ const char* TAO::BufferingConstraintPolicy::_interface_repository_id (void) cons
return "IDL:tao/TAO/BufferingConstraintPolicy:1.0";
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+
static const CORBA::Long _oc_TAO_BufferingConstraintPolicy[] =
{
- TAO_ENCAP_BYTE_ORDER, // byte order
+ TAO_ENCAP_BYTE_ORDER, // byte order
42,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x74616f2f),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e7450),
- ACE_NTOHL (0x6f6c6963),
- ACE_NTOHL (0x793a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x74616f2f),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e7450),
+ ACE_NTOHL (0x6f6c6963),
+ ACE_NTOHL (0x793a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:tao/TAO/BufferingConstraintPolicy:1.0
- 26,
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e7450),
- ACE_NTOHL (0x6f6c6963),
+ 26,
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e7450),
+ ACE_NTOHL (0x6f6c6963),
ACE_NTOHL (0x79000000), // name = BufferingConstraintPolicy
-};
+ };
static CORBA::TypeCode _tc_TAO_tc_TAO_BufferingConstraintPolicy (
CORBA::tk_objref,
@@ -551,24 +587,15 @@ static CORBA::TypeCode _tc_TAO_tc_TAO_BufferingConstraintPolicy (
TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (::CORBA::TypeCode_ptr, _tc_BufferingConstraintPolicy, &_tc_TAO_tc_TAO_BufferingConstraintPolicy)
-TAO_NAMESPACE_END
-
-#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
-
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, SYNC_EAGER_BUFFERING, 0)
-TAO_NAMESPACE_END
-TAO_NAMESPACE_TYPE (const CORBA::Short)
-TAO_NAMESPACE_BEGIN (TAO)
-TAO_NAMESPACE_DEFINE (const CORBA::Short, SYNC_DELAYED_BUFFERING, -2)
+TAO_NAMESPACE_DEFINE (
+ ::CORBA::TypeCode_ptr,
+ _tc_BufferingConstraintPolicy,
+ &_tc_TAO_tc_TAO_BufferingConstraintPolicy
+ )
TAO_NAMESPACE_END
-#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
-
-// TAO_IDL - Generated from
-// be/be_visitor_structure/any_op_cs.cpp:58
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54
// Copying insertion.
void operator<<= (
@@ -576,16 +603,12 @@ void operator<<= (
const TAO::BufferingConstraint &_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << _tao_elem)
- {
- _tao_any._tao_replace (
- TAO::_tc_BufferingConstraint,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin ()
- );
- }
+ TAO::Any_Dual_Impl_T<TAO::BufferingConstraint>::insert_copy (
+ _tao_any,
+ TAO::BufferingConstraint::_tao_any_destructor,
+ TAO::_tc_BufferingConstraint,
+ _tao_elem
+ );
}
// Non-copying insertion.
@@ -594,19 +617,12 @@ void operator<<= (
TAO::BufferingConstraint *_tao_elem
)
{
- TAO_OutputCDR stream;
-
- if (stream << *_tao_elem)
- {
- _tao_any._tao_replace (
- TAO::_tc_BufferingConstraint,
- TAO_ENCAP_BYTE_ORDER,
- stream.begin (),
- 1,
- _tao_elem,
- TAO::BufferingConstraint::_tao_any_destructor
- );
- }
+ TAO::Any_Dual_Impl_T<TAO::BufferingConstraint>::insert (
+ _tao_any,
+ TAO::BufferingConstraint::_tao_any_destructor,
+ TAO::_tc_BufferingConstraint,
+ _tao_elem
+ );
}
// Extraction to non-const pointer (deprecated).
@@ -627,144 +643,91 @@ CORBA::Boolean operator>>= (
const TAO::BufferingConstraint *&_tao_elem
)
{
- _tao_elem = 0;
-
- ACE_TRY_NEW_ENV
- {
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- TAO::_tc_BufferingConstraint
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
-
- if (result == 0)
- {
- return 0; // not equivalent
- }
-
- if (_tao_any.any_owns_data ())
- {
- _tao_elem = ACE_static_cast (
- const TAO::BufferingConstraint*,
- _tao_any.value ()
- );
-
- return 1;
- }
- else
- {
- TAO::BufferingConstraint *tmp;
- ACE_NEW_RETURN (
- tmp,
- TAO::BufferingConstraint,
- 0
- );
-
- TAO_InputCDR stream (
- _tao_any._tao_get_cdr (),
- _tao_any._tao_byte_order ()
- );
-
- if (stream >> *tmp)
- {
- ((CORBA::Any *)&_tao_any)->_tao_replace (
- TAO::_tc_BufferingConstraint,
- 1,
- ACE_static_cast (void *, tmp),
- TAO::BufferingConstraint::_tao_any_destructor
- );
-
- _tao_elem = tmp;
- return 1;
- }
- else
- {
- delete tmp;
- }
- }
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
-
- return 0;
+ return
+ TAO::Any_Dual_Impl_T<TAO::BufferingConstraint>::extract (
+ _tao_any,
+ TAO::BufferingConstraint::_tao_any_destructor,
+ TAO::_tc_BufferingConstraint,
+ _tao_elem
+ );
}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO::Any_Dual_Impl_T<TAO::BufferingConstraint>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO::Any_Dual_Impl_T<TAO::BufferingConstraint>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// be/be_visitor_interface/any_op_cs.cpp:60
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
-void operator<<= (
+// Copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
TAO::BufferingConstraintPolicy_ptr _tao_elem
)
{
- _tao_any._tao_replace (
- TAO::_tc_BufferingConstraintPolicy,
- 1,
- TAO::BufferingConstraintPolicy::_duplicate (_tao_elem),
- TAO::BufferingConstraintPolicy::_tao_any_destructor
- );
-
- _tao_any.contains_local (1);
+ TAO::BufferingConstraintPolicy_ptr _tao_objptr =
+ TAO::BufferingConstraintPolicy::_duplicate (_tao_elem);
+ _tao_any <<= &_tao_objptr;
}
-void operator<<= (
+// Non-copying insertion.
+void
+operator<<= (
CORBA::Any &_tao_any,
TAO::BufferingConstraintPolicy_ptr *_tao_elem
)
{
- _tao_any._tao_replace (
+ TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::insert (
+ _tao_any,
+ TAO::BufferingConstraintPolicy::_tao_any_destructor,
TAO::_tc_BufferingConstraintPolicy,
- 1,
- *_tao_elem,
- TAO::BufferingConstraintPolicy::_tao_any_destructor
+ *_tao_elem
);
-
- _tao_any.contains_local (1);
}
-CORBA::Boolean operator>>= (
+CORBA::Boolean
+operator>>= (
const CORBA::Any &_tao_any,
TAO::BufferingConstraintPolicy_ptr &_tao_elem
)
{
- ACE_TRY_NEW_ENV
- {
- _tao_elem = TAO::BufferingConstraintPolicy::_nil ();
- CORBA::TypeCode_var type = _tao_any.type ();
-
- CORBA::Boolean result =
- type->equivalent (
- TAO::_tc_BufferingConstraintPolicy
- ACE_ENV_ARG_PARAMETER
- );
- ACE_TRY_CHECK;
+ return
+ TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::extract (
+ _tao_any,
+ TAO::BufferingConstraintPolicy::_tao_any_destructor,
+ TAO::_tc_BufferingConstraintPolicy,
+ _tao_elem
+ );
+}
- if (!result)
- {
- return 0; // not equivalent
- }
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO_Object_Manager<TAO::BufferingConstraintPolicy,TAO::BufferingConstraintPolicy_var>;
+ template class TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate TAO_Object_Manager<TAO::BufferingConstraintPolicy,TAO::BufferingConstraintPolicy_var>
+# pragma instantiate TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
- _tao_elem =
- ACE_reinterpret_cast (
- TAO::BufferingConstraintPolicy_ptr,
- ACE_const_cast (void *, _tao_any.value ())
- );
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:60
- return 1;
- }
- ACE_CATCHANY
- {
- }
- ACE_ENDTRY;
+CORBA::Boolean
+TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::marshal_value (TAO_OutputCDR &)
+{
+ return 0;
+}
- _tao_elem = TAO::BufferingConstraintPolicy::_nil ();
+CORBA::Boolean
+TAO::Any_Impl_T<TAO::BufferingConstraintPolicy>::demarshal_value (TAO_InputCDR &)
+{
return 0;
}
#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
+
+
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h
index 69342793564..e65c81b3a69 100644
--- a/TAO/tao/TAOC.h
+++ b/TAO/tao/TAOC.h
@@ -19,6 +19,9 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
+
#ifndef _TAO_IDL_ORIG_TAOC_H_
#define _TAO_IDL_ORIG_TAOC_H_
@@ -56,41 +59,63 @@
#pragma option push -w-rvl -w-rch -w-ccc -w-inl
#endif /* __BORLANDC__ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
+
TAO_NAMESPACE TAO
{
#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typedef/typedef_ch.cpp:334
+
typedef CORBA::UShort BufferingConstraintMode;
typedef CORBA::UShort_out BufferingConstraintMode_out;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraintMode;
-
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::UShort BUFFER_FLUSH;
-
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::UShort BUFFER_TIMEOUT;
-
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::UShort BUFFER_MESSAGE_COUNT;
-
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::UShort BUFFER_MESSAGE_BYTES;
-
- struct BufferingConstraint;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::UShort BUFFER_FLUSH = 0U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::UShort BUFFER_TIMEOUT = 1U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::UShort BUFFER_MESSAGE_COUNT = 2U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::UShort BUFFER_MESSAGE_BYTES = 4U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:49
+
class BufferingConstraint_var;
-
+
struct TAO_Export BufferingConstraint
{
-
-#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef BufferingConstraint_var _var_type;
-#endif /* ! __GNUC__ || g++ >= 2.8 */
-
- static void _tao_any_destructor (void*);
-
- ACE_NESTED_CLASS (TAO, BufferingConstraintMode) mode;
+
+ static void _tao_any_destructor (void *);
+ TAO::BufferingConstraintMode mode;
TimeBase::TimeT timeout;
CORBA::ULong message_count;
CORBA::ULong message_bytes;
-
};
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:71
+
class TAO_Export BufferingConstraint_var
{
public:
@@ -100,69 +125,84 @@ TAO_NAMESPACE TAO
// Fixed-size types only.
BufferingConstraint_var (const BufferingConstraint &);
~BufferingConstraint_var (void);
-
+
BufferingConstraint_var &operator= (BufferingConstraint *);
BufferingConstraint_var &operator= (const BufferingConstraint_var &);
+
// Fixed-size types only.
BufferingConstraint_var &operator= (const BufferingConstraint &);
+
BufferingConstraint *operator-> (void);
const BufferingConstraint *operator-> (void) const;
-
+
operator const BufferingConstraint &() const;
operator BufferingConstraint &();
operator BufferingConstraint &() const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const BufferingConstraint &in (void) const;
BufferingConstraint &inout (void);
BufferingConstraint &out (void);
BufferingConstraint _retn (void);
BufferingConstraint *ptr (void) const;
-
+
private:
BufferingConstraint *ptr_;
};
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_ch.cpp:105
+
typedef BufferingConstraint &BufferingConstraint_out;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraint;
-
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong BUFFERING_CONSTRAINT_POLICY_TYPE;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::ULong BUFFERING_CONSTRAINT_POLICY_TYPE = 1413545985U;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:52
#if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY___PTR_CH_)
#define _TAO_BUFFERINGCONSTRAINTPOLICY___PTR_CH_
-
+
class BufferingConstraintPolicy;
typedef BufferingConstraintPolicy *BufferingConstraintPolicy_ptr;
#endif /* end #if !defined */
-
#if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY___VAR_CH_)
#define _TAO_BUFFERINGCONSTRAINTPOLICY___VAR_CH_
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:571
+
class TAO_Export BufferingConstraintPolicy_var : public TAO_Base_var
{
public:
BufferingConstraintPolicy_var (void); // default constructor
- BufferingConstraintPolicy_var (BufferingConstraintPolicy_ptr p) : ptr_ (p) {}
+ BufferingConstraintPolicy_var (BufferingConstraintPolicy_ptr p) : ptr_ (p) {}
BufferingConstraintPolicy_var (const BufferingConstraintPolicy_var &); // copy constructor
~BufferingConstraintPolicy_var (void); // destructor
-
+
BufferingConstraintPolicy_var &operator= (BufferingConstraintPolicy_ptr);
BufferingConstraintPolicy_var &operator= (const BufferingConstraintPolicy_var &);
BufferingConstraintPolicy_ptr operator-> (void) const;
-
+
operator const BufferingConstraintPolicy_ptr &() const;
operator BufferingConstraintPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
BufferingConstraintPolicy_ptr in (void) const;
BufferingConstraintPolicy_ptr &inout (void);
BufferingConstraintPolicy_ptr &out (void);
BufferingConstraintPolicy_ptr _retn (void);
BufferingConstraintPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static BufferingConstraintPolicy_ptr tao_duplicate (BufferingConstraintPolicy_ptr);
@@ -173,7 +213,7 @@ TAO_NAMESPACE TAO
ACE_ENV_ARG_DECL_NOT_USED
);
static CORBA::Object * tao_upcast (void *);
-
+
private:
BufferingConstraintPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -181,13 +221,14 @@ TAO_NAMESPACE TAO
BufferingConstraintPolicy_var &operator= (const TAO_Base_var &rhs);
};
-
#endif /* end #if !defined */
-
#if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY___OUT_CH_)
#define _TAO_BUFFERINGCONSTRAINTPOLICY___OUT_CH_
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:946
+
class TAO_Export BufferingConstraintPolicy_out
{
public:
@@ -200,109 +241,138 @@ TAO_NAMESPACE TAO
operator BufferingConstraintPolicy_ptr &();
BufferingConstraintPolicy_ptr &ptr (void);
BufferingConstraintPolicy_ptr operator-> (void);
-
+
private:
BufferingConstraintPolicy_ptr &ptr_;
};
-
#endif /* end #if !defined */
-
- // *************************************************************
- // TAO::BufferingConstraintPolicy
+
// TAO_IDL - Generated from
- // be/be_visitor_interface/interface_ch.cpp:106
- // *************************************************************
-
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:110
#if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY_CH_)
#define _TAO_BUFFERINGCONSTRAINTPOLICY_CH_
-
+
class TAO_Export BufferingConstraintPolicy
: public virtual CORBA::Policy
{
public:
- #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
typedef BufferingConstraintPolicy_ptr _ptr_type;
typedef BufferingConstraintPolicy_var _var_type;
- #endif /* ! __GNUC__ || g++ >= 2.8 */
-
static int _tao_class_id;
-
+
// The static operations.
static BufferingConstraintPolicy_ptr _duplicate (BufferingConstraintPolicy_ptr obj);
-
+
static BufferingConstraintPolicy_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static BufferingConstraintPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
-
+
static BufferingConstraintPolicy_ptr _nil (void)
{
return (BufferingConstraintPolicy_ptr)0;
}
-
- static void _tao_any_destructor (void*);
-
+
+ static void _tao_any_destructor (void *);
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+
virtual ::TAO::BufferingConstraint buffering_constraint (
-
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:267
+
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
-
+ virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
+
protected:
BufferingConstraintPolicy (void);
-
virtual ~BufferingConstraintPolicy (void);
-
+
+ friend class _TAO_BufferingConstraintPolicy_Remote_Proxy_Impl;
+ friend class _TAO_BufferingConstraintPolicy_ThruPOA_Proxy_Impl;
+ friend class _TAO_BufferingConstraintPolicy_Direct_Proxy_Impl;
+
private:
BufferingConstraintPolicy (const BufferingConstraintPolicy &);
void operator= (const BufferingConstraintPolicy &);
};
-
#endif /* end #if !defined */
-
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraintPolicy;
-
+
#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_EAGER_BUFFERING;
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::Short SYNC_EAGER_BUFFERING = 0;
+
+ // TAO_IDL - Generated from
+ // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_constant/constant_ch.cpp:52
+
+ const CORBA::Short SYNC_DELAYED_BUFFERING = -2;
- TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_DELAYED_BUFFERING;
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67
}
TAO_NAMESPACE_CLOSE // module TAO
#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, const TAO::BufferingConstraint &); // copying version
TAO_Export void operator<<= (CORBA::Any &, TAO::BufferingConstraint*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO::BufferingConstraint *&); // deprecated
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO::BufferingConstraint *&);
-// Any operators for interface TAO::BufferingConstraintPolicy
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+
TAO_Export void operator<<= (CORBA::Any &, TAO::BufferingConstraintPolicy_ptr); // copying
TAO_Export void operator<<= (CORBA::Any &, TAO::BufferingConstraintPolicy_ptr *); // non-copying
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO::BufferingConstraintPolicy_ptr &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48
+
#ifndef __ACE_INLINE__
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ch.cpp:54
+
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO::BufferingConstraint &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO::BufferingConstraint &);
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64
+
#endif /* __ACE_INLINE__ */
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1009
#if defined (__ACE_INLINE__)
#include "TAOC.i"
@@ -320,3 +390,4 @@ TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO::BufferingConstraint &
#include "ace/post.h"
#endif /* ifndef */
+
diff --git a/TAO/tao/TAOC.i b/TAO/tao/TAOC.i
index 7e14a90ba54..a3c1ff1311c 100644
--- a/TAO/tao/TAOC.i
+++ b/TAO/tao/TAOC.i
@@ -19,12 +19,16 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_structure.cpp:194
+
// *************************************************************
// Inline operations for class TAO::BufferingConstraint_var
// *************************************************************
ACE_INLINE
-TAO::BufferingConstraint_var::BufferingConstraint_var (void) // default constructor
+TAO::BufferingConstraint_var::BufferingConstraint_var (void)
: ptr_ (0)
{}
@@ -34,15 +38,19 @@ TAO::BufferingConstraint_var::BufferingConstraint_var (BufferingConstraint *p)
{}
ACE_INLINE
-TAO::BufferingConstraint_var::BufferingConstraint_var (const ::TAO::BufferingConstraint_var &p) // copy constructor
+TAO::BufferingConstraint_var::BufferingConstraint_var (const ::TAO::BufferingConstraint_var &p)
{
if (p.ptr_)
- ACE_NEW (this->ptr_, ::TAO::BufferingConstraint (*p.ptr_));
+ {
+ ACE_NEW (this->ptr_, ::TAO::BufferingConstraint (*p.ptr_));
+ }
else
- this->ptr_ = 0;
+ {
+ this->ptr_ = 0;
+ }
}
-// fixed-size types only
+// Fixed-size types only.
ACE_INLINE
TAO::BufferingConstraint_var::BufferingConstraint_var (const ::TAO::BufferingConstraint &p)
{
@@ -50,33 +58,39 @@ TAO::BufferingConstraint_var::BufferingConstraint_var (const ::TAO::BufferingCon
}
ACE_INLINE
-TAO::BufferingConstraint_var::~BufferingConstraint_var (void) // destructor
+TAO::BufferingConstraint_var::~BufferingConstraint_var (void)
{
delete this->ptr_;
}
-ACE_INLINE TAO::BufferingConstraint_var &
-TAO::BufferingConstraint_var::operator= (BufferingConstraint *p)
+ACE_INLINE
+TAO::BufferingConstraint_var &
+TAO::BufferingConstraint_var::operator= (BufferingConstraint *_tao_struct_var)
{
delete this->ptr_;
- this->ptr_ = p;
+ this->ptr_ = _tao_struct_var;
return *this;
}
-ACE_INLINE ::TAO::BufferingConstraint_var &
-TAO::BufferingConstraint_var::operator= (const ::TAO::BufferingConstraint_var &p)
+ACE_INLINE
+::TAO::BufferingConstraint_var &
+TAO::BufferingConstraint_var::operator= (const ::TAO::BufferingConstraint_var &_tao_struct_var)
{
- if (this != &p)
+ if (this != &_tao_struct_var)
{
- if (p.ptr_ == 0)
+ if (_tao_struct_var.ptr_ == 0)
{
delete this->ptr_;
this->ptr_ = 0;
}
else
{
- BufferingConstraint *deep_copy =
- new BufferingConstraint (*p.ptr_);
+ BufferingConstraint *deep_copy = 0;
+ ACE_NEW_RETURN (
+ deep_copy,
+ BufferingConstraint (*_tao_struct_var.ptr_),
+ *this
+ );
if (deep_copy != 0)
{
@@ -98,8 +112,13 @@ TAO::BufferingConstraint_var::operator= (const ::TAO::BufferingConstraint &p)
if (this->ptr_ != &p)
{
delete this->ptr_;
- ACE_NEW_RETURN (this->ptr_, ::TAO::BufferingConstraint (p), *this);
+ ACE_NEW_RETURN (
+ this->ptr_,
+ ::TAO::BufferingConstraint (p),
+ *this
+ );
}
+
return *this;
}
@@ -164,38 +183,63 @@ TAO::BufferingConstraint_var::ptr (void) const
return this->ptr_;
}
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
#if !defined (_TAO_BUFFERINGCONSTRAINTPOLICY___CI_)
#define _TAO_BUFFERINGCONSTRAINTPOLICY___CI_
+ACE_INLINE
+CORBA::Boolean
+TAO::BufferingConstraintPolicy::marshal (TAO_OutputCDR &)
+{
+ return 0;
+}
#endif /* end #if !defined */
-ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const TAO::BufferingConstraint &_tao_aggregate)
+// TAO_IDL - Generated from
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:103
+
+ACE_INLINE
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const TAO::BufferingConstraint &_tao_aggregate
+ )
{
if (
(strm << _tao_aggregate.mode) &&
(strm << _tao_aggregate.timeout) &&
(strm << _tao_aggregate.message_count) &&
(strm << _tao_aggregate.message_bytes)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}
-ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, TAO::BufferingConstraint &_tao_aggregate)
+ACE_INLINE
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ TAO::BufferingConstraint &_tao_aggregate
+ )
{
if (
(strm >> _tao_aggregate.mode) &&
(strm >> _tao_aggregate.timeout) &&
(strm >> _tao_aggregate.message_count) &&
(strm >> _tao_aggregate.message_bytes)
- )
- return 1;
+ )
+ {
+ return 1;
+ }
else
- return 0;
-
+ {
+ return 0;
+ }
}