summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/PortableServerC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/PortableServerC.cpp')
-rw-r--r--TAO/tao/PortableServer/PortableServerC.cpp862
1 files changed, 540 insertions, 322 deletions
diff --git a/TAO/tao/PortableServer/PortableServerC.cpp b/TAO/tao/PortableServer/PortableServerC.cpp
index 14e9b4a9ea4..864a591ee43 100644
--- a/TAO/tao/PortableServer/PortableServerC.cpp
+++ b/TAO/tao/PortableServer/PortableServerC.cpp
@@ -22,7 +22,7 @@
#include "PortableServerC.h"
#include "POA.h"
#include "tao/ORB.h"
-#include "tao/ORB_Core.h"
+#include "tao/ORB_Core.h" // @@ Frank: Added...
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus
@@ -34,7 +34,7 @@
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CS_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CS_
@@ -44,7 +44,7 @@
{
PortableServer::POA **tmp = 0;
tmp = _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
PortableServer::POA **old = ACE_reinterpret_cast (PortableServer::POA**, this->buffer_);
@@ -59,7 +59,7 @@
tmp[i] = old[i];
}
}
-
+
if (this->release_)
{
delete[] old;
@@ -67,42 +67,42 @@
}
this->buffer_ = tmp;
}
-
+
void
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
PortableServer::POA **tmp = ACE_reinterpret_cast (PortableServer::POA**, this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
{
CORBA::release (tmp[i]);
tmp[i] = PortableServer::POA::_nil ();
}
-
+
_TAO_Unbounded_Object_Sequence_PortableServer_POAList::freebuf (tmp);
this->buffer_ = 0;
}
-
+
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::~_TAO_Unbounded_Object_Sequence_PortableServer_POAList (void)
{
this->_deallocate_buffer ();
}
-
+
void
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)
{
PortableServer::POA **tmp = ACE_reinterpret_cast (PortableServer::POA**, this->buffer_);
-
+
for (CORBA::ULong i = nl; i < ol; ++i)
{
CORBA::release (tmp[i]);
tmp[i] = PortableServer::POA::_nil ();
}
}
-
- void
+
+ void
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_downcast (
void* target,
CORBA_Object *src,
@@ -120,11 +120,11 @@
PortableServer::POA **tmp = ACE_static_cast (PortableServer::POA**, src);
return *tmp;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_PORTABLESERVER_POALIST_CS_)
#define _PORTABLESERVER_POALIST_CS_
@@ -136,30 +136,30 @@
PortableServer::POAList::POAList (void)
{}
PortableServer::POAList::POAList (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_PortableServer_POAList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<PortableServer::POA,PortableServer::POA_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
PortableServer::POAList::POAList (CORBA::ULong max, CORBA::ULong length, PortableServer::POA_ptr *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_PortableServer_POAList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<PortableServer::POA,PortableServer::POA_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
PortableServer::POAList::POAList (const POAList &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_PortableServer_POAList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<PortableServer::POA,PortableServer::POA_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
PortableServer::POAList::~POAList (void) // dtor
@@ -184,30 +184,30 @@ void PortableServer::POAList::_tao_any_destructor (void *x)
PortableServer::ObjectId::ObjectId (void)
{}
PortableServer::ObjectId::ObjectId (CORBA::ULong max) // uses max size
- :
+ :
#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)
{}
PortableServer::ObjectId::ObjectId (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)
{}
PortableServer::ObjectId::ObjectId (const ObjectId &seq) // copy ctor
- :
+ :
#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)
{}
PortableServer::ObjectId::~ObjectId (void) // dtor
@@ -225,17 +225,17 @@ static const CORBA::Long _oc_PortableServer_ObjectId[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f4f),
- ACE_NTOHL (0x626a6563),
- ACE_NTOHL (0x7449643a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f4f),
+ ACE_NTOHL (0x626a6563),
+ ACE_NTOHL (0x7449643a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:PortableServer/ObjectId:1.0
9,
- ACE_NTOHL (0x4f626a65),
- ACE_NTOHL (0x63744964),
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744964),
ACE_NTOHL (0x0), // name = ObjectId
CORBA::tk_sequence, // typecode kind
12, // encapsulation length
@@ -322,7 +322,7 @@ void PortableServer::ForwardRequest::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -335,7 +335,7 @@ void PortableServer::ForwardRequest::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -359,42 +359,42 @@ static const CORBA::Long _oc_PortableServer_ForwardRequest[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f46),
- ACE_NTOHL (0x6f727761),
- ACE_NTOHL (0x72645265),
- ACE_NTOHL (0x71756573),
- ACE_NTOHL (0x743a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f46),
+ ACE_NTOHL (0x6f727761),
+ ACE_NTOHL (0x72645265),
+ ACE_NTOHL (0x71756573),
+ ACE_NTOHL (0x743a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:PortableServer/ForwardRequest:1.0
15,
- ACE_NTOHL (0x466f7277),
- ACE_NTOHL (0x61726452),
- ACE_NTOHL (0x65717565),
+ ACE_NTOHL (0x466f7277),
+ ACE_NTOHL (0x61726452),
+ ACE_NTOHL (0x65717565),
ACE_NTOHL (0x73740000), // name = ForwardRequest
1, // member count
18,
- ACE_NTOHL (0x666f7277),
- ACE_NTOHL (0x6172645f),
- ACE_NTOHL (0x72656665),
- ACE_NTOHL (0x72656e63),
+ ACE_NTOHL (0x666f7277),
+ ACE_NTOHL (0x6172645f),
+ ACE_NTOHL (0x72656665),
+ ACE_NTOHL (0x72656e63),
ACE_NTOHL (0x65000000), // name = forward_reference
CORBA::tk_objref,
52, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
29,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x412f4f62),
- ACE_NTOHL (0x6a656374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/Object:1.0
7,
- ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x4f626a65),
ACE_NTOHL (0x63740000), // name = Object
};
@@ -419,9 +419,135 @@ CORBA::TypeCode_ptr PortableServer::ForwardRequest::_type (void) const
return ::PortableServer::_tc_ForwardRequest;
}
+// Default constructor.
+PortableServer::NotAGroupObject::NotAGroupObject (void)
+ : CORBA_UserException ("IDL:PortableServer/NotAGroupObject:1.0")
+{
+}
-#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+// Destructor - all members are of self managing types.
+PortableServer::NotAGroupObject::~NotAGroupObject (void)
+{
+}
+
+void PortableServer::NotAGroupObject::_tao_any_destructor (void *x)
+{
+ NotAGroupObject *tmp = ACE_static_cast (NotAGroupObject*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableServer::NotAGroupObject::NotAGroupObject (const ::PortableServer::NotAGroupObject &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableServer::NotAGroupObject&
+PortableServer::NotAGroupObject::operator= (const ::PortableServer::NotAGroupObject &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+// Narrow.
+PortableServer::NotAGroupObject *
+PortableServer::NotAGroupObject::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:PortableServer/NotAGroupObject:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (NotAGroupObject *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableServer::NotAGroupObject::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableServer::NotAGroupObject::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableServer::NotAGroupObject::_tao_decode (
+ TAO_InputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ if (cdr >> *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+// TAO extension - the _alloc method.
+CORBA::Exception *PortableServer::NotAGroupObject::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableServer::NotAGroupObject, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableServer_NotAGroupObject[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f4e),
+ ACE_NTOHL (0x6f744147),
+ ACE_NTOHL (0x726f7570),
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63743a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableServer/NotAGroupObject:1.0
+ 16,
+ ACE_NTOHL (0x4e6f7441),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x704f626a),
+ ACE_NTOHL (0x65637400), // name = NotAGroupObject
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableServer_NotAGroupObject (
+ CORBA::tk_except,
+ sizeof (_oc_PortableServer_NotAGroupObject),
+ (char *) &_oc_PortableServer_NotAGroupObject,
+ 0,
+ sizeof (PortableServer::NotAGroupObject)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableServer)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_NotAGroupObject, &_tc_TAO_tc_PortableServer_NotAGroupObject)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableServer::NotAGroupObject::_type (void) const
+{
+ return ::PortableServer::_tc_NotAGroupObject;
+}
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CS_
@@ -430,43 +556,43 @@ CORBA::TypeCode_ptr PortableServer::ForwardRequest::_type (void) const
{
PortableServer::ObjectId* tmp = 0;
tmp = _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
PortableServer::ObjectId *old = ACE_reinterpret_cast (PortableServer::ObjectId *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
PortableServer::ObjectId *tmp = ACE_reinterpret_cast (PortableServer::ObjectId *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::~_TAO_Unbounded_Sequence_PortableServer_IDs (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_PORTABLESERVER_IDS_CS_)
#define _PORTABLESERVER_IDS_CS_
@@ -478,30 +604,30 @@ CORBA::TypeCode_ptr PortableServer::ForwardRequest::_type (void) const
PortableServer::IDs::IDs (void)
{}
PortableServer::IDs::IDs (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_PortableServer_IDs
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<PortableServer::ObjectId>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
PortableServer::IDs::IDs (CORBA::ULong max, CORBA::ULong length, PortableServer::ObjectId *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_PortableServer_IDs
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<PortableServer::ObjectId>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
PortableServer::IDs::IDs (const IDs &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_PortableServer_IDs
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<PortableServer::ObjectId>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
PortableServer::IDs::~IDs (void) // dtor
@@ -519,12 +645,12 @@ static const CORBA::Long _oc_PortableServer_IDs[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
27,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f49),
- ACE_NTOHL (0x44733a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f49),
+ ACE_NTOHL (0x44733a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableServer/IDs:1.0
4,
ACE_NTOHL (0x49447300), // name = IDs
@@ -535,17 +661,17 @@ static const CORBA::Long _oc_PortableServer_IDs[] =
76, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f4f),
- ACE_NTOHL (0x626a6563),
- ACE_NTOHL (0x7449643a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f4f),
+ ACE_NTOHL (0x626a6563),
+ ACE_NTOHL (0x7449643a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:PortableServer/ObjectId:1.0
9,
- ACE_NTOHL (0x4f626a65),
- ACE_NTOHL (0x63744964),
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744964),
ACE_NTOHL (0x0), // name = ObjectId
CORBA::tk_sequence, // typecode kind
12, // encapsulation length
@@ -609,34 +735,34 @@ static const CORBA::Long _oc_PortableServer_ThreadPolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
41,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f54),
- ACE_NTOHL (0x68726561),
- ACE_NTOHL (0x64506f6c),
- ACE_NTOHL (0x69637956),
- ACE_NTOHL (0x616c7565),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f54),
+ ACE_NTOHL (0x68726561),
+ ACE_NTOHL (0x64506f6c),
+ ACE_NTOHL (0x69637956),
+ ACE_NTOHL (0x616c7565),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:PortableServer/ThreadPolicyValue:1.0
18,
- ACE_NTOHL (0x54687265),
- ACE_NTOHL (0x6164506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x54687265),
+ ACE_NTOHL (0x6164506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x56616c75),
ACE_NTOHL (0x65000000), // name = ThreadPolicyValue
2, // member count
15,
- ACE_NTOHL (0x4f52425f),
- ACE_NTOHL (0x4354524c),
- ACE_NTOHL (0x5f4d4f44),
+ ACE_NTOHL (0x4f52425f),
+ ACE_NTOHL (0x4354524c),
+ ACE_NTOHL (0x5f4d4f44),
ACE_NTOHL (0x454c0000), // name = ORB_CTRL_MODEL
20,
- ACE_NTOHL (0x53494e47),
- ACE_NTOHL (0x4c455f54),
- ACE_NTOHL (0x48524541),
- ACE_NTOHL (0x445f4d4f),
+ ACE_NTOHL (0x53494e47),
+ ACE_NTOHL (0x4c455f54),
+ ACE_NTOHL (0x48524541),
+ ACE_NTOHL (0x445f4d4f),
ACE_NTOHL (0x44454c00), // name = SINGLE_THREAD_MODEL
};
@@ -701,7 +827,7 @@ PortableServer::ThreadPolicy_var::operator const ::PortableServer::ThreadPolicy_
return this->ptr_;
}
-PortableServer::ThreadPolicy_var::operator ::PortableServer::ThreadPolicy_ptr &() // cast
+PortableServer::ThreadPolicy_var::operator ::PortableServer::ThreadPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -905,7 +1031,7 @@ void *PortableServer::ThreadPolicy::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -922,31 +1048,31 @@ static const CORBA::Long _oc_PortableServer_LifespanPolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
43,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f4c),
- ACE_NTOHL (0x69666573),
- ACE_NTOHL (0x70616e50),
- ACE_NTOHL (0x6f6c6963),
- ACE_NTOHL (0x7956616c),
- ACE_NTOHL (0x75653a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f4c),
+ ACE_NTOHL (0x69666573),
+ ACE_NTOHL (0x70616e50),
+ ACE_NTOHL (0x6f6c6963),
+ ACE_NTOHL (0x7956616c),
+ ACE_NTOHL (0x75653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableServer/LifespanPolicyValue:1.0
20,
- ACE_NTOHL (0x4c696665),
- ACE_NTOHL (0x7370616e),
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x4c696665),
+ ACE_NTOHL (0x7370616e),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
ACE_NTOHL (0x6c756500), // name = LifespanPolicyValue
2, // member count
10,
- ACE_NTOHL (0x5452414e),
- ACE_NTOHL (0x5349454e),
+ ACE_NTOHL (0x5452414e),
+ ACE_NTOHL (0x5349454e),
ACE_NTOHL (0x54000000), // name = TRANSIENT
11,
- ACE_NTOHL (0x50455253),
- ACE_NTOHL (0x49535445),
+ ACE_NTOHL (0x50455253),
+ ACE_NTOHL (0x49535445),
ACE_NTOHL (0x4e540000), // name = PERSISTENT
};
@@ -1011,7 +1137,7 @@ PortableServer::LifespanPolicy_var::operator const ::PortableServer::LifespanPol
return this->ptr_;
}
-PortableServer::LifespanPolicy_var::operator ::PortableServer::LifespanPolicy_ptr &() // cast
+PortableServer::LifespanPolicy_var::operator ::PortableServer::LifespanPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1215,7 +1341,7 @@ void *PortableServer::LifespanPolicy::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -1230,33 +1356,33 @@ static const CORBA::Long _oc_PortableServer_IdUniquenessPolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
47,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f49),
- ACE_NTOHL (0x64556e69),
- ACE_NTOHL (0x7175656e),
- ACE_NTOHL (0x65737350),
- ACE_NTOHL (0x6f6c6963),
- ACE_NTOHL (0x7956616c),
- ACE_NTOHL (0x75653a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f49),
+ ACE_NTOHL (0x64556e69),
+ ACE_NTOHL (0x7175656e),
+ ACE_NTOHL (0x65737350),
+ ACE_NTOHL (0x6f6c6963),
+ ACE_NTOHL (0x7956616c),
+ ACE_NTOHL (0x75653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableServer/IdUniquenessPolicyValue:1.0
24,
- ACE_NTOHL (0x4964556e),
- ACE_NTOHL (0x69717565),
- ACE_NTOHL (0x6e657373),
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x4964556e),
+ ACE_NTOHL (0x69717565),
+ ACE_NTOHL (0x6e657373),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
ACE_NTOHL (0x6c756500), // name = IdUniquenessPolicyValue
2, // member count
10,
- ACE_NTOHL (0x554e4951),
- ACE_NTOHL (0x55455f49),
+ ACE_NTOHL (0x554e4951),
+ ACE_NTOHL (0x55455f49),
ACE_NTOHL (0x44000000), // name = UNIQUE_ID
12,
- ACE_NTOHL (0x4d554c54),
- ACE_NTOHL (0x49504c45),
+ ACE_NTOHL (0x4d554c54),
+ ACE_NTOHL (0x49504c45),
ACE_NTOHL (0x5f494400), // name = MULTIPLE_ID
};
@@ -1321,7 +1447,7 @@ PortableServer::IdUniquenessPolicy_var::operator const ::PortableServer::IdUniqu
return this->ptr_;
}
-PortableServer::IdUniquenessPolicy_var::operator ::PortableServer::IdUniquenessPolicy_ptr &() // cast
+PortableServer::IdUniquenessPolicy_var::operator ::PortableServer::IdUniquenessPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1525,7 +1651,7 @@ void *PortableServer::IdUniquenessPolicy::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -1540,32 +1666,32 @@ static const CORBA::Long _oc_PortableServer_IdAssignmentPolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
47,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f49),
- ACE_NTOHL (0x64417373),
- ACE_NTOHL (0x69676e6d),
- ACE_NTOHL (0x656e7450),
- ACE_NTOHL (0x6f6c6963),
- ACE_NTOHL (0x7956616c),
- ACE_NTOHL (0x75653a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f49),
+ ACE_NTOHL (0x64417373),
+ ACE_NTOHL (0x69676e6d),
+ ACE_NTOHL (0x656e7450),
+ ACE_NTOHL (0x6f6c6963),
+ ACE_NTOHL (0x7956616c),
+ ACE_NTOHL (0x75653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableServer/IdAssignmentPolicyValue:1.0
24,
- ACE_NTOHL (0x49644173),
- ACE_NTOHL (0x7369676e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x49644173),
+ ACE_NTOHL (0x7369676e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
ACE_NTOHL (0x6c756500), // name = IdAssignmentPolicyValue
2, // member count
8,
- ACE_NTOHL (0x55534552),
+ ACE_NTOHL (0x55534552),
ACE_NTOHL (0x5f494400), // name = USER_ID
10,
- ACE_NTOHL (0x53595354),
- ACE_NTOHL (0x454d5f49),
+ ACE_NTOHL (0x53595354),
+ ACE_NTOHL (0x454d5f49),
ACE_NTOHL (0x44000000), // name = SYSTEM_ID
};
@@ -1630,7 +1756,7 @@ PortableServer::IdAssignmentPolicy_var::operator const ::PortableServer::IdAssig
return this->ptr_;
}
-PortableServer::IdAssignmentPolicy_var::operator ::PortableServer::IdAssignmentPolicy_ptr &() // cast
+PortableServer::IdAssignmentPolicy_var::operator ::PortableServer::IdAssignmentPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1834,7 +1960,7 @@ void *PortableServer::IdAssignmentPolicy::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -1851,42 +1977,42 @@ static const CORBA::Long _oc_PortableServer_ImplicitActivationPolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
53,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f49),
- ACE_NTOHL (0x6d706c69),
- ACE_NTOHL (0x63697441),
- ACE_NTOHL (0x63746976),
- ACE_NTOHL (0x6174696f),
- ACE_NTOHL (0x6e506f6c),
- ACE_NTOHL (0x69637956),
- ACE_NTOHL (0x616c7565),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f49),
+ ACE_NTOHL (0x6d706c69),
+ ACE_NTOHL (0x63697441),
+ ACE_NTOHL (0x63746976),
+ ACE_NTOHL (0x6174696f),
+ ACE_NTOHL (0x6e506f6c),
+ ACE_NTOHL (0x69637956),
+ ACE_NTOHL (0x616c7565),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:PortableServer/ImplicitActivationPolicyValue:1.0
30,
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x69636974),
- ACE_NTOHL (0x41637469),
- ACE_NTOHL (0x76617469),
- ACE_NTOHL (0x6f6e506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x69636974),
+ ACE_NTOHL (0x41637469),
+ ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x6f6e506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x56616c75),
ACE_NTOHL (0x65000000), // name = ImplicitActivationPolicyValue
2, // member count
20,
- ACE_NTOHL (0x494d504c),
- ACE_NTOHL (0x49434954),
- ACE_NTOHL (0x5f414354),
- ACE_NTOHL (0x49564154),
+ ACE_NTOHL (0x494d504c),
+ ACE_NTOHL (0x49434954),
+ ACE_NTOHL (0x5f414354),
+ ACE_NTOHL (0x49564154),
ACE_NTOHL (0x494f4e00), // name = IMPLICIT_ACTIVATION
23,
- ACE_NTOHL (0x4e4f5f49),
- ACE_NTOHL (0x4d504c49),
- ACE_NTOHL (0x4349545f),
- ACE_NTOHL (0x41435449),
- ACE_NTOHL (0x56415449),
+ ACE_NTOHL (0x4e4f5f49),
+ ACE_NTOHL (0x4d504c49),
+ ACE_NTOHL (0x4349545f),
+ ACE_NTOHL (0x41435449),
+ ACE_NTOHL (0x56415449),
ACE_NTOHL (0x4f4e0000), // name = NO_IMPLICIT_ACTIVATION
};
@@ -1951,7 +2077,7 @@ PortableServer::ImplicitActivationPolicy_var::operator const ::PortableServer::I
return this->ptr_;
}
-PortableServer::ImplicitActivationPolicy_var::operator ::PortableServer::ImplicitActivationPolicy_ptr &() // cast
+PortableServer::ImplicitActivationPolicy_var::operator ::PortableServer::ImplicitActivationPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2155,7 +2281,7 @@ void *PortableServer::ImplicitActivationPolicy::_tao_QueryInterface (ptr_arith_t
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -2170,34 +2296,34 @@ static const CORBA::Long _oc_PortableServer_ServantRetentionPolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
51,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f53),
- ACE_NTOHL (0x65727661),
- ACE_NTOHL (0x6e745265),
- ACE_NTOHL (0x74656e74),
- ACE_NTOHL (0x696f6e50),
- ACE_NTOHL (0x6f6c6963),
- ACE_NTOHL (0x7956616c),
- ACE_NTOHL (0x75653a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f53),
+ ACE_NTOHL (0x65727661),
+ ACE_NTOHL (0x6e745265),
+ ACE_NTOHL (0x74656e74),
+ ACE_NTOHL (0x696f6e50),
+ ACE_NTOHL (0x6f6c6963),
+ ACE_NTOHL (0x7956616c),
+ ACE_NTOHL (0x75653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableServer/ServantRetentionPolicyValue:1.0
28,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x616e7452),
- ACE_NTOHL (0x6574656e),
- ACE_NTOHL (0x74696f6e),
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x616e7452),
+ ACE_NTOHL (0x6574656e),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
ACE_NTOHL (0x6c756500), // name = ServantRetentionPolicyValue
2, // member count
7,
- ACE_NTOHL (0x52455441),
+ ACE_NTOHL (0x52455441),
ACE_NTOHL (0x494e0000), // name = RETAIN
11,
- ACE_NTOHL (0x4e4f4e5f),
- ACE_NTOHL (0x52455441),
+ ACE_NTOHL (0x4e4f4e5f),
+ ACE_NTOHL (0x52455441),
ACE_NTOHL (0x494e0000), // name = NON_RETAIN
};
@@ -2262,7 +2388,7 @@ PortableServer::ServantRetentionPolicy_var::operator const ::PortableServer::Ser
return this->ptr_;
}
-PortableServer::ServantRetentionPolicy_var::operator ::PortableServer::ServantRetentionPolicy_ptr &() // cast
+PortableServer::ServantRetentionPolicy_var::operator ::PortableServer::ServantRetentionPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2466,7 +2592,7 @@ void *PortableServer::ServantRetentionPolicy::_tao_QueryInterface (ptr_arith_t t
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -2481,48 +2607,48 @@ static const CORBA::Long _oc_PortableServer_RequestProcessingPolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
52,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65722f52),
- ACE_NTOHL (0x65717565),
- ACE_NTOHL (0x73745072),
- ACE_NTOHL (0x6f636573),
- ACE_NTOHL (0x73696e67),
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
- ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65722f52),
+ ACE_NTOHL (0x65717565),
+ ACE_NTOHL (0x73745072),
+ ACE_NTOHL (0x6f636573),
+ ACE_NTOHL (0x73696e67),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x6c75653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:PortableServer/RequestProcessingPolicyValue:1.0
29,
- ACE_NTOHL (0x52657175),
- ACE_NTOHL (0x65737450),
- ACE_NTOHL (0x726f6365),
- ACE_NTOHL (0x7373696e),
- ACE_NTOHL (0x67506f6c),
- ACE_NTOHL (0x69637956),
- ACE_NTOHL (0x616c7565),
+ ACE_NTOHL (0x52657175),
+ ACE_NTOHL (0x65737450),
+ ACE_NTOHL (0x726f6365),
+ ACE_NTOHL (0x7373696e),
+ ACE_NTOHL (0x67506f6c),
+ ACE_NTOHL (0x69637956),
+ ACE_NTOHL (0x616c7565),
ACE_NTOHL (0x0), // name = RequestProcessingPolicyValue
3, // member count
27,
- ACE_NTOHL (0x5553455f),
- ACE_NTOHL (0x41435449),
- ACE_NTOHL (0x56455f4f),
- ACE_NTOHL (0x424a4543),
- ACE_NTOHL (0x545f4d41),
- ACE_NTOHL (0x505f4f4e),
+ ACE_NTOHL (0x5553455f),
+ ACE_NTOHL (0x41435449),
+ ACE_NTOHL (0x56455f4f),
+ ACE_NTOHL (0x424a4543),
+ ACE_NTOHL (0x545f4d41),
+ ACE_NTOHL (0x505f4f4e),
ACE_NTOHL (0x4c590000), // name = USE_ACTIVE_OBJECT_MAP_ONLY
20,
- ACE_NTOHL (0x5553455f),
- ACE_NTOHL (0x44454641),
- ACE_NTOHL (0x554c545f),
- ACE_NTOHL (0x53455256),
+ ACE_NTOHL (0x5553455f),
+ ACE_NTOHL (0x44454641),
+ ACE_NTOHL (0x554c545f),
+ ACE_NTOHL (0x53455256),
ACE_NTOHL (0x414e5400), // name = USE_DEFAULT_SERVANT
20,
- ACE_NTOHL (0x5553455f),
- ACE_NTOHL (0x53455256),
- ACE_NTOHL (0x414e545f),
- ACE_NTOHL (0x4d414e41),
+ ACE_NTOHL (0x5553455f),
+ ACE_NTOHL (0x53455256),
+ ACE_NTOHL (0x414e545f),
+ ACE_NTOHL (0x4d414e41),
ACE_NTOHL (0x47455200), // name = USE_SERVANT_MANAGER
};
@@ -2587,7 +2713,7 @@ PortableServer::RequestProcessingPolicy_var::operator const ::PortableServer::Re
return this->ptr_;
}
-PortableServer::RequestProcessingPolicy_var::operator ::PortableServer::RequestProcessingPolicy_ptr &() // cast
+PortableServer::RequestProcessingPolicy_var::operator ::PortableServer::RequestProcessingPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2791,7 +2917,7 @@ void *PortableServer::RequestProcessingPolicy::_tao_QueryInterface (ptr_arith_t
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -2852,7 +2978,7 @@ PortableServer::POAManager_var::operator const ::PortableServer::POAManager_ptr
return this->ptr_;
}
-PortableServer::POAManager_var::operator ::PortableServer::POAManager_ptr &() // cast
+PortableServer::POAManager_var::operator ::PortableServer::POAManager_ptr &() // cast
{
return this->ptr_;
}
@@ -3044,7 +3170,7 @@ void *PortableServer::POAManager::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -3173,7 +3299,7 @@ PortableServer::AdapterActivator_var::operator const ::PortableServer::AdapterAc
return this->ptr_;
}
-PortableServer::AdapterActivator_var::operator ::PortableServer::AdapterActivator_ptr &() // cast
+PortableServer::AdapterActivator_var::operator ::PortableServer::AdapterActivator_ptr &() // cast
{
return this->ptr_;
}
@@ -3365,7 +3491,7 @@ void *PortableServer::AdapterActivator::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -3424,7 +3550,7 @@ PortableServer::ServantManager_var::operator const ::PortableServer::ServantMana
return this->ptr_;
}
-PortableServer::ServantManager_var::operator ::PortableServer::ServantManager_ptr &() // cast
+PortableServer::ServantManager_var::operator ::PortableServer::ServantManager_ptr &() // cast
{
return this->ptr_;
}
@@ -3616,7 +3742,7 @@ void *PortableServer::ServantManager::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -3675,7 +3801,7 @@ PortableServer::ServantActivator_var::operator const ::PortableServer::ServantAc
return this->ptr_;
}
-PortableServer::ServantActivator_var::operator ::PortableServer::ServantActivator_ptr &() // cast
+PortableServer::ServantActivator_var::operator ::PortableServer::ServantActivator_ptr &() // cast
{
return this->ptr_;
}
@@ -3879,7 +4005,7 @@ void *PortableServer::ServantActivator::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -3938,7 +4064,7 @@ PortableServer::ServantLocator_var::operator const ::PortableServer::ServantLoca
return this->ptr_;
}
-PortableServer::ServantLocator_var::operator ::PortableServer::ServantLocator_ptr &() // cast
+PortableServer::ServantLocator_var::operator ::PortableServer::ServantLocator_ptr &() // cast
{
return this->ptr_;
}
@@ -4142,7 +4268,7 @@ void *PortableServer::ServantLocator::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -4203,7 +4329,7 @@ PortableServer::POA_var::operator const ::PortableServer::POA_ptr &() const // c
return this->ptr_;
}
-PortableServer::POA_var::operator ::PortableServer::POA_ptr &() // cast
+PortableServer::POA_var::operator ::PortableServer::POA_ptr &() // cast
{
return this->ptr_;
}
@@ -4395,7 +4521,7 @@ void *PortableServer::POA::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -5148,7 +5274,7 @@ PortableServer::Current_var::operator const ::PortableServer::Current_ptr &() co
return this->ptr_;
}
-PortableServer::Current_var::operator ::PortableServer::Current_ptr &() // cast
+PortableServer::Current_var::operator ::PortableServer::Current_ptr &() // cast
{
return this->ptr_;
}
@@ -5352,7 +5478,7 @@ void *PortableServer::Current::_tao_QueryInterface (ptr_arith_t type)
else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
retv = ACE_reinterpret_cast (void *,
ACE_static_cast (CORBA::Object_ptr, this));
-
+
if (retv)
this->_add_ref ();
return retv;
@@ -5499,13 +5625,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableServer::Ob
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_ObjectId, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -5587,13 +5713,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableServer::Fo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_ForwardRequest, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = (PortableServer::ForwardRequest *)_tao_any.value ();
@@ -5638,6 +5764,96 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableServer::Fo
return 0;
}
+void operator<<= (CORBA::Any &_tao_any, const PortableServer::NotAGroupObject &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableServer::_tc_NotAGroupObject,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableServer::NotAGroupObject *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableServer::_tc_NotAGroupObject,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableServer::NotAGroupObject::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::NotAGroupObject *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableServer::NotAGroupObject*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableServer::NotAGroupObject *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableServer::_tc_NotAGroupObject, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableServer::NotAGroupObject *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableServer::NotAGroupObject *tmp;
+ ACE_NEW_RETURN (tmp, PortableServer::NotAGroupObject, 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:PortableServer/NotAGroupObject:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableServer::_tc_NotAGroupObject,
+ 1,
+ tmp,
+ PortableServer::NotAGroupObject::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
void operator<<= (
CORBA::Any &_tao_any,
const PortableServer::IDs &_tao_elem
@@ -5682,13 +5898,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableServer::ID
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_IDs, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -5749,13 +5965,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::ThreadPo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_ThreadPolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
TAO_InputCDR stream (
_tao_any._tao_get_cdr (),
_tao_any._tao_byte_order ()
@@ -5798,13 +6014,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::Lifespan
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_LifespanPolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
TAO_InputCDR stream (
_tao_any._tao_get_cdr (),
_tao_any._tao_byte_order ()
@@ -5845,13 +6061,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::IdUnique
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_IdUniquenessPolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
TAO_InputCDR stream (
_tao_any._tao_get_cdr (),
_tao_any._tao_byte_order ()
@@ -5892,13 +6108,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::IdAssign
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_IdAssignmentPolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
TAO_InputCDR stream (
_tao_any._tao_get_cdr (),
_tao_any._tao_byte_order ()
@@ -5941,13 +6157,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::Implicit
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_ImplicitActivationPolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
TAO_InputCDR stream (
_tao_any._tao_get_cdr (),
_tao_any._tao_byte_order ()
@@ -5988,13 +6204,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::ServantR
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_ServantRetentionPolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
TAO_InputCDR stream (
_tao_any._tao_get_cdr (),
_tao_any._tao_byte_order ()
@@ -6035,13 +6251,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::RequestP
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (PortableServer::_tc_RequestProcessingPolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
TAO_InputCDR stream (
_tao_any._tao_get_cdr (),
_tao_any._tao_byte_order ()
@@ -6129,20 +6345,20 @@ CORBA::Boolean operator<< (
if (strm << _tao_sequence.length ())
{
// encode all elements
-
+
#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
{
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
+ TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (PortableServer::ObjectId *)&_tao_sequence);
if (oseq->mb ())
return strm.write_octet_array_mb (oseq->mb ());
else
return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
}
-
+
#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
-
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
}
return 0; // error
@@ -6159,10 +6375,10 @@ CORBA::Boolean operator>> (
// set the length of the sequence
_tao_sequence.length (_tao_seq_len);
// If length is 0 we return true.
- if (0 >= _tao_seq_len)
+ 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))
@@ -6172,7 +6388,7 @@ CORBA::Boolean operator>> (
strm.orb_core ()->resource_factory ()->
input_cdr_allocator_type_locked () == 1)
{
- TAO_Unbounded_Sequence<CORBA::Octet> *oseq =
+ 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);
@@ -6183,6 +6399,7 @@ CORBA::Boolean operator>> (
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 ());
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
}
return 0; // error
@@ -6217,7 +6434,7 @@ CORBA::Boolean operator>> (
// set the length of the sequence
_tao_sequence.length (_tao_seq_len);
// If length is 0 we return true.
- if (0 >= _tao_seq_len)
+ if (0 >= _tao_seq_len)
return 1;
// Add a check to the length of the sequence
// to make sure it does not exceed the length
@@ -6234,3 +6451,4 @@ CORBA::Boolean operator>> (
}
return 0; // error
}
+