summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-04 16:21:34 +0000
committerfhunleth <fhunleth@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-05-04 16:21:34 +0000
commit504dfb49fa9b0b098b463e30648b4fb59a09dba5 (patch)
tree82fd6c7ab4bf1f557e6f2b6373df56eae3f87362
parent828edcda8d876e6e6f5b452223c7885ccc7bffa2 (diff)
downloadATCD-504dfb49fa9b0b098b463e30648b4fb59a09dba5.tar.gz
*** empty log message ***
-rw-r--r--TAO/tao/Abstract_Servant_Base.cpp2
-rw-r--r--TAO/tao/Abstract_Servant_Base.h4
-rw-r--r--TAO/tao/Asynch_Invocation.cpp8
-rw-r--r--TAO/tao/CDR_Encaps_Codec.cpp28
-rw-r--r--TAO/tao/CDR_Encaps_Codec.h30
-rw-r--r--TAO/tao/CONV_FRAMEC.i26
-rw-r--r--TAO/tao/CORBANAME_Parser.cpp210
-rw-r--r--TAO/tao/CodecFactory.cpp32
-rw-r--r--TAO/tao/CodecFactory.h6
-rw-r--r--TAO/tao/CurrentC.cpp2
-rw-r--r--TAO/tao/DLL_Parser.h2
-rw-r--r--TAO/tao/DomainC.cpp6
-rw-r--r--TAO/tao/DynamicC.cpp78
-rw-r--r--TAO/tao/DynamicC.i160
-rw-r--r--TAO/tao/Dynamic_Adapter.cpp18
-rw-r--r--TAO/tao/Encodable.cpp4
-rw-r--r--TAO/tao/Endpoint.h2
-rw-r--r--TAO/tao/Endpoint_Selector_Factory.h2
-rw-r--r--TAO/tao/GIOPC.i12
-rw-r--r--TAO/tao/GIOP_Message_Base.cpp11
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser.cpp148
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser.h24
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser_10.cpp4
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser_12.cpp33
-rw-r--r--TAO/tao/IFR_Client_Adapter.cpp4
-rw-r--r--TAO/tao/IFR_Client_Adapter.h4
-rw-r--r--TAO/tao/IFR_TypeCodes.cpp4
-rw-r--r--TAO/tao/IIOPC.cpp46
-rw-r--r--TAO/tao/IIOPC.i106
-rw-r--r--TAO/tao/IIOP_Acceptor.cpp4
-rw-r--r--TAO/tao/IIOP_Endpoint.cpp2
-rw-r--r--TAO/tao/IIOP_Endpoint.h2
-rw-r--r--TAO/tao/IOP.pidl5
-rw-r--r--TAO/tao/IOPC.h400
-rw-r--r--TAO/tao/IOPC.i386
-rw-r--r--TAO/tao/IORInfo.cpp20
-rw-r--r--TAO/tao/IORInfo.h4
-rw-r--r--TAO/tao/Interceptor_List.cpp2
-rw-r--r--TAO/tao/Invocation.cpp15
-rw-r--r--TAO/tao/MessagingC.cpp604
-rw-r--r--TAO/tao/MessagingC.h46
-rw-r--r--TAO/tao/MessagingC.i4
-rw-r--r--TAO/tao/Messaging_ORBInitializer.cpp28
-rw-r--r--TAO/tao/ORB.cpp91
-rw-r--r--TAO/tao/ORB.h7
-rw-r--r--TAO/tao/ORB_Core.cpp78
-rw-r--r--TAO/tao/ORB_Core.h53
-rw-r--r--TAO/tao/ORB_Core.i33
-rw-r--r--TAO/tao/Object_KeyC.i34
-rw-r--r--TAO/tao/OctetSeqC.h28
-rw-r--r--TAO/tao/OctetSeqC.i18
-rw-r--r--TAO/tao/PolicyC.cpp604
-rw-r--r--TAO/tao/PolicyC.h232
-rw-r--r--TAO/tao/PolicyC.i180
-rw-r--r--TAO/tao/Policy_Manager.cpp4
-rw-r--r--TAO/tao/PollableC.cpp8
-rw-r--r--TAO/tao/PollableC.h26
-rw-r--r--TAO/tao/Pool_Per_Endpoint.cpp6
-rw-r--r--TAO/tao/PortableGroup/Group_Adapter.cpp1627
-rw-r--r--TAO/tao/PortableGroup/Group_Adapter.h648
-rw-r--r--TAO/tao/PortableGroup/PGA_Loader.cpp55
-rw-r--r--TAO/tao/PortableGroup/PGA_Loader.h69
-rw-r--r--TAO/tao/PortableGroup/POA_Hooks.cpp207
-rw-r--r--TAO/tao/PortableGroup/POA_Hooks.h91
-rw-r--r--TAO/tao/PortableGroup/PortableGroup.pidl236
-rw-r--r--TAO/tao/PortableGroup/PortableGroupC.cpp6877
-rw-r--r--TAO/tao/PortableGroup/PortableGroupC.h2124
-rw-r--r--TAO/tao/PortableGroup/PortableGroupC.i2193
-rw-r--r--TAO/tao/PortableGroup/PortableGroupS.cpp48
-rw-r--r--TAO/tao/PortableGroup/PortableGroupS.h73
-rw-r--r--TAO/tao/PortableGroup/PortableGroupS.i21
-rw-r--r--TAO/tao/PortableGroup/PortableGroupS_T.cpp32
-rw-r--r--TAO/tao/PortableGroup/PortableGroupS_T.h61
-rw-r--r--TAO/tao/PortableGroup/PortableGroupS_T.i24
-rw-r--r--TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.cpp187
-rw-r--r--TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.h106
-rw-r--r--TAO/tao/PortableGroup/PortableGroup_Loader.cpp119
-rw-r--r--TAO/tao/PortableGroup/PortableGroup_Loader.h111
-rw-r--r--TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.cpp74
-rw-r--r--TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.h59
-rw-r--r--TAO/tao/PortableGroup/Portable_Group_Map.cpp189
-rw-r--r--TAO/tao/PortableGroup/Portable_Group_Map.h129
-rw-r--r--TAO/tao/PortableGroup/TAO_PortableGroup.dsp343
-rw-r--r--TAO/tao/PortableGroup/TAO_PortableGroup_Static.dsp106
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Acceptor.cpp533
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Acceptor.h171
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Acceptor.i23
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Connection_Handler.cpp368
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Connection_Handler.h192
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Connection_Handler.i3
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Connector.cpp273
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Connector.h115
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Endpoint.cpp130
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Endpoint.h125
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Endpoint.i48
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Factory.cpp91
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Factory.h65
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Profile.cpp736
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Profile.h205
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Profile.i19
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Transport.cpp534
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Transport.h139
-rw-r--r--TAO/tao/PortableGroup/UIPMC_Transport.i2
-rw-r--r--TAO/tao/PortableGroup/mgm.pidl74
-rw-r--r--TAO/tao/PortableGroup/miop.cpp149
-rw-r--r--TAO/tao/PortableGroup/miop.h91
-rw-r--r--TAO/tao/PortableGroup/miop.pidl119
-rw-r--r--TAO/tao/PortableGroup/miopC.cpp2124
-rw-r--r--TAO/tao/PortableGroup/miopC.h1101
-rw-r--r--TAO/tao/PortableGroup/miopC.i2500
-rw-r--r--TAO/tao/PortableGroup/miopS.cpp48
-rw-r--r--TAO/tao/PortableGroup/miopS.h70
-rw-r--r--TAO/tao/PortableGroup/miopS.i21
-rw-r--r--TAO/tao/PortableGroup/miopS_T.cpp32
-rw-r--r--TAO/tao/PortableGroup/miopS_T.h61
-rw-r--r--TAO/tao/PortableGroup/miopS_T.i24
-rw-r--r--TAO/tao/PortableGroup/portablegroup_export.h40
-rw-r--r--TAO/tao/PortableGroup_Adapter.cpp50
-rw-r--r--TAO/tao/PortableGroup_Adapter.h61
-rw-r--r--TAO/tao/PortableInterceptorC.cpp134
-rw-r--r--TAO/tao/PortableInterceptorC.h24
-rw-r--r--TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h2
-rw-r--r--TAO/tao/PortableServer/ImplRepoC.cpp2414
-rw-r--r--TAO/tao/PortableServer/ImplRepoC.h366
-rw-r--r--TAO/tao/PortableServer/ImplRepoC.i186
-rw-r--r--TAO/tao/PortableServer/ImplRepoS_T.h50
-rw-r--r--TAO/tao/PortableServer/MessagingS.cpp2
-rw-r--r--TAO/tao/PortableServer/MessagingS.h6
-rw-r--r--TAO/tao/PortableServer/MessagingS_T.h8
-rw-r--r--TAO/tao/PortableServer/MessagingS_T.i24
-rw-r--r--TAO/tao/PortableServer/POA.cpp45
-rw-r--r--TAO/tao/PortableServer/POA.h22
-rw-r--r--TAO/tao/PortableServer/PolicyS.cpp226
-rw-r--r--TAO/tao/PortableServer/PolicyS_T.h14
-rw-r--r--TAO/tao/PortableServer/PolicyS_T.i24
-rw-r--r--TAO/tao/PortableServer/PortableServer.pidl16
-rw-r--r--TAO/tao/PortableServer/PortableServerC.cpp292
-rw-r--r--TAO/tao/PortableServer/PortableServerC.h921
-rw-r--r--TAO/tao/PortableServer/PortableServerC.i525
-rw-r--r--TAO/tao/PortableServer/RTPortableServerC.cpp57
-rw-r--r--TAO/tao/PortableServer/RTPortableServerC.h45
-rw-r--r--TAO/tao/PortableServer/RTPortableServerC.i43
-rw-r--r--TAO/tao/PortableServer/TAO_PortableServer.dsp8
-rw-r--r--TAO/tao/Principal.cpp2
-rw-r--r--TAO/tao/Profile.cpp40
-rw-r--r--TAO/tao/Profile.h8
-rw-r--r--TAO/tao/RTCORBAC.cpp28
-rw-r--r--TAO/tao/RTCORBAC.h28
-rw-r--r--TAO/tao/RT_CORBA.h2
-rw-r--r--TAO/tao/Remote_Object_Proxy_Impl.cpp2
-rw-r--r--TAO/tao/Request_Dispatcher.cpp45
-rw-r--r--TAO/tao/Request_Dispatcher.h49
-rw-r--r--TAO/tao/Sequence.cpp4
-rw-r--r--TAO/tao/Sequence.i2
-rw-r--r--TAO/tao/Sequence_T.cpp8
-rw-r--r--TAO/tao/Sequence_T.i36
-rw-r--r--TAO/tao/Services.i162
-rw-r--r--TAO/tao/Strategies/SHMIOP_Endpoint.cpp2
-rw-r--r--TAO/tao/Strategies/SHMIOP_Endpoint.h2
-rw-r--r--TAO/tao/Strategies/UIOP_Endpoint.cpp2
-rw-r--r--TAO/tao/Strategies/UIOP_Endpoint.h2
-rw-r--r--TAO/tao/StringSeqC.h56
-rw-r--r--TAO/tao/StringSeqC.i40
-rw-r--r--TAO/tao/Sync_Strategies.h4
-rw-r--r--TAO/tao/TAO.dsp16
-rw-r--r--TAO/tao/TAOC.cpp216
-rw-r--r--TAO/tao/TAOC.h4
-rw-r--r--TAO/tao/TAOC.i12
-rw-r--r--TAO/tao/TAO_Internal.cpp6
-rw-r--r--TAO/tao/TAO_Server_Request.cpp6
-rw-r--r--TAO/tao/TAO_Server_Request.h11
-rw-r--r--TAO/tao/TAO_Server_Request.i13
-rw-r--r--TAO/tao/Tagged_Profile.cpp18
-rw-r--r--TAO/tao/TimeBaseC.cpp196
-rw-r--r--TAO/tao/TimeBaseC.h20
-rw-r--r--TAO/tao/TimeBaseC.i28
-rw-r--r--TAO/tao/Transport_Cache_Manager.cpp4
-rw-r--r--TAO/tao/TypeCodeFactory_Adapter.cpp68
-rw-r--r--TAO/tao/TypeCodeFactory_Adapter.h36
-rw-r--r--TAO/tao/Typecode.i4
-rw-r--r--TAO/tao/ValueFactory_Map.cpp6
-rw-r--r--TAO/tao/corbafwd.h11
-rw-r--r--TAO/tao/iiop_endpoints.cpp44
-rw-r--r--TAO/tao/iiop_endpoints.i62
-rw-r--r--TAO/tao/orbconf.h23
-rw-r--r--TAO/tao/qt_resource.cpp10
-rw-r--r--TAO/tao/qt_resource.i2
-rw-r--r--TAO/tao/target_specification.i6
188 files changed, 32286 insertions, 4600 deletions
diff --git a/TAO/tao/Abstract_Servant_Base.cpp b/TAO/tao/Abstract_Servant_Base.cpp
index 5d60b30dfea..d7799085666 100644
--- a/TAO/tao/Abstract_Servant_Base.cpp
+++ b/TAO/tao/Abstract_Servant_Base.cpp
@@ -34,7 +34,7 @@ TAO_Abstract_ServantBase::TAO_Abstract_ServantBase (const TAO_Abstract_ServantBa
TAO_Abstract_ServantBase & TAO_Abstract_ServantBase::operator= (const TAO_Abstract_ServantBase&)
{
return *this;
-}
+}
diff --git a/TAO/tao/Abstract_Servant_Base.h b/TAO/tao/Abstract_Servant_Base.h
index 4ad7476dc06..3427195ed07 100644
--- a/TAO/tao/Abstract_Servant_Base.h
+++ b/TAO/tao/Abstract_Servant_Base.h
@@ -37,11 +37,11 @@ public:
/// Local implementation of the CORBA::Object::_is_a method.
virtual CORBA::Boolean _is_a (const char* logical_type_id,
- CORBA_Environment &ACE_TRY_ENV =
+ CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ()) = 0;
/// Default <_non_existent>: always returns false.
- virtual CORBA::Boolean _non_existent (CORBA_Environment &ACE_TRY_ENV =
+ virtual CORBA::Boolean _non_existent (CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ()) = 0;
/// Query the Interface Repository.
diff --git a/TAO/tao/Asynch_Invocation.cpp b/TAO/tao/Asynch_Invocation.cpp
index eec74ba8c59..c9f21980fc2 100644
--- a/TAO/tao/Asynch_Invocation.cpp
+++ b/TAO/tao/Asynch_Invocation.cpp
@@ -71,7 +71,13 @@ TAO_GIOP_Asynch_Invocation::start (CORBA::Environment &ACE_TRY_ENV)
this->TAO_GIOP_Invocation::start (ACE_TRY_ENV);
ACE_CHECK;
- this->target_spec_.target_specifier (this->profile_->object_key ());
+ // Set the target specifier to point to the right kind
+ // of specifier for our request. Normally, this is just
+ // the object key. However, some pluggable have special
+ // requires such that the object key does not make the
+ // most sense. For example, MIOP requires the group id
+ // to be sent.
+ this->profile_->request_target_specifier (this->target_spec_);
}
// **************************************************************************
diff --git a/TAO/tao/CDR_Encaps_Codec.cpp b/TAO/tao/CDR_Encaps_Codec.cpp
index 211a9cb1d7c..133e321fc89 100644
--- a/TAO/tao/CDR_Encaps_Codec.cpp
+++ b/TAO/tao/CDR_Encaps_Codec.cpp
@@ -16,7 +16,7 @@ ACE_RCSID (TAO_CodecFactory,
TAO_CDR_Encaps_Codec::TAO_CDR_Encaps_Codec (CORBA::Octet major,
- CORBA::Octet minor)
+ CORBA::Octet minor)
: major_ (major),
minor_ (minor)
{
@@ -28,12 +28,12 @@ TAO_CDR_Encaps_Codec::~TAO_CDR_Encaps_Codec (void)
CORBA::OctetSeq *
TAO_CDR_Encaps_Codec::encode (const CORBA::Any & data,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::InvalidTypeForEncoding))
+ IOP::Codec::InvalidTypeForEncoding))
{
this->check_type_for_encoding (data,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
// ----------------------------------------------------------------
@@ -75,9 +75,9 @@ TAO_CDR_Encaps_Codec::encode (const CORBA::Any & data,
CORBA::Any *
TAO_CDR_Encaps_Codec::decode (const CORBA::OctetSeq & data,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::FormatMismatch))
+ IOP::Codec::FormatMismatch))
{
// @todo How do we check for a format mismatch so that we can throw
// a IOP::Codec::FormatMismatch exception?
@@ -117,12 +117,12 @@ TAO_CDR_Encaps_Codec::decode (const CORBA::OctetSeq & data,
CORBA::OctetSeq *
TAO_CDR_Encaps_Codec::encode_value (const CORBA::Any & data,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::InvalidTypeForEncoding))
+ IOP::Codec::InvalidTypeForEncoding))
{
this->check_type_for_encoding (data,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
// ----------------------------------------------------------------
@@ -171,16 +171,16 @@ TAO_CDR_Encaps_Codec::encode_value (const CORBA::Any & data,
return safe_octet_seq._retn ();
}
- ACE_THROW_RETURN (CORBA::MARSHAL (), 0);
+ ACE_THROW_RETURN (CORBA::MARSHAL (), 0);
}
CORBA::Any *
TAO_CDR_Encaps_Codec::decode_value (const CORBA::OctetSeq & data,
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::FormatMismatch,
- IOP::Codec::TypeMismatch))
+ IOP::Codec::FormatMismatch,
+ IOP::Codec::TypeMismatch))
{
// @todo How do we check for a type mismatch so that we can
// throw a IOP::Codec::TypeMismatch exception?
diff --git a/TAO/tao/CDR_Encaps_Codec.h b/TAO/tao/CDR_Encaps_Codec.h
index 41fee8fffc6..1b06e02da44 100644
--- a/TAO/tao/CDR_Encaps_Codec.h
+++ b/TAO/tao/CDR_Encaps_Codec.h
@@ -62,36 +62,36 @@ public:
/// Encode the given data, including the TypeCode, into an octet
/// sequence.
virtual CORBA::OctetSeq * encode (const CORBA::Any & data,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ())
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::InvalidTypeForEncoding));
+ IOP::Codec::InvalidTypeForEncoding));
/// Extract the TypeCode and the value from the octet sequence and
/// place them into an Any.
virtual CORBA::Any * decode (const CORBA::OctetSeq & data,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ())
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::FormatMismatch));
+ IOP::Codec::FormatMismatch));
/// Encode the given data, excluding the TypeCode, into an octet
/// sequence.
virtual CORBA::OctetSeq * encode_value (const CORBA::Any & data,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ())
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::InvalidTypeForEncoding));
+ IOP::Codec::InvalidTypeForEncoding));
/// Extract the value from the octet sequence, based on the given
/// TypeCode, and place it into an Any.
virtual CORBA::Any * decode_value (const CORBA::OctetSeq & data,
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ())
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::Codec::FormatMismatch,
- IOP::Codec::TypeMismatch));
+ IOP::Codec::FormatMismatch,
+ IOP::Codec::TypeMismatch));
protected:
@@ -110,7 +110,7 @@ protected:
* Codec.
*/
void check_type_for_encoding (const CORBA::Any & data,
- CORBA::Environment &ACE_TRY_ENV);
+ CORBA::Environment &ACE_TRY_ENV);
private:
diff --git a/TAO/tao/CONV_FRAMEC.i b/TAO/tao/CONV_FRAMEC.i
index ca01549ce64..8c58d790186 100644
--- a/TAO/tao/CONV_FRAMEC.i
+++ b/TAO/tao/CONV_FRAMEC.i
@@ -49,9 +49,9 @@ CONV_FRAME::CodeSetComponent_var::operator= (const CONV_FRAME::CodeSetComponent_
}
else
{
- CONV_FRAME::CodeSetComponent *deep_copy =
+ CONV_FRAME::CodeSetComponent *deep_copy =
new CONV_FRAME::CodeSetComponent (*p.ptr_);
-
+
if (deep_copy != 0)
{
CONV_FRAME::CodeSetComponent *tmp = deep_copy;
@@ -61,7 +61,7 @@ CONV_FRAME::CodeSetComponent_var::operator= (const CONV_FRAME::CodeSetComponent_
}
}
}
-
+
return *this;
}
@@ -408,12 +408,12 @@ CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId_var::operator= (const CONV_FRAM
}
else
{
- CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId *deep_copy =
+ CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId *deep_copy =
new CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId (*p.ptr_);
-
+
if (deep_copy != 0)
{
- CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId *tmp =
+ CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId *tmp =
deep_copy;
deep_copy = this->ptr_;
this->ptr_ = tmp;
@@ -421,7 +421,7 @@ CONV_FRAME::CodeSetComponent::_tao_seq_CodeSetId_var::operator= (const CONV_FRAM
}
}
}
-
+
return *this;
}
@@ -610,9 +610,9 @@ CONV_FRAME::CodeSetComponentInfo_var::operator= (const CONV_FRAME::CodeSetCompon
}
else
{
- CONV_FRAME::CodeSetComponentInfo *deep_copy =
+ CONV_FRAME::CodeSetComponentInfo *deep_copy =
new CONV_FRAME::CodeSetComponentInfo (*p.ptr_);
-
+
if (deep_copy != 0)
{
CONV_FRAME::CodeSetComponentInfo *tmp = deep_copy;
@@ -622,7 +622,7 @@ CONV_FRAME::CodeSetComponentInfo_var::operator= (const CONV_FRAME::CodeSetCompon
}
}
}
-
+
return *this;
}
@@ -796,9 +796,9 @@ CONV_FRAME::CodeSetContext_var::operator= (const CONV_FRAME::CodeSetContext_var
}
else
{
- CONV_FRAME::CodeSetContext *deep_copy =
+ CONV_FRAME::CodeSetContext *deep_copy =
new CONV_FRAME::CodeSetContext (*p.ptr_);
-
+
if (deep_copy != 0)
{
CONV_FRAME::CodeSetContext *tmp = deep_copy;
@@ -808,7 +808,7 @@ CONV_FRAME::CodeSetContext_var::operator= (const CONV_FRAME::CodeSetContext_var
}
}
}
-
+
return *this;
}
diff --git a/TAO/tao/CORBANAME_Parser.cpp b/TAO/tao/CORBANAME_Parser.cpp
index ce4e6002b95..af73c113b90 100644
--- a/TAO/tao/CORBANAME_Parser.cpp
+++ b/TAO/tao/CORBANAME_Parser.cpp
@@ -21,18 +21,18 @@ int
TAO_CORBANAME_Parser::match_prefix (const char *ior_string) const
{
return (ACE_OS::strncmp (ior_string,
- corbaname_prefix,
- sizeof corbaname_prefix - 1) == 0);
+ corbaname_prefix,
+ sizeof corbaname_prefix - 1) == 0);
}
CORBA::Object_ptr
TAO_CORBANAME_Parser::
parse_string_dynamic_request_helper (CORBA::Object_ptr naming_context,
- ACE_CString &key_string,
- CORBA::Environment &ACE_TRY_ENV)
+ ACE_CString &key_string,
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Object_ptr _tao_retval = CORBA::Object::_nil ();
+ CORBA::Object_ptr _tao_retval = CORBA::Object::_nil ();
CORBA::Object_var _tao_safe_retval (_tao_retval);
@@ -53,157 +53,157 @@ parse_string_dynamic_request_helper (CORBA::Object_ptr naming_context,
_tao_call.start (ACE_TRY_ENV);
ACE_CHECK_RETURN (CORBA::Object::_nil ());
- CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
+ CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
_tao_call.prepare_header (
- ACE_static_cast (CORBA::Octet, _tao_response_flag),
- ACE_TRY_ENV
- );
+ ACE_static_cast (CORBA::Octet, _tao_response_flag),
+ ACE_TRY_ENV
+ );
ACE_CHECK_RETURN (CORBA::Object::_nil ());
- TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
+ TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
- (_tao_out << key_string.c_str ())
- ))
- ACE_THROW_RETURN (
- CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_NO),
- CORBA::Object::_nil ()
- );
+ (_tao_out << key_string.c_str ())
+ ))
+ ACE_THROW_RETURN (
+ CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_NO),
+ CORBA::Object::_nil ()
+ );
int _invoke_status = 0;
ACE_TRY
- {
- _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV);
- ACE_TRY_CHECK (CORBA::Object::_nil ());
- }
- ACE_CATCH (CORBA::UNKNOWN, ex)
- {
- ACE_UNUSED_ARG (ex);
-
- ACE_THROW_RETURN (
- CORBA::BAD_PARAM (TAO_OMG_VMCID | 10,
- CORBA::COMPLETED_YES),
- CORBA::Object::_nil ()
- );
- }
+ {
+ _invoke_status = _tao_call.invoke (0, 0, ACE_TRY_ENV);
+ ACE_TRY_CHECK (CORBA::Object::_nil ());
+ }
+ ACE_CATCH (CORBA::UNKNOWN, ex)
+ {
+ ACE_UNUSED_ARG (ex);
+
+ ACE_THROW_RETURN (
+ CORBA::BAD_PARAM (TAO_OMG_VMCID | 10,
+ CORBA::COMPLETED_YES),
+ CORBA::Object::_nil ()
+ );
+ }
ACE_ENDTRY;
ACE_CHECK_RETURN (CORBA::Object::_nil ());
if (_invoke_status == TAO_INVOKE_RESTART)
- {
- _tao_call.restart_flag (1);
- continue;
- }
+ {
+ _tao_call.restart_flag (1);
+ continue;
+ }
if (_invoke_status != TAO_INVOKE_OK)
- {
- // @@ Is there any way we can reach this point? Any
- // USER_EXCEPTION response will be caught by the UNKNOWN
- // catch block above. Any SYSTEM_EXCEPTION response will
- // be simply raised, and any RESTART is handled
- // already... leave this here "just in case".
- ACE_THROW_RETURN (
- CORBA::BAD_PARAM (TAO_OMG_VMCID | 10,
- CORBA::COMPLETED_YES),
- CORBA::Object::_nil ()
- );
- }
+ {
+ // @@ Is there any way we can reach this point? Any
+ // USER_EXCEPTION response will be caught by the UNKNOWN
+ // catch block above. Any SYSTEM_EXCEPTION response will
+ // be simply raised, and any RESTART is handled
+ // already... leave this here "just in case".
+ ACE_THROW_RETURN (
+ CORBA::BAD_PARAM (TAO_OMG_VMCID | 10,
+ CORBA::COMPLETED_YES),
+ CORBA::Object::_nil ()
+ );
+ }
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
if (!(
- (_tao_in >> _tao_safe_retval.inout ())
- ))
- {
- ACE_THROW_RETURN (
- CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
- CORBA::Object::_nil ()
- );
- }
+ (_tao_in >> _tao_safe_retval.inout ())
+ ))
+ {
+ ACE_THROW_RETURN (
+ CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
+ CORBA::Object::_nil ()
+ );
+ }
break;
}
- return _tao_safe_retval._retn ();
+ return _tao_safe_retval._retn ();
}
CORBA::Object_ptr
TAO_CORBANAME_Parser::parse_string (const char *ior,
- CORBA::ORB_ptr orb,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::ORB_ptr orb,
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Skip the prefix, we know it is there because this method in only
// called if <match_prefix> returns 1.
- const char *corbaname =
- ior + sizeof corbaname_prefix - 1;
+ const char *corbaname =
+ ior + sizeof corbaname_prefix - 1;
- CORBA::Object_ptr obj = CORBA::Object::_nil ();
+ CORBA::Object_ptr obj = CORBA::Object::_nil ();
ACE_TRY
{
char rir_prot [] = "rir:";
- // The position of the seperator between the obj_addr and key
+ // The position of the seperator between the obj_addr and key
// string
CORBA::ULong pos_seperator = 0;
- ACE_CString corbaname_str (corbaname, 0, 1);
+ ACE_CString corbaname_str (corbaname, 0, 1);
pos_seperator = corbaname_str.find ("#", 0);
// Get the Key String
ACE_CString key_string =
- corbaname_str.substring (pos_seperator + 1,
- -1);
+ corbaname_str.substring (pos_seperator + 1,
+ -1);
- // Make it in a form understandable by <corbaloc> scheme
- ACE_CString corbaloc_addr ("corbaloc:", 0, 1);
+ // Make it in a form understandable by <corbaloc> scheme
+ ACE_CString corbaloc_addr ("corbaloc:", 0, 1);
if (ACE_OS::strncmp (corbaname,
- rir_prot,
- sizeof (rir_prot)) != 0)
- {
- // Implies that <iiop:> protocol is to be used.
- // So .. we need to get the host address where an object of
- // type NamingContext can be found.
- // Get the obj_addr
- ACE_CString obj_addr = corbaname_str.substring (0,
- pos_seperator);
+ rir_prot,
+ sizeof (rir_prot)) != 0)
+ {
+ // Implies that <iiop:> protocol is to be used.
+ // So .. we need to get the host address where an object of
+ // type NamingContext can be found.
+ // Get the obj_addr
+ ACE_CString obj_addr = corbaname_str.substring (0,
+ pos_seperator);
- corbaloc_addr += obj_addr;
+ corbaloc_addr += obj_addr;
- }
+ }
- ACE_CString name_service ("/NameService", 0, 1);
+ ACE_CString name_service ("/NameService", 0, 1);
corbaloc_addr += name_service;
- // Obtain a reference to the naming context
- CORBA::Object_var name_context =
- orb->string_to_object (corbaloc_addr.c_str (),
- ACE_TRY_ENV);
+ // Obtain a reference to the naming context
+ CORBA::Object_var name_context =
+ orb->string_to_object (corbaloc_addr.c_str (),
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
// Check if the Object reference is nil.
- if (CORBA::is_nil (name_context.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "Cannot resolve Naming Service: CORBANAME_Parser\n"),
- 0);
+ if (CORBA::is_nil (name_context.in ()))
+ ACE_ERROR_RETURN ((LM_ERROR,
+ "Cannot resolve Naming Service: CORBANAME_Parser\n"),
+ 0);
CORBA::Boolean is_a =
- name_context->_is_a ("IDL:omg.org/CosNaming/NamingContextExt:1.0",
- ACE_TRY_ENV);
+ name_context->_is_a ("IDL:omg.org/CosNaming/NamingContextExt:1.0",
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
if (!is_a)
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "Cannot narrow Naming Service: "
- "CORBANAME_Parser\n"),
- 0);
- }
-
- // Make a dynamic request for resolve_str in this naming context
+ {
+ ACE_ERROR_RETURN ((LM_ERROR,
+ "Cannot narrow Naming Service: "
+ "CORBANAME_Parser\n"),
+ 0);
+ }
+
+ // Make a dynamic request for resolve_str in this naming context
obj = this->parse_string_dynamic_request_helper (name_context.in (),
- key_string,
- ACE_TRY_ENV);
+ key_string,
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
}
ACE_CATCH (CORBA::SystemException, ex)
@@ -214,18 +214,18 @@ TAO_CORBANAME_Parser::parse_string (const char *ior,
}
}
ACE_ENDTRY;
- ACE_CHECK_RETURN (CORBA::Object::_nil ());
+ ACE_CHECK_RETURN (CORBA::Object::_nil ());
return obj;
}
ACE_STATIC_SVC_DEFINE (TAO_CORBANAME_Parser,
- ACE_TEXT ("CORBANAME_Parser"),
- ACE_SVC_OBJ_T,
- &ACE_SVC_NAME (TAO_CORBANAME_Parser),
- ACE_Service_Type::DELETE_THIS |
- ACE_Service_Type::DELETE_OBJ,
- 0)
+ ACE_TEXT ("CORBANAME_Parser"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (TAO_CORBANAME_Parser),
+ ACE_Service_Type::DELETE_THIS |
+ ACE_Service_Type::DELETE_OBJ,
+ 0)
ACE_FACTORY_DEFINE (TAO, TAO_CORBANAME_Parser)
diff --git a/TAO/tao/CodecFactory.cpp b/TAO/tao/CodecFactory.cpp
index 9a4b57e4dfa..759a5d18508 100644
--- a/TAO/tao/CodecFactory.cpp
+++ b/TAO/tao/CodecFactory.cpp
@@ -15,9 +15,9 @@ TAO_CodecFactory::TAO_CodecFactory (void)
IOP::Codec_ptr
TAO_CodecFactory::create_codec (const IOP::Encoding & enc,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::CodecFactory::UnknownEncoding))
+ IOP::CodecFactory::UnknownEncoding))
{
// @todo: Ideally we should have some sort of CodecFactory
// registry to make it possible to add factories
@@ -36,30 +36,30 @@ TAO_CodecFactory::create_codec (const IOP::Encoding & enc,
// value (0) is used instead.
case 0 /* IOP::ENCODING_CDR_ENCAPS */:
if (enc.major_version < 1)
- {
- // There is no such thing as a "0.x" CDR encapsulation.
- ACE_THROW_RETURN (CORBA::BAD_PARAM (
+ {
+ // There is no such thing as a "0.x" CDR encapsulation.
+ ACE_THROW_RETURN (CORBA::BAD_PARAM (
CORBA_SystemException::_tao_minor_code (
- TAO_DEFAULT_MINOR_CODE,
- EINVAL),
- CORBA::COMPLETED_NO),
- IOP::Codec::_nil ());
- }
+ TAO_DEFAULT_MINOR_CODE,
+ EINVAL),
+ CORBA::COMPLETED_NO),
+ IOP::Codec::_nil ());
+ }
ACE_NEW_THROW_EX (codec,
- TAO_CDR_Encaps_Codec (enc.major_version,
- enc.minor_version),
- CORBA::NO_MEMORY (
+ TAO_CDR_Encaps_Codec (enc.major_version,
+ enc.minor_version),
+ CORBA::NO_MEMORY (
CORBA_SystemException::_tao_minor_code (
TAO_DEFAULT_MINOR_CODE,
- ENOMEM),
- CORBA::COMPLETED_MAYBE));
+ ENOMEM),
+ CORBA::COMPLETED_MAYBE));
ACE_CHECK_RETURN (IOP::Codec::_nil ());
break;
default:
ACE_THROW_RETURN (IOP::CodecFactory::UnknownEncoding (),
- IOP::Codec::_nil ());
+ IOP::Codec::_nil ());
}
diff --git a/TAO/tao/CodecFactory.h b/TAO/tao/CodecFactory.h
index 63f76a7dae1..8381c3a178f 100644
--- a/TAO/tao/CodecFactory.h
+++ b/TAO/tao/CodecFactory.h
@@ -53,10 +53,10 @@ public:
/// Create a Coder/Decoder for the given type of encoding.
virtual IOP::Codec_ptr create_codec (const IOP::Encoding & enc,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ())
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException,
- IOP::CodecFactory::UnknownEncoding));
+ IOP::CodecFactory::UnknownEncoding));
private:
diff --git a/TAO/tao/CurrentC.cpp b/TAO/tao/CurrentC.cpp
index b42c2f8fe11..53f9f125716 100644
--- a/TAO/tao/CurrentC.cpp
+++ b/TAO/tao/CurrentC.cpp
@@ -74,7 +74,7 @@ CORBA_Current_var::operator const ::CORBA_Current_ptr &() const // cast
return this->ptr_;
}
-CORBA_Current_var::operator ::CORBA_Current_ptr &() // cast
+CORBA_Current_var::operator ::CORBA_Current_ptr &() // cast
{
return this->ptr_;
}
diff --git a/TAO/tao/DLL_Parser.h b/TAO/tao/DLL_Parser.h
index 15b3dfa6376..81aa134b71c 100644
--- a/TAO/tao/DLL_Parser.h
+++ b/TAO/tao/DLL_Parser.h
@@ -42,7 +42,7 @@
* object while other times they may use a remote implementation.
* For example, the application could be configured to use a remote
* Event Service or to dynamically load an Event Service
- * implementation and use the local copy instead. The local Event
+ * implementation and use the local copy instead. The local Event
* Service would federate to its remote peers to work as-if a single
* Event Service was in place.
*
diff --git a/TAO/tao/DomainC.cpp b/TAO/tao/DomainC.cpp
index 39aa85dbfc4..7ae23317539 100644
--- a/TAO/tao/DomainC.cpp
+++ b/TAO/tao/DomainC.cpp
@@ -87,7 +87,7 @@ CORBA_DomainManager_var::operator const ::CORBA_DomainManager_ptr &() const // c
return this->ptr_;
}
-CORBA_DomainManager_var::operator ::CORBA_DomainManager_ptr &() // cast
+CORBA_DomainManager_var::operator ::CORBA_DomainManager_ptr &() // cast
{
return this->ptr_;
}
@@ -794,7 +794,7 @@ CORBA_ConstructionPolicy_var::operator const ::CORBA_ConstructionPolicy_ptr &()
return this->ptr_;
}
-CORBA_ConstructionPolicy_var::operator ::CORBA_ConstructionPolicy_ptr &() // cast
+CORBA_ConstructionPolicy_var::operator ::CORBA_ConstructionPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1495,7 +1495,7 @@ CORBA::TypeCode_ptr _tc_CORBA_ConstructionPolicy =
tmp[i] = old[i];
}
}
-
+
if (this->release_)
{
delete[] old;
diff --git a/TAO/tao/DynamicC.cpp b/TAO/tao/DynamicC.cpp
index 9cc3fcbfe19..8e668a58af1 100644
--- a/TAO/tao/DynamicC.cpp
+++ b/TAO/tao/DynamicC.cpp
@@ -76,7 +76,7 @@ void Dynamic::Parameter::_tao_any_destructor (void *x)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_DYNAMIC_PARAMETERLIST_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_DYNAMIC_PARAMETERLIST_CS_
@@ -85,43 +85,43 @@ void Dynamic::Parameter::_tao_any_destructor (void *x)
{
Dynamic::Parameter* tmp = 0;
tmp = _TAO_Unbounded_Sequence_Dynamic_ParameterList::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
Dynamic::Parameter *old = ACE_reinterpret_cast (Dynamic::Parameter *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_Dynamic_ParameterList::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
Dynamic::Parameter *tmp = ACE_reinterpret_cast (Dynamic::Parameter *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_Dynamic_ParameterList::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::~_TAO_Unbounded_Sequence_Dynamic_ParameterList (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_DYNAMIC_PARAMETERLIST_CS_)
#define _DYNAMIC_PARAMETERLIST_CS_
@@ -133,30 +133,30 @@ void Dynamic::Parameter::_tao_any_destructor (void *x)
Dynamic::ParameterList::ParameterList (void)
{}
Dynamic::ParameterList::ParameterList (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_Dynamic_ParameterList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<Dynamic::Parameter>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
Dynamic::ParameterList::ParameterList (CORBA::ULong max, CORBA::ULong length, Dynamic::Parameter *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_Dynamic_ParameterList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<Dynamic::Parameter>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
Dynamic::ParameterList::ParameterList (const ParameterList &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_Dynamic_ParameterList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<Dynamic::Parameter>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
Dynamic::ParameterList::~ParameterList (void) // dtor
@@ -220,7 +220,7 @@ static const CORBA::Long _oc_Dynamic_ContextList[] =
CORBA::tk_sequence, // typecode kind
16, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
0U,
@@ -246,7 +246,7 @@ TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_TypeCode, &_tc_TAO_tc_Dynamic_Typ
TAO_NAMESPACE_END
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_DYNAMIC_EXCEPTIONLIST_CS_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_DYNAMIC_EXCEPTIONLIST_CS_
@@ -256,7 +256,7 @@ TAO_NAMESPACE_END
{
CORBA::TypeCode **tmp = 0;
tmp = _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
CORBA::TypeCode **old = ACE_reinterpret_cast (CORBA::TypeCode**, this->buffer_);
@@ -265,14 +265,14 @@ TAO_NAMESPACE_END
tmp[i] = CORBA::TypeCode::_duplicate (old[i]);
else
tmp[i] = old[i];
-
+
if (this->release_)
delete[] old;
-
+
}
this->buffer_ = tmp;
}
-
+
void
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_deallocate_buffer (void)
{
@@ -287,28 +287,28 @@ TAO_NAMESPACE_END
_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::freebuf (tmp);
this->buffer_ = 0;
}
-
+
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::~_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (void)
{
this->_deallocate_buffer ();
}
-
+
void
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)
{
CORBA::TypeCode **tmp = ACE_reinterpret_cast (CORBA::TypeCode**, this->buffer_);
-
+
for (CORBA::ULong i = nl; i < ol; ++i)
{
CORBA::release (tmp[i]);
tmp[i] = CORBA::TypeCode::_nil ();
}
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_DYNAMIC_EXCEPTIONLIST_CS_)
#define _DYNAMIC_EXCEPTIONLIST_CS_
@@ -320,30 +320,30 @@ TAO_NAMESPACE_END
Dynamic::ExceptionList::ExceptionList (void)
{}
Dynamic::ExceptionList::ExceptionList (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Pseudo_Sequence<CORBA::TypeCode,CORBA::TypeCode_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
Dynamic::ExceptionList::ExceptionList (CORBA::ULong max, CORBA::ULong length, CORBA::TypeCode_ptr *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Pseudo_Sequence<CORBA::TypeCode,CORBA::TypeCode_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
Dynamic::ExceptionList::ExceptionList (const ExceptionList &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Pseudo_Sequence<CORBA::TypeCode,CORBA::TypeCode_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
Dynamic::ExceptionList::~ExceptionList (void) // dtor
@@ -394,7 +394,7 @@ static const CORBA::Long _oc_Dynamic_RequestContext[] =
CORBA::tk_sequence, // typecode kind
16, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
0U,
@@ -747,7 +747,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
@@ -789,7 +789,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
diff --git a/TAO/tao/DynamicC.i b/TAO/tao/DynamicC.i
index 439f4e33bdc..7ed4032edf6 100644
--- a/TAO/tao/DynamicC.i
+++ b/TAO/tao/DynamicC.i
@@ -69,7 +69,7 @@ Dynamic::Parameter_var::operator= (const ::Dynamic::Parameter_var &p)
else
{
Dynamic::Parameter *deep_copy = new Dynamic::Parameter (*p.ptr_);
-
+
if (deep_copy != 0)
{
Dynamic::Parameter *tmp = deep_copy;
@@ -79,7 +79,7 @@ Dynamic::Parameter_var::operator= (const ::Dynamic::Parameter_var &p)
}
}
}
-
+
return *this;
}
@@ -102,20 +102,20 @@ Dynamic::Parameter_var::operator const ::Dynamic::Parameter &() const // cast
}
ACE_INLINE
-Dynamic::Parameter_var::operator ::Dynamic::Parameter &() // cast
+Dynamic::Parameter_var::operator ::Dynamic::Parameter &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-Dynamic::Parameter_var::operator ::Dynamic::Parameter &() const // cast
+Dynamic::Parameter_var::operator ::Dynamic::Parameter &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-Dynamic::Parameter_var::operator ::Dynamic::Parameter *&() // cast
+Dynamic::Parameter_var::operator ::Dynamic::Parameter *&() // cast
{
return this->ptr_;
}
@@ -132,7 +132,7 @@ Dynamic::Parameter_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::Dynamic::Parameter *&
Dynamic::Parameter_var::out (void)
{
@@ -193,7 +193,7 @@ Dynamic::Parameter_out::operator= (Parameter *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
Dynamic::Parameter_out::operator ::Dynamic::Parameter *&() // cast
{
return this->ptr_;
@@ -213,7 +213,7 @@ Dynamic::Parameter_out::operator-> (void)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_DYNAMIC_PARAMETERLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_DYNAMIC_PARAMETERLIST_CI_
@@ -226,24 +226,24 @@ Dynamic::Parameter_out::operator-> (void)
ACE_NEW_RETURN (retval, Dynamic::Parameter[size], 0);
return retval;
}
-
+
ACE_INLINE void Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::freebuf (Dynamic::Parameter *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::_TAO_Unbounded_Sequence_Dynamic_ParameterList (void) // Default constructor.
{
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::_TAO_Unbounded_Sequence_Dynamic_ParameterList (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_Dynamic_ParameterList::allocbuf (maximum))
{
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::_TAO_Unbounded_Sequence_Dynamic_ParameterList (CORBA::ULong maximum,
CORBA::ULong length,
@@ -252,7 +252,7 @@ Dynamic::Parameter_out::operator-> (void)
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::_TAO_Unbounded_Sequence_Dynamic_ParameterList (const _TAO_Unbounded_Sequence_Dynamic_ParameterList &rhs)
// Copy constructor.
@@ -262,10 +262,10 @@ Dynamic::Parameter_out::operator-> (void)
{
Dynamic::Parameter *tmp1 = _TAO_Unbounded_Sequence_Dynamic_ParameterList::allocbuf (this->maximum_);
Dynamic::Parameter * const tmp2 = ACE_reinterpret_cast (Dynamic::Parameter * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
else
@@ -273,14 +273,14 @@ Dynamic::Parameter_out::operator-> (void)
this->buffer_ = 0;
}
}
-
+
ACE_INLINE Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList &
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::operator= (const _TAO_Unbounded_Sequence_Dynamic_ParameterList &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -293,18 +293,18 @@ Dynamic::Parameter_out::operator-> (void)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_Dynamic_ParameterList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
Dynamic::Parameter *tmp1 = ACE_reinterpret_cast (Dynamic::Parameter *, this->buffer_);
Dynamic::Parameter * const tmp2 = ACE_reinterpret_cast (Dynamic::Parameter * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE Dynamic::Parameter &
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::operator[] (CORBA::ULong i)
@@ -314,7 +314,7 @@ Dynamic::Parameter_out::operator-> (void)
Dynamic::Parameter* tmp = ACE_reinterpret_cast(Dynamic::Parameter*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const Dynamic::Parameter &
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::operator[] (CORBA::ULong i) const
// operator []
@@ -323,9 +323,9 @@ Dynamic::Parameter_out::operator-> (void)
Dynamic::Parameter * const tmp = ACE_reinterpret_cast (Dynamic::Parameter* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE Dynamic::Parameter *
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::get_buffer (CORBA::Boolean orphan)
{
@@ -359,13 +359,13 @@ Dynamic::Parameter_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const Dynamic::Parameter *
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::get_buffer (void) const
{
return ACE_reinterpret_cast(const Dynamic::Parameter * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
Dynamic::_TAO_Unbounded_Sequence_Dynamic_ParameterList::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -382,11 +382,11 @@ Dynamic::Parameter_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_DYNAMIC_PARAMETERLIST_CI_)
#define _DYNAMIC_PARAMETERLIST_CI_
@@ -440,9 +440,9 @@ Dynamic::ParameterList_var::operator= (const ::Dynamic::ParameterList_var &p) //
}
else
{
- Dynamic::ParameterList *deep_copy =
+ Dynamic::ParameterList *deep_copy =
new Dynamic::ParameterList (*p.ptr_);
-
+
if (deep_copy != 0)
{
Dynamic::ParameterList *tmp = deep_copy;
@@ -452,7 +452,7 @@ Dynamic::ParameterList_var::operator= (const ::Dynamic::ParameterList_var &p) //
}
}
}
-
+
return *this;
}
@@ -468,27 +468,27 @@ Dynamic::ParameterList_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
Dynamic::ParameterList_var::operator const ::Dynamic::ParameterList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-Dynamic::ParameterList_var::operator ::Dynamic::ParameterList &() // cast
+ACE_INLINE
+Dynamic::ParameterList_var::operator ::Dynamic::ParameterList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-Dynamic::ParameterList_var::operator ::Dynamic::ParameterList &() const // cast
+ACE_INLINE
+Dynamic::ParameterList_var::operator ::Dynamic::ParameterList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-Dynamic::ParameterList_var::operator ::Dynamic::ParameterList *&() // cast
+Dynamic::ParameterList_var::operator ::Dynamic::ParameterList *&() // cast
{
return this->ptr_;
}
@@ -517,7 +517,7 @@ Dynamic::ParameterList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::Dynamic::ParameterList *&
Dynamic::ParameterList_var::out (void)
{
@@ -578,7 +578,7 @@ Dynamic::ParameterList_out::operator= (ParameterList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
Dynamic::ParameterList_out::operator ::Dynamic::ParameterList *&() // cast
{
return this->ptr_;
@@ -607,7 +607,7 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_DYNAMIC_EXCEPTIONLIST_CI_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_DYNAMIC_EXCEPTIONLIST_CI_
@@ -615,34 +615,34 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::allocbuf (CORBA::ULong nelems)
{
CORBA::TypeCode **buf = 0;
-
+
ACE_NEW_RETURN (buf, CORBA::TypeCode*[nelems], 0);
-
+
for (CORBA::ULong i = 0; i < nelems; i++)
buf[i] = CORBA::TypeCode::_nil ();
-
+
return buf;
}
-
- ACE_INLINE void
+
+ ACE_INLINE void
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::freebuf (CORBA::TypeCode **buffer)
{
if (buffer == 0)
return;
delete[] buffer;
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (void)
{
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (CORBA::ULong maximum)
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::allocbuf (maximum))
{
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList (CORBA::ULong maximum,
CORBA::ULong length,
@@ -651,7 +651,7 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
: TAO_Unbounded_Base_Sequence (maximum, length, value, release)
{
}
-
+
ACE_INLINE
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList(const _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList &rhs)
: TAO_Unbounded_Base_Sequence (rhs)
@@ -660,10 +660,10 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
{
CORBA::TypeCode **tmp1 = _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::allocbuf (this->maximum_);
CORBA::TypeCode ** const tmp2 = ACE_reinterpret_cast (CORBA::TypeCode ** ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < rhs.length_; ++i)
tmp1[i] = CORBA::TypeCode::_duplicate (tmp2[i]);
-
+
this->buffer_ = tmp1;
}
else
@@ -671,17 +671,17 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
this->buffer_ = 0;
}
}
-
+
ACE_INLINE Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList &
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::operator= (const _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList &rhs)
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
CORBA::TypeCode **tmp = ACE_reinterpret_cast (CORBA::TypeCode **, this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
{
CORBA::release (tmp[i]);
@@ -695,18 +695,18 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
}
else
this->buffer_ = _TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
CORBA::TypeCode **tmp1 = ACE_reinterpret_cast (CORBA::TypeCode **, this->buffer_);
CORBA::TypeCode ** const tmp2 = ACE_reinterpret_cast (CORBA::TypeCode ** ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < rhs.length_; ++i)
tmp1[i] = CORBA::TypeCode::_duplicate (tmp2[i]);
-
+
return *this;
}
-
+
ACE_INLINE TAO_Pseudo_Object_Manager<Dynamic::TypeCode,Dynamic::TypeCode_var>
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::operator[] (CORBA::ULong index) const
// read-write accessor
@@ -715,7 +715,7 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
CORBA::TypeCode ** const tmp = ACE_reinterpret_cast (CORBA::TypeCode ** ACE_CAST_CONST, this->buffer_);
return TAO_Pseudo_Object_Manager<Dynamic::TypeCode,Dynamic::TypeCode_var> (tmp + index, this->release_);
}
-
+
ACE_INLINE CORBA::TypeCode* *
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::get_buffer (CORBA::Boolean orphan)
{
@@ -749,18 +749,18 @@ Dynamic::ParameterList_out::operator[] (CORBA::ULong index)
}
return result;
}
-
+
ACE_INLINE const CORBA::TypeCode* *
Dynamic::_TAO_Unbounded_Object_Sequence_Dynamic_ExceptionList::get_buffer (void) const
{
return ACE_reinterpret_cast(const CORBA::TypeCode ** ACE_CAST_CONST, this->buffer_);
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_DYNAMIC_EXCEPTIONLIST_CI_)
#define _DYNAMIC_EXCEPTIONLIST_CI_
@@ -814,9 +814,9 @@ Dynamic::ExceptionList_var::operator= (const ::Dynamic::ExceptionList_var &p) //
}
else
{
- Dynamic::ExceptionList *deep_copy =
+ Dynamic::ExceptionList *deep_copy =
new Dynamic::ExceptionList (*p.ptr_);
-
+
if (deep_copy != 0)
{
Dynamic::ExceptionList *tmp = deep_copy;
@@ -826,7 +826,7 @@ Dynamic::ExceptionList_var::operator= (const ::Dynamic::ExceptionList_var &p) //
}
}
}
-
+
return *this;
}
@@ -842,27 +842,27 @@ Dynamic::ExceptionList_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
Dynamic::ExceptionList_var::operator const ::Dynamic::ExceptionList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-Dynamic::ExceptionList_var::operator ::Dynamic::ExceptionList &() // cast
+ACE_INLINE
+Dynamic::ExceptionList_var::operator ::Dynamic::ExceptionList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-Dynamic::ExceptionList_var::operator ::Dynamic::ExceptionList &() const // cast
+ACE_INLINE
+Dynamic::ExceptionList_var::operator ::Dynamic::ExceptionList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-Dynamic::ExceptionList_var::operator ::Dynamic::ExceptionList *&() // cast
+Dynamic::ExceptionList_var::operator ::Dynamic::ExceptionList *&() // cast
{
return this->ptr_;
}
@@ -885,7 +885,7 @@ Dynamic::ExceptionList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::Dynamic::ExceptionList *&
Dynamic::ExceptionList_var::out (void)
{
@@ -946,7 +946,7 @@ Dynamic::ExceptionList_out::operator= (ExceptionList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
Dynamic::ExceptionList_out::operator ::Dynamic::ExceptionList *&() // cast
{
return this->ptr_;
@@ -983,12 +983,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, Dynamic::ParameterMode
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (Dynamic::ParameterMode, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1001,7 +1001,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const Dynamic::Parame
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, Dynamic::Parameter &_tao_aggregate)
@@ -1013,7 +1013,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, Dynamic::Parameter &_t
return 1;
else
return 0;
-
+
}
diff --git a/TAO/tao/Dynamic_Adapter.cpp b/TAO/tao/Dynamic_Adapter.cpp
index c99f4a2e1bc..77546852f77 100644
--- a/TAO/tao/Dynamic_Adapter.cpp
+++ b/TAO/tao/Dynamic_Adapter.cpp
@@ -12,7 +12,7 @@ TAO_Dynamic_Adapter::~TAO_Dynamic_Adapter (void)
// Methods to be overridden.
-void
+void
TAO_Dynamic_Adapter::create_request (
CORBA::Object_ptr /* obj */,
CORBA::ORB_ptr /* orb */,
@@ -27,7 +27,7 @@ TAO_Dynamic_Adapter::create_request (
{
}
-CORBA::Request_ptr
+CORBA::Request_ptr
TAO_Dynamic_Adapter::request (CORBA::Object_ptr /* obj */,
CORBA::ORB_ptr /* orb */,
const char * /* op */,
@@ -36,35 +36,35 @@ TAO_Dynamic_Adapter::request (CORBA::Object_ptr /* obj */,
return 0;
}
-CORBA::Boolean
+CORBA::Boolean
TAO_Dynamic_Adapter::context_is_nil (CORBA::Context_ptr)
{
return 0;
}
-CORBA::Boolean
+CORBA::Boolean
TAO_Dynamic_Adapter::request_is_nil (CORBA::Request_ptr)
{
return 0;
}
-CORBA::Boolean
+CORBA::Boolean
TAO_Dynamic_Adapter::server_request_is_nil (CORBA::ServerRequest_ptr)
{
return 0;
}
-void
+void
TAO_Dynamic_Adapter::context_release (CORBA::Context_ptr)
{
}
-void
+void
TAO_Dynamic_Adapter::request_release (CORBA::Request_ptr)
{
}
-void
+void
TAO_Dynamic_Adapter::server_request_release (CORBA::ServerRequest_ptr)
{
}
@@ -85,7 +85,7 @@ CORBA::is_nil (CORBA::Context_ptr ctx)
{
TAO_Dynamic_Adapter *dynamic_adapter =
ACE_Dynamic_Service<TAO_Dynamic_Adapter>::instance (
- TAO_ORB_Core::dynamic_adapter_name ()
+ TAO_ORB_Core::dynamic_adapter_name ()
);
return dynamic_adapter->context_is_nil (ctx);
diff --git a/TAO/tao/Encodable.cpp b/TAO/tao/Encodable.cpp
index 70d75c09de0..0778344f384 100644
--- a/TAO/tao/Encodable.cpp
+++ b/TAO/tao/Encodable.cpp
@@ -2,6 +2,6 @@
#include "tao/Encodable.h"
-TAO_Encodable::~TAO_Encodable (void)
-{
+TAO_Encodable::~TAO_Encodable (void)
+{
}
diff --git a/TAO/tao/Endpoint.h b/TAO/tao/Endpoint.h
index e5602a279ca..38bf86abee4 100644
--- a/TAO/tao/Endpoint.h
+++ b/TAO/tao/Endpoint.h
@@ -82,7 +82,7 @@ public:
/// This method returns a copy of the corresponding endpoints by
/// allocation memory
- virtual TAO_Endpoint *duplicate (void) = 0;
+ virtual TAO_Endpoint *duplicate (void) const = 0;
/// Return a hash value for this object.
virtual CORBA::ULong hash (void) = 0;
diff --git a/TAO/tao/Endpoint_Selector_Factory.h b/TAO/tao/Endpoint_Selector_Factory.h
index dff1bbe0c9c..a2d76680dff 100644
--- a/TAO/tao/Endpoint_Selector_Factory.h
+++ b/TAO/tao/Endpoint_Selector_Factory.h
@@ -63,7 +63,7 @@ public:
CORBA::Environment &ACE_TRY_ENV);
protected:
- /// The possible endpoint selector strategies that can be
+ /// The possible endpoint selector strategies that can be
/// returned by this factory
TAO_Default_Endpoint_Selector *default_endpoint_selector_;
diff --git a/TAO/tao/GIOPC.i b/TAO/tao/GIOPC.i
index 6332dcb063c..d1270b7526e 100644
--- a/TAO/tao/GIOPC.i
+++ b/TAO/tao/GIOPC.i
@@ -56,9 +56,9 @@ GIOP::IORAddressingInfo_var::operator= (const GIOP::IORAddressingInfo_var &p)
}
else
{
- GIOP::IORAddressingInfo *deep_copy =
+ GIOP::IORAddressingInfo *deep_copy =
new GIOP::IORAddressingInfo (*p.ptr_);
-
+
if (deep_copy != 0)
{
GIOP::IORAddressingInfo *tmp = deep_copy;
@@ -68,7 +68,7 @@ GIOP::IORAddressingInfo_var::operator= (const GIOP::IORAddressingInfo_var &p)
}
}
}
-
+
return *this;
}
@@ -368,9 +368,9 @@ GIOP::TargetAddress_var::operator= (const GIOP::TargetAddress_var &p)
}
else
{
- GIOP::TargetAddress *deep_copy =
+ GIOP::TargetAddress *deep_copy =
new GIOP::TargetAddress (*p.ptr_);
-
+
if (deep_copy != 0)
{
GIOP::TargetAddress *tmp = deep_copy;
@@ -380,7 +380,7 @@ GIOP::TargetAddress_var::operator= (const GIOP::TargetAddress_var &p)
}
}
}
-
+
return *this;
}
diff --git a/TAO/tao/GIOP_Message_Base.cpp b/TAO/tao/GIOP_Message_Base.cpp
index d4a5dfcbf67..4e2c86b294e 100644
--- a/TAO/tao/GIOP_Message_Base.cpp
+++ b/TAO/tao/GIOP_Message_Base.cpp
@@ -10,6 +10,7 @@
#include "TAO_Server_Request.h"
#include "GIOP_Message_Locate_Header.h"
#include "Transport.h"
+#include "Request_Dispatcher.h"
#if !defined (__ACE_INLINE__)
# include "GIOP_Message_Base.i"
@@ -499,11 +500,11 @@ TAO_GIOP_Message_Base::process_request (TAO_Transport *transport,
CORBA::Object_var forward_to;
// Do this before the reply is sent.
- orb_core->adapter_registry ()->dispatch (request.object_key (),
- request,
- 0,
- forward_to,
- ACE_TRY_ENV);
+ orb_core->request_dispatcher ()->dispatch (orb_core,
+ request,
+ 0,
+ forward_to,
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
if (!CORBA::is_nil (forward_to.in ()))
diff --git a/TAO/tao/GIOP_Message_Generator_Parser.cpp b/TAO/tao/GIOP_Message_Generator_Parser.cpp
index fc431c2436b..b0cf4784f56 100644
--- a/TAO/tao/GIOP_Message_Generator_Parser.cpp
+++ b/TAO/tao/GIOP_Message_Generator_Parser.cpp
@@ -6,6 +6,9 @@
#include "tao/IOPC.h"
#include "tao/Tagged_Profile.h"
#include "tao/debug.h"
+#include "tao/Request_Dispatcher.h"
+#include "tao/TAO_Server_Request.h"
+#include "tao/GIOP_Message_Locate_Header.h"
#if !defined (__ACE_INLINE__)
# include "tao/GIOP_Message_Generator_Parser.inl"
@@ -166,7 +169,7 @@ TAO_GIOP_Message_Generator_Parser::marshal_reply_status (
CORBA::Boolean
TAO_GIOP_Message_Generator_Parser::unmarshall_object_key (
- TAO_ObjectKey &object_key,
+ TAO_ServerRequest &request,
TAO_InputCDR &input)
{
CORBA::Boolean hdr_status =
@@ -177,11 +180,16 @@ TAO_GIOP_Message_Generator_Parser::unmarshall_object_key (
if (hdr_status)
{
+ TAO_ObjectKey &object_key = request.object_key ();
+
object_key.replace (key_length,
key_length,
(CORBA::Octet*)input.rd_ptr (),
0);
input.skip_bytes (key_length);
+
+ // Save where the dispatch information is stored.
+ request.profile_has_dispatch_info (0);
}
return hdr_status;
@@ -190,7 +198,7 @@ TAO_GIOP_Message_Generator_Parser::unmarshall_object_key (
CORBA::Boolean
TAO_GIOP_Message_Generator_Parser::unmarshall_iop_profile (
- TAO_Tagged_Profile &profile_addr,
+ TAO_ServerRequest &request,
TAO_InputCDR &input)
{
CORBA::Boolean hdr_status =
@@ -198,25 +206,152 @@ TAO_GIOP_Message_Generator_Parser::unmarshall_iop_profile (
// Get the IOP::Tagged profile.
IOP::TaggedProfile &tagged_profile =
+ request.profile ().tagged_profile ();
+
+ hdr_status &= input >> tagged_profile;
+
+ // Save where the dispatch information is stored.
+ request.profile_has_dispatch_info (1);
+
+ return hdr_status;
+}
+
+CORBA::Boolean
+TAO_GIOP_Message_Generator_Parser::unmarshall_ref_addr (
+ TAO_ServerRequest &request,
+ TAO_InputCDR &input
+ )
+{
+ CORBA::Boolean hdr_status =
+ (CORBA::Boolean) input.good_bit ();
+
+ TAO_Tagged_Profile &profile_addr = request.profile ();
+
+ /*
+ * The GIOP::IORAddressingInfo is defined as follows
+ * struct IORAddressingInfo
+ * {
+ * unsigned long selected_profile_index;
+ * IOP::IOR ior;
+ * };
+ *
+ * and the IOP::IOR is defined to be
+ * struct IOR
+ * {
+ * string type_id;
+ * sequence<TaggedProfile> profiles;
+ * };
+ */
+
+ // First read the profile index
+ CORBA::ULong prof_index = 0;
+
+ hdr_status =
+ hdr_status && input.read_ulong (prof_index);
+
+ // Set the value in TAO_Tagged_Profile
+ if (hdr_status)
+ profile_addr.profile_index (prof_index);
+
+ // Get the length of the type_id
+ CORBA::Long id_length = 0;
+ hdr_status = hdr_status && input.read_long (id_length);
+
+ if (hdr_status)
+ {
+ // Get the type_id
+ ACE_CString &type_id =
+ profile_addr.type_id ();
+
+ type_id.set (input.rd_ptr (),
+ 0);
+
+ input.skip_bytes (id_length);
+ }
+
+ // Unmarshall the sequnce of TaggedProfiles
+ IOP::IOR::_tao_seq_TaggedProfile ior_profiles;
+
+ hdr_status &= input >> ior_profiles;
+
+ // Get the IOP::Tagged profile.
+ IOP::TaggedProfile &tagged_profile =
profile_addr.tagged_profile ();
+ // Get the right TaggedProfile from the <ior_profiles>
+ if (hdr_status)
+ {
+ tagged_profile =
+ ior_profiles [prof_index];
+ }
+
+ // Save where the dispatch information is stored.
+ request.profile_has_dispatch_info (1);
+
+ return hdr_status;
+}
+
+
+// @@ Frank - need to fix this....
+
+CORBA::Boolean
+TAO_GIOP_Message_Generator_Parser::unmarshall_object_key (
+ TAO_GIOP_Locate_Request_Header &request,
+ TAO_InputCDR &input)
+{
+ CORBA::Boolean hdr_status =
+ (CORBA::Boolean) input.good_bit ();
+
+ CORBA::Long key_length = 0;
+ hdr_status = hdr_status && input.read_long (key_length);
+
+ if (hdr_status)
+ {
+ TAO_ObjectKey &object_key = request.object_key ();
+
+ object_key.replace (key_length,
+ key_length,
+ (CORBA::Octet*)input.rd_ptr (),
+ 0);
+ input.skip_bytes (key_length);
+
+ }
+
+ return hdr_status;
+}
+
+
+CORBA::Boolean
+TAO_GIOP_Message_Generator_Parser::unmarshall_iop_profile (
+ TAO_GIOP_Locate_Request_Header &request,
+ TAO_InputCDR &input)
+{
+ CORBA::Boolean hdr_status =
+ (CORBA::Boolean) input.good_bit ();
+
+ // Get the IOP::Tagged profile.
+ IOP::TaggedProfile &tagged_profile =
+ request.profile ().tagged_profile ();
+
hdr_status &= input >> tagged_profile;
// Extract the object key from the TaggedProfile.
- hdr_status &=profile_addr.extract_object_key (tagged_profile);
+ hdr_status &= request.profile ().extract_object_key (tagged_profile);
return hdr_status;
}
CORBA::Boolean
TAO_GIOP_Message_Generator_Parser::unmarshall_ref_addr (
- TAO_Tagged_Profile &profile_addr,
+ TAO_GIOP_Locate_Request_Header &request,
TAO_InputCDR &input
)
{
CORBA::Boolean hdr_status =
(CORBA::Boolean) input.good_bit ();
+ TAO_Tagged_Profile &profile_addr = request.profile ();
+
/*
* The GIOP::IORAddressingInfo is defined as follows
* struct IORAddressingInfo
@@ -276,8 +411,9 @@ TAO_GIOP_Message_Generator_Parser::unmarshall_ref_addr (
}
// Extract the object key from the TaggedProfile.
- hdr_status &=
- profile_addr.extract_object_key (tagged_profile);
+ hdr_status &= request.profile ().extract_object_key (tagged_profile);
return hdr_status;
}
+
+
diff --git a/TAO/tao/GIOP_Message_Generator_Parser.h b/TAO/tao/GIOP_Message_Generator_Parser.h
index 037c42011ce..cdc275d85d9 100644
--- a/TAO/tao/GIOP_Message_Generator_Parser.h
+++ b/TAO/tao/GIOP_Message_Generator_Parser.h
@@ -109,16 +109,28 @@ protected:
TAO_Pluggable_Reply_Params &reply);
/// Unmarshals the received object key
- CORBA::Boolean unmarshall_object_key (TAO_ObjectKey &object_key,
- TAO_InputCDR &cdr);
+ CORBA::Boolean unmarshall_object_key (TAO_ServerRequest &request,
+ TAO_InputCDR &input);
/// Unmarshall the IOP::TaggedProfile
- CORBA::Boolean unmarshall_iop_profile (TAO_Tagged_Profile &profile,
- TAO_InputCDR &cdr);
+ CORBA::Boolean unmarshall_iop_profile (TAO_ServerRequest &request,
+ TAO_InputCDR &input);
/// Unmarshalls the GIOP::IORAddressingInfo
- CORBA::Boolean unmarshall_ref_addr (TAO_Tagged_Profile &profile,
- TAO_InputCDR &cdr);
+ CORBA::Boolean unmarshall_ref_addr (TAO_ServerRequest &request,
+ TAO_InputCDR &input);
+
+ /// Unmarshals the received object key
+ CORBA::Boolean unmarshall_object_key (TAO_GIOP_Locate_Request_Header &request,
+ TAO_InputCDR &input);
+
+ /// Unmarshall the IOP::TaggedProfile
+ CORBA::Boolean unmarshall_iop_profile (TAO_GIOP_Locate_Request_Header &request,
+ TAO_InputCDR &input);
+
+ /// Unmarshalls the GIOP::IORAddressingInfo
+ CORBA::Boolean unmarshall_ref_addr (TAO_GIOP_Locate_Request_Header &request,
+ TAO_InputCDR &input);
};
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
index 6e733284895..e3cec671149 100644
--- a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
+++ b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
@@ -322,7 +322,7 @@ TAO_GIOP_Message_Generator_Parser_10::parse_request_header (
// the reference count on the CDR message block, because this key
// will not outlive the request (or the message block).
- hdr_status = this->unmarshall_object_key (request.object_key (),
+ hdr_status = this->unmarshall_object_key (request,
input);
if (input.char_translator () == 0)
@@ -399,7 +399,7 @@ TAO_GIOP_Message_Generator_Parser_10::parse_locate_header (
// Get the object key
hdr_status =
- this->unmarshall_object_key (request.object_key (),
+ this->unmarshall_object_key (request,
msg);
return hdr_status ? 0 : -1;
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_12.cpp b/TAO/tao/GIOP_Message_Generator_Parser_12.cpp
index 31a8df6986a..595f36e24c9 100644
--- a/TAO/tao/GIOP_Message_Generator_Parser_12.cpp
+++ b/TAO/tao/GIOP_Message_Generator_Parser_12.cpp
@@ -289,23 +289,28 @@ TAO_GIOP_Message_Generator_Parser_12::parse_request_header (
if (hdr_status)
{
if (disc == GIOP::KeyAddr)
- {
- hdr_status =
- this->unmarshall_object_key (request.object_key (),
+ {
+ hdr_status =
+ this->unmarshall_object_key (request,
input);
- }
- else if (disc == GIOP::ProfileAddr)
- {
- hdr_status =
- this->unmarshall_iop_profile (request.profile (),
+ }
+ else if (disc == GIOP::ProfileAddr)
+ {
+ hdr_status =
+ this->unmarshall_iop_profile (request,
input);
- }
+ }
else if (disc == GIOP::ReferenceAddr)
{
- hdr_status =
- this->unmarshall_ref_addr (request.profile (),
+ hdr_status =
+ this->unmarshall_ref_addr (request,
input);
}
+ else
+ {
+ // Unknown.
+ hdr_status = 0;
+ }
}
if (input.char_translator () == 0)
@@ -397,19 +402,19 @@ TAO_GIOP_Message_Generator_Parser_12::parse_locate_header (
if (disc == GIOP::KeyAddr)
{
hdr_status =
- this->unmarshall_object_key (request.object_key (),
+ this->unmarshall_object_key (request,
msg);
}
else if (disc == GIOP::ProfileAddr)
{
hdr_status =
- this->unmarshall_iop_profile (request.profile (),
+ this->unmarshall_iop_profile (request,
msg);
}
else if (disc == GIOP::ReferenceAddr)
{
hdr_status =
- this->unmarshall_ref_addr (request.profile (),
+ this->unmarshall_ref_addr (request,
msg);
}
}
diff --git a/TAO/tao/IFR_Client_Adapter.cpp b/TAO/tao/IFR_Client_Adapter.cpp
index 6889ec13661..22520f5ee60 100644
--- a/TAO/tao/IFR_Client_Adapter.cpp
+++ b/TAO/tao/IFR_Client_Adapter.cpp
@@ -11,14 +11,14 @@ TAO_IFR_Client_Adapter::~TAO_IFR_Client_Adapter (void)
// Methods to be overridden.
-CORBA::Boolean
+CORBA::Boolean
TAO_IFR_Client_Adapter::interfacedef_cdr_insert (TAO_OutputCDR &,
CORBA_InterfaceDef_ptr)
{
return 0;
}
-void
+void
TAO_IFR_Client_Adapter::interfacedef_any_insert (CORBA_Any &,
CORBA_InterfaceDef_ptr)
{
diff --git a/TAO/tao/IFR_Client_Adapter.h b/TAO/tao/IFR_Client_Adapter.h
index 08c200e4c4e..098c7eefa8f 100644
--- a/TAO/tao/IFR_Client_Adapter.h
+++ b/TAO/tao/IFR_Client_Adapter.h
@@ -29,7 +29,7 @@
* @brief TAO_IFR_Client_Adapter.
*
* Class that adapts various functions in the CORBA namespace
- * which use the Interface Repository. This is a base class for
+ * which use the Interface Repository. This is a base class for
* the actual implementation in the TAO_IFR_Client library.
*/
class TAO_Export TAO_IFR_Client_Adapter : public ACE_Service_Object
@@ -54,7 +54,7 @@ public:
virtual CORBA_InterfaceDef_ptr get_interface (
CORBA::ORB_ptr orb,
const char *repo_id,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
diff --git a/TAO/tao/IFR_TypeCodes.cpp b/TAO/tao/IFR_TypeCodes.cpp
index 8bf507c9835..16a0390175d 100644
--- a/TAO/tao/IFR_TypeCodes.cpp
+++ b/TAO/tao/IFR_TypeCodes.cpp
@@ -6,8 +6,8 @@
ACE_RCSID(tao, IFR_TypeCodes, "$Id$")
// These Interface Repository typecodes and constants are in
-// the CORBA namespace. The typecodes are set to 0 here. If the
-// IFR_Client library is built and linked, the library initializer
+// the CORBA namespace. The typecodes are set to 0 here. If the
+// IFR_Client library is built and linked, the library initializer
// will set them to their correct values. The constants are set to
// the correct values in this file, since it doesn't take up any
// more space to do that.
diff --git a/TAO/tao/IIOPC.cpp b/TAO/tao/IIOPC.cpp
index 08c979ca664..3b0af9c484c 100644
--- a/TAO/tao/IIOPC.cpp
+++ b/TAO/tao/IIOPC.cpp
@@ -34,7 +34,7 @@ static const CORBA::Long _oc_IIOP_ListenPoint[] =
12, ACE_NTOHL (0x4c697374), ACE_NTOHL (0x656e506f), ACE_NTOHL (0x696e7400), // name = ListenPoint
2, // member count
5, ACE_NTOHL (0x686f7374), ACE_NTOHL (0x0), // name = host
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
5, ACE_NTOHL (0x706f7274), ACE_NTOHL (0x0), // name = port
CORBA::tk_ushort,
@@ -53,7 +53,7 @@ void IIOP::ListenPoint::_tao_any_destructor (void *x)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IIOP_LISTENPOINTLIST_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_IIOP_LISTENPOINTLIST_CS_
@@ -62,43 +62,43 @@ void IIOP::ListenPoint::_tao_any_destructor (void *x)
{
IIOP::ListenPoint* tmp = 0;
tmp = _TAO_Unbounded_Sequence_IIOP_ListenPointList::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
IIOP::ListenPoint *old = ACE_reinterpret_cast (IIOP::ListenPoint *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_IIOP_ListenPointList::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
IIOP::ListenPoint *tmp = ACE_reinterpret_cast (IIOP::ListenPoint *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_IIOP_ListenPointList::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::~_TAO_Unbounded_Sequence_IIOP_ListenPointList (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IIOP_LISTENPOINTLIST_CS_)
#define _IIOP_LISTENPOINTLIST_CS_
@@ -110,30 +110,30 @@ void IIOP::ListenPoint::_tao_any_destructor (void *x)
IIOP::ListenPointList::ListenPointList (void)
{}
IIOP::ListenPointList::ListenPointList (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_IIOP_ListenPointList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<IIOP::ListenPoint>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
IIOP::ListenPointList::ListenPointList (CORBA::ULong max, CORBA::ULong length, IIOP::ListenPoint *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_IIOP_ListenPointList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<IIOP::ListenPoint>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
IIOP::ListenPointList::ListenPointList (const ListenPointList &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_IIOP_ListenPointList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<IIOP::ListenPoint>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
IIOP::ListenPointList::~ListenPointList (void) // dtor
@@ -162,7 +162,7 @@ static const CORBA::Long _oc_IIOP_ListenPointList[] =
12, ACE_NTOHL (0x4c697374), ACE_NTOHL (0x656e506f), ACE_NTOHL (0x696e7400), // name = ListenPoint
2, // member count
5, ACE_NTOHL (0x686f7374), ACE_NTOHL (0x0), // name = host
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
5, ACE_NTOHL (0x706f7274), ACE_NTOHL (0x0), // name = port
CORBA::tk_ushort,
@@ -198,7 +198,7 @@ static const CORBA::Long _oc_IIOP_BiDirIIOPServiceContext[] =
12, ACE_NTOHL (0x4c697374), ACE_NTOHL (0x656e506f), ACE_NTOHL (0x696e7400), // name = ListenPoint
2, // member count
5, ACE_NTOHL (0x686f7374), ACE_NTOHL (0x0), // name = host
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
5, ACE_NTOHL (0x706f7274), ACE_NTOHL (0x0), // name = port
CORBA::tk_ushort,
@@ -512,7 +512,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
diff --git a/TAO/tao/IIOPC.i b/TAO/tao/IIOPC.i
index df1e0b8bbcd..4d065da3a1d 100644
--- a/TAO/tao/IIOPC.i
+++ b/TAO/tao/IIOPC.i
@@ -68,9 +68,9 @@ IIOP::ListenPoint_var::operator= (const ::IIOP::ListenPoint_var &p)
}
else
{
- IIOP::ListenPoint *deep_copy =
+ IIOP::ListenPoint *deep_copy =
new IIOP::ListenPoint (*p.ptr_);
-
+
if (deep_copy != 0)
{
IIOP::ListenPoint *tmp = deep_copy;
@@ -80,7 +80,7 @@ IIOP::ListenPoint_var::operator= (const ::IIOP::ListenPoint_var &p)
}
}
}
-
+
return *this;
}
@@ -103,20 +103,20 @@ IIOP::ListenPoint_var::operator const ::IIOP::ListenPoint &() const // cast
}
ACE_INLINE
-IIOP::ListenPoint_var::operator ::IIOP::ListenPoint &() // cast
+IIOP::ListenPoint_var::operator ::IIOP::ListenPoint &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-IIOP::ListenPoint_var::operator ::IIOP::ListenPoint &() const // cast
+IIOP::ListenPoint_var::operator ::IIOP::ListenPoint &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IIOP::ListenPoint_var::operator ::IIOP::ListenPoint *&() // cast
+IIOP::ListenPoint_var::operator ::IIOP::ListenPoint *&() // cast
{
return this->ptr_;
}
@@ -133,7 +133,7 @@ IIOP::ListenPoint_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::IIOP::ListenPoint *&
IIOP::ListenPoint_var::out (void)
{
@@ -194,7 +194,7 @@ IIOP::ListenPoint_out::operator= (ListenPoint *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IIOP::ListenPoint_out::operator ::IIOP::ListenPoint *&() // cast
{
return this->ptr_;
@@ -214,7 +214,7 @@ IIOP::ListenPoint_out::operator-> (void)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IIOP_LISTENPOINTLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IIOP_LISTENPOINTLIST_CI_
@@ -227,24 +227,24 @@ IIOP::ListenPoint_out::operator-> (void)
ACE_NEW_RETURN (retval, IIOP::ListenPoint[size], 0);
return retval;
}
-
+
ACE_INLINE void IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::freebuf (IIOP::ListenPoint *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::_TAO_Unbounded_Sequence_IIOP_ListenPointList (void) // Default constructor.
{
}
-
+
ACE_INLINE
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::_TAO_Unbounded_Sequence_IIOP_ListenPointList (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_IIOP_ListenPointList::allocbuf (maximum))
{
}
-
+
ACE_INLINE
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::_TAO_Unbounded_Sequence_IIOP_ListenPointList (CORBA::ULong maximum,
CORBA::ULong length,
@@ -253,7 +253,7 @@ IIOP::ListenPoint_out::operator-> (void)
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::_TAO_Unbounded_Sequence_IIOP_ListenPointList (const _TAO_Unbounded_Sequence_IIOP_ListenPointList &rhs)
// Copy constructor.
@@ -263,10 +263,10 @@ IIOP::ListenPoint_out::operator-> (void)
{
IIOP::ListenPoint *tmp1 = _TAO_Unbounded_Sequence_IIOP_ListenPointList::allocbuf (this->maximum_);
IIOP::ListenPoint * const tmp2 = ACE_reinterpret_cast (IIOP::ListenPoint * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
else
@@ -274,14 +274,14 @@ IIOP::ListenPoint_out::operator-> (void)
this->buffer_ = 0;
}
}
-
+
ACE_INLINE IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList &
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::operator= (const _TAO_Unbounded_Sequence_IIOP_ListenPointList &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -294,18 +294,18 @@ IIOP::ListenPoint_out::operator-> (void)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_IIOP_ListenPointList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
IIOP::ListenPoint *tmp1 = ACE_reinterpret_cast (IIOP::ListenPoint *, this->buffer_);
IIOP::ListenPoint * const tmp2 = ACE_reinterpret_cast (IIOP::ListenPoint * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE IIOP::ListenPoint &
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::operator[] (CORBA::ULong i)
@@ -315,7 +315,7 @@ IIOP::ListenPoint_out::operator-> (void)
IIOP::ListenPoint* tmp = ACE_reinterpret_cast(IIOP::ListenPoint*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const IIOP::ListenPoint &
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::operator[] (CORBA::ULong i) const
// operator []
@@ -324,9 +324,9 @@ IIOP::ListenPoint_out::operator-> (void)
IIOP::ListenPoint * const tmp = ACE_reinterpret_cast (IIOP::ListenPoint* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE IIOP::ListenPoint *
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::get_buffer (CORBA::Boolean orphan)
{
@@ -360,13 +360,13 @@ IIOP::ListenPoint_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const IIOP::ListenPoint *
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::get_buffer (void) const
{
return ACE_reinterpret_cast(const IIOP::ListenPoint * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
IIOP::_TAO_Unbounded_Sequence_IIOP_ListenPointList::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -383,11 +383,11 @@ IIOP::ListenPoint_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IIOP_LISTENPOINTLIST_CI_)
#define _IIOP_LISTENPOINTLIST_CI_
@@ -441,9 +441,9 @@ IIOP::ListenPointList_var::operator= (const ::IIOP::ListenPointList_var &p) // d
}
else
{
- IIOP::ListenPointList *deep_copy =
+ IIOP::ListenPointList *deep_copy =
new IIOP::ListenPointList (*p.ptr_);
-
+
if (deep_copy != 0)
{
IIOP::ListenPointList *tmp = deep_copy;
@@ -453,7 +453,7 @@ IIOP::ListenPointList_var::operator= (const ::IIOP::ListenPointList_var &p) // d
}
}
}
-
+
return *this;
}
@@ -469,27 +469,27 @@ IIOP::ListenPointList_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
IIOP::ListenPointList_var::operator const ::IIOP::ListenPointList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-IIOP::ListenPointList_var::operator ::IIOP::ListenPointList &() // cast
+ACE_INLINE
+IIOP::ListenPointList_var::operator ::IIOP::ListenPointList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-IIOP::ListenPointList_var::operator ::IIOP::ListenPointList &() const // cast
+ACE_INLINE
+IIOP::ListenPointList_var::operator ::IIOP::ListenPointList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IIOP::ListenPointList_var::operator ::IIOP::ListenPointList *&() // cast
+IIOP::ListenPointList_var::operator ::IIOP::ListenPointList *&() // cast
{
return this->ptr_;
}
@@ -518,7 +518,7 @@ IIOP::ListenPointList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::IIOP::ListenPointList *&
IIOP::ListenPointList_var::out (void)
{
@@ -579,7 +579,7 @@ IIOP::ListenPointList_out::operator= (ListenPointList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IIOP::ListenPointList_out::operator ::IIOP::ListenPointList *&() // cast
{
return this->ptr_;
@@ -655,9 +655,9 @@ IIOP::BiDirIIOPServiceContext_var::operator= (const ::IIOP::BiDirIIOPServiceCont
}
else
{
- IIOP::BiDirIIOPServiceContext *deep_copy =
+ IIOP::BiDirIIOPServiceContext *deep_copy =
new IIOP::BiDirIIOPServiceContext (*p.ptr_);
-
+
if (deep_copy != 0)
{
IIOP::BiDirIIOPServiceContext *tmp = deep_copy;
@@ -667,7 +667,7 @@ IIOP::BiDirIIOPServiceContext_var::operator= (const ::IIOP::BiDirIIOPServiceCont
}
}
}
-
+
return *this;
}
@@ -690,20 +690,20 @@ IIOP::BiDirIIOPServiceContext_var::operator const ::IIOP::BiDirIIOPServiceContex
}
ACE_INLINE
-IIOP::BiDirIIOPServiceContext_var::operator ::IIOP::BiDirIIOPServiceContext &() // cast
+IIOP::BiDirIIOPServiceContext_var::operator ::IIOP::BiDirIIOPServiceContext &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-IIOP::BiDirIIOPServiceContext_var::operator ::IIOP::BiDirIIOPServiceContext &() const // cast
+IIOP::BiDirIIOPServiceContext_var::operator ::IIOP::BiDirIIOPServiceContext &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IIOP::BiDirIIOPServiceContext_var::operator ::IIOP::BiDirIIOPServiceContext *&() // cast
+IIOP::BiDirIIOPServiceContext_var::operator ::IIOP::BiDirIIOPServiceContext *&() // cast
{
return this->ptr_;
}
@@ -720,7 +720,7 @@ IIOP::BiDirIIOPServiceContext_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::IIOP::BiDirIIOPServiceContext *&
IIOP::BiDirIIOPServiceContext_var::out (void)
{
@@ -781,7 +781,7 @@ IIOP::BiDirIIOPServiceContext_out::operator= (BiDirIIOPServiceContext *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IIOP::BiDirIIOPServiceContext_out::operator ::IIOP::BiDirIIOPServiceContext *&() // cast
{
return this->ptr_;
@@ -808,7 +808,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IIOP::ListenPoi
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IIOP::ListenPoint &_tao_aggregate)
@@ -820,7 +820,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IIOP::ListenPoint &_ta
return 1;
else
return 0;
-
+
}
@@ -846,7 +846,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IIOP::BiDirIIOP
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IIOP::BiDirIIOPServiceContext &_tao_aggregate)
@@ -857,6 +857,6 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IIOP::BiDirIIOPService
return 1;
else
return 0;
-
+
}
diff --git a/TAO/tao/IIOP_Acceptor.cpp b/TAO/tao/IIOP_Acceptor.cpp
index d2a07fb7625..7e3ec40d911 100644
--- a/TAO/tao/IIOP_Acceptor.cpp
+++ b/TAO/tao/IIOP_Acceptor.cpp
@@ -829,10 +829,10 @@ TAO_IIOP_Acceptor::parse_options (const char *str)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("TAO (%P|%t) Invalid IIOP endpoint ")
ACE_TEXT ("portspan: <%s>\n")
- ACE_TEXT ("Valid range 1 -- %d\n"),
+ ACE_TEXT ("Valid range 1 -- %d\n"),
value.c_str (), ACE_MAX_DEFAULT_PORT),
-1);
-
+
this->port_span_ = ACE_static_cast (u_short, range);
}
else
diff --git a/TAO/tao/IIOP_Endpoint.cpp b/TAO/tao/IIOP_Endpoint.cpp
index 9e32819f9e4..e689996ea50 100644
--- a/TAO/tao/IIOP_Endpoint.cpp
+++ b/TAO/tao/IIOP_Endpoint.cpp
@@ -141,7 +141,7 @@ TAO_IIOP_Endpoint::next (void)
}
TAO_Endpoint *
-TAO_IIOP_Endpoint::duplicate (void)
+TAO_IIOP_Endpoint::duplicate (void) const
{
// @@ Bala, we probably need to make sure that the duplicate has the
// same priority as the original. Although it does not matter in
diff --git a/TAO/tao/IIOP_Endpoint.h b/TAO/tao/IIOP_Endpoint.h
index cd9905d5f46..dbd2eaa40e8 100644
--- a/TAO/tao/IIOP_Endpoint.h
+++ b/TAO/tao/IIOP_Endpoint.h
@@ -77,7 +77,7 @@ public:
virtual void reset_hint (void);
/// Makes a copy of <this>
- virtual TAO_Endpoint *duplicate (void);
+ virtual TAO_Endpoint *duplicate (void) const;
/// Return true if this endpoint is equivalent to <other_endpoint>. Two
/// endpoints are equivalent iff their port and host are the same.
diff --git a/TAO/tao/IOP.pidl b/TAO/tao/IOP.pidl
index 80f5182eb64..eeaad9ddbc9 100644
--- a/TAO/tao/IOP.pidl
+++ b/TAO/tao/IOP.pidl
@@ -94,6 +94,11 @@ module IOP
const ServiceId FT_GROUP_VERSION = 12;
const ServiceId FT_REQUEST = 13;
+ // The following are defined in the Unreliable Multicast
+ // InterORB Protocol (OMB TC Document orbos/2001-01-11)
+ const ProfileId TAG_UIPMC = 0x54414f0c; // @@ Get real number
+ const ComponentId TAG_GROUP = 0x54414f03; // @@ Get real number
+
local interface Codec {
exception InvalidTypeForEncoding {};
exception FormatMismatch {};
diff --git a/TAO/tao/IOPC.h b/TAO/tao/IOPC.h
index a0f98977d74..1a0f4f62ba0 100644
--- a/TAO/tao/IOPC.h
+++ b/TAO/tao/IOPC.h
@@ -70,7 +70,7 @@ TAO_NAMESPACE IOP
struct TaggedProfile;
class TaggedProfile_var;
-
+
struct TAO_Export TaggedProfile
{
@@ -87,25 +87,25 @@ TAO_NAMESPACE IOP
class _tao_seq_Octet;
class _tao_seq_Octet_var;
-
+
// *************************************************************
// _tao_seq_Octet
// *************************************************************
-
- class TAO_Export _tao_seq_Octet : public
+
+ class TAO_Export _tao_seq_Octet : public
#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 */
{
public:
_tao_seq_Octet (void); // default ctor
_tao_seq_Octet (CORBA::ULong max); // uses max size
_tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
_tao_seq_Octet (const _tao_seq_Octet &); // copy ctor
@@ -126,7 +126,7 @@ TAO_NAMESPACE IOP
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
};
-
+
#endif /* end #if !defined */
#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -143,18 +143,18 @@ TAO_NAMESPACE IOP
TaggedProfile_var (TaggedProfile *);
TaggedProfile_var (const TaggedProfile_var &); // copy constructor
~TaggedProfile_var (void); // destructor
-
+
TaggedProfile_var &operator= (TaggedProfile *);
TaggedProfile_var &operator= (const TaggedProfile_var &);
TaggedProfile *operator-> (void);
const TaggedProfile *operator-> (void) const;
-
+
operator const TaggedProfile &() const;
operator TaggedProfile &();
operator TaggedProfile &() const;
operator TaggedProfile *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const TaggedProfile &in (void) const;
TaggedProfile &inout (void);
TaggedProfile *&out (void);
@@ -176,7 +176,7 @@ TAO_NAMESPACE IOP
operator TaggedProfile *&();
TaggedProfile *&ptr (void);
TaggedProfile *operator-> (void);
-
+
private:
TaggedProfile *&ptr_;
// assignment from T_var not allowed
@@ -187,7 +187,7 @@ TAO_NAMESPACE IOP
struct IOR;
class IOR_var;
-
+
struct TAO_Export IOR
{
@@ -200,7 +200,7 @@ TAO_NAMESPACE IOP
TAO_String_Manager type_id;
#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_
@@ -208,9 +208,9 @@ TAO_NAMESPACE IOP
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (void); // Default constructor.
- _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile (CORBA::ULong maximum,
CORBA::ULong length,
ACE_NESTED_CLASS (IOP, TaggedProfile) *data,
@@ -227,7 +227,7 @@ TAO_NAMESPACE IOP
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (CORBA::Boolean orphan = 0);
const ACE_NESTED_CLASS (IOP, TaggedProfile) *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -239,32 +239,32 @@ TAO_NAMESPACE IOP
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_)
#define _IOP_IOR__TAO_SEQ_TAGGEDPROFILE_CH_
class _tao_seq_TaggedProfile;
class _tao_seq_TaggedProfile_var;
-
+
// *************************************************************
// _tao_seq_TaggedProfile
// *************************************************************
-
- class TAO_Export _tao_seq_TaggedProfile : public
+
+ class TAO_Export _tao_seq_TaggedProfile : public
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
_tao_seq_TaggedProfile (void); // default ctor
_tao_seq_TaggedProfile (CORBA::ULong max); // uses max size
_tao_seq_TaggedProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- ACE_NESTED_CLASS (IOP, TaggedProfile) *buffer,
+ 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
@@ -276,7 +276,7 @@ TAO_NAMESPACE IOP
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -293,18 +293,18 @@ TAO_NAMESPACE IOP
IOR_var (IOR *);
IOR_var (const IOR_var &); // copy constructor
~IOR_var (void); // destructor
-
+
IOR_var &operator= (IOR *);
IOR_var &operator= (const IOR_var &);
IOR *operator-> (void);
const IOR *operator-> (void) const;
-
+
operator const IOR &() const;
operator IOR &();
operator IOR &() const;
operator IOR *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const IOR &in (void) const;
IOR &inout (void);
IOR *&out (void);
@@ -326,7 +326,7 @@ TAO_NAMESPACE IOP
operator IOR *&();
IOR *&ptr (void);
IOR *operator-> (void);
-
+
private:
IOR *&ptr_;
// assignment from T_var not allowed
@@ -341,7 +341,7 @@ TAO_NAMESPACE IOP
struct TaggedComponent;
class TaggedComponent_var;
-
+
struct TAO_Export TaggedComponent
{
@@ -358,25 +358,25 @@ TAO_NAMESPACE IOP
class _tao_seq_Octet;
class _tao_seq_Octet_var;
-
+
// *************************************************************
// _tao_seq_Octet
// *************************************************************
-
- class TAO_Export _tao_seq_Octet : public
+
+ class TAO_Export _tao_seq_Octet : public
#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 */
{
public:
_tao_seq_Octet (void); // default ctor
_tao_seq_Octet (CORBA::ULong max); // uses max size
_tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
_tao_seq_Octet (const _tao_seq_Octet &); // copy ctor
@@ -397,7 +397,7 @@ TAO_NAMESPACE IOP
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
};
-
+
#endif /* end #if !defined */
#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -414,18 +414,18 @@ TAO_NAMESPACE IOP
TaggedComponent_var (TaggedComponent *);
TaggedComponent_var (const TaggedComponent_var &); // copy constructor
~TaggedComponent_var (void); // destructor
-
+
TaggedComponent_var &operator= (TaggedComponent *);
TaggedComponent_var &operator= (const TaggedComponent_var &);
TaggedComponent *operator-> (void);
const TaggedComponent *operator-> (void) const;
-
+
operator const TaggedComponent &() const;
operator TaggedComponent &();
operator TaggedComponent &() const;
operator TaggedComponent *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const TaggedComponent &in (void) const;
TaggedComponent &inout (void);
TaggedComponent *&out (void);
@@ -447,7 +447,7 @@ TAO_NAMESPACE IOP
operator TaggedComponent *&();
TaggedComponent *&ptr (void);
TaggedComponent *operator-> (void);
-
+
private:
TaggedComponent *&ptr_;
// assignment from T_var not allowed
@@ -458,7 +458,7 @@ TAO_NAMESPACE IOP
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CH_
@@ -466,9 +466,9 @@ TAO_NAMESPACE IOP
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void); // Default constructor.
- _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum,
CORBA::ULong length,
TaggedComponent *data,
@@ -485,7 +485,7 @@ TAO_NAMESPACE IOP
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
const TaggedComponent *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -497,32 +497,32 @@ TAO_NAMESPACE IOP
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CH_)
#define _IOP_MULTIPLECOMPONENTPROFILE_CH_
class MultipleComponentProfile;
class MultipleComponentProfile_var;
-
+
// *************************************************************
// MultipleComponentProfile
// *************************************************************
-
- class TAO_Export MultipleComponentProfile : public
+
+ class TAO_Export MultipleComponentProfile : public
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
MultipleComponentProfile (void); // default ctor
MultipleComponentProfile (CORBA::ULong max); // uses max size
MultipleComponentProfile (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ TaggedComponent *buffer,
CORBA::Boolean release = 0
);
MultipleComponentProfile (const MultipleComponentProfile &); // copy ctor
@@ -534,7 +534,7 @@ TAO_NAMESPACE IOP
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -552,21 +552,21 @@ TAO_NAMESPACE IOP
MultipleComponentProfile_var (MultipleComponentProfile *);
MultipleComponentProfile_var (const MultipleComponentProfile_var &); // copy constructor
~MultipleComponentProfile_var (void); // destructor
-
+
MultipleComponentProfile_var &operator= (MultipleComponentProfile *);
MultipleComponentProfile_var &operator= (const MultipleComponentProfile_var &);
MultipleComponentProfile *operator-> (void);
const MultipleComponentProfile *operator-> (void) const;
-
+
operator const MultipleComponentProfile &() const;
operator MultipleComponentProfile &();
operator MultipleComponentProfile &() const;
operator MultipleComponentProfile *&(); // variable-size base types only
-
+
TaggedComponent & operator[] (CORBA::ULong index);
const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const MultipleComponentProfile &in (void) const;
MultipleComponentProfile &inout (void);
MultipleComponentProfile *&out (void);
@@ -596,7 +596,7 @@ TAO_NAMESPACE IOP
MultipleComponentProfile *&ptr (void);
MultipleComponentProfile *operator-> (void);
TaggedComponent & operator[] (CORBA::ULong index);
-
+
private:
MultipleComponentProfile *&ptr_;
// assignment from T_var not allowed
@@ -610,7 +610,7 @@ TAO_NAMESPACE IOP
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CH_
@@ -618,9 +618,9 @@ TAO_NAMESPACE IOP
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void); // Default constructor.
- _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum,
CORBA::ULong length,
TaggedComponent *data,
@@ -637,7 +637,7 @@ TAO_NAMESPACE IOP
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
const TaggedComponent *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -649,32 +649,32 @@ TAO_NAMESPACE IOP
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_IOP_TAGGEDCOMPONENTLIST_CH_)
#define _IOP_TAGGEDCOMPONENTLIST_CH_
class TaggedComponentList;
class TaggedComponentList_var;
-
+
// *************************************************************
// TaggedComponentList
// *************************************************************
-
- class TAO_Export TaggedComponentList : public
+
+ class TAO_Export TaggedComponentList : public
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
TaggedComponentList (void); // default ctor
TaggedComponentList (CORBA::ULong max); // uses max size
TaggedComponentList (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ TaggedComponent *buffer,
CORBA::Boolean release = 0
);
TaggedComponentList (const TaggedComponentList &); // copy ctor
@@ -686,7 +686,7 @@ TAO_NAMESPACE IOP
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -704,21 +704,21 @@ TAO_NAMESPACE IOP
TaggedComponentList_var (TaggedComponentList *);
TaggedComponentList_var (const TaggedComponentList_var &); // copy constructor
~TaggedComponentList_var (void); // destructor
-
+
TaggedComponentList_var &operator= (TaggedComponentList *);
TaggedComponentList_var &operator= (const TaggedComponentList_var &);
TaggedComponentList *operator-> (void);
const TaggedComponentList *operator-> (void) const;
-
+
operator const TaggedComponentList &() const;
operator TaggedComponentList &();
operator TaggedComponentList &() const;
operator TaggedComponentList *&(); // variable-size base types only
-
+
TaggedComponent & operator[] (CORBA::ULong index);
const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const TaggedComponentList &in (void) const;
TaggedComponentList &inout (void);
TaggedComponentList *&out (void);
@@ -748,7 +748,7 @@ TAO_NAMESPACE IOP
TaggedComponentList *&ptr (void);
TaggedComponentList *operator-> (void);
TaggedComponent & operator[] (CORBA::ULong index);
-
+
private:
TaggedComponentList *&ptr_;
// assignment from T_var not allowed
@@ -762,7 +762,7 @@ TAO_NAMESPACE IOP
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CH_
@@ -770,9 +770,9 @@ TAO_NAMESPACE IOP
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void); // Default constructor.
- _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum,
CORBA::ULong length,
TaggedComponent *data,
@@ -789,7 +789,7 @@ TAO_NAMESPACE IOP
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
const TaggedComponent *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -801,32 +801,32 @@ TAO_NAMESPACE IOP
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CH_)
#define _IOP_TAGGEDCOMPONENTSEQ_CH_
class TaggedComponentSeq;
class TaggedComponentSeq_var;
-
+
// *************************************************************
// TaggedComponentSeq
// *************************************************************
-
- class TAO_Export TaggedComponentSeq : public
+
+ class TAO_Export TaggedComponentSeq : public
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
TaggedComponentSeq (void); // default ctor
TaggedComponentSeq (CORBA::ULong max); // uses max size
TaggedComponentSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- TaggedComponent *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ TaggedComponent *buffer,
CORBA::Boolean release = 0
);
TaggedComponentSeq (const TaggedComponentSeq &); // copy ctor
@@ -838,7 +838,7 @@ TAO_NAMESPACE IOP
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -856,21 +856,21 @@ TAO_NAMESPACE IOP
TaggedComponentSeq_var (TaggedComponentSeq *);
TaggedComponentSeq_var (const TaggedComponentSeq_var &); // copy constructor
~TaggedComponentSeq_var (void); // destructor
-
+
TaggedComponentSeq_var &operator= (TaggedComponentSeq *);
TaggedComponentSeq_var &operator= (const TaggedComponentSeq_var &);
TaggedComponentSeq *operator-> (void);
const TaggedComponentSeq *operator-> (void) const;
-
+
operator const TaggedComponentSeq &() const;
operator TaggedComponentSeq &();
operator TaggedComponentSeq &() const;
operator TaggedComponentSeq *&(); // variable-size base types only
-
+
TaggedComponent & operator[] (CORBA::ULong index);
const TaggedComponent & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const TaggedComponentSeq &in (void) const;
TaggedComponentSeq &inout (void);
TaggedComponentSeq *&out (void);
@@ -900,7 +900,7 @@ TAO_NAMESPACE IOP
TaggedComponentSeq *&ptr (void);
TaggedComponentSeq *operator-> (void);
TaggedComponent & operator[] (CORBA::ULong index);
-
+
private:
TaggedComponentSeq *&ptr_;
// assignment from T_var not allowed
@@ -938,7 +938,7 @@ TAO_NAMESPACE IOP
struct ServiceContext;
class ServiceContext_var;
-
+
struct TAO_Export ServiceContext
{
@@ -955,25 +955,25 @@ TAO_NAMESPACE IOP
class _tao_seq_Octet;
class _tao_seq_Octet_var;
-
+
// *************************************************************
// _tao_seq_Octet
// *************************************************************
-
- class TAO_Export _tao_seq_Octet : public
+
+ class TAO_Export _tao_seq_Octet : public
#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 */
{
public:
_tao_seq_Octet (void); // default ctor
_tao_seq_Octet (CORBA::ULong max); // uses max size
_tao_seq_Octet (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
_tao_seq_Octet (const _tao_seq_Octet &); // copy ctor
@@ -994,7 +994,7 @@ TAO_NAMESPACE IOP
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
};
-
+
#endif /* end #if !defined */
#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1011,18 +1011,18 @@ TAO_NAMESPACE IOP
ServiceContext_var (ServiceContext *);
ServiceContext_var (const ServiceContext_var &); // copy constructor
~ServiceContext_var (void); // destructor
-
+
ServiceContext_var &operator= (ServiceContext *);
ServiceContext_var &operator= (const ServiceContext_var &);
ServiceContext *operator-> (void);
const ServiceContext *operator-> (void) const;
-
+
operator const ServiceContext &() const;
operator ServiceContext &();
operator ServiceContext &() const;
operator ServiceContext *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const ServiceContext &in (void) const;
ServiceContext &inout (void);
ServiceContext *&out (void);
@@ -1044,7 +1044,7 @@ TAO_NAMESPACE IOP
operator ServiceContext *&();
ServiceContext *&ptr (void);
ServiceContext *operator-> (void);
-
+
private:
ServiceContext *&ptr_;
// assignment from T_var not allowed
@@ -1055,7 +1055,7 @@ TAO_NAMESPACE IOP
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CH_
@@ -1063,9 +1063,9 @@ TAO_NAMESPACE IOP
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_IOP_ServiceContextList (void); // Default constructor.
- _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum,
CORBA::ULong length,
ServiceContext *data,
@@ -1082,7 +1082,7 @@ TAO_NAMESPACE IOP
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ServiceContext *get_buffer (CORBA::Boolean orphan = 0);
const ServiceContext *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -1094,32 +1094,32 @@ TAO_NAMESPACE IOP
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_IOP_SERVICECONTEXTLIST_CH_)
#define _IOP_SERVICECONTEXTLIST_CH_
class ServiceContextList;
class ServiceContextList_var;
-
+
// *************************************************************
// ServiceContextList
// *************************************************************
-
- class TAO_Export ServiceContextList : public
+
+ class TAO_Export ServiceContextList : public
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
ServiceContextList (void); // default ctor
ServiceContextList (CORBA::ULong max); // uses max size
ServiceContextList (
- CORBA::ULong max,
- CORBA::ULong length,
- ServiceContext *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ ServiceContext *buffer,
CORBA::Boolean release = 0
);
ServiceContextList (const ServiceContextList &); // copy ctor
@@ -1131,7 +1131,7 @@ TAO_NAMESPACE IOP
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -1149,21 +1149,21 @@ TAO_NAMESPACE IOP
ServiceContextList_var (ServiceContextList *);
ServiceContextList_var (const ServiceContextList_var &); // copy constructor
~ServiceContextList_var (void); // destructor
-
+
ServiceContextList_var &operator= (ServiceContextList *);
ServiceContextList_var &operator= (const ServiceContextList_var &);
ServiceContextList *operator-> (void);
const ServiceContextList *operator-> (void) const;
-
+
operator const ServiceContextList &() const;
operator ServiceContextList &();
operator ServiceContextList &() const;
operator ServiceContextList *&(); // variable-size base types only
-
+
ServiceContext & operator[] (CORBA::ULong index);
const ServiceContext & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const ServiceContextList &in (void) const;
ServiceContextList &inout (void);
ServiceContextList *&out (void);
@@ -1193,7 +1193,7 @@ TAO_NAMESPACE IOP
ServiceContextList *&ptr (void);
ServiceContextList *operator-> (void);
ServiceContext & operator[] (CORBA::ULong index);
-
+
private:
ServiceContextList *&ptr_;
// assignment from T_var not allowed
@@ -1243,7 +1243,7 @@ TAO_NAMESPACE IOP
class Codec;
typedef Codec *Codec_ptr;
-
+
#endif /* end #if !defined */
@@ -1254,23 +1254,23 @@ TAO_NAMESPACE IOP
{
public:
Codec_var (void); // default constructor
- Codec_var (Codec_ptr p) : ptr_ (p) {}
+ Codec_var (Codec_ptr p) : ptr_ (p) {}
Codec_var (const Codec_var &); // copy constructor
~Codec_var (void); // destructor
-
+
Codec_var &operator= (Codec_ptr);
Codec_var &operator= (const Codec_var &);
Codec_ptr operator-> (void) const;
-
+
operator const Codec_ptr &() const;
operator Codec_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
Codec_ptr in (void) const;
Codec_ptr &inout (void);
Codec_ptr &out (void);
Codec_ptr _retn (void);
Codec_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static Codec_ptr duplicate (Codec_ptr);
@@ -1278,7 +1278,7 @@ TAO_NAMESPACE IOP
static Codec_ptr nil (void);
static Codec_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
Codec_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1305,7 +1305,7 @@ TAO_NAMESPACE IOP
operator Codec_ptr &();
Codec_ptr &ptr (void);
Codec_ptr operator-> (void);
-
+
private:
Codec_ptr &ptr_;
};
@@ -1329,12 +1329,12 @@ class TAO_Export Codec : public virtual CORBA_Object
static Codec_ptr _duplicate (Codec_ptr obj);
static Codec_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static Codec_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static Codec_ptr _nil (void)
@@ -1352,27 +1352,27 @@ class TAO_Export Codec : public virtual CORBA_Object
InvalidTypeForEncoding (void);
// Default constructor.
-
+
InvalidTypeForEncoding (const InvalidTypeForEncoding &);
// Copy constructor.
-
+
~InvalidTypeForEncoding (void);
// Destructor.
-
+
InvalidTypeForEncoding &operator= (const InvalidTypeForEncoding &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static InvalidTypeForEncoding *_downcast (CORBA::Exception *);
@@ -1393,27 +1393,27 @@ class TAO_Export Codec : public virtual CORBA_Object
FormatMismatch (void);
// Default constructor.
-
+
FormatMismatch (const FormatMismatch &);
// Copy constructor.
-
+
~FormatMismatch (void);
// Destructor.
-
+
FormatMismatch &operator= (const FormatMismatch &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static FormatMismatch *_downcast (CORBA::Exception *);
@@ -1434,27 +1434,27 @@ class TAO_Export Codec : public virtual CORBA_Object
TypeMismatch (void);
// Default constructor.
-
+
TypeMismatch (const TypeMismatch &);
// Copy constructor.
-
+
~TypeMismatch (void);
// Destructor.
-
+
TypeMismatch &operator= (const TypeMismatch &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static TypeMismatch *_downcast (CORBA::Exception *);
@@ -1467,7 +1467,7 @@ class TAO_Export Codec : public virtual CORBA_Object
virtual CORBA::OctetSeq * encode (
const CORBA::Any & data,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1477,7 +1477,7 @@ class TAO_Export Codec : public virtual CORBA_Object
virtual CORBA::Any * decode (
const CORBA::OctetSeq & data,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1487,7 +1487,7 @@ class TAO_Export Codec : public virtual CORBA_Object
virtual CORBA::OctetSeq * encode_value (
const CORBA::Any & data,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1498,7 +1498,7 @@ class TAO_Export Codec : public virtual CORBA_Object
virtual CORBA::Any * decode_value (
const CORBA::OctetSeq & data,
CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1508,12 +1508,12 @@ class TAO_Export Codec : public virtual CORBA_Object
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
Codec ();
-
+
virtual ~Codec (void);
private:
Codec (const Codec &);
@@ -1531,7 +1531,7 @@ class TAO_Export Codec : public virtual CORBA_Object
struct Encoding;
class Encoding_var;
-
+
struct TAO_Export Encoding
{
@@ -1554,18 +1554,18 @@ class TAO_Export Codec : public virtual CORBA_Object
Encoding_var (const Encoding_var &); // copy constructor
Encoding_var (const Encoding &); // fixed-size types only
~Encoding_var (void); // destructor
-
+
Encoding_var &operator= (Encoding *);
Encoding_var &operator= (const Encoding_var &);
Encoding_var &operator= (const Encoding &); // fixed-size types only
Encoding *operator-> (void);
const Encoding *operator-> (void) const;
-
+
operator const Encoding &() const;
operator Encoding &();
operator Encoding &() const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const Encoding &in (void) const;
Encoding &inout (void);
Encoding &out (void);
@@ -1586,7 +1586,7 @@ class TAO_Export Codec : public virtual CORBA_Object
class CodecFactory;
typedef CodecFactory *CodecFactory_ptr;
-
+
#endif /* end #if !defined */
@@ -1597,23 +1597,23 @@ class TAO_Export Codec : public virtual CORBA_Object
{
public:
CodecFactory_var (void); // default constructor
- CodecFactory_var (CodecFactory_ptr p) : ptr_ (p) {}
+ CodecFactory_var (CodecFactory_ptr p) : ptr_ (p) {}
CodecFactory_var (const CodecFactory_var &); // copy constructor
~CodecFactory_var (void); // destructor
-
+
CodecFactory_var &operator= (CodecFactory_ptr);
CodecFactory_var &operator= (const CodecFactory_var &);
CodecFactory_ptr operator-> (void) const;
-
+
operator const CodecFactory_ptr &() const;
operator CodecFactory_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
CodecFactory_ptr in (void) const;
CodecFactory_ptr &inout (void);
CodecFactory_ptr &out (void);
CodecFactory_ptr _retn (void);
CodecFactory_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static CodecFactory_ptr duplicate (CodecFactory_ptr);
@@ -1621,7 +1621,7 @@ class TAO_Export Codec : public virtual CORBA_Object
static CodecFactory_ptr nil (void);
static CodecFactory_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
CodecFactory_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1648,7 +1648,7 @@ class TAO_Export Codec : public virtual CORBA_Object
operator CodecFactory_ptr &();
CodecFactory_ptr &ptr (void);
CodecFactory_ptr operator-> (void);
-
+
private:
CodecFactory_ptr &ptr_;
};
@@ -1672,12 +1672,12 @@ class TAO_Export CodecFactory : public virtual CORBA_Object
static CodecFactory_ptr _duplicate (CodecFactory_ptr obj);
static CodecFactory_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CodecFactory_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CodecFactory_ptr _nil (void)
@@ -1695,27 +1695,27 @@ class TAO_Export CodecFactory : public virtual CORBA_Object
UnknownEncoding (void);
// Default constructor.
-
+
UnknownEncoding (const UnknownEncoding &);
// Copy constructor.
-
+
~UnknownEncoding (void);
// Destructor.
-
+
UnknownEncoding &operator= (const UnknownEncoding &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static UnknownEncoding *_downcast (CORBA::Exception *);
@@ -1728,7 +1728,7 @@ class TAO_Export CodecFactory : public virtual CORBA_Object
virtual IOP::Codec_ptr create_codec (
const IOP::Encoding & enc,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1737,12 +1737,12 @@ class TAO_Export CodecFactory : public virtual CORBA_Object
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
CodecFactory ();
-
+
virtual ~CodecFactory (void);
private:
CodecFactory (const CodecFactory &);
diff --git a/TAO/tao/IOPC.i b/TAO/tao/IOPC.i
index 465ba351f1f..7a368cb8bc7 100644
--- a/TAO/tao/IOPC.i
+++ b/TAO/tao/IOPC.i
@@ -70,7 +70,7 @@ IOP::TaggedProfile_var::operator= (const ::IOP::TaggedProfile_var &p)
{
TaggedProfile *deep_copy =
new TaggedProfile (*p.ptr_);
-
+
if (deep_copy != 0)
{
TaggedProfile *tmp = deep_copy;
@@ -80,7 +80,7 @@ IOP::TaggedProfile_var::operator= (const ::IOP::TaggedProfile_var &p)
}
}
}
-
+
return *this;
}
@@ -103,20 +103,20 @@ IOP::TaggedProfile_var::operator const ::IOP::TaggedProfile &() const // cast
}
ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() // cast
+IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() const // cast
+IOP::TaggedProfile_var::operator ::IOP::TaggedProfile &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::TaggedProfile_var::operator ::IOP::TaggedProfile *&() // cast
+IOP::TaggedProfile_var::operator ::IOP::TaggedProfile *&() // cast
{
return this->ptr_;
}
@@ -133,7 +133,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)
{
@@ -194,7 +194,7 @@ IOP::TaggedProfile_out::operator= (TaggedProfile *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedProfile_out::operator ::IOP::TaggedProfile *&() // cast
{
return this->ptr_;
@@ -263,7 +263,7 @@ IOP::IOR_var::operator= (const ::IOP::IOR_var &p)
{
IOR *deep_copy =
new IOR (*p.ptr_);
-
+
if (deep_copy != 0)
{
IOR *tmp = deep_copy;
@@ -273,7 +273,7 @@ IOP::IOR_var::operator= (const ::IOP::IOR_var &p)
}
}
}
-
+
return *this;
}
@@ -296,20 +296,20 @@ IOP::IOR_var::operator const ::IOP::IOR &() const // cast
}
ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR &() // cast
+IOP::IOR_var::operator ::IOP::IOR &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR &() const // cast
+IOP::IOR_var::operator ::IOP::IOR &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::IOR_var::operator ::IOP::IOR *&() // cast
+IOP::IOR_var::operator ::IOP::IOR *&() // cast
{
return this->ptr_;
}
@@ -326,7 +326,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)
{
@@ -387,7 +387,7 @@ IOP::IOR_out::operator= (IOR *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::IOR_out::operator ::IOP::IOR *&() // cast
{
return this->ptr_;
@@ -407,7 +407,7 @@ IOP::IOR_out::operator-> (void)
#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_
@@ -420,24 +420,24 @@ IOP::IOR_out::operator-> (void)
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.
{
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.
{
}
-
+
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.
: 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,
@@ -446,7 +446,7 @@ IOP::IOR_out::operator-> (void)
: 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.
@@ -456,10 +456,10 @@ IOP::IOR_out::operator-> (void)
{
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
@@ -467,14 +467,14 @@ IOP::IOR_out::operator-> (void)
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.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -487,18 +487,18 @@ IOP::IOR_out::operator-> (void)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
IOP::TaggedProfile *tmp1 = ACE_reinterpret_cast (IOP::TaggedProfile *, this->buffer_);
IOP::TaggedProfile * const tmp2 = ACE_reinterpret_cast (IOP::TaggedProfile * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE IOP::TaggedProfile &
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i)
@@ -508,7 +508,7 @@ IOP::IOR_out::operator-> (void)
IOP::TaggedProfile* tmp = ACE_reinterpret_cast(IOP::TaggedProfile*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const IOP::TaggedProfile &
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::operator[] (CORBA::ULong i) const
// operator []
@@ -517,9 +517,9 @@ IOP::IOR_out::operator-> (void)
IOP::TaggedProfile * const tmp = ACE_reinterpret_cast (IOP::TaggedProfile* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE IOP::TaggedProfile *
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::get_buffer (CORBA::Boolean orphan)
{
@@ -553,13 +553,13 @@ IOP::IOR_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const IOP::TaggedProfile *
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::get_buffer (void) const
{
return ACE_reinterpret_cast(const IOP::TaggedProfile * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
IOP::IOR::_TAO_Unbounded_Sequence_IOP_IOR__tao_seq_TaggedProfile::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -576,11 +576,11 @@ IOP::IOR_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
// *************************************************************
// Inline operations for class IOP::TaggedComponent_var
// *************************************************************
@@ -632,7 +632,7 @@ IOP::TaggedComponent_var::operator= (const ::IOP::TaggedComponent_var &p)
{
TaggedComponent *deep_copy =
new TaggedComponent (*p.ptr_);
-
+
if (deep_copy != 0)
{
TaggedComponent *tmp = deep_copy;
@@ -642,7 +642,7 @@ IOP::TaggedComponent_var::operator= (const ::IOP::TaggedComponent_var &p)
}
}
}
-
+
return *this;
}
@@ -665,20 +665,20 @@ IOP::TaggedComponent_var::operator const ::IOP::TaggedComponent &() const // cas
}
ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() // cast
+IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() const // cast
+IOP::TaggedComponent_var::operator ::IOP::TaggedComponent &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::TaggedComponent_var::operator ::IOP::TaggedComponent *&() // cast
+IOP::TaggedComponent_var::operator ::IOP::TaggedComponent *&() // cast
{
return this->ptr_;
}
@@ -695,7 +695,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)
{
@@ -756,7 +756,7 @@ IOP::TaggedComponent_out::operator= (TaggedComponent *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponent_out::operator ::IOP::TaggedComponent *&() // cast
{
return this->ptr_;
@@ -776,7 +776,7 @@ IOP::TaggedComponent_out::operator-> (void)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_MULTIPLECOMPONENTPROFILE_CI_
@@ -789,24 +789,24 @@ IOP::TaggedComponent_out::operator-> (void)
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.
{
delete [] buffer;
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (void) // Default constructor.
{
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile (CORBA::ULong maximum) // Constructor using a maximum length value.
: 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,
@@ -815,7 +815,7 @@ IOP::TaggedComponent_out::operator-> (void)
: 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.
@@ -825,10 +825,10 @@ IOP::TaggedComponent_out::operator-> (void)
{
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
@@ -836,14 +836,14 @@ IOP::TaggedComponent_out::operator-> (void)
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.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -856,18 +856,18 @@ IOP::TaggedComponent_out::operator-> (void)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
IOP::TaggedComponent *tmp1 = ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
IOP::TaggedComponent * const tmp2 = ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i)
@@ -877,7 +877,7 @@ IOP::TaggedComponent_out::operator-> (void)
IOP::TaggedComponent* tmp = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::operator[] (CORBA::ULong i) const
// operator []
@@ -886,9 +886,9 @@ IOP::TaggedComponent_out::operator-> (void)
IOP::TaggedComponent * const tmp = ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::get_buffer (CORBA::Boolean orphan)
{
@@ -922,13 +922,13 @@ IOP::TaggedComponent_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::get_buffer (void) const
{
return ACE_reinterpret_cast(const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
IOP::_TAO_Unbounded_Sequence_IOP_MultipleComponentProfile::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -945,11 +945,11 @@ IOP::TaggedComponent_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CI_)
#define _IOP_MULTIPLECOMPONENTPROFILE_CI_
@@ -1005,7 +1005,7 @@ IOP::MultipleComponentProfile_var::operator= (const ::IOP::MultipleComponentProf
{
MultipleComponentProfile *deep_copy =
new MultipleComponentProfile (*p.ptr_);
-
+
if (deep_copy != 0)
{
MultipleComponentProfile *tmp = deep_copy;
@@ -1015,7 +1015,7 @@ IOP::MultipleComponentProfile_var::operator= (const ::IOP::MultipleComponentProf
}
}
}
-
+
return *this;
}
@@ -1031,27 +1031,27 @@ 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
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() // cast
+ACE_INLINE
+IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() const // cast
+ACE_INLINE
+IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile *&() // cast
+IOP::MultipleComponentProfile_var::operator ::IOP::MultipleComponentProfile *&() // cast
{
return this->ptr_;
}
@@ -1080,7 +1080,7 @@ IOP::MultipleComponentProfile_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::IOP::MultipleComponentProfile *&
IOP::MultipleComponentProfile_var::out (void)
{
@@ -1141,7 +1141,7 @@ IOP::MultipleComponentProfile_out::operator= (MultipleComponentProfile *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::MultipleComponentProfile_out::operator ::IOP::MultipleComponentProfile *&() // cast
{
return this->ptr_;
@@ -1170,7 +1170,7 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTLIST_CI_
@@ -1183,24 +1183,24 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
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.
{
delete [] buffer;
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (void) // Default constructor.
{
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::_TAO_Unbounded_Sequence_IOP_TaggedComponentList (CORBA::ULong maximum) // Constructor using a maximum length value.
: 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,
@@ -1209,7 +1209,7 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
: 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.
@@ -1219,10 +1219,10 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
{
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
@@ -1230,14 +1230,14 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
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.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -1250,18 +1250,18 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_IOP_TaggedComponentList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
IOP::TaggedComponent *tmp1 = ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
IOP::TaggedComponent * const tmp2 = ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i)
@@ -1271,7 +1271,7 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
IOP::TaggedComponent* tmp = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::operator[] (CORBA::ULong i) const
// operator []
@@ -1280,9 +1280,9 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
IOP::TaggedComponent * const tmp = ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::get_buffer (CORBA::Boolean orphan)
{
@@ -1316,13 +1316,13 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
}
return result;
}
-
+
ACE_INLINE const IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::get_buffer (void) const
{
return ACE_reinterpret_cast(const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentList::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -1339,11 +1339,11 @@ IOP::MultipleComponentProfile_out::operator[] (CORBA::ULong index)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_TAGGEDCOMPONENTLIST_CI_)
#define _IOP_TAGGEDCOMPONENTLIST_CI_
@@ -1399,7 +1399,7 @@ IOP::TaggedComponentList_var::operator= (const ::IOP::TaggedComponentList_var &p
{
TaggedComponentList *deep_copy =
new TaggedComponentList (*p.ptr_);
-
+
if (deep_copy != 0)
{
TaggedComponentList *tmp = deep_copy;
@@ -1409,7 +1409,7 @@ IOP::TaggedComponentList_var::operator= (const ::IOP::TaggedComponentList_var &p
}
}
}
-
+
return *this;
}
@@ -1425,27 +1425,27 @@ 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
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() // cast
+ACE_INLINE
+IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() const // cast
+ACE_INLINE
+IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList *&() // cast
+IOP::TaggedComponentList_var::operator ::IOP::TaggedComponentList *&() // cast
{
return this->ptr_;
}
@@ -1474,7 +1474,7 @@ IOP::TaggedComponentList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::IOP::TaggedComponentList *&
IOP::TaggedComponentList_var::out (void)
{
@@ -1535,7 +1535,7 @@ IOP::TaggedComponentList_out::operator= (TaggedComponentList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentList_out::operator ::IOP::TaggedComponentList *&() // cast
{
return this->ptr_;
@@ -1564,7 +1564,7 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_TAGGEDCOMPONENTSEQ_CI_
@@ -1577,24 +1577,24 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
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.
{
delete [] buffer;
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (void) // Default constructor.
{
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq (CORBA::ULong maximum) // Constructor using a maximum length value.
: 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,
@@ -1603,7 +1603,7 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
: 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.
@@ -1613,10 +1613,10 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
{
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
@@ -1624,14 +1624,14 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
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.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -1644,18 +1644,18 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
IOP::TaggedComponent *tmp1 = ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
IOP::TaggedComponent * const tmp2 = ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i)
@@ -1665,7 +1665,7 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
IOP::TaggedComponent* tmp = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const IOP::TaggedComponent &
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::operator[] (CORBA::ULong i) const
// operator []
@@ -1674,9 +1674,9 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
IOP::TaggedComponent * const tmp = ACE_reinterpret_cast (IOP::TaggedComponent* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::get_buffer (CORBA::Boolean orphan)
{
@@ -1710,13 +1710,13 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
}
return result;
}
-
+
ACE_INLINE const IOP::TaggedComponent *
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::get_buffer (void) const
{
return ACE_reinterpret_cast(const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
IOP::_TAO_Unbounded_Sequence_IOP_TaggedComponentSeq::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -1733,11 +1733,11 @@ IOP::TaggedComponentList_out::operator[] (CORBA::ULong index)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_TAGGEDCOMPONENTSEQ_CI_)
#define _IOP_TAGGEDCOMPONENTSEQ_CI_
@@ -1793,7 +1793,7 @@ IOP::TaggedComponentSeq_var::operator= (const ::IOP::TaggedComponentSeq_var &p)
{
TaggedComponentSeq *deep_copy =
new TaggedComponentSeq (*p.ptr_);
-
+
if (deep_copy != 0)
{
TaggedComponentSeq *tmp = deep_copy;
@@ -1803,7 +1803,7 @@ IOP::TaggedComponentSeq_var::operator= (const ::IOP::TaggedComponentSeq_var &p)
}
}
}
-
+
return *this;
}
@@ -1819,27 +1819,27 @@ 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
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() // cast
+ACE_INLINE
+IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() const // cast
+ACE_INLINE
+IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq *&() // cast
+IOP::TaggedComponentSeq_var::operator ::IOP::TaggedComponentSeq *&() // cast
{
return this->ptr_;
}
@@ -1868,7 +1868,7 @@ IOP::TaggedComponentSeq_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::IOP::TaggedComponentSeq *&
IOP::TaggedComponentSeq_var::out (void)
{
@@ -1929,7 +1929,7 @@ IOP::TaggedComponentSeq_out::operator= (TaggedComponentSeq *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::TaggedComponentSeq_out::operator ::IOP::TaggedComponentSeq *&() // cast
{
return this->ptr_;
@@ -2007,7 +2007,7 @@ IOP::ServiceContext_var::operator= (const ::IOP::ServiceContext_var &p)
{
ServiceContext *deep_copy =
new ServiceContext (*p.ptr_);
-
+
if (deep_copy != 0)
{
ServiceContext *tmp = deep_copy;
@@ -2017,7 +2017,7 @@ IOP::ServiceContext_var::operator= (const ::IOP::ServiceContext_var &p)
}
}
}
-
+
return *this;
}
@@ -2040,20 +2040,20 @@ IOP::ServiceContext_var::operator const ::IOP::ServiceContext &() const // cast
}
ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext &() // cast
+IOP::ServiceContext_var::operator ::IOP::ServiceContext &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext &() const // cast
+IOP::ServiceContext_var::operator ::IOP::ServiceContext &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::ServiceContext_var::operator ::IOP::ServiceContext *&() // cast
+IOP::ServiceContext_var::operator ::IOP::ServiceContext *&() // cast
{
return this->ptr_;
}
@@ -2070,7 +2070,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)
{
@@ -2131,7 +2131,7 @@ IOP::ServiceContext_out::operator= (ServiceContext *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::ServiceContext_out::operator ::IOP::ServiceContext *&() // cast
{
return this->ptr_;
@@ -2151,7 +2151,7 @@ IOP::ServiceContext_out::operator-> (void)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IOP_SERVICECONTEXTLIST_CI_
@@ -2164,24 +2164,24 @@ IOP::ServiceContext_out::operator-> (void)
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.
{
delete [] buffer;
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (void) // Default constructor.
{
}
-
+
ACE_INLINE
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::_TAO_Unbounded_Sequence_IOP_ServiceContextList (CORBA::ULong maximum) // Constructor using a maximum length value.
: 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,
@@ -2190,7 +2190,7 @@ IOP::ServiceContext_out::operator-> (void)
: 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.
@@ -2200,10 +2200,10 @@ IOP::ServiceContext_out::operator-> (void)
{
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
@@ -2211,14 +2211,14 @@ IOP::ServiceContext_out::operator-> (void)
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.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -2231,18 +2231,18 @@ IOP::ServiceContext_out::operator-> (void)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_IOP_ServiceContextList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
IOP::ServiceContext *tmp1 = ACE_reinterpret_cast (IOP::ServiceContext *, this->buffer_);
IOP::ServiceContext * const tmp2 = ACE_reinterpret_cast (IOP::ServiceContext * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE IOP::ServiceContext &
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i)
@@ -2252,7 +2252,7 @@ IOP::ServiceContext_out::operator-> (void)
IOP::ServiceContext* tmp = ACE_reinterpret_cast(IOP::ServiceContext*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const IOP::ServiceContext &
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::operator[] (CORBA::ULong i) const
// operator []
@@ -2261,9 +2261,9 @@ IOP::ServiceContext_out::operator-> (void)
IOP::ServiceContext * const tmp = ACE_reinterpret_cast (IOP::ServiceContext* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE IOP::ServiceContext *
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::get_buffer (CORBA::Boolean orphan)
{
@@ -2297,13 +2297,13 @@ IOP::ServiceContext_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const IOP::ServiceContext *
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::get_buffer (void) const
{
return ACE_reinterpret_cast(const IOP::ServiceContext * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
IOP::_TAO_Unbounded_Sequence_IOP_ServiceContextList::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -2320,11 +2320,11 @@ IOP::ServiceContext_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IOP_SERVICECONTEXTLIST_CI_)
#define _IOP_SERVICECONTEXTLIST_CI_
@@ -2380,7 +2380,7 @@ IOP::ServiceContextList_var::operator= (const ::IOP::ServiceContextList_var &p)
{
ServiceContextList *deep_copy =
new ServiceContextList (*p.ptr_);
-
+
if (deep_copy != 0)
{
ServiceContextList *tmp = deep_copy;
@@ -2390,7 +2390,7 @@ IOP::ServiceContextList_var::operator= (const ::IOP::ServiceContextList_var &p)
}
}
}
-
+
return *this;
}
@@ -2406,27 +2406,27 @@ 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
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() // cast
+ACE_INLINE
+IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() const // cast
+ACE_INLINE
+IOP::ServiceContextList_var::operator ::IOP::ServiceContextList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-IOP::ServiceContextList_var::operator ::IOP::ServiceContextList *&() // cast
+IOP::ServiceContextList_var::operator ::IOP::ServiceContextList *&() // cast
{
return this->ptr_;
}
@@ -2455,7 +2455,7 @@ IOP::ServiceContextList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::IOP::ServiceContextList *&
IOP::ServiceContextList_var::out (void)
{
@@ -2516,7 +2516,7 @@ IOP::ServiceContextList_out::operator= (ServiceContextList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
IOP::ServiceContextList_out::operator ::IOP::ServiceContextList *&() // cast
{
return this->ptr_;
@@ -2663,7 +2663,7 @@ IOP::Encoding_var::operator= (const ::IOP::Encoding_var &p)
{
Encoding *deep_copy =
new Encoding (*p.ptr_);
-
+
if (deep_copy != 0)
{
Encoding *tmp = deep_copy;
@@ -2673,7 +2673,7 @@ IOP::Encoding_var::operator= (const ::IOP::Encoding_var &p)
}
}
}
-
+
return *this;
}
@@ -2708,13 +2708,13 @@ IOP::Encoding_var::operator const ::IOP::Encoding &() const // cast
}
ACE_INLINE
-IOP::Encoding_var::operator ::IOP::Encoding &() // cast
+IOP::Encoding_var::operator ::IOP::Encoding &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-IOP::Encoding_var::operator ::IOP::Encoding &() const // cast
+IOP::Encoding_var::operator ::IOP::Encoding &() const // cast
{
return *this->ptr_;
}
@@ -2731,7 +2731,7 @@ IOP::Encoding_var::inout (void)
return *this->ptr_;
}
-// mapping for fixed size
+// mapping for fixed size
ACE_INLINE ::IOP::Encoding &
IOP::Encoding_var::out (void)
{
@@ -2828,7 +2828,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::TaggedProf
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::TaggedProfile &_tao_aggregate)
@@ -2840,7 +2840,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::TaggedProfile &_t
return 1;
else
return 0;
-
+
}
@@ -2867,7 +2867,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::IOR &_tao_
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::IOR &_tao_aggregate)
@@ -2879,7 +2879,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::IOR &_tao_aggrega
return 1;
else
return 0;
-
+
}
@@ -2906,7 +2906,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::TaggedComp
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::TaggedComponent &_tao_aggregate)
@@ -2918,7 +2918,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::TaggedComponent &
return 1;
else
return 0;
-
+
}
@@ -2990,7 +2990,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::ServiceCon
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::ServiceContext &_tao_aggregate)
@@ -3002,7 +3002,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::ServiceContext &_
return 1;
else
return 0;
-
+
}
@@ -3030,7 +3030,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const IOP::Encoding &
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::Encoding &_tao_aggregate)
@@ -3043,6 +3043,6 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, IOP::Encoding &_tao_ag
return 1;
else
return 0;
-
+
}
diff --git a/TAO/tao/IORInfo.cpp b/TAO/tao/IORInfo.cpp
index 305ea12228e..408300f6971 100644
--- a/TAO/tao/IORInfo.cpp
+++ b/TAO/tao/IORInfo.cpp
@@ -11,8 +11,8 @@ ACE_RCSID (tao, IORInfo, "$Id$")
TAO_IORInfo::TAO_IORInfo (TAO_ORB_Core *orb_core,
- TAO_MProfile &mp,
- CORBA::PolicyList *policy_list)
+ TAO_MProfile &mp,
+ CORBA::PolicyList *policy_list)
: orb_core_ (orb_core),
mp_ (mp),
policy_list_ (policy_list)
@@ -25,7 +25,7 @@ TAO_IORInfo::~TAO_IORInfo (void)
CORBA::Policy_ptr
TAO_IORInfo::get_effective_policy (CORBA::PolicyType type,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Check the policy list supplied by the POA.
@@ -34,12 +34,12 @@ TAO_IORInfo::get_effective_policy (CORBA::PolicyType type,
for (CORBA::ULong i = 0; i < policy_count; ++i)
{
CORBA::PolicyType pt =
- (*(this->policy_list_))[i]->policy_type (
+ (*(this->policy_list_))[i]->policy_type (
TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (CORBA::Policy::_nil ());
if (pt == type)
- return CORBA::Policy::_duplicate ((*(this->policy_list_))[i]);
+ return CORBA::Policy::_duplicate ((*(this->policy_list_))[i]);
}
// TODO: Now check the global ORB policies.
@@ -47,12 +47,12 @@ TAO_IORInfo::get_effective_policy (CORBA::PolicyType type,
ACE_THROW_RETURN (CORBA::INV_POLICY (TAO_OMG_VMCID | 2,
CORBA::COMPLETED_NO),
- CORBA::Policy::_nil ());
+ CORBA::Policy::_nil ());
}
void
TAO_IORInfo::add_ior_component (const IOP::TaggedComponent &component,
- CORBA::Environment &ACE_TRY_ENV)
+ CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// Add the given tagged component to all profiles.
@@ -85,12 +85,12 @@ TAO_IORInfo::add_ior_component_to_profile (
TAO_Profile *profile = this->mp_.get_profile (i);
if (profile->tag () == profile_id)
- {
- profile->add_tagged_component (component, ACE_TRY_ENV);
+ {
+ profile->add_tagged_component (component, ACE_TRY_ENV);
ACE_CHECK;
found_profile = 1;
- }
+ }
}
// According to the Portable Interceptor specification, we're
diff --git a/TAO/tao/IORInfo.h b/TAO/tao/IORInfo.h
index 0fd0dd10b79..87ebfab1459 100644
--- a/TAO/tao/IORInfo.h
+++ b/TAO/tao/IORInfo.h
@@ -56,8 +56,8 @@ public:
/// Constructor.
TAO_IORInfo (TAO_ORB_Core *orb_core,
- TAO_MProfile &mp,
- CORBA::PolicyList *policy_list);
+ TAO_MProfile &mp,
+ CORBA::PolicyList *policy_list);
/// Return the policy matching the given policy type that is in
/// effect for the object whose IOR is being created.
diff --git a/TAO/tao/Interceptor_List.cpp b/TAO/tao/Interceptor_List.cpp
index b69b6b5ed11..fe1f2bb3118 100644
--- a/TAO/tao/Interceptor_List.cpp
+++ b/TAO/tao/Interceptor_List.cpp
@@ -71,7 +71,7 @@ TAO_Interceptor_List::add_interceptor_i (
/// Increase the length of the Interceptor sequence by one.
size_t new_len = old_len + 1;
this->length (new_len);
- return old_len;
+ return old_len;
}
else
ACE_THROW_RETURN (CORBA::INV_OBJREF (
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp
index 0b511b6e288..1098ba80cd0 100644
--- a/TAO/tao/Invocation.cpp
+++ b/TAO/tao/Invocation.cpp
@@ -58,6 +58,7 @@ enum
};
+
// Setup Timeprobes
ACE_TIMEPROBE_EVENT_DESCRIPTIONS (TAO_Invocation_Timeprobe_Description,
TAO_GIOP_INVOCATION_INVOKE_START);
@@ -312,8 +313,13 @@ TAO_GIOP_Invocation::start (CORBA::Environment &ACE_TRY_ENV)
// Set the unique request ID associated with this request.
this->op_details_.request_id (this->transport_->tms ()->request_id ());
- // Make sure that you have the right object key
- this->target_spec_.target_specifier (this->profile_->object_key ());
+ // Set the target specifier to point to the right kind
+ // of specifier for our request. Normally, this is just
+ // the object key. However, some pluggable have special
+ // requires such that the object key does not make the
+ // most sense. For example, MIOP requires the group id
+ // to be sent.
+ this->profile_->request_target_specifier (this->target_spec_);
}
void
@@ -335,6 +341,9 @@ TAO_GIOP_Invocation::prepare_header (CORBA::Octet response_flags,
this->add_rt_service_context (ACE_TRY_ENV);
ACE_CHECK;
+/* @@ Frank - I don't understand the purpose of this code. We just
+ set the target specification in TAO_GIOP_Invocation::start ().
+
// The target specification mode
if (this->stub_->addressing_mode () ==
TAO_Target_Specification::Key_Addr)
@@ -377,7 +386,7 @@ TAO_GIOP_Invocation::prepare_header (CORBA::Octet response_flags,
this->target_spec_.target_specifier (*ior_info,
index);
}
-
+*/
// Update the response flags
this->op_details_.response_flags (response_flags);
diff --git a/TAO/tao/MessagingC.cpp b/TAO/tao/MessagingC.cpp
index 8faec91bace..df068a38475 100644
--- a/TAO/tao/MessagingC.cpp
+++ b/TAO/tao/MessagingC.cpp
@@ -42,19 +42,19 @@ static const CORBA::Long _oc_Messaging_RebindMode[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
37,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5265),
- ACE_NTOHL (0x62696e64),
- ACE_NTOHL (0x4d6f6465),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5265),
+ ACE_NTOHL (0x62696e64),
+ ACE_NTOHL (0x4d6f6465),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/Messaging/RebindMode:1.0
11,
- ACE_NTOHL (0x52656269),
- ACE_NTOHL (0x6e644d6f),
+ ACE_NTOHL (0x52656269),
+ ACE_NTOHL (0x6e644d6f),
ACE_NTOHL (0x64650000), // name = RebindMode
CORBA::tk_short,
@@ -89,18 +89,18 @@ static const CORBA::Long _oc_Messaging_SyncScope[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5379),
- ACE_NTOHL (0x6e635363),
- ACE_NTOHL (0x6f70653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5379),
+ ACE_NTOHL (0x6e635363),
+ ACE_NTOHL (0x6f70653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/Messaging/SyncScope:1.0
10,
- ACE_NTOHL (0x53796e63),
- ACE_NTOHL (0x53636f70),
+ ACE_NTOHL (0x53796e63),
+ ACE_NTOHL (0x53636f70),
ACE_NTOHL (0x65000000), // name = SyncScope
CORBA::tk_short,
@@ -147,19 +147,19 @@ static const CORBA::Long _oc_Messaging_RoutingType[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f526f),
- ACE_NTOHL (0x7574696e),
- ACE_NTOHL (0x67547970),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f526f),
+ ACE_NTOHL (0x7574696e),
+ ACE_NTOHL (0x67547970),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/Messaging/RoutingType:1.0
12,
- ACE_NTOHL (0x526f7574),
- ACE_NTOHL (0x696e6754),
+ ACE_NTOHL (0x526f7574),
+ ACE_NTOHL (0x696e6754),
ACE_NTOHL (0x79706500), // name = RoutingType
CORBA::tk_short,
@@ -194,32 +194,32 @@ static const CORBA::Long _oc_Messaging_Timeout[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5469),
- ACE_NTOHL (0x6d656f75),
- ACE_NTOHL (0x743a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5469),
+ ACE_NTOHL (0x6d656f75),
+ ACE_NTOHL (0x743a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/Messaging/Timeout:1.0
8,
- ACE_NTOHL (0x54696d65),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x6f757400), // name = Timeout
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),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
CORBA::tk_ulonglong,
@@ -243,18 +243,18 @@ static const CORBA::Long _oc_Messaging_Priority[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5072),
- ACE_NTOHL (0x696f7269),
- ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5072),
+ ACE_NTOHL (0x696f7269),
+ ACE_NTOHL (0x74793a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/Messaging/Priority:1.0
9,
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = Priority
CORBA::tk_short,
@@ -277,18 +277,18 @@ static const CORBA::Long _oc_Messaging_Ordering[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f4f72),
- ACE_NTOHL (0x64657269),
- ACE_NTOHL (0x6e673a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f4f72),
+ ACE_NTOHL (0x64657269),
+ ACE_NTOHL (0x6e673a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/Messaging/Ordering:1.0
9,
- ACE_NTOHL (0x4f726465),
- ACE_NTOHL (0x72696e67),
+ ACE_NTOHL (0x4f726465),
+ ACE_NTOHL (0x72696e67),
ACE_NTOHL (0x0), // name = Ordering
CORBA::tk_ushort,
@@ -379,7 +379,7 @@ Messaging::RebindPolicy_var::operator const ::Messaging::RebindPolicy_ptr &() co
return this->ptr_;
}
-Messaging::RebindPolicy_var::operator ::Messaging::RebindPolicy_ptr &() // cast
+Messaging::RebindPolicy_var::operator ::Messaging::RebindPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -582,7 +582,7 @@ void *Messaging::RebindPolicy::_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;
@@ -650,7 +650,7 @@ Messaging::SyncScopePolicy_var::operator const ::Messaging::SyncScopePolicy_ptr
return this->ptr_;
}
-Messaging::SyncScopePolicy_var::operator ::Messaging::SyncScopePolicy_ptr &() // cast
+Messaging::SyncScopePolicy_var::operator ::Messaging::SyncScopePolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -852,7 +852,7 @@ void *Messaging::SyncScopePolicy::_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;
@@ -875,20 +875,20 @@ static const CORBA::Long _oc_Messaging_PriorityRange[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
40,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5072),
- ACE_NTOHL (0x696f7269),
- ACE_NTOHL (0x74795261),
- ACE_NTOHL (0x6e67653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5072),
+ ACE_NTOHL (0x696f7269),
+ ACE_NTOHL (0x74795261),
+ ACE_NTOHL (0x6e67653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/Messaging/PriorityRange:1.0
14,
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
- ACE_NTOHL (0x52616e67),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x52616e67),
ACE_NTOHL (0x65000000), // name = PriorityRange
2, // member count
4,
@@ -897,18 +897,18 @@ static const CORBA::Long _oc_Messaging_PriorityRange[] =
64, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5072),
- ACE_NTOHL (0x696f7269),
- ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5072),
+ ACE_NTOHL (0x696f7269),
+ ACE_NTOHL (0x74793a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/Messaging/Priority:1.0
9,
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = Priority
CORBA::tk_short,
@@ -919,18 +919,18 @@ static const CORBA::Long _oc_Messaging_PriorityRange[] =
64, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5072),
- ACE_NTOHL (0x696f7269),
- ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5072),
+ ACE_NTOHL (0x696f7269),
+ ACE_NTOHL (0x74793a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/Messaging/Priority:1.0
9,
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = Priority
CORBA::tk_short,
@@ -1005,7 +1005,7 @@ Messaging::RequestPriorityPolicy_var::operator const ::Messaging::RequestPriorit
return this->ptr_;
}
-Messaging::RequestPriorityPolicy_var::operator ::Messaging::RequestPriorityPolicy_ptr &() // cast
+Messaging::RequestPriorityPolicy_var::operator ::Messaging::RequestPriorityPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1208,7 +1208,7 @@ void *Messaging::RequestPriorityPolicy::_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;
@@ -1272,7 +1272,7 @@ Messaging::ReplyPriorityPolicy_var::operator const ::Messaging::ReplyPriorityPol
return this->ptr_;
}
-Messaging::ReplyPriorityPolicy_var::operator ::Messaging::ReplyPriorityPolicy_ptr &() // cast
+Messaging::ReplyPriorityPolicy_var::operator ::Messaging::ReplyPriorityPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1475,7 +1475,7 @@ void *Messaging::ReplyPriorityPolicy::_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;
@@ -1543,7 +1543,7 @@ Messaging::RequestStartTimePolicy_var::operator const ::Messaging::RequestStartT
return this->ptr_;
}
-Messaging::RequestStartTimePolicy_var::operator ::Messaging::RequestStartTimePolicy_ptr &() // cast
+Messaging::RequestStartTimePolicy_var::operator ::Messaging::RequestStartTimePolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1746,7 +1746,7 @@ void *Messaging::RequestStartTimePolicy::_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;
@@ -1814,7 +1814,7 @@ Messaging::RequestEndTimePolicy_var::operator const ::Messaging::RequestEndTimeP
return this->ptr_;
}
-Messaging::RequestEndTimePolicy_var::operator ::Messaging::RequestEndTimePolicy_ptr &() // cast
+Messaging::RequestEndTimePolicy_var::operator ::Messaging::RequestEndTimePolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2017,7 +2017,7 @@ void *Messaging::RequestEndTimePolicy::_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;
@@ -2085,7 +2085,7 @@ Messaging::ReplyStartTimePolicy_var::operator const ::Messaging::ReplyStartTimeP
return this->ptr_;
}
-Messaging::ReplyStartTimePolicy_var::operator ::Messaging::ReplyStartTimePolicy_ptr &() // cast
+Messaging::ReplyStartTimePolicy_var::operator ::Messaging::ReplyStartTimePolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2288,7 +2288,7 @@ void *Messaging::ReplyStartTimePolicy::_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;
@@ -2356,7 +2356,7 @@ Messaging::ReplyEndTimePolicy_var::operator const ::Messaging::ReplyEndTimePolic
return this->ptr_;
}
-Messaging::ReplyEndTimePolicy_var::operator ::Messaging::ReplyEndTimePolicy_ptr &() // cast
+Messaging::ReplyEndTimePolicy_var::operator ::Messaging::ReplyEndTimePolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2559,7 +2559,7 @@ void *Messaging::ReplyEndTimePolicy::_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;
@@ -2627,7 +2627,7 @@ Messaging::RelativeRequestTimeoutPolicy_var::operator const ::Messaging::Relativ
return this->ptr_;
}
-Messaging::RelativeRequestTimeoutPolicy_var::operator ::Messaging::RelativeRequestTimeoutPolicy_ptr &() // cast
+Messaging::RelativeRequestTimeoutPolicy_var::operator ::Messaging::RelativeRequestTimeoutPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2830,7 +2830,7 @@ void *Messaging::RelativeRequestTimeoutPolicy::_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;
@@ -2898,7 +2898,7 @@ Messaging::RelativeRoundtripTimeoutPolicy_var::operator const ::Messaging::Relat
return this->ptr_;
}
-Messaging::RelativeRoundtripTimeoutPolicy_var::operator ::Messaging::RelativeRoundtripTimeoutPolicy_ptr &() // cast
+Messaging::RelativeRoundtripTimeoutPolicy_var::operator ::Messaging::RelativeRoundtripTimeoutPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -3101,7 +3101,7 @@ void *Messaging::RelativeRoundtripTimeoutPolicy::_tao_QueryInterface (ptr_arith_
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;
@@ -3124,22 +3124,22 @@ static const CORBA::Long _oc_Messaging_RoutingTypeRange[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
43,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f526f),
- ACE_NTOHL (0x7574696e),
- ACE_NTOHL (0x67547970),
- ACE_NTOHL (0x6552616e),
- ACE_NTOHL (0x67653a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f526f),
+ ACE_NTOHL (0x7574696e),
+ ACE_NTOHL (0x67547970),
+ ACE_NTOHL (0x6552616e),
+ ACE_NTOHL (0x67653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/Messaging/RoutingTypeRange:1.0
17,
- ACE_NTOHL (0x526f7574),
- ACE_NTOHL (0x696e6754),
- ACE_NTOHL (0x79706552),
- ACE_NTOHL (0x616e6765),
+ ACE_NTOHL (0x526f7574),
+ ACE_NTOHL (0x696e6754),
+ ACE_NTOHL (0x79706552),
+ ACE_NTOHL (0x616e6765),
ACE_NTOHL (0x0), // name = RoutingTypeRange
2, // member count
4,
@@ -3148,19 +3148,19 @@ static const CORBA::Long _oc_Messaging_RoutingTypeRange[] =
68, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f526f),
- ACE_NTOHL (0x7574696e),
- ACE_NTOHL (0x67547970),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f526f),
+ ACE_NTOHL (0x7574696e),
+ ACE_NTOHL (0x67547970),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/Messaging/RoutingType:1.0
12,
- ACE_NTOHL (0x526f7574),
- ACE_NTOHL (0x696e6754),
+ ACE_NTOHL (0x526f7574),
+ ACE_NTOHL (0x696e6754),
ACE_NTOHL (0x79706500), // name = RoutingType
CORBA::tk_short,
@@ -3171,19 +3171,19 @@ static const CORBA::Long _oc_Messaging_RoutingTypeRange[] =
68, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f526f),
- ACE_NTOHL (0x7574696e),
- ACE_NTOHL (0x67547970),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f526f),
+ ACE_NTOHL (0x7574696e),
+ ACE_NTOHL (0x67547970),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/Messaging/RoutingType:1.0
12,
- ACE_NTOHL (0x526f7574),
- ACE_NTOHL (0x696e6754),
+ ACE_NTOHL (0x526f7574),
+ ACE_NTOHL (0x696e6754),
ACE_NTOHL (0x79706500), // name = RoutingType
CORBA::tk_short,
@@ -3258,7 +3258,7 @@ Messaging::RoutingPolicy_var::operator const ::Messaging::RoutingPolicy_ptr &()
return this->ptr_;
}
-Messaging::RoutingPolicy_var::operator ::Messaging::RoutingPolicy_ptr &() // cast
+Messaging::RoutingPolicy_var::operator ::Messaging::RoutingPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -3461,7 +3461,7 @@ void *Messaging::RoutingPolicy::_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;
@@ -3529,7 +3529,7 @@ Messaging::MaxHopsPolicy_var::operator const ::Messaging::MaxHopsPolicy_ptr &()
return this->ptr_;
}
-Messaging::MaxHopsPolicy_var::operator ::Messaging::MaxHopsPolicy_ptr &() // cast
+Messaging::MaxHopsPolicy_var::operator ::Messaging::MaxHopsPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -3732,7 +3732,7 @@ void *Messaging::MaxHopsPolicy::_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;
@@ -3800,7 +3800,7 @@ Messaging::QueueOrderPolicy_var::operator const ::Messaging::QueueOrderPolicy_pt
return this->ptr_;
}
-Messaging::QueueOrderPolicy_var::operator ::Messaging::QueueOrderPolicy_ptr &() // cast
+Messaging::QueueOrderPolicy_var::operator ::Messaging::QueueOrderPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -4003,7 +4003,7 @@ void *Messaging::QueueOrderPolicy::_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;
@@ -4020,46 +4020,46 @@ static const CORBA::Long _oc_Messaging_PolicyValue[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x56616c75),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/Messaging/PolicyValue:1.0
12,
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
ACE_NTOHL (0x6c756500), // name = PolicyValue
2, // member count
6,
- ACE_NTOHL (0x70747970),
+ ACE_NTOHL (0x70747970),
ACE_NTOHL (0x65000000), // name = ptype
CORBA::tk_alias, // typecode kind for typedefs
64, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x412f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x54797065),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/PolicyType:1.0
11,
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795479),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795479),
ACE_NTOHL (0x70650000), // name = PolicyType
CORBA::tk_ulong,
7,
- ACE_NTOHL (0x7076616c),
+ ACE_NTOHL (0x7076616c),
ACE_NTOHL (0x75650000), // name = pvalue
CORBA::tk_sequence, // typecode kind
12, // encapsulation length
@@ -4100,30 +4100,30 @@ void Messaging::PolicyValue::_tao_any_destructor (void *x)
Messaging::PolicyValue::_tao_seq_Octet::_tao_seq_Octet (void)
{}
Messaging::PolicyValue::_tao_seq_Octet::_tao_seq_Octet (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)
{}
Messaging::PolicyValue::_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)
{}
Messaging::PolicyValue::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &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)
{}
Messaging::PolicyValue::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
@@ -4139,7 +4139,7 @@ void Messaging::PolicyValue::_tao_seq_Octet::_tao_any_destructor (void *x)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_MESSAGING_POLICYVALUESEQ_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_MESSAGING_POLICYVALUESEQ_CS_
@@ -4148,43 +4148,43 @@ void Messaging::PolicyValue::_tao_seq_Octet::_tao_any_destructor (void *x)
{
Messaging::PolicyValue* tmp = 0;
tmp = _TAO_Unbounded_Sequence_Messaging_PolicyValueSeq::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
Messaging::PolicyValue *old = ACE_reinterpret_cast (Messaging::PolicyValue *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
Messaging::_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
Messaging::PolicyValue *tmp = ACE_reinterpret_cast (Messaging::PolicyValue *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
Messaging::_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq::~_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_MESSAGING_POLICYVALUESEQ_CS_)
#define _MESSAGING_POLICYVALUESEQ_CS_
@@ -4196,30 +4196,30 @@ void Messaging::PolicyValue::_tao_seq_Octet::_tao_any_destructor (void *x)
Messaging::PolicyValueSeq::PolicyValueSeq (void)
{}
Messaging::PolicyValueSeq::PolicyValueSeq (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<Messaging::PolicyValue>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
Messaging::PolicyValueSeq::PolicyValueSeq (CORBA::ULong max, CORBA::ULong length, Messaging::PolicyValue *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<Messaging::PolicyValue>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
Messaging::PolicyValueSeq::PolicyValueSeq (const PolicyValueSeq &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_Messaging_PolicyValueSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<Messaging::PolicyValue>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
Messaging::PolicyValueSeq::~PolicyValueSeq (void) // dtor
@@ -4237,21 +4237,21 @@ static const CORBA::Long _oc_Messaging_PolicyValueSeq[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
41,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x56616c75),
- ACE_NTOHL (0x65536571),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65536571),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/Messaging/PolicyValueSeq:1.0
15,
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
- ACE_NTOHL (0x6c756553),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x6c756553),
ACE_NTOHL (0x65710000), // name = PolicyValueSeq
CORBA::tk_sequence, // typecode kind
200, // encapsulation length
@@ -4260,46 +4260,46 @@ static const CORBA::Long _oc_Messaging_PolicyValueSeq[] =
184, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x56616c75),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/Messaging/PolicyValue:1.0
12,
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795661),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795661),
ACE_NTOHL (0x6c756500), // name = PolicyValue
2, // member count
6,
- ACE_NTOHL (0x70747970),
+ ACE_NTOHL (0x70747970),
ACE_NTOHL (0x65000000), // name = ptype
CORBA::tk_alias, // typecode kind for typedefs
64, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x412f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x54797065),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/PolicyType:1.0
11,
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795479),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795479),
ACE_NTOHL (0x70650000), // name = PolicyType
CORBA::tk_ulong,
7,
- ACE_NTOHL (0x7076616c),
+ ACE_NTOHL (0x7076616c),
ACE_NTOHL (0x75650000), // name = pvalue
CORBA::tk_sequence, // typecode kind
12, // encapsulation length
@@ -4401,7 +4401,7 @@ Messaging::ExceptionHolder_init::~ExceptionHolder_init (void)
{
}
-const char*
+const char*
Messaging::ExceptionHolder_init::tao_repository_id (void)
{
return ExceptionHolder::_tao_obv_static_repository_id ();
@@ -4459,7 +4459,7 @@ Messaging::ReplyHandler_var::operator const ::Messaging::ReplyHandler_ptr &() co
return this->ptr_;
}
-Messaging::ReplyHandler_var::operator ::Messaging::ReplyHandler_ptr &() // cast
+Messaging::ReplyHandler_var::operator ::Messaging::ReplyHandler_ptr &() // cast
{
return this->ptr_;
}
@@ -4597,7 +4597,7 @@ Messaging::ReplyHandler_out::operator-> (void)
#endif /* TAO_HAS_INTERCEPTORS */
///////////////////////////////////////////////////////////////////////
-// Base & Remote Proxy Implementation.
+// Base & Remote Proxy Implementation.
//
Messaging::_TAO_ReplyHandler_Proxy_Impl::_TAO_ReplyHandler_Proxy_Impl (void)
@@ -4610,7 +4610,7 @@ Messaging::_TAO_ReplyHandler_Remote_Proxy_Impl::_TAO_ReplyHandler_Remote_Proxy_I
//
-// End Base & Remote Proxy Implemeentation.
+// End Base & Remote Proxy Implemeentation.
///////////////////////////////////////////////////////////////////////
@@ -4731,14 +4731,14 @@ Messaging::ReplyHandler_ptr Messaging::ReplyHandler::_unchecked_narrow (
stub,
1,
obj->_servant ()),
-
+
ReplyHandler::_nil ());
}
if (CORBA::is_nil (default_proxy))
ACE_NEW_RETURN (default_proxy, ::Messaging::ReplyHandler (stub, 0, obj->_servant ()), ReplyHandler::_nil ());
return default_proxy;
}
- else
+ else
return
ACE_reinterpret_cast
(
@@ -4782,7 +4782,7 @@ void *Messaging::ReplyHandler::_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;
@@ -4797,20 +4797,20 @@ static const CORBA::Long _oc_Messaging_ReplyHandler[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
39,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x4d657373),
- ACE_NTOHL (0x6167696e),
- ACE_NTOHL (0x672f5265),
- ACE_NTOHL (0x706c7948),
- ACE_NTOHL (0x616e646c),
- ACE_NTOHL (0x65723a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d657373),
+ ACE_NTOHL (0x6167696e),
+ ACE_NTOHL (0x672f5265),
+ ACE_NTOHL (0x706c7948),
+ ACE_NTOHL (0x616e646c),
+ ACE_NTOHL (0x65723a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/Messaging/ReplyHandler:1.0
13,
- ACE_NTOHL (0x5265706c),
- ACE_NTOHL (0x7948616e),
- ACE_NTOHL (0x646c6572),
+ ACE_NTOHL (0x5265706c),
+ ACE_NTOHL (0x7948616e),
+ ACE_NTOHL (0x646c6572),
ACE_NTOHL (0x0), // name = ReplyHandler
};
@@ -4832,14 +4832,14 @@ TAO_NAMESPACE_END
#if (TAO_HAS_AMI_CALLBACK == 1)
-CORBA::Boolean
+CORBA::Boolean
OBV_Messaging::ExceptionHolder::_tao_marshal__Messaging_ExceptionHolder (TAO_OutputCDR &strm){
return _tao_marshal_state (strm);
-
+
}
CORBA::Boolean OBV_Messaging::ExceptionHolder::_tao_unmarshal__Messaging_ExceptionHolder (TAO_InputCDR &strm){
return _tao_unmarshal_state (strm);
-
+
}
// accessor to set the member
void
@@ -4880,30 +4880,30 @@ OBV_Messaging::ExceptionHolder::byte_order (void) const
Messaging::ExceptionHolder::_tao_seq_Octet::_tao_seq_Octet (void)
{}
Messaging::ExceptionHolder::_tao_seq_Octet::_tao_seq_Octet (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)
{}
Messaging::ExceptionHolder::_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)
{}
Messaging::ExceptionHolder::_tao_seq_Octet::_tao_seq_Octet (const _tao_seq_Octet &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)
{}
Messaging::ExceptionHolder::_tao_seq_Octet::~_tao_seq_Octet (void) // dtor
@@ -4924,14 +4924,14 @@ OBV_Messaging::ExceptionHolder::marshaled_exception (const Messaging::ExceptionH
this->_pd_marshaled_exception = val;
}
-// readonly get method
+// readonly get method
const Messaging::ExceptionHolder::_tao_seq_Octet &
OBV_Messaging::ExceptionHolder::marshaled_exception (void) const
{
return this->_pd_marshaled_exception;
}
-// read/write get method
+// read/write get method
Messaging::ExceptionHolder::_tao_seq_Octet &
OBV_Messaging::ExceptionHolder::marshaled_exception (void)
{
@@ -4991,13 +4991,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const Messaging::Priorit
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (Messaging::_tc_PriorityRange, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -5130,13 +5130,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const Messaging::Routing
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (Messaging::_tc_RoutingTypeRange, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -5234,13 +5234,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const Messaging::PolicyV
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (Messaging::_tc_PolicyValue, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -5325,13 +5325,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const Messaging::PolicyV
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (Messaging::_tc_PolicyValueSeq, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -5380,7 +5380,7 @@ void operator<<= (CORBA::Any &_tao_any, Messaging::ReplyHandler_ptr _tao_elem)
if (stream << _tao_elem)
{
_tao_any._tao_replace (
- Messaging::_tc_ReplyHandler,
+ Messaging::_tc_ReplyHandler,
TAO_ENCAP_BYTE_ORDER,
stream.begin (),
1,
@@ -5396,13 +5396,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, Messaging::ReplyHandler_
{
_tao_elem = Messaging::ReplyHandler::_nil ();
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (Messaging::_tc_ReplyHandler, 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 ()
@@ -5450,20 +5450,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>*, (Messaging::PolicyValue::_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 ());
-
+
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
}
return 0; // error
@@ -5480,10 +5480,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))
@@ -5493,7 +5493,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);
@@ -5504,7 +5504,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
@@ -5541,7 +5541,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
diff --git a/TAO/tao/MessagingC.h b/TAO/tao/MessagingC.h
index 0b67e1e717b..7e7c4526ff1 100644
--- a/TAO/tao/MessagingC.h
+++ b/TAO/tao/MessagingC.h
@@ -178,7 +178,7 @@ TAO_NAMESPACE Messaging
static RebindPolicy_ptr nil (void);
static RebindPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RebindPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -313,7 +313,7 @@ class TAO_Export RebindPolicy: public virtual CORBA::Policy
static SyncScopePolicy_ptr nil (void);
static SyncScopePolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
SyncScopePolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -498,7 +498,7 @@ class TAO_Export SyncScopePolicy: public virtual CORBA::Policy
static RequestPriorityPolicy_ptr nil (void);
static RequestPriorityPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RequestPriorityPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -629,7 +629,7 @@ class TAO_Export RequestPriorityPolicy: public virtual CORBA::Policy
static ReplyPriorityPolicy_ptr nil (void);
static ReplyPriorityPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ReplyPriorityPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -764,7 +764,7 @@ class TAO_Export ReplyPriorityPolicy: public virtual CORBA::Policy
static RequestStartTimePolicy_ptr nil (void);
static RequestStartTimePolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RequestStartTimePolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -899,7 +899,7 @@ class TAO_Export RequestStartTimePolicy: public virtual CORBA::Policy
static RequestEndTimePolicy_ptr nil (void);
static RequestEndTimePolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RequestEndTimePolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1034,7 +1034,7 @@ class TAO_Export RequestEndTimePolicy: public virtual CORBA::Policy
static ReplyStartTimePolicy_ptr nil (void);
static ReplyStartTimePolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ReplyStartTimePolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1169,7 +1169,7 @@ class TAO_Export ReplyStartTimePolicy: public virtual CORBA::Policy
static ReplyEndTimePolicy_ptr nil (void);
static ReplyEndTimePolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ReplyEndTimePolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1304,7 +1304,7 @@ class TAO_Export ReplyEndTimePolicy: public virtual CORBA::Policy
static RelativeRequestTimeoutPolicy_ptr nil (void);
static RelativeRequestTimeoutPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RelativeRequestTimeoutPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1439,7 +1439,7 @@ class TAO_Export RelativeRequestTimeoutPolicy: public virtual CORBA::Policy
static RelativeRoundtripTimeoutPolicy_ptr nil (void);
static RelativeRoundtripTimeoutPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RelativeRoundtripTimeoutPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1624,7 +1624,7 @@ class TAO_Export RelativeRoundtripTimeoutPolicy: public virtual CORBA::Policy
static RoutingPolicy_ptr nil (void);
static RoutingPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RoutingPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1759,7 +1759,7 @@ class TAO_Export RoutingPolicy: public virtual CORBA::Policy
static MaxHopsPolicy_ptr nil (void);
static MaxHopsPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
MaxHopsPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1894,7 +1894,7 @@ class TAO_Export MaxHopsPolicy: public virtual CORBA::Policy
static QueueOrderPolicy_ptr nil (void);
static QueueOrderPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
QueueOrderPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2480,7 +2480,7 @@ class TAO_Export QueueOrderPolicy: public virtual CORBA::Policy
static ReplyHandler_ptr nil (void);
static ReplyHandler_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ReplyHandler_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2553,35 +2553,35 @@ class TAO_Export QueueOrderPolicy: public virtual CORBA::Policy
static void _tao_any_destructor (void*);
virtual CORBA::Boolean _is_a (
- const CORBA::Char *type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ const CORBA::Char *type_id,
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
private:
_TAO_ReplyHandler_Proxy_Broker *the_TAO_ReplyHandler_Proxy_Broker_;
-
+
protected:
ReplyHandler (int collocated = 0);
-
+
protected:
// This methods travese the inheritance tree and set the
// parents piece of the given class in the right mode
virtual void Messaging_ReplyHandler_setup_collocation (int collocated);
-
+
ReplyHandler (
- TAO_Stub *objref,
+ TAO_Stub *objref,
CORBA::Boolean _tao_collocated = 0,
TAO_Abstract_ServantBase *servant = 0
);
-
+
friend class _TAO_ReplyHandler_Remote_Proxy_Impl;
friend class _TAO_ReplyHandler_ThruPOA_Proxy_Impl;
friend class _TAO_ReplyHandler_Direct_Proxy_Impl;
-
+
virtual ~ReplyHandler (void);
private:
ReplyHandler (const ReplyHandler &);
diff --git a/TAO/tao/MessagingC.i b/TAO/tao/MessagingC.i
index 0d55151d8cf..c9b3da514ab 100644
--- a/TAO/tao/MessagingC.i
+++ b/TAO/tao/MessagingC.i
@@ -2004,12 +2004,12 @@ OBV_Messaging::ExceptionHolder::_tao_unmarshal_state (TAO_InputCDR &strm)
}
-CORBA::Boolean TAO_Export
+CORBA::Boolean TAO_Export
operator<< (
TAO_OutputCDR &,
const Messaging::ReplyHandler_ptr
);
-CORBA::Boolean TAO_Export
+CORBA::Boolean TAO_Export
operator>> (
TAO_InputCDR &,
Messaging::ReplyHandler_ptr &
diff --git a/TAO/tao/Messaging_ORBInitializer.cpp b/TAO/tao/Messaging_ORBInitializer.cpp
index 5067d4f5738..937a812d15b 100644
--- a/TAO/tao/Messaging_ORBInitializer.cpp
+++ b/TAO/tao/Messaging_ORBInitializer.cpp
@@ -23,7 +23,7 @@ TAO_Messaging_ORBInitializer::pre_init (
TAO_ORB_Core::set_timeout_hook
(TAO_RelativeRoundtripTimeoutPolicy::hook);
#endif /* TAO_HAS_RELATIVE_ROUNDTRIP_TIMEOUT_POLICY == 1 */
-
+
TAO_ORB_Core::set_sync_scope_hook (TAO_Sync_Scope_Policy::hook);
}
@@ -57,13 +57,13 @@ TAO_Messaging_ORBInitializer::register_policy_factories (
// the different types of Messaging policies.
CORBA::PolicyType type;
-
+
type = TAO_MESSAGING_RELATIVE_RT_TIMEOUT_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
#if (TAO_HAS_CLIENT_PRIORITY_POLICY == 1)
type = TAO_CLIENT_PRIORITY_POLICY_TYPE;
@@ -89,68 +89,68 @@ TAO_Messaging_ORBInitializer::register_policy_factories (
ACE_CHECK;
#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
-
+
type = TAO_MESSAGING_REBIND_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_REQUEST_PRIORITY_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_REPLY_PRIORITY_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_REQUEST_START_TIME_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_REQUEST_END_TIME_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_REPLY_START_TIME_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_REPLY_END_TIME_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_RELATIVE_REQ_TIMEOUT_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_ROUTING_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_MAX_HOPS_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
ACE_TRY_ENV);
ACE_CHECK;
-
+
type = TAO_MESSAGING_QUEUE_ORDER_POLICY_TYPE;
info->register_policy_factory (type,
policy_factory,
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp
index ecd7c4ec6f3..0d0743b5ffd 100644
--- a/TAO/tao/ORB.cpp
+++ b/TAO/tao/ORB.cpp
@@ -473,7 +473,7 @@ CORBA_ORB::poll_next_response (CORBA_Environment &ACE_TRY_ENV)
// ****************************************************************
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_struct_tc (
const char *id,
const char *name,
@@ -496,10 +496,10 @@ CORBA_ORB::create_struct_tc (
return adapter->create_struct_tc (id,
name,
members,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_union_tc (
const char *id,
const char *name,
@@ -524,10 +524,10 @@ CORBA_ORB::create_union_tc (
name,
discriminator_type,
members,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_enum_tc (
const char *id,
const char *name,
@@ -550,10 +550,10 @@ CORBA_ORB::create_enum_tc (
return adapter->create_enum_tc (id,
name,
members,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_alias_tc (
const char *id,
const char *name,
@@ -576,10 +576,10 @@ CORBA_ORB::create_alias_tc (
return adapter->create_alias_tc (id,
name,
original_type,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_exception_tc (
const char *id,
const char *name,
@@ -602,10 +602,10 @@ CORBA_ORB::create_exception_tc (
return adapter->create_exception_tc (id,
name,
members,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_interface_tc (
const char *id,
const char *name,
@@ -626,10 +626,10 @@ CORBA_ORB::create_interface_tc (
return adapter->create_interface_tc (id,
name,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_string_tc (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV
@@ -648,10 +648,10 @@ CORBA_ORB::create_string_tc (
}
return adapter->create_string_tc (bound,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_wstring_tc (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV
@@ -670,10 +670,10 @@ CORBA_ORB::create_wstring_tc (
}
return adapter->create_wstring_tc (bound,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_fixed_tc (
CORBA::UShort digits,
CORBA::UShort scale,
@@ -694,10 +694,10 @@ CORBA_ORB::create_fixed_tc (
return adapter->create_fixed_tc (digits,
scale,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_sequence_tc (
CORBA::ULong bound,
CORBA::TypeCode_ptr element_type,
@@ -718,10 +718,10 @@ CORBA_ORB::create_sequence_tc (
return adapter->create_sequence_tc (bound,
element_type,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_array_tc (
CORBA::ULong length,
CORBA::TypeCode_ptr element_type,
@@ -742,10 +742,10 @@ CORBA_ORB::create_array_tc (
return adapter->create_array_tc (length,
element_type,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_value_tc (
const char *id,
const char *name,
@@ -772,10 +772,10 @@ CORBA_ORB::create_value_tc (
type_modifier,
concrete_base,
members,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_value_box_tc (
const char *id,
const char *name,
@@ -798,10 +798,10 @@ CORBA_ORB::create_value_box_tc (
return adapter->create_value_box_tc (id,
name,
boxed_type,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_native_tc (
const char *id,
const char *name,
@@ -822,10 +822,10 @@ CORBA_ORB::create_native_tc (
return adapter->create_native_tc (id,
name,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_recursive_tc (
const char *id,
CORBA::Environment &ACE_TRY_ENV
@@ -844,10 +844,10 @@ CORBA_ORB::create_recursive_tc (
}
return adapter->create_recursive_tc (id,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_abstract_interface_tc (
const char *id,
const char *name,
@@ -871,7 +871,7 @@ CORBA_ORB::create_abstract_interface_tc (
ACE_TRY_ENV);
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
CORBA_ORB::create_local_interface_tc (
const char *id,
const char *name,
@@ -978,6 +978,27 @@ CORBA_ORB::resolve_policy_current (CORBA::Environment &)
}
+CORBA_Object_ptr
+CORBA_ORB::resolve_root_pga (CORBA::Environment &ACE_TRY_ENV)
+{
+//#if (TAO_HAS_MIOP == 1)
+// return this->orb_core_->root_pga (ACE_TRY_ENV);
+//#else
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+ return CORBA_Object::_nil ();
+//#endif /* TAO_HAS_MIOP == 1 */
+}
+
+CORBA_Object_ptr
+CORBA_ORB::resolve_miop (CORBA::Environment &ACE_TRY_ENV)
+{
+#if (TAO_HAS_MIOP == 1)
+ return this->orb_core_->resolve_miop (ACE_TRY_ENV);
+#else
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+ return CORBA_Object::_nil ();
+#endif /* TAO_HAS_MIOP == 1 */
+}
CORBA_Object_ptr
CORBA_ORB::resolve_service (MCAST_SERVICEID mcast_service_id,
@@ -1338,6 +1359,12 @@ CORBA_ORB::resolve_initial_references (const char *name,
else if (ACE_OS::strcmp (name, TAO_OBJID_RTCURRENT) == 0)
return this->resolve_rt_current (ACE_TRY_ENV);
+ else if (ACE_OS::strcmp (name, TAO_OBJID_ROOTPGA) == 0)
+ return this->resolve_root_pga (ACE_TRY_ENV);
+
+ else if (ACE_OS::strcmp (name, TAO_OBJID_MIOP) == 0)
+ return this->resolve_miop (ACE_TRY_ENV);
+
// -----------------------------------------------------------------
// Search the object reference table. This search must occur before
diff --git a/TAO/tao/ORB.h b/TAO/tao/ORB.h
index bb71b7d2c23..4a02cb4a201 100644
--- a/TAO/tao/ORB.h
+++ b/TAO/tao/ORB.h
@@ -395,7 +395,7 @@ public:
/// but will look for work to pending for more than the specified time.
/// This is useful for implementing an event loop with an idle timeout.
CORBA::Boolean work_pending (ACE_Time_Value &tv,
- CORBA_Environment &ACE_TRY_ENV =
+ CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ());
/**
@@ -545,6 +545,11 @@ protected:
/// Resolve the RT Current.
CORBA_Object_ptr resolve_rt_current (CORBA_Environment &ACE_TRY_ENV);
+ /// Resolve the root PGA.
+ CORBA_Object_ptr resolve_root_pga (CORBA::Environment &ACE_TRY_ENV);
+
+ /// Resolve the MIOP object group factory.
+ CORBA_Object_ptr resolve_miop (CORBA::Environment &ACE_TRY_ENV);
private:
/// Resolve the given service based on the service ID.
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index a09bd913ae8..c27ccde1eff 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -31,6 +31,8 @@
#include "Invocation.h"
#include "BiDir_Adapter.h"
#include "Endpoint_Selector_Factory.h"
+#include "PortableGroup_Adapter.h"
+#include "Request_Dispatcher.h"
#if (TAO_HAS_RT_CORBA == 1)
#include "RT_Endpoint_Selector_Factory.h"
@@ -161,8 +163,10 @@ TAO_ORB_Core::TAO_ORB_Core (const char *orbid)
parser_registry_ (),
transport_cache_ (),
bidir_adapter_ (0),
- bidir_giop_policy_ (0)
- , flushing_strategy_ (0)
+ bidir_giop_policy_ (0),
+ portable_group_ (0),
+ portable_group_resolved_ (0),
+ flushing_strategy_ (0)
{
#if defined(ACE_MVS)
ACE_NEW (this->from_iso8859_, ACE_IBM1047_ISO8859);
@@ -203,6 +207,12 @@ TAO_ORB_Core::TAO_ORB_Core (const char *orbid)
ACE_NEW (this->transport_sync_strategy_,
TAO_Transport_Sync_Strategy);
+ // Create the default portable group hooks.
+ ACE_NEW (this->portable_group_,
+ TAO_PortableGroup_Adapter);
+
+ ACE_NEW (this->request_dispatcher_,
+ TAO_Request_Dispatcher);
}
TAO_ORB_Core::~TAO_ORB_Core (void)
@@ -232,6 +242,14 @@ TAO_ORB_Core::~TAO_ORB_Core (void)
delete this->endpoint_selector_factory_;
delete this->transport_sync_strategy_;
+
+ /* Only free the PortableGroup adapter if we're
+ * using the default one. Otherwise, let the
+ * service configurator delete it once it is done
+ * with it.
+ */
+ if (!this->portable_group_resolved_)
+ delete this->portable_group_;
}
int
@@ -1399,6 +1417,48 @@ TAO_ORB_Core::bidirectional_giop_init (CORBA::Environment &ACE_TRY_ENV)
return 0;
}
+
+void
+TAO_ORB_Core::resolve_portable_group (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (this->portable_group_resolved_ == 0)
+ {
+ TAO_PortableGroup_Adapter *temp_portable_group;
+
+ temp_portable_group = ACE_Dynamic_Service<TAO_PortableGroup_Adapter>::instance ("PortableGroup_Loader");
+
+ if (temp_portable_group == 0)
+ {
+ // The Loader has not been statically configured, try to
+ // dynamically load it...
+ ACE_Service_Config::process_directive (
+ "dynamic PortableGroup_Loader Service_Object *"
+ "TAO_PortableGroup:_make_TAO_PortableGroup_Loader()"
+ );
+
+ temp_portable_group =
+ ACE_Dynamic_Service<TAO_PortableGroup_Adapter>::instance ("PortableGroup_Loader");
+ if (temp_portable_group == 0)
+ ACE_THROW (CORBA::ORB::InvalidName ());
+ }
+
+ temp_portable_group->activate (this->orb_.in (),
+ 0,
+ 0,
+ ACE_TRY_ENV);
+
+ // Free the memory for the default portable group. This could lead to a race
+ // condition except that the default portable group is stateless, objects should not
+ // cache portable group pointers, but go to the ORB_Core everytime a portable group
+ // object is needed.
+ delete this->portable_group_;
+
+ // Assign the portable group at last now that everything is ok.
+ this->portable_group_ = temp_portable_group;
+ this->portable_group_resolved_ = 1;
+ }
+}
+
int
TAO_ORB_Core::parse_bidir_policy (CORBA::Policy_ptr policy,
CORBA::Environment &ACE_TRY_ENV)
@@ -1666,6 +1726,20 @@ TAO_ORB_Core::poa_adapter (void)
return this->poa_adapter_;
}
+#if (TAO_HAS_MIOP == 1)
+void
+TAO_ORB_Core::resolve_miop_i (CORBA::Environment &ACE_TRY_ENV)
+{
+ // Resolve the PortableGroup if it hasn't already been resolved.
+ this->resolve_portable_group (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ this->miop_factory_ = this->portable_group_->miop (ACE_TRY_ENV);
+ ACE_CHECK;
+}
+
+#endif /* TAO_HAS_MIOP == 1 */
+
TAO_SYNCH_CONDITION *
TAO_ORB_Core::leader_follower_condition_variable (void)
{
diff --git a/TAO/tao/ORB_Core.h b/TAO/tao/ORB_Core.h
index b1e36a5bcf4..2445d07606a 100644
--- a/TAO/tao/ORB_Core.h
+++ b/TAO/tao/ORB_Core.h
@@ -74,6 +74,8 @@ class TAO_Message_State_Factory;
class TAO_ServerRequest;
class TAO_Protocols_Hooks;
class TAO_BiDir_Adapter;
+class TAO_PortableGroup_Adapter;
+class TAO_Request_Dispatcher;
class TAO_Flushing_Strategy;
@@ -699,6 +701,20 @@ public:
CORBA::Object_ptr resolve_rir (const char *name,
CORBA::Environment &);
+#if (TAO_HAS_MIOP == 1)
+ /// Resolve the RootPGA reference for MIOP */
+ CORBA::Object_ptr resolve_root_pga (CORBA::Environment &ACE_TRY_ENV);
+
+ /// Resolve the MIOP reference */
+ CORBA::Object_ptr resolve_miop (CORBA::Environment &ACE_TRY_ENV);
+
+ CORBA::Object_ptr TAO_ORB_Core::root_pga (CORBA::Environment &ACE_TRY_ENV);
+ TAO_Adapter *TAO_ORB_Core::pga_adapter (void);
+
+ /// Retrieve the current PortableGroup adapter.
+ TAO_PortableGroup_Adapter *portable_group (void) const;
+#endif /* TAO_HAS_MIOP == 1 */
+
/// List all the service known by the ORB
CORBA_ORB_ObjectIdList_ptr list_initial_references (CORBA::Environment &);
@@ -856,6 +872,14 @@ public:
/// the resolve_initial_references() mechanism.
TAO_Object_Ref_Table &object_ref_table (void);
+ /// Return the current request dispatcher strategy.
+ /// @@ Frank - This really seems like it should be implemented as
+ /// chain of responsibility...
+ TAO_Request_Dispatcher *request_dispatcher (void);
+
+ /// Set a new request dispatcher (only call during initialization)
+ void request_dispatcher (TAO_Request_Dispatcher *rd);
+
/// Return the flushing strategy
/**
* The flushing strategy is created by the resource factory, and it
@@ -908,6 +932,14 @@ protected:
/// Obtain and cache the IORManipulation factory object reference.
void resolve_iormanipulation_i (CORBA::Environment &ACE_TRY_ENV);
+#if (TAO_HAS_MIOP == 1)
+ /// Obtain and cache the MIOP factory object reference.
+ void resolve_miop_i (CORBA::Environment &ACE_TRY_ENV);
+
+ /// Resolve the portable group adapter.
+ void resolve_portable_group (CORBA::Environment &ACE_TRY_ENV);
+#endif /* TAO_HAS_MIOP == 1 */
+
/// Search the Dynamic service list for BiDirectional options that
/// can be dynamically loaded.
int bidirectional_giop_init (CORBA::Environment &ACE_TRY_ENV);
@@ -1005,6 +1037,19 @@ protected:
/// CORBA::ORB::resolve_initial_references ("RootPOA").
CORBA::Object_var root_poa_;
+#if (TAO_HAS_MIOP == 1)
+ /// Object reference to the root PGA. It will eventually be the
+ /// object reference returned by calls to
+ /// CORBA::ORB::resolve_initial_references ("RootPGA").
+ CORBA::Object_var root_pga_;
+
+ CORBA::Object_var miop_factory_;
+
+ TAO_PortableGroup_Adapter *portable_group_;
+
+ CORBA::Boolean portable_group_resolved_;
+#endif /* TAO_HAS_MIOP == 1 */
+
/// Parameters used by the ORB.
TAO_ORB_Parameters orb_params_;
@@ -1112,6 +1157,9 @@ protected:
#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
+ /// The request dispatching strategy.
+ TAO_Request_Dispatcher *request_dispatcher_;
+
/**
* POA current.
*
@@ -1127,6 +1175,11 @@ protected:
/// An optimization for the POA.
TAO_Adapter *poa_adapter_;
+#if (TAO_HAS_MIOP == 1)
+ /// An optimization for the POA.
+ TAO_Adapter *pga_adapter_;
+#endif /* TAO_HAS_MIOP == 1 */
+
/// The Thread Manager
ACE_Thread_Manager tm_;
diff --git a/TAO/tao/ORB_Core.i b/TAO/tao/ORB_Core.i
index d5cfc48f460..b0fc0180920 100644
--- a/TAO/tao/ORB_Core.i
+++ b/TAO/tao/ORB_Core.i
@@ -171,6 +171,18 @@ TAO_ORB_Core::adapter_registry (void)
return &this->adapter_registry_;
}
+ACE_INLINE TAO_Request_Dispatcher *
+TAO_ORB_Core::request_dispatcher (void)
+{
+ return this->request_dispatcher_;
+}
+
+ACE_INLINE void
+TAO_ORB_Core::request_dispatcher (TAO_Request_Dispatcher *request_dispatcher)
+{
+ this->request_dispatcher_ = request_dispatcher;
+}
+
ACE_INLINE void
TAO_ORB_Core::optimize_collocation_objects (CORBA::Boolean opt)
{
@@ -483,6 +495,12 @@ TAO_ORB_Core::resolve_typecodefactory (CORBA::Environment &ACE_TRY_ENV)
return CORBA::Object::_duplicate (this->typecode_factory_);
}
+ACE_INLINE TAO_PortableGroup_Adapter *
+TAO_ORB_Core::portable_group (void) const
+{
+ return this->portable_group_;
+}
+
ACE_INLINE CORBA::Object_ptr
TAO_ORB_Core::resolve_dynanyfactory (CORBA::Environment &ACE_TRY_ENV)
{
@@ -522,6 +540,21 @@ TAO_ORB_Core::resolve_ior_table (CORBA::Environment &ACE_TRY_ENV)
return CORBA::Object::_duplicate (this->ior_table_);
}
+#if (TAO_HAS_MIOP == 1)
+ACE_INLINE CORBA::Object_ptr
+TAO_ORB_Core::resolve_miop (CORBA::Environment &ACE_TRY_ENV)
+{
+ ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, mon, this->lock_,
+ CORBA::Object::_nil ());
+ if (CORBA::is_nil (this->miop_factory_))
+ {
+ this->resolve_miop_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA::Object::_nil ());
+ }
+ return CORBA::Object::_duplicate (this->miop_factory_);
+}
+#endif /* TAO_HAS_MIOP == 1 */
+
// ****************************************************************
#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
diff --git a/TAO/tao/Object_KeyC.i b/TAO/tao/Object_KeyC.i
index 4f26c346930..40e5b21152e 100644
--- a/TAO/tao/Object_KeyC.i
+++ b/TAO/tao/Object_KeyC.i
@@ -1,7 +1,7 @@
// $Id$
// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO ORB and the TAO IDL Compiler have been developed by Washington
+// TAO ORB and the TAO IDL Compiler have been developed by Washington
// University Computer Science's Distributed Object Computing Group.
//
// Information on TAO is available at
@@ -53,19 +53,19 @@ TAO_ObjectKey::operator= (const TAO_ObjectKey &rhs)
ACE_INLINE
TAO_ObjectKey_var::TAO_ObjectKey_var (void) // default constructor
- : ptr_ (0)
+ : ptr_ (0)
{}
ACE_INLINE
TAO_ObjectKey_var::TAO_ObjectKey_var (TAO_ObjectKey *p)
- : ptr_ (p)
+ : ptr_ (p)
{}
ACE_INLINE
TAO_ObjectKey_var::TAO_ObjectKey_var (const TAO_ObjectKey_var &p) // copy constructor
{
if (p.ptr_)
- ACE_NEW (this->ptr_,
+ ACE_NEW (this->ptr_,
TAO_ObjectKey(*p.ptr_));
else
this->ptr_ = 0;
@@ -97,9 +97,9 @@ TAO_ObjectKey_var::operator= (const TAO_ObjectKey_var &p) // deep copy
}
else
{
- TAO_ObjectKey *deep_copy =
+ TAO_ObjectKey *deep_copy =
new TAO_ObjectKey (*p.ptr_);
-
+
if (deep_copy != 0)
{
TAO_ObjectKey *tmp = deep_copy;
@@ -109,7 +109,7 @@ TAO_ObjectKey_var::operator= (const TAO_ObjectKey_var &p) // deep copy
}
}
}
-
+
return *this;
}
@@ -125,20 +125,20 @@ TAO_ObjectKey_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
TAO_ObjectKey_var::operator const TAO_ObjectKey &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-TAO_ObjectKey_var::operator TAO_ObjectKey &() // cast
+ACE_INLINE
+TAO_ObjectKey_var::operator TAO_ObjectKey &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-TAO_ObjectKey_var::operator TAO_ObjectKey &() const// cast
+ACE_INLINE
+TAO_ObjectKey_var::operator TAO_ObjectKey &() const// cast
{
return *this->ptr_;
}
@@ -161,7 +161,7 @@ TAO_ObjectKey_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE TAO_ObjectKey *&
TAO_ObjectKey_var::out (void)
{
@@ -190,14 +190,14 @@ TAO_ObjectKey_var::ptr (void) const
ACE_INLINE
TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey *&p)
- : ptr_ (p)
+ : ptr_ (p)
{
this->ptr_ = 0;
}
ACE_INLINE
TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey_var &p) // constructor from _var
- : ptr_ (p.out ())
+ : ptr_ (p.out ())
{
delete this->ptr_;
this->ptr_ = 0;
@@ -205,7 +205,7 @@ TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey_var &p) // constructor from
ACE_INLINE
TAO_ObjectKey_out::TAO_ObjectKey_out (TAO_ObjectKey_out &p) // copy constructor
- : ptr_ (p.ptr_)
+ : ptr_ (p.ptr_)
{}
ACE_INLINE TAO_ObjectKey_out &
@@ -222,7 +222,7 @@ TAO_ObjectKey_out::operator= (TAO_ObjectKey *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
TAO_ObjectKey_out::operator TAO_ObjectKey *&() // cast
{
return this->ptr_;
diff --git a/TAO/tao/OctetSeqC.h b/TAO/tao/OctetSeqC.h
index 1faaeb8ee23..a663ebf99e1 100644
--- a/TAO/tao/OctetSeqC.h
+++ b/TAO/tao/OctetSeqC.h
@@ -59,25 +59,25 @@
class CORBA_OctetSeq;
class CORBA_OctetSeq_var;
-
+
// *************************************************************
// CORBA::OctetSeq
// *************************************************************
-
- class TAO_Export CORBA_OctetSeq : public
+
+ class TAO_Export CORBA_OctetSeq : public
#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 */
{
public:
CORBA_OctetSeq (void); // default ctor
CORBA_OctetSeq (CORBA::ULong max); // uses max size
CORBA_OctetSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
CORBA_OctetSeq (const CORBA_OctetSeq &); // copy ctor
@@ -98,7 +98,7 @@
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
};
-
+
#endif /* end #if !defined */
@@ -117,21 +117,21 @@
CORBA_OctetSeq_var (const CORBA_OctetSeq_var &); // copy constructor
CORBA_OctetSeq_var (const CORBA_OctetSeq &); // fixed-size base types only
~CORBA_OctetSeq_var (void); // destructor
-
+
CORBA_OctetSeq_var &operator= (CORBA_OctetSeq *);
CORBA_OctetSeq_var &operator= (const CORBA_OctetSeq_var &);
CORBA_OctetSeq_var &operator= (const CORBA_OctetSeq &); // fixed-size base types only
CORBA_OctetSeq *operator-> (void);
const CORBA_OctetSeq *operator-> (void) const;
-
+
operator const CORBA_OctetSeq &() const;
operator CORBA_OctetSeq &();
operator CORBA_OctetSeq &() const;
-
+
CORBA::Octet & operator[] (CORBA::ULong index);
const CORBA::Octet & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const CORBA_OctetSeq &in (void) const;
CORBA_OctetSeq &inout (void);
CORBA_OctetSeq *&out (void);
@@ -161,7 +161,7 @@
CORBA_OctetSeq *&ptr (void);
CORBA_OctetSeq *operator-> (void);
CORBA::Octet & operator[] (CORBA::ULong index);
-
+
private:
CORBA_OctetSeq *&ptr_;
// assignment from T_var not allowed
diff --git a/TAO/tao/OctetSeqC.i b/TAO/tao/OctetSeqC.i
index 01ffb2d3fba..710e83731ce 100644
--- a/TAO/tao/OctetSeqC.i
+++ b/TAO/tao/OctetSeqC.i
@@ -81,7 +81,7 @@ CORBA_OctetSeq_var::operator= (const ::CORBA_OctetSeq_var &p)
{
CORBA_OctetSeq *deep_copy =
new CORBA_OctetSeq (*p.ptr_);
-
+
if (deep_copy != 0)
{
CORBA_OctetSeq *tmp = deep_copy;
@@ -91,7 +91,7 @@ CORBA_OctetSeq_var::operator= (const ::CORBA_OctetSeq_var &p)
}
}
}
-
+
return *this;
}
@@ -119,20 +119,20 @@ CORBA_OctetSeq_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_OctetSeq_var::operator const ::CORBA_OctetSeq &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_OctetSeq_var::operator ::CORBA_OctetSeq &() // cast
+ACE_INLINE
+CORBA_OctetSeq_var::operator ::CORBA_OctetSeq &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_OctetSeq_var::operator ::CORBA_OctetSeq &() const // cast
+ACE_INLINE
+CORBA_OctetSeq_var::operator ::CORBA_OctetSeq &() const // cast
{
return *this->ptr_;
}
@@ -161,7 +161,7 @@ CORBA_OctetSeq_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::CORBA_OctetSeq *&
CORBA_OctetSeq_var::out (void)
{
@@ -222,7 +222,7 @@ CORBA_OctetSeq_out::operator= (CORBA_OctetSeq *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_OctetSeq_out::operator ::CORBA_OctetSeq *&() // cast
{
return this->ptr_;
diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp
index 2fe8a940a56..53c3cd7207b 100644
--- a/TAO/tao/PolicyC.cpp
+++ b/TAO/tao/PolicyC.cpp
@@ -38,7 +38,7 @@
#endif /* !defined INLINE */
// ****************************************************************
-
+
TAO_NAMESPACE_TYPE (const CORBA::PolicyErrorCode)
TAO_NAMESPACE_BEGIN (CORBA)
TAO_NAMESPACE_DEFINE (const CORBA::PolicyErrorCode, BAD_POLICY, 0)
@@ -123,7 +123,7 @@ void CORBA_PolicyError::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -136,7 +136,7 @@ void CORBA_PolicyError::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -160,43 +160,43 @@ static const CORBA::Long _oc_CORBA_PolicyError[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x4572726f),
- ACE_NTOHL (0x723a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x4572726f),
+ ACE_NTOHL (0x723a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA_PolicyError:1.0
18,
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x4572726f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x4572726f),
ACE_NTOHL (0x72000000), // name = CORBA_PolicyError
1, // member count
7,
- ACE_NTOHL (0x72656173),
+ ACE_NTOHL (0x72656173),
ACE_NTOHL (0x6f6e0000), // name = reason
CORBA::tk_alias, // typecode kind for typedefs
72, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x412f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x4572726f),
- ACE_NTOHL (0x72436f64),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x4572726f),
+ ACE_NTOHL (0x72436f64),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/PolicyErrorCode:1.0
16,
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63794572),
- ACE_NTOHL (0x726f7243),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63794572),
+ ACE_NTOHL (0x726f7243),
ACE_NTOHL (0x6f646500), // name = PolicyErrorCode
CORBA::tk_short,
@@ -223,7 +223,7 @@ CORBA::TypeCode_ptr CORBA_PolicyError::_type (void) const
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CS_
@@ -232,43 +232,43 @@ CORBA::TypeCode_ptr CORBA_PolicyError::_type (void) const
{
CORBA::UShort* tmp = 0;
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);
-
+
}
this->buffer_ = tmp;
}
-
+
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_);
-
+
_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.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CS_)
#define _CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CS_
@@ -280,30 +280,30 @@ CORBA::TypeCode_ptr CORBA_PolicyError::_type (void) const
CORBA_InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (void)
{}
CORBA_InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (CORBA::ULong max) // uses max size
- :
+ :
#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 */
+#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)
- :
+ :
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
CORBA_InvalidPolicies::_tao_seq_UShort::_tao_seq_UShort (const _tao_seq_UShort &seq) // copy ctor
- :
+ :
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
CORBA_InvalidPolicies::_tao_seq_UShort::~_tao_seq_UShort (void) // dtor
@@ -378,7 +378,7 @@ void CORBA_InvalidPolicies::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -391,7 +391,7 @@ void CORBA_InvalidPolicies::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -415,26 +415,26 @@ static const CORBA::Long _oc_CORBA_InvalidPolicies[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
38,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f496e),
- ACE_NTOHL (0x76616c69),
- ACE_NTOHL (0x64506f6c),
- ACE_NTOHL (0x69636965),
- ACE_NTOHL (0x733a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f496e),
+ ACE_NTOHL (0x76616c69),
+ ACE_NTOHL (0x64506f6c),
+ ACE_NTOHL (0x69636965),
+ ACE_NTOHL (0x733a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA_InvalidPolicies:1.0
22,
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f496e),
- ACE_NTOHL (0x76616c69),
- ACE_NTOHL (0x64506f6c),
- ACE_NTOHL (0x69636965),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f496e),
+ ACE_NTOHL (0x76616c69),
+ ACE_NTOHL (0x64506f6c),
+ ACE_NTOHL (0x69636965),
ACE_NTOHL (0x73000000), // name = CORBA_InvalidPolicies
1, // member count
8,
- ACE_NTOHL (0x696e6469),
+ ACE_NTOHL (0x696e6469),
ACE_NTOHL (0x63657300), // name = indices
CORBA::tk_sequence, // typecode kind
12, // encapsulation length
@@ -511,7 +511,7 @@ CORBA_Policy_var::operator const ::CORBA_Policy_ptr &() const // cast
return this->ptr_;
}
-CORBA_Policy_var::operator ::CORBA_Policy_ptr &() // cast
+CORBA_Policy_var::operator ::CORBA_Policy_ptr &() // cast
{
return this->ptr_;
}
@@ -652,24 +652,24 @@ public:
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -686,7 +686,7 @@ private:
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::TAO_ClientRequestInfo_CORBA_Policy_policy_type_get (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target)
{}
@@ -699,7 +699,7 @@ TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::arguments (CORBA::Environmen
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -711,12 +711,12 @@ TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::exceptions (CORBA::Environme
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -725,17 +725,17 @@ TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::Environment &
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
return safe_result_any._retn ();
}
-void
+void
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::PolicyType result)
{
- // update the result
+ // update the result
this->_result = result;
}
@@ -745,24 +745,24 @@ public:
TAO_ClientRequestInfo_CORBA_Policy_copy (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -779,7 +779,7 @@ private:
TAO_ClientRequestInfo_CORBA_Policy_copy::TAO_ClientRequestInfo_CORBA_Policy_copy (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target)
{}
@@ -792,7 +792,7 @@ TAO_ClientRequestInfo_CORBA_Policy_copy::arguments (CORBA::Environment &ACE_TRY_
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -804,12 +804,12 @@ TAO_ClientRequestInfo_CORBA_Policy_copy::exceptions (CORBA::Environment &ACE_TRY
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_CORBA_Policy_copy::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -818,17 +818,17 @@ TAO_ClientRequestInfo_CORBA_Policy_copy::result (CORBA::Environment &ACE_TRY_ENV
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
return safe_result_any._retn ();
}
-void
+void
TAO_ClientRequestInfo_CORBA_Policy_copy::result (CORBA_Policy_ptr result)
{
- // update the result
+ // update the result
this->_result = result;
}
@@ -838,24 +838,24 @@ public:
TAO_ClientRequestInfo_CORBA_Policy_destroy (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -864,13 +864,13 @@ 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,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target)
{}
@@ -883,7 +883,7 @@ TAO_ClientRequestInfo_CORBA_Policy_destroy::arguments (CORBA::Environment &ACE_T
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -895,12 +895,12 @@ TAO_ClientRequestInfo_CORBA_Policy_destroy::exceptions (CORBA::Environment &ACE_
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_CORBA_Policy_destroy::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -909,14 +909,14 @@ TAO_ClientRequestInfo_CORBA_Policy_destroy::result (CORBA::Environment &ACE_TRY_
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
#endif /* TAO_HAS_INTERCEPTORS */
///////////////////////////////////////////////////////////////////////
-// Base & Remote Proxy Implementation.
+// Base & Remote Proxy Implementation.
//
_TAO_CORBA_Policy_Proxy_Impl::_TAO_CORBA_Policy_Proxy_Impl (void)
@@ -935,15 +935,15 @@ CORBA::PolicyType _TAO_CORBA_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);
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"_get_policy_type",
@@ -956,13 +956,13 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_CORBA_Policy_policy_type_get ri (
&_tao_call,
@@ -970,17 +970,17 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
ACE_TRY_ENV
);
ACE_CHECK_RETURN (_tao_retval);
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -988,7 +988,7 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
)
);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
@@ -997,16 +997,16 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW_RETURN (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
_tao_retval
);
-
+
}
-
+
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
if (!(
(_tao_in >> _tao_retval)
@@ -1016,14 +1016,14 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
_tao_retval
);
-
+
}
-
+
TAO_INTERCEPTOR (
CORBA::PolicyType _tao_retval_info = _tao_retval;
ri.result (_tao_retval_info);
);
-
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -1040,10 +1040,10 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -1051,8 +1051,8 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -1071,7 +1071,7 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
}
ACE_ENDTRY;
ACE_CHECK_RETURN (_tao_retval);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -1079,7 +1079,7 @@ CORBA::PolicyType _TAO_CORBA_Policy_Remote_Proxy_Impl::policy_type (
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
return _tao_retval;
@@ -1093,16 +1093,16 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
CORBA::SystemException
))
{
-
+
CORBA_Policy_ptr _tao_retval = CORBA_Policy::_nil ();
CORBA_Policy_var _tao_safe_retval (_tao_retval);
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW_RETURN (CORBA::INTERNAL (), 0);
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"copy",
@@ -1115,13 +1115,13 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_CORBA_Policy_copy ri (
&_tao_call,
@@ -1129,17 +1129,17 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
ACE_TRY_ENV
);
ACE_CHECK_RETURN (0);
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -1147,7 +1147,7 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
)
);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
@@ -1156,16 +1156,16 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW_RETURN (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
0
);
-
+
}
-
+
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
if (!(
(_tao_in >> _tao_safe_retval.inout ())
@@ -1175,15 +1175,15 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
0
);
-
+
}
-
+
TAO_INTERCEPTOR (
CORBA_Policy_ptr _tao_retval_info = _tao_safe_retval._retn ();
ri.result (_tao_retval_info);
_tao_safe_retval = _tao_retval_info;
);
-
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -1200,10 +1200,10 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -1211,8 +1211,8 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -1231,7 +1231,7 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
}
ACE_ENDTRY;
ACE_CHECK_RETURN (0);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -1239,7 +1239,7 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Remote_Proxy_Impl::copy (
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
return _tao_safe_retval._retn ();
@@ -1253,15 +1253,15 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
CORBA::SystemException
))
{
-
-
-
+
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"destroy",
@@ -1274,13 +1274,13 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_CORBA_Policy_destroy ri (
&_tao_call,
@@ -1288,17 +1288,17 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -1306,7 +1306,7 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
@@ -1315,16 +1315,16 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -1341,10 +1341,10 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -1352,8 +1352,8 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -1372,7 +1372,7 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -1380,15 +1380,15 @@ void _TAO_CORBA_Policy_Remote_Proxy_Impl::destroy (
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
//
-// End Base & Remote Proxy Implemeentation.
+// End Base & Remote Proxy Implemeentation.
///////////////////////////////////////////////////////////////////////
@@ -1509,14 +1509,14 @@ CORBA_Policy_ptr CORBA_Policy::_unchecked_narrow (
stub,
1,
obj->_servant ()),
-
+
CORBA_Policy::_nil ());
}
if (CORBA::is_nil (default_proxy))
ACE_NEW_RETURN (default_proxy, ::CORBA_Policy (stub, 0, obj->_servant ()), CORBA_Policy::_nil ());
return default_proxy;
}
- else
+ else
return
ACE_reinterpret_cast
(
@@ -1560,7 +1560,7 @@ void *CORBA_Policy::_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;
@@ -1590,10 +1590,10 @@ CORBA::PolicyType CORBA_Policy::policy_type (
CORBA::SystemException
))
{
- _TAO_CORBA_Policy_Proxy_Impl &proxy =
+ _TAO_CORBA_Policy_Proxy_Impl &proxy =
this->the_TAO_CORBA_Policy_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return proxy.policy_type (
this,
ACE_TRY_ENV
@@ -1607,10 +1607,10 @@ CORBA_Policy_ptr CORBA_Policy::copy (
CORBA::SystemException
))
{
- _TAO_CORBA_Policy_Proxy_Impl &proxy =
+ _TAO_CORBA_Policy_Proxy_Impl &proxy =
this->the_TAO_CORBA_Policy_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return proxy.copy (
this,
ACE_TRY_ENV
@@ -1624,10 +1624,10 @@ void CORBA_Policy::destroy (
CORBA::SystemException
))
{
- _TAO_CORBA_Policy_Proxy_Impl &proxy =
+ _TAO_CORBA_Policy_Proxy_Impl &proxy =
this->the_TAO_CORBA_Policy_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.destroy (
this,
ACE_TRY_ENV
@@ -1638,18 +1638,18 @@ static const CORBA::Long _oc_CORBA_Policy[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
29,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA_Policy:1.0
13,
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
ACE_NTOHL (0x0), // name = CORBA_Policy
};
@@ -1666,7 +1666,7 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CS_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CS_
@@ -1676,7 +1676,7 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
{
CORBA_Policy **tmp = 0;
tmp = _TAO_Unbounded_Object_Sequence_CORBA_PolicyList::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
CORBA_Policy **old = ACE_reinterpret_cast (CORBA_Policy**, this->buffer_);
@@ -1691,7 +1691,7 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
tmp[i] = old[i];
}
}
-
+
if (this->release_)
{
delete[] old;
@@ -1699,7 +1699,7 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
}
this->buffer_ = tmp;
}
-
+
void
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::_deallocate_buffer (void)
{
@@ -1716,17 +1716,17 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::freebuf (tmp);
this->buffer_ = 0;
}
-
+
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::~_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (void)
{
this->_deallocate_buffer ();
}
-
+
void
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::_shrink_buffer (CORBA::ULong nl, CORBA::ULong ol)
{
CORBA_Policy **tmp = ACE_reinterpret_cast (CORBA_Policy**, this->buffer_);
-
+
for (CORBA::ULong i = nl; i < ol; ++i)
{
CORBA::release (tmp[i]);
@@ -1734,7 +1734,7 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
}
}
- void
+ void
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::_downcast (
void* target,
CORBA_Object *src,
@@ -1752,11 +1752,11 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
CORBA_Policy **tmp = ACE_static_cast (CORBA_Policy**, src);
return *tmp;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_POLICYLIST_CS_)
#define _CORBA_POLICYLIST_CS_
@@ -1768,30 +1768,30 @@ CORBA::TypeCode_ptr _tc_CORBA_Policy =
CORBA_PolicyList::CORBA_PolicyList (void)
{}
CORBA_PolicyList::CORBA_PolicyList (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<CORBA_Policy,CORBA_Policy_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
CORBA_PolicyList::CORBA_PolicyList (CORBA::ULong max, CORBA::ULong length, CORBA_Policy_ptr *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<CORBA_Policy,CORBA_Policy_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
CORBA_PolicyList::CORBA_PolicyList (const CORBA_PolicyList &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<CORBA_Policy,CORBA_Policy_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
CORBA_PolicyList::~CORBA_PolicyList (void) // dtor
@@ -1809,20 +1809,20 @@ static const CORBA::Long _oc_CORBA_PolicyList[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA_PolicyList:1.0
17,
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x4c697374),
ACE_NTOHL (0x0), // name = CORBA_PolicyList
CORBA::tk_sequence, // typecode kind
76, // encapsulation length
@@ -1831,18 +1831,18 @@ static const CORBA::Long _oc_CORBA_PolicyList[] =
60, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
29,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA_Policy:1.0
13,
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
ACE_NTOHL (0x0), // name = CORBA_Policy
0U,
@@ -1862,7 +1862,7 @@ CORBA::TypeCode_ptr _tc_CORBA_PolicyList =
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CS_
@@ -1871,43 +1871,43 @@ CORBA::TypeCode_ptr _tc_CORBA_PolicyList =
{
CORBA::ULong* tmp = 0;
tmp = _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
CORBA::ULong *old = ACE_reinterpret_cast (CORBA::ULong *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
CORBA::ULong *tmp = ACE_reinterpret_cast (CORBA::ULong *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::~_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_POLICYTYPESEQ_CS_)
#define _CORBA_POLICYTYPESEQ_CS_
@@ -1919,30 +1919,30 @@ CORBA::TypeCode_ptr _tc_CORBA_PolicyList =
CORBA_PolicyTypeSeq::CORBA_PolicyTypeSeq (void)
{}
CORBA_PolicyTypeSeq::CORBA_PolicyTypeSeq (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
CORBA_PolicyTypeSeq::CORBA_PolicyTypeSeq (CORBA::ULong max, CORBA::ULong length, CORBA::ULong *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
CORBA_PolicyTypeSeq::CORBA_PolicyTypeSeq (const CORBA_PolicyTypeSeq &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
CORBA_PolicyTypeSeq::~CORBA_PolicyTypeSeq (void) // dtor
@@ -1960,20 +1960,20 @@ static const CORBA::Long _oc_CORBA_PolicyTypeSeq[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x54797065),
- ACE_NTOHL (0x5365713a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x5365713a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CORBA_PolicyTypeSeq:1.0
20,
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x415f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x415f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x54797065),
ACE_NTOHL (0x53657100), // name = CORBA_PolicyTypeSeq
CORBA::tk_sequence, // typecode kind
80, // encapsulation length
@@ -1982,18 +1982,18 @@ static const CORBA::Long _oc_CORBA_PolicyTypeSeq[] =
64, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x434f5242),
- ACE_NTOHL (0x412f506f),
- ACE_NTOHL (0x6c696379),
- ACE_NTOHL (0x54797065),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f506f),
+ ACE_NTOHL (0x6c696379),
+ ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/PolicyType:1.0
11,
- ACE_NTOHL (0x506f6c69),
- ACE_NTOHL (0x63795479),
+ ACE_NTOHL (0x506f6c69),
+ ACE_NTOHL (0x63795479),
ACE_NTOHL (0x70650000), // name = PolicyType
CORBA::tk_ulong,
@@ -2061,7 +2061,7 @@ CORBA_PolicyManager_var::operator const ::CORBA_PolicyManager_ptr &() const // c
return this->ptr_;
}
-CORBA_PolicyManager_var::operator ::CORBA_PolicyManager_ptr &() // cast
+CORBA_PolicyManager_var::operator ::CORBA_PolicyManager_ptr &() // cast
{
return this->ptr_;
}
@@ -2252,7 +2252,7 @@ void *CORBA_PolicyManager::_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;
@@ -2312,7 +2312,7 @@ CORBA_PolicyCurrent_var::operator const ::CORBA_PolicyCurrent_ptr &() const // c
return this->ptr_;
}
-CORBA_PolicyCurrent_var::operator ::CORBA_PolicyCurrent_ptr &() // cast
+CORBA_PolicyCurrent_var::operator ::CORBA_PolicyCurrent_ptr &() // cast
{
return this->ptr_;
}
@@ -2527,7 +2527,7 @@ void *CORBA_PolicyCurrent::_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;
@@ -2554,13 +2554,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA::SetOverrideType &
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (CORBA::_tc_SetOverrideType, 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 ()
@@ -2617,13 +2617,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const CORBA_PolicyError
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (_tc_CORBA_PolicyError, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = (CORBA_PolicyError *)_tao_any.value ();
@@ -2707,13 +2707,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const CORBA_InvalidPolic
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (_tc_CORBA_InvalidPolicies, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = (CORBA_InvalidPolicies *)_tao_any.value ();
@@ -2764,7 +2764,7 @@ void operator<<= (CORBA::Any &_tao_any, CORBA_Policy_ptr _tao_elem)
if (stream << _tao_elem)
{
_tao_any._tao_replace (
- _tc_CORBA_Policy,
+ _tc_CORBA_Policy,
TAO_ENCAP_BYTE_ORDER,
stream.begin (),
1,
@@ -2780,13 +2780,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_Policy_ptr &_tao_e
{
_tao_elem = CORBA_Policy::_nil ();
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (_tc_CORBA_Policy, 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 ()
@@ -2863,13 +2863,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const CORBA_PolicyList *
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (_tc_CORBA_PolicyList, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -2954,13 +2954,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const CORBA_PolicyTypeSe
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (_tc_CORBA_PolicyTypeSeq, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -3043,7 +3043,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;
// retrieve all the elements
return strm.read_ushort_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
@@ -3118,7 +3118,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
@@ -3155,7 +3155,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;
// retrieve all the elements
return strm.read_ulong_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h
index f3e07b3349b..6fb9c8a15cf 100644
--- a/TAO/tao/PolicyC.h
+++ b/TAO/tao/PolicyC.h
@@ -70,35 +70,35 @@ public:
CORBA_PolicyError (void);
// Default constructor.
-
+
CORBA_PolicyError (const CORBA_PolicyError &);
// Copy constructor.
-
+
~CORBA_PolicyError (void);
// Destructor.
-
+
static void _tao_any_destructor (void*);
-
+
CORBA_PolicyError &operator= (const CORBA_PolicyError &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static CORBA_PolicyError *_downcast (CORBA::Exception *);
CORBA_PolicyError (
CORBA::PolicyErrorCode _tao_reason
);
-
+
// = TAO extension.
static CORBA::Exception *_alloc (void);
virtual CORBA::TypeCode_ptr _type (void) const;
@@ -118,7 +118,7 @@ class TAO_Export CORBA_InvalidPolicies : public CORBA::UserException
public:
#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_
@@ -126,9 +126,9 @@ public:
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (void); // Default constructor.
- _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort (CORBA::ULong maximum,
CORBA::ULong length,
CORBA::UShort *data,
@@ -145,7 +145,7 @@ public:
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
CORBA::UShort *get_buffer (CORBA::Boolean orphan = 0);
const CORBA::UShort *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -157,32 +157,32 @@ public:
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CH_)
#define _CORBA_INVALIDPOLICIES__TAO_SEQ_USHORT_CH_
class _tao_seq_UShort;
class _tao_seq_UShort_var;
-
+
// *************************************************************
// _tao_seq_UShort
// *************************************************************
-
- class TAO_Export _tao_seq_UShort : public
+
+ class TAO_Export _tao_seq_UShort : public
#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 */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
_tao_seq_UShort (void); // default ctor
_tao_seq_UShort (CORBA::ULong max); // uses max size
_tao_seq_UShort (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::UShort *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::UShort *buffer,
CORBA::Boolean release = 0
);
_tao_seq_UShort (const _tao_seq_UShort &); // copy ctor
@@ -194,7 +194,7 @@ public:
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -205,35 +205,35 @@ public:
CORBA_InvalidPolicies (void);
// Default constructor.
-
+
CORBA_InvalidPolicies (const CORBA_InvalidPolicies &);
// Copy constructor.
-
+
~CORBA_InvalidPolicies (void);
// Destructor.
-
+
static void _tao_any_destructor (void*);
-
+
CORBA_InvalidPolicies &operator= (const CORBA_InvalidPolicies &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static CORBA_InvalidPolicies *_downcast (CORBA::Exception *);
CORBA_InvalidPolicies (
const _tao_seq_UShort & _tao_indices
);
-
+
// = TAO extension.
static CORBA::Exception *_alloc (void);
virtual CORBA::TypeCode_ptr _type (void) const;
@@ -261,17 +261,17 @@ class TAO_Export CORBA_Policy_var : public TAO_Base_var
{
public:
CORBA_Policy_var (void); // default constructor
- CORBA_Policy_var (CORBA_Policy_ptr p) : ptr_ (p) {}
+ CORBA_Policy_var (CORBA_Policy_ptr p) : ptr_ (p) {}
CORBA_Policy_var (const CORBA_Policy_var &); // copy constructor
~CORBA_Policy_var (void); // destructor
-
+
CORBA_Policy_var &operator= (CORBA_Policy_ptr);
CORBA_Policy_var &operator= (const CORBA_Policy_var &);
CORBA_Policy_ptr operator-> (void) const;
-
+
operator const CORBA_Policy_ptr &() const;
operator CORBA_Policy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
CORBA_Policy_ptr in (void) const;
CORBA_Policy_ptr &inout (void);
CORBA_Policy_ptr &out (void);
@@ -312,7 +312,7 @@ public:
operator CORBA_Policy_ptr &();
CORBA_Policy_ptr &ptr (void);
CORBA_Policy_ptr operator-> (void);
-
+
private:
CORBA_Policy_ptr &ptr_;
};
@@ -343,12 +343,12 @@ public:
static CORBA_Policy_ptr _duplicate (CORBA_Policy_ptr obj);
static CORBA_Policy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CORBA_Policy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CORBA_Policy_ptr _nil (void)
@@ -359,7 +359,7 @@ public:
static void _tao_any_destructor (void*);
virtual CORBA::PolicyType policy_type (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -367,7 +367,7 @@ public:
));
virtual CORBA_Policy_ptr copy (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -375,7 +375,7 @@ public:
));
virtual void destroy (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -383,12 +383,12 @@ public:
));
virtual CORBA::Boolean _is_a (
- const CORBA::Char *type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ const CORBA::Char *type_id,
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &);
@@ -396,25 +396,25 @@ public:
private:
_TAO_CORBA_Policy_Proxy_Broker *the_TAO_CORBA_Policy_Proxy_Broker_;
-
+
protected:
CORBA_Policy (int collocated = 0);
-
+
protected:
// This methods travese the inheritance tree and set the
// parents piece of the given class in the right mode
virtual void CORBA_Policy_setup_collocation (int collocated);
-
+
CORBA_Policy (
- TAO_Stub *objref,
+ TAO_Stub *objref,
CORBA::Boolean _tao_collocated = 0,
TAO_Abstract_ServantBase *servant = 0
);
-
+
friend class _TAO_CORBA_Policy_Remote_Proxy_Impl;
friend class _TAO_CORBA_Policy_ThruPOA_Proxy_Impl;
friend class _TAO_CORBA_Policy_Direct_Proxy_Impl;
-
+
virtual ~CORBA_Policy (void);
private:
CORBA_Policy (const CORBA_Policy &);
@@ -435,7 +435,7 @@ class TAO_Export _TAO_CORBA_Policy_Proxy_Impl : public virtual TAO_Object_Proxy_
{
public:
virtual ~_TAO_CORBA_Policy_Proxy_Impl (void) { }
-
+
virtual CORBA::PolicyType policy_type (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
@@ -473,15 +473,15 @@ protected:
// Remote Impl. Declaration
//
-class TAO_Export _TAO_CORBA_Policy_Remote_Proxy_Impl :
+class TAO_Export _TAO_CORBA_Policy_Remote_Proxy_Impl :
public virtual _TAO_CORBA_Policy_Proxy_Impl,
public virtual TAO_Remote_Object_Proxy_Impl
{
public:
_TAO_CORBA_Policy_Remote_Proxy_Impl (void);
-
+
virtual ~_TAO_CORBA_Policy_Remote_Proxy_Impl (void) { }
-
+
virtual CORBA::PolicyType policy_type (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
@@ -514,14 +514,14 @@ public:
// The Proxy Brokers are used by each interface to get
-// the right proxy for performing a call. In the new
+// the right proxy for performing a call. In the new
// collocation scheme, the proxy to be used can vary on
-// a call by call basis.
+// a call by call basis.
///////////////////////////////////////////////////////////////////////
-// Base Proxy Broker Declaration
+// Base Proxy Broker Declaration
//
class TAO_Export _TAO_CORBA_Policy_Proxy_Broker
@@ -535,25 +535,25 @@ public:
protected:
_TAO_CORBA_Policy_Proxy_Broker (void);
-
+
};
//
-// End Base Proxy Broker Declaration
+// End Base Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
-// Remote Proxy Broker Declaration
+// Remote Proxy Broker Declaration
//
class TAO_Export _TAO_CORBA_Policy_Remote_Proxy_Broker : public virtual _TAO_CORBA_Policy_Proxy_Broker
{
-public:
+public:
_TAO_CORBA_Policy_Remote_Proxy_Broker (void);
-
+
virtual ~_TAO_CORBA_Policy_Remote_Proxy_Broker (void);
-
+
virtual _TAO_CORBA_Policy_Proxy_Impl &select_proxy (
CORBA_Policy *object,
CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
@@ -571,7 +571,7 @@ public:
//
-// End Remote Proxy Broker Declaration
+// End Remote Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
@@ -581,7 +581,7 @@ extern TAO_Export CORBA::TypeCode_ptr _tc_CORBA_Policy;
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CH_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CH_
@@ -589,7 +589,7 @@ extern TAO_Export CORBA::TypeCode_ptr _tc_CORBA_Policy;
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (void);
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (CORBA::ULong maximum);
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (CORBA::ULong maximum,
@@ -611,17 +611,17 @@ extern TAO_Export CORBA::TypeCode_ptr _tc_CORBA_Policy;
virtual void _downcast (
void* target,
CORBA_Object *src,
- CORBA_Environment &ACE_TRY_ENV =
+ CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual CORBA_Object* _upcast (void *src) const;
-
+
};
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_POLICYLIST_CH_)
#define _CORBA_POLICYLIST_CH_
@@ -633,20 +633,20 @@ class CORBA_PolicyList_var;
// CORBA_PolicyList
// *************************************************************
-class TAO_Export CORBA_PolicyList : public
+class TAO_Export CORBA_PolicyList : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<CORBA_Policy,CORBA_Policy_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
CORBA_PolicyList (void); // default ctor
CORBA_PolicyList (CORBA::ULong max); // uses max size
CORBA_PolicyList (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA_Policy_ptr *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA_Policy_ptr *buffer,
CORBA::Boolean release = 0
);
CORBA_PolicyList (const CORBA_PolicyList &); // copy ctor
@@ -676,20 +676,20 @@ public:
CORBA_PolicyList_var (CORBA_PolicyList *);
CORBA_PolicyList_var (const CORBA_PolicyList_var &); // copy constructor
~CORBA_PolicyList_var (void); // destructor
-
+
CORBA_PolicyList_var &operator= (CORBA_PolicyList *);
CORBA_PolicyList_var &operator= (const CORBA_PolicyList_var &);
CORBA_PolicyList *operator-> (void);
const CORBA_PolicyList *operator-> (void) const;
-
+
operator const CORBA_PolicyList &() const;
operator CORBA_PolicyList &();
operator CORBA_PolicyList &() const;
operator CORBA_PolicyList *&(); // variable-size base types only
-
+
TAO_Object_Manager<CORBA_Policy, CORBA_Policy_var> operator[] (CORBA::ULong index);
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const CORBA_PolicyList &in (void) const;
CORBA_PolicyList &inout (void);
CORBA_PolicyList *&out (void);
@@ -719,7 +719,7 @@ public:
CORBA_PolicyList *&ptr (void);
CORBA_PolicyList *operator-> (void);
TAO_Object_Manager<CORBA_Policy, CORBA_Policy_var> operator[] (CORBA::ULong index);
-
+
private:
CORBA_PolicyList *&ptr_;
// assignment from T_var not allowed
@@ -733,7 +733,7 @@ extern TAO_Export CORBA::TypeCode_ptr _tc_CORBA_PolicyList;
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CH_
@@ -741,9 +741,9 @@ extern TAO_Export CORBA::TypeCode_ptr _tc_CORBA_PolicyList;
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (void); // Default constructor.
- _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (CORBA::ULong maximum,
CORBA::ULong length,
CORBA::ULong *data,
@@ -760,7 +760,7 @@ extern TAO_Export CORBA::TypeCode_ptr _tc_CORBA_PolicyList;
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
CORBA::ULong *get_buffer (CORBA::Boolean orphan = 0);
const CORBA::ULong *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -772,7 +772,7 @@ extern TAO_Export CORBA::TypeCode_ptr _tc_CORBA_PolicyList;
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_POLICYTYPESEQ_CH_)
#define _CORBA_POLICYTYPESEQ_CH_
@@ -784,20 +784,20 @@ class CORBA_PolicyTypeSeq_var;
// CORBA_PolicyTypeSeq
// *************************************************************
-class TAO_Export CORBA_PolicyTypeSeq : public
+class TAO_Export CORBA_PolicyTypeSeq : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<CORBA::ULong>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
CORBA_PolicyTypeSeq (void); // default ctor
CORBA_PolicyTypeSeq (CORBA::ULong max); // uses max size
CORBA_PolicyTypeSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::ULong *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::ULong *buffer,
CORBA::Boolean release = 0
);
CORBA_PolicyTypeSeq (const CORBA_PolicyTypeSeq &); // copy ctor
@@ -828,21 +828,21 @@ public:
CORBA_PolicyTypeSeq_var (const CORBA_PolicyTypeSeq_var &); // copy constructor
CORBA_PolicyTypeSeq_var (const CORBA_PolicyTypeSeq &); // fixed-size base types only
~CORBA_PolicyTypeSeq_var (void); // destructor
-
+
CORBA_PolicyTypeSeq_var &operator= (CORBA_PolicyTypeSeq *);
CORBA_PolicyTypeSeq_var &operator= (const CORBA_PolicyTypeSeq_var &);
CORBA_PolicyTypeSeq_var &operator= (const CORBA_PolicyTypeSeq &); // fixed-size base types only
CORBA_PolicyTypeSeq *operator-> (void);
const CORBA_PolicyTypeSeq *operator-> (void) const;
-
+
operator const CORBA_PolicyTypeSeq &() const;
operator CORBA_PolicyTypeSeq &();
operator CORBA_PolicyTypeSeq &() const;
-
+
CORBA::PolicyType & operator[] (CORBA::ULong index);
const CORBA::PolicyType & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const CORBA_PolicyTypeSeq &in (void) const;
CORBA_PolicyTypeSeq &inout (void);
CORBA_PolicyTypeSeq *&out (void);
@@ -872,7 +872,7 @@ public:
CORBA_PolicyTypeSeq *&ptr (void);
CORBA_PolicyTypeSeq *operator-> (void);
CORBA::PolicyType & operator[] (CORBA::ULong index);
-
+
private:
CORBA_PolicyTypeSeq *&ptr_;
// assignment from T_var not allowed
@@ -901,17 +901,17 @@ class TAO_Export CORBA_PolicyManager_var : public TAO_Base_var
{
public:
CORBA_PolicyManager_var (void); // default constructor
- CORBA_PolicyManager_var (CORBA_PolicyManager_ptr p) : ptr_ (p) {}
+ CORBA_PolicyManager_var (CORBA_PolicyManager_ptr p) : ptr_ (p) {}
CORBA_PolicyManager_var (const CORBA_PolicyManager_var &); // copy constructor
~CORBA_PolicyManager_var (void); // destructor
-
+
CORBA_PolicyManager_var &operator= (CORBA_PolicyManager_ptr);
CORBA_PolicyManager_var &operator= (const CORBA_PolicyManager_var &);
CORBA_PolicyManager_ptr operator-> (void) const;
-
+
operator const CORBA_PolicyManager_ptr &() const;
operator CORBA_PolicyManager_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
CORBA_PolicyManager_ptr in (void) const;
CORBA_PolicyManager_ptr &inout (void);
CORBA_PolicyManager_ptr &out (void);
@@ -952,7 +952,7 @@ public:
operator CORBA_PolicyManager_ptr &();
CORBA_PolicyManager_ptr &ptr (void);
CORBA_PolicyManager_ptr operator-> (void);
-
+
private:
CORBA_PolicyManager_ptr &ptr_;
};
@@ -976,12 +976,12 @@ public:
static CORBA_PolicyManager_ptr _duplicate (CORBA_PolicyManager_ptr obj);
static CORBA_PolicyManager_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CORBA_PolicyManager_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CORBA_PolicyManager_ptr _nil (void)
@@ -991,7 +991,7 @@ public:
virtual CORBA_PolicyList * get_policy_overrides (
const CORBA_PolicyTypeSeq & ts,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1001,7 +1001,7 @@ public:
virtual void set_policy_overrides (
const CORBA_PolicyList & policies,
CORBA::SetOverrideType set_add,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1010,12 +1010,12 @@ public:
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
CORBA_PolicyManager ();
-
+
virtual ~CORBA_PolicyManager (void);
private:
CORBA_PolicyManager (const CORBA_PolicyManager &);
@@ -1042,17 +1042,17 @@ class TAO_Export CORBA_PolicyCurrent_var : public TAO_Base_var
{
public:
CORBA_PolicyCurrent_var (void); // default constructor
- CORBA_PolicyCurrent_var (CORBA_PolicyCurrent_ptr p) : ptr_ (p) {}
+ CORBA_PolicyCurrent_var (CORBA_PolicyCurrent_ptr p) : ptr_ (p) {}
CORBA_PolicyCurrent_var (const CORBA_PolicyCurrent_var &); // copy constructor
~CORBA_PolicyCurrent_var (void); // destructor
-
+
CORBA_PolicyCurrent_var &operator= (CORBA_PolicyCurrent_ptr);
CORBA_PolicyCurrent_var &operator= (const CORBA_PolicyCurrent_var &);
CORBA_PolicyCurrent_ptr operator-> (void) const;
-
+
operator const CORBA_PolicyCurrent_ptr &() const;
operator CORBA_PolicyCurrent_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
CORBA_PolicyCurrent_ptr in (void) const;
CORBA_PolicyCurrent_ptr &inout (void);
CORBA_PolicyCurrent_ptr &out (void);
@@ -1093,7 +1093,7 @@ public:
operator CORBA_PolicyCurrent_ptr &();
CORBA_PolicyCurrent_ptr &ptr (void);
CORBA_PolicyCurrent_ptr operator-> (void);
-
+
private:
CORBA_PolicyCurrent_ptr &ptr_;
};
@@ -1117,12 +1117,12 @@ public:
static CORBA_PolicyCurrent_ptr _duplicate (CORBA_PolicyCurrent_ptr obj);
static CORBA_PolicyCurrent_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CORBA_PolicyCurrent_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static CORBA_PolicyCurrent_ptr _nil (void)
@@ -1131,12 +1131,12 @@ public:
}
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
CORBA_PolicyCurrent ();
-
+
virtual ~CORBA_PolicyCurrent (void);
private:
CORBA_PolicyCurrent (const CORBA_PolicyCurrent &);
@@ -1178,7 +1178,7 @@ TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA_PolicyTyp
#ifndef __ACE_INLINE__
-TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::SetOverrideType &); //
+TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::SetOverrideType &); //
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::SetOverrideType &);
TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA_PolicyError &);
TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA_PolicyError &);
diff --git a/TAO/tao/PolicyC.i b/TAO/tao/PolicyC.i
index bbd5df5f2bd..f0bca7d0138 100644
--- a/TAO/tao/PolicyC.i
+++ b/TAO/tao/PolicyC.i
@@ -29,7 +29,7 @@
#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_
@@ -42,24 +42,24 @@
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.
{
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.
{
}
-
+
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.
: 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,
@@ -68,7 +68,7 @@
: 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.
@@ -78,10 +78,10 @@
{
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
@@ -89,14 +89,14 @@
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.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -109,18 +109,18 @@
}
else
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_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE CORBA::UShort &
CORBA_InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::operator[] (CORBA::ULong i)
@@ -130,7 +130,7 @@
CORBA::UShort* tmp = ACE_reinterpret_cast(CORBA::UShort*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const CORBA::UShort &
CORBA_InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::operator[] (CORBA::ULong i) const
// operator []
@@ -139,9 +139,9 @@
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 *
CORBA_InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::get_buffer (CORBA::Boolean orphan)
{
@@ -175,13 +175,13 @@
}
return result;
}
-
+
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_);
}
-
+
ACE_INLINE void
CORBA_InvalidPolicies::_TAO_Unbounded_Sequence_CORBA_InvalidPolicies__tao_seq_UShort::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -198,11 +198,11 @@
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_POLICY___CI_)
#define _CORBA_POLICY___CI_
@@ -266,7 +266,7 @@ CORBA_Policy::CORBA_Policy (
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CI_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_CORBA_POLICYLIST_CI_
@@ -274,36 +274,36 @@ CORBA_Policy::CORBA_Policy (
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::allocbuf (CORBA::ULong nelems)
{
CORBA_Policy **buf = 0;
-
+
ACE_NEW_RETURN (buf, CORBA_Policy*[nelems], 0);
-
+
for (CORBA::ULong i = 0; i < nelems; i++)
{
buf[i] = CORBA_Policy::_nil ();
}
-
+
return buf;
}
-
- ACE_INLINE void
+
+ ACE_INLINE void
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::freebuf (CORBA_Policy **buffer)
{
if (buffer == 0)
return;
delete[] buffer;
}
-
+
ACE_INLINE
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (void)
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (CORBA::ULong maximum)
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Object_Sequence_CORBA_PolicyList::allocbuf (maximum))
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::_TAO_Unbounded_Object_Sequence_CORBA_PolicyList (CORBA::ULong maximum,
CORBA::ULong length,
@@ -312,7 +312,7 @@ CORBA_Policy::CORBA_Policy (
: TAO_Unbounded_Base_Sequence (maximum, length, value, release)
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::_TAO_Unbounded_Object_Sequence_CORBA_PolicyList(const _TAO_Unbounded_Object_Sequence_CORBA_PolicyList &rhs)
: TAO_Unbounded_Base_Sequence (rhs)
@@ -321,12 +321,12 @@ CORBA_Policy::CORBA_Policy (
{
CORBA_Policy **tmp1 = _TAO_Unbounded_Object_Sequence_CORBA_PolicyList::allocbuf (this->maximum_);
CORBA_Policy ** const tmp2 = ACE_reinterpret_cast (CORBA_Policy ** ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < rhs.length_; ++i)
{
tmp1[i] = CORBA_Policy::_duplicate (tmp2[i]);
}
-
+
this->buffer_ = tmp1;
}
else
@@ -334,17 +334,17 @@ CORBA_Policy::CORBA_Policy (
this->buffer_ = 0;
}
}
-
+
ACE_INLINE _TAO_Unbounded_Object_Sequence_CORBA_PolicyList &
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::operator= (const _TAO_Unbounded_Object_Sequence_CORBA_PolicyList &rhs)
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
CORBA_Policy **tmp = ACE_reinterpret_cast (CORBA_Policy **, this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
{
CORBA::release (tmp[i]);
@@ -358,20 +358,20 @@ CORBA_Policy::CORBA_Policy (
}
else
this->buffer_ = _TAO_Unbounded_Object_Sequence_CORBA_PolicyList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
CORBA_Policy **tmp1 = ACE_reinterpret_cast (CORBA_Policy **, this->buffer_);
CORBA_Policy ** const tmp2 = ACE_reinterpret_cast (CORBA_Policy ** ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < rhs.length_; ++i)
{
tmp1[i] = CORBA_Policy::_duplicate (tmp2[i]);
}
-
+
return *this;
}
-
+
ACE_INLINE TAO_Object_Manager<CORBA_Policy,CORBA_Policy_var>
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::operator[] (CORBA::ULong index) const
// read-write accessor
@@ -380,7 +380,7 @@ CORBA_Policy::CORBA_Policy (
CORBA_Policy ** const tmp = ACE_reinterpret_cast (CORBA_Policy ** ACE_CAST_CONST, this->buffer_);
return TAO_Object_Manager<CORBA_Policy,CORBA_Policy_var> (tmp + index, this->release_);
}
-
+
ACE_INLINE CORBA_Policy* *
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::get_buffer (CORBA::Boolean orphan)
{
@@ -414,18 +414,18 @@ CORBA_Policy::CORBA_Policy (
}
return result;
}
-
+
ACE_INLINE const CORBA_Policy* *
_TAO_Unbounded_Object_Sequence_CORBA_PolicyList::get_buffer (void) const
{
return ACE_reinterpret_cast(const CORBA_Policy ** ACE_CAST_CONST, this->buffer_);
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_POLICYLIST_CI_)
#define _CORBA_POLICYLIST_CI_
@@ -481,7 +481,7 @@ CORBA_PolicyList_var::operator= (const ::CORBA_PolicyList_var &p)
{
CORBA_PolicyList *deep_copy =
new CORBA_PolicyList (*p.ptr_);
-
+
if (deep_copy != 0)
{
CORBA_PolicyList *tmp = deep_copy;
@@ -491,7 +491,7 @@ CORBA_PolicyList_var::operator= (const ::CORBA_PolicyList_var &p)
}
}
}
-
+
return *this;
}
@@ -507,27 +507,27 @@ CORBA_PolicyList_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_PolicyList_var::operator const ::CORBA_PolicyList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_PolicyList_var::operator ::CORBA_PolicyList &() // cast
+ACE_INLINE
+CORBA_PolicyList_var::operator ::CORBA_PolicyList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_PolicyList_var::operator ::CORBA_PolicyList &() const // cast
+ACE_INLINE
+CORBA_PolicyList_var::operator ::CORBA_PolicyList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-CORBA_PolicyList_var::operator ::CORBA_PolicyList *&() // cast
+CORBA_PolicyList_var::operator ::CORBA_PolicyList *&() // cast
{
return this->ptr_;
}
@@ -550,7 +550,7 @@ CORBA_PolicyList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::CORBA_PolicyList *&
CORBA_PolicyList_var::out (void)
{
@@ -611,7 +611,7 @@ CORBA_PolicyList_out::operator= (CORBA_PolicyList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_PolicyList_out::operator ::CORBA_PolicyList *&() // cast
{
return this->ptr_;
@@ -640,7 +640,7 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_POLICYTYPESEQ_CI_
@@ -653,24 +653,24 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
ACE_NEW_RETURN (retval, CORBA::ULong[size], 0);
return retval;
}
-
+
ACE_INLINE void _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::freebuf (CORBA::ULong *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (void) // Default constructor.
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::allocbuf (maximum))
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (CORBA::ULong maximum,
CORBA::ULong length,
@@ -679,7 +679,7 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq (const _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq &rhs)
// Copy constructor.
@@ -689,10 +689,10 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
{
CORBA::ULong *tmp1 = _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::allocbuf (this->maximum_);
CORBA::ULong * const tmp2 = ACE_reinterpret_cast (CORBA::ULong * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
else
@@ -700,14 +700,14 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
this->buffer_ = 0;
}
}
-
+
ACE_INLINE _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq &
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::operator= (const _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -720,18 +720,18 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
CORBA::ULong *tmp1 = ACE_reinterpret_cast (CORBA::ULong *, this->buffer_);
CORBA::ULong * const tmp2 = ACE_reinterpret_cast (CORBA::ULong * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE CORBA::ULong &
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::operator[] (CORBA::ULong i)
@@ -741,7 +741,7 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
CORBA::ULong* tmp = ACE_reinterpret_cast(CORBA::ULong*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const CORBA::ULong &
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::operator[] (CORBA::ULong i) const
// operator []
@@ -750,9 +750,9 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
CORBA::ULong * const tmp = ACE_reinterpret_cast (CORBA::ULong* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE CORBA::ULong *
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::get_buffer (CORBA::Boolean orphan)
{
@@ -786,13 +786,13 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
}
return result;
}
-
+
ACE_INLINE const CORBA::ULong *
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::get_buffer (void) const
{
return ACE_reinterpret_cast(const CORBA::ULong * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
_TAO_Unbounded_Sequence_CORBA_PolicyTypeSeq::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -809,11 +809,11 @@ CORBA_PolicyList_out::operator[] (CORBA::ULong index)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_POLICYTYPESEQ_CI_)
#define _CORBA_POLICYTYPESEQ_CI_
@@ -876,7 +876,7 @@ CORBA_PolicyTypeSeq_var::operator= (const ::CORBA_PolicyTypeSeq_var &p)
{
CORBA_PolicyTypeSeq *deep_copy =
new CORBA_PolicyTypeSeq (*p.ptr_);
-
+
if (deep_copy != 0)
{
CORBA_PolicyTypeSeq *tmp = deep_copy;
@@ -886,7 +886,7 @@ CORBA_PolicyTypeSeq_var::operator= (const ::CORBA_PolicyTypeSeq_var &p)
}
}
}
-
+
return *this;
}
@@ -914,20 +914,20 @@ CORBA_PolicyTypeSeq_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_PolicyTypeSeq_var::operator const ::CORBA_PolicyTypeSeq &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_PolicyTypeSeq_var::operator ::CORBA_PolicyTypeSeq &() // cast
+ACE_INLINE
+CORBA_PolicyTypeSeq_var::operator ::CORBA_PolicyTypeSeq &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_PolicyTypeSeq_var::operator ::CORBA_PolicyTypeSeq &() const // cast
+ACE_INLINE
+CORBA_PolicyTypeSeq_var::operator ::CORBA_PolicyTypeSeq &() const // cast
{
return *this->ptr_;
}
@@ -956,7 +956,7 @@ CORBA_PolicyTypeSeq_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::CORBA_PolicyTypeSeq *&
CORBA_PolicyTypeSeq_var::out (void)
{
@@ -1017,7 +1017,7 @@ CORBA_PolicyTypeSeq_out::operator= (CORBA_PolicyTypeSeq *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_PolicyTypeSeq_out::operator ::CORBA_PolicyTypeSeq *&() // cast
{
return this->ptr_;
@@ -1154,12 +1154,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::SetOverrideType
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (CORBA::SetOverrideType, _tao_temp);
}
-
+
return _tao_result;
}
diff --git a/TAO/tao/Policy_Manager.cpp b/TAO/tao/Policy_Manager.cpp
index 94f332f2382..cafa90bfe38 100644
--- a/TAO/tao/Policy_Manager.cpp
+++ b/TAO/tao/Policy_Manager.cpp
@@ -181,7 +181,7 @@ TAO_Policy_Manager_Impl::copy_from (TAO_Policy_Manager_Impl *source,
this->client_protocol_ =
source->client_protocol_->copy (ACE_TRY_ENV);
ACE_CHECK;
-
+
// Check that cloning succeeded.
if (this->client_protocol_ == 0)
ACE_THROW (CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
@@ -287,7 +287,7 @@ TAO_Policy_Manager_Impl::set_policy_overrides (
for (CORBA::ULong i = 0; i < policies.length (); ++i)
{
- // Because MSVC 5 has a bug, we had to replace
+ // Because MSVC 5 has a bug, we had to replace
// a simple CORBA::Policy_var policy = policies[i];
// with the following.
CORBA::Policy_ptr temp = policies[i];
diff --git a/TAO/tao/PollableC.cpp b/TAO/tao/PollableC.cpp
index 6bc3248d22e..c8a1a808362 100644
--- a/TAO/tao/PollableC.cpp
+++ b/TAO/tao/PollableC.cpp
@@ -81,7 +81,7 @@ CORBA_Pollable_var::operator const ::CORBA_Pollable_ptr &() const // cast
return this->ptr_;
}
-CORBA_Pollable_var::operator ::CORBA_Pollable_ptr &() // cast
+CORBA_Pollable_var::operator ::CORBA_Pollable_ptr &() // cast
{
return this->ptr_;
}
@@ -331,7 +331,7 @@ CORBA_DIIPollable_var::operator const ::CORBA_DIIPollable_ptr &() const // cast
return this->ptr_;
}
-CORBA_DIIPollable_var::operator ::CORBA_DIIPollable_ptr &() // cast
+CORBA_DIIPollable_var::operator ::CORBA_DIIPollable_ptr &() // cast
{
return this->ptr_;
}
@@ -593,7 +593,7 @@ CORBA_PollableSet_var::operator const ::CORBA_PollableSet_ptr &() const // cast
return this->ptr_;
}
-CORBA_PollableSet_var::operator ::CORBA_PollableSet_ptr &() // cast
+CORBA_PollableSet_var::operator ::CORBA_PollableSet_ptr &() // cast
{
return this->ptr_;
}
@@ -784,7 +784,7 @@ void *CORBA_PollableSet::_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;
diff --git a/TAO/tao/PollableC.h b/TAO/tao/PollableC.h
index 62ce5af47d2..9493666f873 100644
--- a/TAO/tao/PollableC.h
+++ b/TAO/tao/PollableC.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+// -*- C++ -*-
//
// $Id$
@@ -442,27 +442,27 @@ public:
NoPossiblePollable (void);
// Default constructor.
-
+
NoPossiblePollable (const NoPossiblePollable &);
// Copy constructor.
-
+
~NoPossiblePollable (void);
// Destructor.
-
+
NoPossiblePollable &operator= (const NoPossiblePollable &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static NoPossiblePollable *_downcast (CORBA::Exception *);
@@ -483,27 +483,27 @@ public:
UnknownPollable (void);
// Default constructor.
-
+
UnknownPollable (const UnknownPollable &);
// Copy constructor.
-
+
~UnknownPollable (void);
// Destructor.
-
+
UnknownPollable &operator= (const UnknownPollable &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static UnknownPollable *_downcast (CORBA::Exception *);
diff --git a/TAO/tao/Pool_Per_Endpoint.cpp b/TAO/tao/Pool_Per_Endpoint.cpp
index 97a058679bb..fa3e172464c 100644
--- a/TAO/tao/Pool_Per_Endpoint.cpp
+++ b/TAO/tao/Pool_Per_Endpoint.cpp
@@ -46,8 +46,8 @@ TAO_Pool_Per_Endpoint::run (CORBA::Environment &ACE_TRY_ENV)
CORBA::Object_var obj =
this->orb_->orb_core ()->priority_mapping_manager ();
-
- TAO_Priority_Mapping_Manager_var mapping_manager =
+
+ TAO_Priority_Mapping_Manager_var mapping_manager =
TAO_Priority_Mapping_Manager::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK;
@@ -65,7 +65,7 @@ TAO_Pool_Per_Endpoint::run (CORBA::Environment &ACE_TRY_ENV)
if (TAO_debug_level > 3)
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("TAO (%P|%t) - creating thread at ")
- ACE_TEXT ("priority %d:%d\n"),
+ ACE_TEXT ("priority %d:%d\n"),
priority,
corba_priority));
#endif /* TAO_HAS_RT_CORBA == 1 */
diff --git a/TAO/tao/PortableGroup/Group_Adapter.cpp b/TAO/tao/PortableGroup/Group_Adapter.cpp
new file mode 100644
index 00000000000..d53d7727f0d
--- /dev/null
+++ b/TAO/tao/PortableGroup/Group_Adapter.cpp
@@ -0,0 +1,1627 @@
+// $Id$
+
+// -- PortableServer Include --
+#include "Group_Adapter.h"
+#include "PGA.h"
+//#include "Strategized_Object_Proxy_Broker.h"
+//#include "ServerRequestInfo.h"
+
+// -- ACE Include --
+//#include "ace/Auto_Ptr.h"
+
+// -- TAO Include --
+#include "tao/ORB.h"
+#include "tao/ORB_Core.h"
+#include "tao/TAO_Server_Request.h"
+#include "tao/Stub.h"
+#include "tao/Profile.h"
+#include "tao/MProfile.h"
+#include "tao/debug.h"
+#include "tao/PortableInterceptor.h"
+
+#if !defined (__ACE_INLINE__)
+# include "Group_Adapter.i"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID (TAO_PortableGroup,
+ Group_Adapter,
+ "$Id$")
+
+
+
+// ****************************************************************
+
+TAO_Group_Adapter_Factory::TAO_Group_Adapter_Factory (void)
+{
+}
+
+TAO_Adapter*
+TAO_Group_Adapter_Factory::create (TAO_ORB_Core *orb_core)
+{
+ // Setup the POA_Current object in the ORB
+// CORBA::Object_var current = new TAO_POA_Current;
+// orb_core->poa_current (current.in ());
+
+ return new TAO_Group_Adapter (orb_core->server_factory ()->
+ active_object_map_creation_parameters (),
+ *orb_core);
+}
+
+ACE_FACTORY_DEFINE (TAO_PortableGroup, TAO_Group_Adapter_Factory)
+ACE_STATIC_SVC_DEFINE (TAO_Group_Adapter_Factory,
+ ACE_TEXT ("TAO_PGA"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (TAO_Group_Adapter_Factory),
+ ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
+ 0)
+
+// ****************************************************************
+
+TAO_Object_Adapter::TAO_Object_Adapter (const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters,
+ TAO_ORB_Core &orb_core)
+ : hint_strategy_ (0),
+ persistent_poa_name_map_ (0),
+ transient_poa_map_ (0),
+ orb_core_ (orb_core),
+ enable_locking_ (orb_core_.server_factory ()->enable_poa_locking ()),
+ thread_lock_ (),
+ lock_ (TAO_Object_Adapter::create_lock (enable_locking_,
+ thread_lock_)),
+ reverse_lock_ (*lock_),
+ non_servant_upcall_condition_ (thread_lock_),
+ non_servant_upcall_in_progress_ (0),
+ non_servant_upcall_thread_ (ACE_OS::NULL_thread),
+ root_ (0)
+{
+ TAO_Object_Adapter::set_transient_poa_name_size (creation_parameters);
+
+ Hint_Strategy *hint_strategy = 0;
+ if (creation_parameters.use_active_hint_in_poa_names_)
+ ACE_NEW (hint_strategy,
+ Active_Hint_Strategy (creation_parameters.poa_map_size_));
+ else
+ ACE_NEW (hint_strategy,
+ No_Hint_Strategy);
+
+ // Give ownership to the auto pointer.
+ auto_ptr<Hint_Strategy> new_hint_strategy (hint_strategy);
+
+ new_hint_strategy->object_adapter (this);
+
+ persistent_poa_name_map *ppnm;
+ switch (creation_parameters.poa_lookup_strategy_for_persistent_id_policy_)
+ {
+ case TAO_LINEAR:
+#if (TAO_HAS_MINIMUM_POA_MAPS == 0)
+ ACE_NEW (ppnm,
+ persistent_poa_name_linear_map (creation_parameters.poa_map_size_));
+
+ break;
+#else
+ ACE_ERROR ((LM_ERROR,
+ "linear option for -ORBPersistentidPolicyDemuxStrategy "
+ "not supported with minimum POA maps. "
+ "Ingoring option to use default... \n"));
+ /* FALL THROUGH */
+#endif /* TAO_HAS_MINIMUM_POA_MAPS == 0 */
+ case TAO_DYNAMIC_HASH:
+ default:
+ ACE_NEW (ppnm,
+ persistent_poa_name_hash_map (creation_parameters.poa_map_size_));
+ break;
+ }
+ // Give ownership to the auto pointer.
+ auto_ptr<persistent_poa_name_map> new_persistent_poa_name_map (ppnm);
+
+ transient_poa_map *tpm = 0;
+ switch (creation_parameters.poa_lookup_strategy_for_transient_id_policy_)
+ {
+#if (TAO_HAS_MINIMUM_POA_MAPS == 0)
+ case TAO_LINEAR:
+ ACE_NEW (tpm,
+ transient_poa_linear_map (creation_parameters.poa_map_size_));
+ break;
+ case TAO_DYNAMIC_HASH:
+ ACE_NEW (tpm,
+ transient_poa_hash_map (creation_parameters.poa_map_size_));
+ break;
+#else
+ case TAO_LINEAR:
+ case TAO_DYNAMIC_HASH:
+ ACE_ERROR ((LM_ERROR,
+ "linear and dynamic options for -ORBTransientidPolicyDemuxStrategy "
+ "are not supported with minimum POA maps. "
+ "Ingoring option to use default... \n"));
+ /* FALL THROUGH */
+#endif /* TAO_HAS_MINIMUM_POA_MAPS == 0 */
+ case TAO_ACTIVE_DEMUX:
+ default:
+ ACE_NEW (tpm,
+ transient_poa_active_map (creation_parameters.poa_map_size_));
+ break;
+ }
+ // Give ownership to the auto pointer.
+ auto_ptr<transient_poa_map> new_transient_poa_map (tpm);
+
+ this->hint_strategy_ =
+ new_hint_strategy.release ();
+ this->persistent_poa_name_map_ =
+ new_persistent_poa_name_map.release ();
+ this->transient_poa_map_ =
+ new_transient_poa_map.release ();
+}
+
+TAO_Object_Adapter::~TAO_Object_Adapter (void)
+{
+ delete this->hint_strategy_;
+ delete this->persistent_poa_name_map_;
+ delete this->transient_poa_map_;
+ delete this->lock_;
+}
+
+/* static */
+size_t TAO_Object_Adapter::transient_poa_name_size_ = 0;
+
+void
+TAO_Object_Adapter::set_transient_poa_name_size (const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters)
+{
+ if (TAO_Object_Adapter::transient_poa_name_size_ == 0)
+ {
+ switch (creation_parameters.poa_lookup_strategy_for_transient_id_policy_)
+ {
+#if (TAO_HAS_MINIMUM_POA_MAPS == 0)
+ case TAO_LINEAR:
+ TAO_Object_Adapter::transient_poa_name_size_ =
+ sizeof (CORBA::ULong);
+ break;
+ case TAO_DYNAMIC_HASH:
+ TAO_Object_Adapter::transient_poa_name_size_ =
+ sizeof (CORBA::ULong);
+ break;
+#endif /* TAO_HAS_MINIMUM_POA_MAPS == 0 */
+ case TAO_ACTIVE_DEMUX:
+ default:
+ TAO_Object_Adapter::transient_poa_name_size_ =
+ ACE_Active_Map_Manager_Key::size ();
+ break;
+ }
+ }
+}
+
+
+
+/* static */
+ACE_Lock *
+TAO_Object_Adapter::create_lock (int enable_locking,
+ TAO_SYNCH_MUTEX &thread_lock)
+{
+#if defined (ACE_HAS_THREADS)
+ if (enable_locking)
+ {
+ ACE_Lock *the_lock;
+ ACE_NEW_RETURN (the_lock,
+ ACE_Lock_Adapter<TAO_SYNCH_MUTEX> (thread_lock),
+ 0);
+ return the_lock;
+ }
+#else
+ ACE_UNUSED_ARG (enable_locking);
+ ACE_UNUSED_ARG (thread_lock);
+#endif /* ACE_HAS_THREADS */
+
+ ACE_Lock *the_lock;
+ ACE_NEW_RETURN (the_lock,
+ ACE_Lock_Adapter<ACE_SYNCH_NULL_MUTEX> (),
+ 0);
+ return the_lock;
+}
+
+int
+TAO_Object_Adapter::dispatch_servant (const TAO_ObjectKey &key,
+ TAO_ServerRequest &req,
+ void *context,
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ ACE_FUNCTION_TIMEPROBE (TAO_OBJECT_ADAPTER_DISPATCH_SERVANT_START);
+
+ // This object is magical, i.e., it has a non-trivial constructor
+ // and destructor.
+ Servant_Upcall servant_upcall (&this->orb_core_);
+
+ // Set up state in the POA et al (including the POA Current), so
+ // that we know that this servant is currently in an upcall.
+ const char *operation = req.operation ();
+ int result =
+ servant_upcall.prepare_for_upcall (key,
+ operation,
+ forward_to,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (result);
+
+ if (result != TAO_Adapter::DS_OK)
+ return result;
+
+#if (TAO_HAS_RT_CORBA == 1)
+
+ // RTCORBA PriorityModelPolicy processing (may need to be
+ // moved/adjusted when POA threadpools are added).
+ // This is the earliest place we can do the processing, since only
+ // at this point we know the target POA.
+
+ Priority_Model_Processing priority_processing (servant_upcall.poa ());
+
+ // Set thread's priority.
+ priority_processing.pre_invoke (req.request_service_context (),
+ req.reply_service_context (),
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (result);
+
+#endif /* TAO_HAS_RT_CORBA == 1 */
+
+ // Servant dispatch.
+ {
+ ACE_FUNCTION_TIMEPROBE (TAO_SERVANT_DISPATCH_START);
+
+ servant_upcall.servant ()->_dispatch (req,
+ context,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (result);
+ }
+
+#if (TAO_HAS_RT_CORBA == 1)
+
+ // Reset thread's priority to its original value. If this method
+ // isn't reached, i.e., because of an exception, the reset takes
+ // place in Priority_Model_Processing destructor.
+ priority_processing.post_invoke (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (result);
+
+#endif /* TAO_HAS_RT_CORBA == 1 */
+
+ return result;
+}
+
+void
+TAO_Object_Adapter::locate_poa (const TAO_ObjectKey &key,
+ PortableServer::ObjectId &system_id,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Object_Adapter::poa_name poa_system_name;
+ CORBA::Boolean is_root = 0;
+ CORBA::Boolean is_persistent = 0;
+ CORBA::Boolean is_system_id = 0;
+ TAO_Temporary_Creation_Time poa_creation_time;
+
+ int result = 0;
+
+ {
+ ACE_FUNCTION_TIMEPROBE (TAO_POA_PARSE_KEY_START);
+
+ result = TAO_POA::parse_key (key,
+ poa_system_name,
+ system_id,
+ is_root,
+ is_persistent,
+ is_system_id,
+ poa_creation_time);
+ }
+
+ if (result != 0)
+ ACE_THROW (CORBA::OBJ_ADAPTER ());
+
+ {
+ ACE_FUNCTION_TIMEPROBE (TAO_OBJECT_ADAPTER_FIND_POA_START);
+
+ result = this->find_poa (poa_system_name,
+ is_persistent,
+ is_root,
+ poa_creation_time,
+ poa,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+ }
+
+ if (result != 0)
+ ACE_THROW (CORBA::OBJECT_NOT_EXIST ());
+}
+
+int
+TAO_Object_Adapter::activate_poa (const poa_name &folded_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV)
+{
+ int result = -1;
+
+#if (TAO_HAS_MINIMUM_POA == 0)
+
+ iteratable_poa_name ipn (folded_name);
+ iteratable_poa_name::iterator iterator = ipn.begin ();
+ iteratable_poa_name::iterator end = ipn.end ();
+
+ TAO_POA *parent = this->root_;
+ if (parent->name () != *iterator)
+ ACE_THROW_RETURN (CORBA::OBJ_ADAPTER (),
+ -1);
+ else
+ ++iterator;
+
+ // A recursive thread lock without using a recursive thread lock.
+ // Non_Servant_Upcall has a magic constructor and destructor. We
+ // unlock the Object_Adapter lock for the duration of the adapter
+ // activator(s) upcalls; reacquiring once the upcalls complete.
+ // Even though we are releasing the lock, other threads will not be
+ // able to make progress since
+ // <Object_Adapter::non_servant_upcall_in_progress_> has been set.
+ Non_Servant_Upcall non_servant_upcall (*parent);
+ ACE_UNUSED_ARG (non_servant_upcall);
+
+ for (;
+ iterator != end;
+ ++iterator)
+ {
+ TAO_POA *current = 0;
+
+ ACE_TRY
+ {
+ current = parent->find_POA_i (*iterator,
+ 1,
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableServer::POA::AdapterNonExistent, ex)
+ {
+ return -1;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK_RETURN (-1);
+
+ parent = current;
+ }
+
+ poa = parent;
+ result = 0;
+#else
+ ACE_UNUSED_ARG (folded_name);
+ ACE_UNUSED_ARG (poa);
+ ACE_UNUSED_ARG (ACE_TRY_ENV); // FUZZ: ignore check_for_ace_check
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+
+ return result;
+}
+
+int
+TAO_Object_Adapter::find_transient_poa (const poa_name &system_name,
+ CORBA::Boolean root,
+ const TAO_Temporary_Creation_Time &poa_creation_time,
+ TAO_POA *&poa,
+ CORBA::Environment &)
+{
+ int result = 0;
+
+ if (root)
+ {
+ poa = this->root_;
+ }
+ else
+ {
+ result = this->transient_poa_map_->find (system_name,
+ poa);
+ }
+
+ if (result == 0 && poa->creation_time () != poa_creation_time)
+ result = -1;
+
+ return result;
+}
+
+int
+TAO_Object_Adapter::bind_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name)
+{
+ if (poa->persistent ())
+ return this->bind_persistent_poa (folded_name,
+ poa,
+ system_name);
+ else
+ return this->bind_transient_poa (poa,
+ system_name);
+}
+
+int
+TAO_Object_Adapter::unbind_poa (TAO_POA *poa,
+ const poa_name &folded_name,
+ const poa_name &system_name)
+{
+ if (poa->persistent ())
+ return this->unbind_persistent_poa (folded_name,
+ system_name);
+ else
+ return this->unbind_transient_poa (system_name);
+}
+
+int
+TAO_Object_Adapter::locate_servant_i (const TAO_ObjectKey &key,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ PortableServer::ObjectId id;
+ TAO_POA *poa = 0;
+
+ this->locate_poa (key,
+ id,
+ poa,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (-1);
+
+ PortableServer::Servant servant = 0;
+ TAO_SERVANT_LOCATION servant_location =
+ poa->locate_servant_i (id,
+ servant,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (-1);
+
+ switch (servant_location)
+ {
+ case TAO_SERVANT_FOUND:
+ // Optimistic attitude
+ case TAO_DEFAULT_SERVANT:
+ case TAO_SERVANT_MANAGER:
+ return 0;
+
+ case TAO_SERVANT_NOT_FOUND:
+ return -1;
+ }
+
+ return -1;
+}
+
+TAO_SERVANT_LOCATION
+TAO_Object_Adapter::find_servant_i (const TAO_ObjectKey &key,
+ PortableServer::Servant &servant,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ PortableServer::ObjectId id;
+ TAO_POA *poa = 0;
+
+ this->locate_poa (key,
+ id,
+ poa,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (TAO_SERVANT_NOT_FOUND);
+
+ TAO_SERVANT_LOCATION servant_location = poa->locate_servant_i (id,
+ servant,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (TAO_SERVANT_NOT_FOUND);
+
+ return servant_location;
+}
+
+void
+TAO_Object_Adapter::open (CORBA::Environment &ACE_TRY_ENV)
+{
+ TAO_POA_Manager *poa_manager;
+ ACE_NEW_THROW_EX (poa_manager,
+ TAO_POA_Manager (*this),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK;
+
+ PortableServer::POAManager_var safe_poa_manager = poa_manager;
+
+#if 0
+ TAO_POA_Policies root_poa_policies (this->orb_core_,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+
+ if (policies == 0)
+ {
+ // RootPOA policies defined in spec
+ root_poa_policies.implicit_activation (
+ PortableServer::IMPLICIT_ACTIVATION);
+
+ policies = &root_poa_policies;
+ }
+#else
+ TAO_POA_Policies policies (this->orb_core_,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+
+ policies.implicit_activation (PortableServer::IMPLICIT_ACTIVATION);
+#endif /* 0 */
+
+ // Construct a new POA
+ TAO_POA::String root_poa_name (TAO_DEFAULT_ROOTPOA_NAME);
+ ACE_NEW_THROW_EX (this->root_,
+ TAO_POA (root_poa_name,
+ *poa_manager,
+ policies,
+ 0,
+ this->lock (),
+ this->thread_lock (),
+ this->orb_core_,
+ this,
+ ACE_TRY_ENV),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK;
+
+ // The Object_Adapter will keep a reference to the Root POA so that
+ // on its destruction, it can check whether the Root POA has been
+ // destroyed yet or not.
+ this->root_->_add_ref ();
+
+ // Release the POA_Manager_var since we got here without error. The
+ // TAO_POA object takes ownership of the POA_Manager object
+ // (actually it shares the ownership with its peers).
+ (void) safe_poa_manager._retn ();
+}
+
+void
+TAO_Object_Adapter::close (int wait_for_completion,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ this->check_close (wait_for_completion, ACE_TRY_ENV);
+ ACE_CHECK;
+
+ // Shutting down the ORB causes all object adapters to be destroyed,
+ // since they cannot exist in the absence of an ORB. Shut down is
+ // complete when all ORB processing (including request processing
+ // and object deactivation or other operations associated with
+ // object adapters) has completed and the object adapters have been
+ // destroyed. In the case of the POA, this means that all object
+ // etherealizations have finished and root POA has been destroyed
+ // (implying that all descendent POAs have also been destroyed).
+ if (this->root_ != 0)
+ {
+ CORBA::Boolean etherealize_objects = 1;
+ this->root_->destroy (etherealize_objects,
+ wait_for_completion,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+ CORBA::release (this->root_);
+ this->root_ = 0;
+ }
+}
+
+void
+TAO_Object_Adapter::check_close (int wait_for_completion,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ TAO_POA::check_for_valid_wait_for_completions (this->orb_core (),
+ wait_for_completion,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+}
+
+int
+TAO_Object_Adapter::priority (void) const
+{
+ return 0;
+}
+
+int
+TAO_Object_Adapter::dispatch (TAO_ObjectKey &key,
+ TAO_ServerRequest &request,
+ void *context,
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ if (ACE_OS::memcmp (key.get_buffer (),
+ &TAO_POA::objectkey_prefix[0],
+ TAO_POA::TAO_OBJECTKEY_PREFIX_SIZE) != 0)
+ {
+ return TAO_Adapter::DS_MISMATCHED_KEY;
+ }
+
+ int result = 0;
+
+#if TAO_HAS_INTERCEPTORS == 1
+ TAO_ServerRequestInterceptor_Adapter sri_adapter (
+ this->orb_core_.server_request_interceptors (),
+ request.interceptor_count ());
+
+ TAO_ServerRequestInfo ri (request);
+
+ ACE_TRY
+ {
+ // The receive_request_service_contexts() interception point
+ // must be invoked before the operation is dispatched to the
+ // servant.
+ sri_adapter.receive_request_service_contexts (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+ result = this->dispatch_servant (key,
+ request,
+ context,
+ forward_to,
+ ACE_TRY_ENV);
+
+#if TAO_HAS_INTERCEPTORS == 1
+ ACE_TRY_CHECK;
+
+ if (result == TAO_Adapter::DS_FORWARD)
+ {
+ ri.forward_reference (forward_to.ptr ());
+ sri_adapter.send_other (&ri,
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ sri_adapter.send_other (&ri,
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ forward_to = CORBA::Object::_duplicate (exc.forward.in ());
+ return TAO_Adapter::DS_FORWARD;
+ }
+ ACE_CATCHANY
+ {
+ sri_adapter.send_exception (&ri,
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ };
+ ACE_ENDTRY;
+ ACE_CHECK_RETURN (result);
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+ return result;
+}
+
+const char *
+TAO_Object_Adapter::name (void) const
+{
+ return TAO_OBJID_ROOTPGA;
+}
+
+CORBA::Object_ptr
+TAO_Object_Adapter::root (void)
+{
+ return CORBA::Object::_duplicate (this->root_);
+}
+
+CORBA::Object_ptr
+TAO_Object_Adapter::create_collocated_object (TAO_Stub *stub,
+ const TAO_MProfile &mp)
+{
+ for (TAO_PHandle j = 0;
+ j != mp.profile_count ();
+ ++j)
+ {
+ const TAO_Profile *profile = mp.get_profile (j);
+ TAO_ObjectKey_var objkey = profile->_key ();
+
+ if (ACE_OS::memcmp (objkey->get_buffer (),
+ &TAO_POA::objectkey_prefix[0],
+ TAO_POA::TAO_OBJECTKEY_PREFIX_SIZE) != 0)
+ continue;
+
+ ACE_DECLARE_NEW_CORBA_ENV;
+ ACE_TRY
+ {
+ TAO_ServantBase *servant = 0;
+
+ TAO_SERVANT_LOCATION servant_location =
+ this->find_servant (objkey.in (),
+ servant,
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (servant_location != TAO_SERVANT_NOT_FOUND)
+ {
+ // Found collocated object. Perhaps we can get around
+ // by simply setting the servant_orb, but let get this
+ // to work first.
+
+ // There could only be one ORB which is us.
+
+ // @@ Do not duplicate the ORB here!
+ // TAO_Stub::servant_orb() duplicates it.
+ // -Ossama
+ stub->servant_orb (this->orb_core_.orb ());
+
+ CORBA::Object_ptr x;
+ ACE_NEW_RETURN (x,
+ CORBA::Object (stub, 1,
+ servant),
+ 0);
+
+ // Here we set the strategized Proxy Broker.
+ x->_proxy_broker (the_tao_strategized_object_proxy_broker ());
+ return x;
+ }
+ }
+ ACE_CATCHANY
+ {
+ // Ignore the exception and continue with the next one.
+ }
+ ACE_ENDTRY;
+ }
+
+ return 0;
+}
+
+
+// ****************************************************************
+
+TAO_Object_Adapter::Hint_Strategy::~Hint_Strategy (void)
+{
+}
+
+void
+TAO_Object_Adapter::Hint_Strategy::object_adapter (TAO_Object_Adapter *oa)
+{
+ this->object_adapter_ = oa;
+}
+
+TAO_Object_Adapter::Active_Hint_Strategy::Active_Hint_Strategy (CORBA::ULong map_size)
+ : persistent_poa_system_map_ (map_size)
+{
+}
+
+TAO_Object_Adapter::Active_Hint_Strategy::~Active_Hint_Strategy (void)
+{
+}
+
+int
+TAO_Object_Adapter::Active_Hint_Strategy::find_persistent_poa (const poa_name &system_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV)
+{
+ poa_name folded_name;
+ int result = this->persistent_poa_system_map_.recover_key (system_name,
+ folded_name);
+
+ if (result == 0)
+ {
+ result = this->persistent_poa_system_map_.find (system_name,
+ poa);
+ if (result != 0
+ || folded_name != poa->folded_name ())
+ {
+ result = this->object_adapter_->persistent_poa_name_map_->find (folded_name,
+ poa);
+ if (result != 0)
+ {
+ result = this->object_adapter_->activate_poa (folded_name,
+ poa,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (-1);
+ }
+ }
+ }
+
+ return result;
+}
+
+int
+TAO_Object_Adapter::Active_Hint_Strategy::bind_persistent_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name)
+{
+ poa_name name = folded_name;
+ int result = this->persistent_poa_system_map_.bind_modify_key (poa,
+ name);
+
+ if (result == 0)
+ {
+ result =
+ this->object_adapter_->persistent_poa_name_map_->bind (folded_name,
+ poa);
+
+ if (result != 0)
+ this->persistent_poa_system_map_.unbind (name);
+ else
+ ACE_NEW_RETURN (system_name,
+ poa_name (name),
+ -1);
+ }
+
+ return result;
+}
+
+int
+TAO_Object_Adapter::Active_Hint_Strategy::unbind_persistent_poa (const poa_name &folded_name,
+ const poa_name &system_name)
+{
+ int result = this->persistent_poa_system_map_.unbind (system_name);
+
+ if (result == 0)
+ result =
+ this->object_adapter_->persistent_poa_name_map_->unbind (folded_name);
+
+ return result;
+}
+
+TAO_Object_Adapter::No_Hint_Strategy::~No_Hint_Strategy (void)
+{
+}
+
+int
+TAO_Object_Adapter::No_Hint_Strategy::find_persistent_poa (const poa_name &system_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV)
+{
+ int result = this->object_adapter_->persistent_poa_name_map_->find (system_name,
+ poa);
+ if (result != 0)
+ {
+ result =
+ this->object_adapter_->activate_poa (system_name,
+ poa,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (-1);
+ }
+
+ return result;
+}
+
+int
+TAO_Object_Adapter::No_Hint_Strategy::bind_persistent_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name)
+{
+ int result =
+ this->object_adapter_->persistent_poa_name_map_->bind (folded_name,
+ poa);
+ if (result == 0)
+ ACE_NEW_RETURN (system_name,
+ poa_name (folded_name),
+ -1);
+ return result;
+}
+
+int
+TAO_Object_Adapter::No_Hint_Strategy::unbind_persistent_poa (const poa_name &folded_name,
+ const poa_name &system_name)
+{
+ ACE_UNUSED_ARG (system_name);
+
+ return this->object_adapter_->persistent_poa_name_map_->unbind (folded_name);
+}
+
+TAO_Object_Adapter::poa_name_iterator::poa_name_iterator (int begin,
+ CORBA::ULong size,
+ const CORBA::Octet *folded_buffer)
+ : size_ (size),
+ folded_buffer_ (folded_buffer),
+ last_separator_ ((CORBA::ULong) ~0)
+{
+ if (begin)
+ {
+ this->position_ = (CORBA::ULong) ~0;
+ this->operator++ ();
+ }
+ else
+ this->position_ = this->size_;
+}
+
+int
+TAO_Object_Adapter::poa_name_iterator::operator== (const poa_name_iterator &rhs) const
+{
+ return this->position_ == rhs.position_;
+}
+
+int
+TAO_Object_Adapter::poa_name_iterator::operator!= (const poa_name_iterator &rhs) const
+{
+ return !this->operator== (rhs);
+}
+
+ACE_CString
+TAO_Object_Adapter::poa_name_iterator::operator* () const
+{
+ CORBA::ULong start_at =
+ this->last_separator_ +
+ TAO_POA::name_separator_length ();
+
+ CORBA::ULong how_many =
+ this->position_
+ - this->last_separator_
+ - TAO_POA::name_separator_length ();
+
+ return ACE_CString (ACE_reinterpret_cast (const char *,
+ &this->folded_buffer_[start_at]),
+ how_many);
+}
+
+TAO_Object_Adapter::poa_name_iterator &
+TAO_Object_Adapter::poa_name_iterator::operator++ (void)
+{
+ for (this->last_separator_ = this->position_;
+ ;
+ )
+ {
+ ++this->position_;
+ if (this->position_ < this->size_)
+ {
+ if (this->folded_buffer_[this->position_] == TAO_POA::name_separator ())
+ break;
+ }
+ else
+ break;
+ }
+
+ return *this;
+}
+
+TAO_Object_Adapter::iteratable_poa_name::iteratable_poa_name (const poa_name &folded_name)
+ : folded_name_ (folded_name)
+{
+}
+
+TAO_Object_Adapter::iteratable_poa_name::iterator
+TAO_Object_Adapter::iteratable_poa_name::begin (void) const
+{
+ return iterator (1,
+ this->folded_name_.length (),
+ this->folded_name_.get_buffer ());
+}
+
+TAO_Object_Adapter::iteratable_poa_name::iterator
+TAO_Object_Adapter::iteratable_poa_name::end (void) const
+{
+ return iterator (0,
+ this->folded_name_.length (),
+ this->folded_name_.get_buffer ());
+}
+
+TAO_Object_Adapter::Non_Servant_Upcall::Non_Servant_Upcall (TAO_POA &poa)
+ : object_adapter_ (poa.object_adapter ()),
+ poa_ (poa)
+{
+ // Mark the fact that a non-servant upcall is in progress.
+ this->object_adapter_.non_servant_upcall_in_progress_ = this;
+
+ // Remember which thread is calling the adapter activators.
+ this->object_adapter_.non_servant_upcall_thread_ = ACE_OS::thr_self ();
+
+ // Release the Object Adapter lock.
+ this->object_adapter_.lock ().release ();
+}
+
+TAO_Object_Adapter::Non_Servant_Upcall::~Non_Servant_Upcall (void)
+{
+ // Reacquire the Object Adapter lock.
+ this->object_adapter_.lock ().acquire ();
+
+ // We are no longer in a non-servant upcall.
+ this->object_adapter_.non_servant_upcall_in_progress_ = 0;
+
+ // Reset thread id.
+ this->object_adapter_.non_servant_upcall_thread_ =
+ ACE_OS::NULL_thread;
+
+ // Check if all pending requests are over.
+ if (this->poa_.waiting_destruction () &&
+ this->poa_.outstanding_requests () == 0)
+ {
+ ACE_TRY_NEW_ENV
+ {
+ this->poa_.complete_destruction_i (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ // Ignore exceptions
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "TAO_POA::~complete_destruction_i");
+ }
+ ACE_ENDTRY;
+ }
+
+ // If locking is enabled.
+ if (this->object_adapter_.enable_locking_)
+ // Wakeup all waiting threads.
+ this->object_adapter_.non_servant_upcall_condition_.broadcast ();
+}
+
+TAO_Object_Adapter::Servant_Upcall::Servant_Upcall (TAO_ORB_Core *oc)
+ : object_adapter_ (0),
+ poa_ (0),
+ servant_ (0),
+ state_ (INITIAL_STAGE),
+ id_ (),
+ current_context_ (),
+#if (TAO_HAS_MINIMUM_POA == 0)
+ cookie_ (0),
+ operation_ (0),
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+ active_object_map_entry_ (0),
+ using_servant_locator_ (0)
+{
+ TAO_Adapter *adapter = oc->poa_adapter ();
+ TAO_Object_Adapter *object_adapter =
+ ACE_dynamic_cast(TAO_Object_Adapter *, adapter);
+ this->object_adapter_ = object_adapter;
+}
+
+int
+TAO_Object_Adapter::Servant_Upcall::prepare_for_upcall (const TAO_ObjectKey &key,
+ const char *operation,
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ // Acquire the object adapter lock first.
+ int result = this->object_adapter_->lock ().acquire ();
+ if (result == -1)
+ // Locking error.
+ ACE_THROW_RETURN (CORBA::OBJ_ADAPTER (),
+ TAO_Adapter::DS_FAILED);
+
+ // We have acquired the object adapater lock. Record this for later
+ // use.
+ this->state_ = OBJECT_ADAPTER_LOCK_ACQUIRED;
+
+ // Check if a non-servant upcall is in progress. If a non-servant
+ // upcall is in progress, wait for it to complete. Unless of
+ // course, the thread making the non-servant upcall is this thread.
+ this->object_adapter_->wait_for_non_servant_upcalls_to_complete (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (TAO_Adapter::DS_FAILED);
+
+ // Locate the POA.
+ this->object_adapter_->locate_poa (key,
+ this->id_,
+ this->poa_,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (TAO_Adapter::DS_FAILED);
+
+ // Check the state of the POA Manager.
+ this->poa_->check_poa_manager_state (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (TAO_Adapter::DS_FAILED);
+
+ // Setup current for this request.
+ this->current_context_.setup (this->poa_,
+ key);
+
+ // Increase <poa->outstanding_requests_> for the duration of finding
+ // the POA, finding the servant, and making the upcall.
+ this->poa_->increment_outstanding_requests ();
+
+ // We have setup the POA Current. Record this for later use.
+ this->state_ = POA_CURRENT_SETUP;
+
+ ACE_TRY
+ {
+ ACE_FUNCTION_TIMEPROBE (TAO_POA_LOCATE_SERVANT_START);
+
+ // Lookup the servant.
+ this->servant_ = this->poa_->locate_servant_i (operation,
+ this->id_,
+ *this,
+ this->current_context_,
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+#if (TAO_HAS_MINIMUM_CORBA == 0)
+ ACE_CATCH (PortableServer::ForwardRequest, forward_request)
+ {
+ forward_to =
+ CORBA::Object::_duplicate (forward_request.forward_reference.in ());
+ return TAO_Adapter::DS_FORWARD;
+ }
+#else
+ ACE_CATCHANY
+ {
+ ACE_UNUSED_ARG (forward_to);
+ ACE_RE_THROW;
+ }
+#endif /* TAO_HAS_MINIMUM_CORBA */
+ ACE_ENDTRY;
+
+ // Now that we know the servant.
+ this->current_context_.servant (this->servant_);
+
+ // For servants from Servant Locators, there is no active object map
+ // entry.
+ if (this->active_object_map_entry ())
+ this->current_context_.priority (this->active_object_map_entry ()->priority_);
+
+ // Release the object adapter lock.
+ this->object_adapter_->lock ().release ();
+
+ // We have release the object adapater lock. Record this for later
+ // use.
+ this->state_ = OBJECT_ADAPTER_LOCK_RELEASED;
+
+ // Serialize servants (if appropriate).
+ this->single_threaded_poa_setup (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (TAO_Adapter::DS_FAILED);
+
+ // We have acquired the servant lock. Record this for later use.
+ this->state_ = SERVANT_LOCK_ACQUIRED;
+
+ // After this point, <this->servant_> is ready for dispatching.
+ return TAO_Adapter::DS_OK;
+}
+
+TAO_Object_Adapter::Servant_Upcall::~Servant_Upcall ()
+{
+ switch (this->state_)
+ {
+ case SERVANT_LOCK_ACQUIRED:
+ // Unlock servant (if appropriate).
+ this->single_threaded_poa_cleanup ();
+
+ /* FALLTHRU */
+
+ case OBJECT_ADAPTER_LOCK_RELEASED:
+ // Cleanup servant locator related state. Note that because
+ // this operation does not change any Object Adapter related
+ // state, it is ok to call it outside the lock.
+ this->servant_locator_cleanup ();
+
+ // Since the object adapter lock was released, we must acquire
+ // it.
+ //
+ // Note that errors are ignored here since we cannot do much
+ // with it.
+ this->object_adapter_->lock ().acquire ();
+
+ // Check if a non-servant upcall is in progress. If a
+ // non-servant upcall is in progress, wait for it to complete.
+ // Unless of course, the thread making the non-servant upcall is
+ // this thread.
+ this->object_adapter_->wait_for_non_servant_upcalls_to_complete ();
+
+ // Cleanup servant related state.
+ this->servant_cleanup ();
+
+ /* FALLTHRU */
+
+ case POA_CURRENT_SETUP:
+ // Cleanup POA related state.
+ this->poa_cleanup ();
+
+ // Teardown current for this request.
+ this->current_context_.teardown ();
+
+ /* FALLTHRU */
+
+ case OBJECT_ADAPTER_LOCK_ACQUIRED:
+ // Finally, since the object adapter lock was acquired, we must
+ // release it.
+ this->object_adapter_->lock ().release ();
+
+ /* FALLTHRU */
+
+ case INITIAL_STAGE:
+ default:
+ // @@ Keep compiler happy, the states above are the only
+ // possible ones.
+ break;
+ }
+}
+
+void
+TAO_Object_Adapter::wait_for_non_servant_upcalls_to_complete (CORBA::Environment &ACE_TRY_ENV)
+{
+ // Check if a non-servant upcall is in progress. If a non-servant
+ // upcall is in progress, wait for it to complete. Unless of
+ // course, the thread making the non-servant upcall is this thread.
+ while (this->enable_locking_ &&
+ this->non_servant_upcall_in_progress_ &&
+ ! ACE_OS::thr_equal (this->non_servant_upcall_thread_,
+ ACE_OS::thr_self ()))
+ {
+ // If so wait...
+ int result =
+ this->non_servant_upcall_condition_.wait ();
+ if (result == -1)
+ ACE_THROW (CORBA::OBJ_ADAPTER ());
+ }
+}
+
+void
+TAO_Object_Adapter::wait_for_non_servant_upcalls_to_complete (void)
+{
+ // Non-exception throwing version.
+ ACE_TRY_NEW_ENV
+ {
+ this->wait_for_non_servant_upcalls_to_complete (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ ACE_ERROR ((LM_ERROR,
+ "TAO_Object_Adapter::wait_for_non_servant_upcalls_to_complete "
+ "threw exception it should not have!\n"));
+ }
+ ACE_ENDTRY;
+}
+
+void
+TAO_Object_Adapter::Servant_Upcall::servant_locator_cleanup (void)
+{
+#if (TAO_HAS_MINIMUM_POA == 0)
+
+ if (this->using_servant_locator_)
+ {
+ ACE_DECLARE_NEW_CORBA_ENV;
+ ACE_TRY
+ {
+ this->poa_->servant_locator_->postinvoke (this->current_context_.object_id (),
+ this->poa_,
+ this->operation_,
+ this->cookie_,
+ this->servant_
+ TAO_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ // Ignore errors from servant locator ....
+ }
+ ACE_ENDTRY;
+ }
+
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+}
+
+void
+TAO_Object_Adapter::Servant_Upcall::single_threaded_poa_setup (CORBA::Environment &ACE_TRY_ENV)
+{
+#if (TAO_HAS_MINIMUM_POA == 0)
+ // Serialize servants (if necessary).
+ //
+ // Note that this lock must be acquired *after* the object adapter
+ // lock has been released. This is necessary since we cannot block
+ // waiting for the servant lock while holding the object adapter
+ // lock. Otherwise, the thread that wants to release this lock will
+ // not be able to do so since it can't acquire the object adapterx
+ // lock.
+ if (this->poa_->policies ().thread () == PortableServer::SINGLE_THREAD_MODEL)
+ {
+ int result = this->poa_->single_threaded_lock ().acquire ();
+
+ if (result == -1)
+ // Locking error.
+ ACE_THROW (CORBA::OBJ_ADAPTER ());
+ }
+#else
+ ACE_UNUSED_ARG (ACE_TRY_ENV); // FUZZ: ignore check_for_ace_check
+#endif /* !TAO_HAS_MINIMUM_POA == 0 */
+}
+
+void
+TAO_Object_Adapter::Servant_Upcall::single_threaded_poa_cleanup (void)
+{
+#if (TAO_HAS_MINIMUM_POA == 0)
+ // Since the servant lock was acquired, we must release it.
+ if (this->poa_->policies ().thread () == PortableServer::SINGLE_THREAD_MODEL)
+ this->poa_->single_threaded_lock ().release ();
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+}
+
+void
+TAO_Object_Adapter::Servant_Upcall::servant_cleanup (void)
+{
+ // Cleanup servant related stuff.
+ if (this->active_object_map_entry_ != 0)
+ {
+ // Decrement the reference count.
+ CORBA::UShort new_count = --this->active_object_map_entry_->reference_count_;
+
+ if (new_count == 0)
+ {
+ ACE_DECLARE_NEW_CORBA_ENV;
+ ACE_TRY
+ {
+ this->poa_->cleanup_servant (this->active_object_map_entry_,
+ ACE_TRY_ENV);
+
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ // Ignore errors from servant cleanup ....
+ }
+ ACE_ENDTRY;
+
+ if (this->poa_->waiting_servant_deactivation_ > 0 &&
+ this->object_adapter_->enable_locking_)
+ {
+ // Wakeup all waiting threads.
+ this->poa_->servant_deactivation_condition_.broadcast ();
+ }
+ }
+ }
+}
+
+void
+TAO_Object_Adapter::Servant_Upcall::poa_cleanup (void)
+{
+ // Decrease <poa->outstanding_requests_> now that the upcall
+ // is complete.
+ //
+ // Note that the object adapter lock is acquired before
+ // <POA::outstanding_requests_> is decreased.
+ CORBA::ULong outstanding_requests =
+ this->poa_->decrement_outstanding_requests ();
+
+ // Check if all pending requests are over.
+ if (outstanding_requests == 0)
+ {
+ // If locking is enabled and some thread is waiting in POA::destroy.
+ if (this->object_adapter_->enable_locking_ &&
+ this->poa_->wait_for_completion_pending_)
+ {
+ // Wakeup all waiting threads.
+ this->poa_->outstanding_requests_condition_.broadcast ();
+ }
+
+ // Note that there is no need to check for
+ // <non_servant_upcall_in_progress> since it is not possible for
+ // non-servant upcalls to be in progress at this point.
+ if (this->poa_->waiting_destruction_)
+ {
+ ACE_TRY_NEW_ENV
+ {
+ this->poa_->complete_destruction_i (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ // Ignore exceptions
+ ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "TAO_POA::~complete_destruction_i");
+ }
+ ACE_ENDTRY;
+
+ this->poa_ = 0;
+ }
+ }
+}
+
+#if (TAO_HAS_RT_CORBA == 1)
+
+TAO_Object_Adapter::Priority_Model_Processing::~Priority_Model_Processing
+(void)
+{
+ ACE_DECLARE_NEW_CORBA_ENV;
+
+ if (this->state_ == PRIORITY_RESET_REQUIRED)
+ {
+ this->state_ = NO_ACTION_REQUIRED;
+
+ // Reset the priority of the current thread back to its original
+ // value.
+ if (poa_.orb_core ().get_protocols_hooks ()->
+ set_thread_priority (&poa_.orb_core (),
+ this->original_priority_,
+ ACE_TRY_ENV)
+ == -1)
+ // At this point we cannot throw an exception. Just log the
+ // error.
+ ACE_DEBUG ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) - Priority_Model_Processing:: ")
+ ACE_TEXT (" Priority_Model_Processing\n")));
+ }
+}
+
+void
+TAO_Object_Adapter::Priority_Model_Processing::pre_invoke (
+ TAO_Service_Context &request_service_context,
+ TAO_Service_Context &reply_service_context,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ TAO_POA_Policies &poa_policies = this->poa_.policies ();
+
+ // CLIENT_PROPAGATED PriorityModel processing.
+ if (poa_policies.priority_model ()
+ == TAO_POA_Policies::CLIENT_PROPAGATED
+ && poa_policies.server_priority ()
+ != TAO_INVALID_PRIORITY)
+ {
+ // Remember current thread's priority.
+ if (poa_.orb_core ().get_protocols_hooks ()->
+ get_thread_priority (&poa_.orb_core (),
+ this->original_priority_,
+ ACE_TRY_ENV)
+ == -1)
+ ACE_THROW (CORBA::DATA_CONVERSION (1,
+ CORBA::COMPLETED_NO));
+
+ // Attempt to extract client-propagated priority from the
+ // ServiceContextList of the request.
+ RTCORBA::Priority target_priority;
+ const IOP::ServiceContext *context;
+
+ if (request_service_context.get_context (IOP::RTCorbaPriority,
+ &context) == 1)
+ {
+ // Extract the target priority
+ TAO_InputCDR cdr (ACE_reinterpret_cast
+ (const char*,
+ context->context_data.get_buffer ()),
+ context->context_data.length ());
+ CORBA::Boolean byte_order;
+ if ((cdr >> ACE_InputCDR::to_boolean (byte_order)) == 0)
+ ACE_THROW (CORBA::MARSHAL ());
+ cdr.reset_byte_order (ACE_static_cast(int,byte_order));
+
+ if ((cdr >> target_priority) == 0)
+ ACE_THROW (CORBA::MARSHAL ());
+
+ // Save the target priority in the response service
+ // context to propagate back to the client as specified
+ // by the RTCORBA specification.
+ reply_service_context.set_context (*context);
+ }
+ else
+ {
+ // Use default priority if none came in the request. (Request
+ // must have come from a non-RT ORB.)
+ target_priority = poa_policies.server_priority ();
+ }
+
+ // Change the priority of the current thread to the
+ // client-propagated value for the duration of
+ // request.
+ if (original_priority_ != target_priority)
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("RTCORBA::CLIENT_PROPAGATED processing")
+ ACE_TEXT (" (%P|%t): original thread priority %d")
+ ACE_TEXT (" temporarily changed to %d\n"),
+ original_priority_, target_priority));
+
+ if (poa_.orb_core ().get_protocols_hooks ()->
+ set_thread_priority (&poa_.orb_core (),
+ target_priority,
+ ACE_TRY_ENV)
+ == -1)
+ ACE_THROW (CORBA::DATA_CONVERSION (1, CORBA::COMPLETED_NO));
+
+ this->state_ = PRIORITY_RESET_REQUIRED;
+ }
+ else if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("RTCORBA::CLIENT_PROPAGATED processing")
+ ACE_TEXT (" (%P|%t): original thread priority =")
+ ACE_TEXT (" requested priority = %d\n"),
+ target_priority));
+ }
+}
+
+void
+TAO_Object_Adapter::Priority_Model_Processing::post_invoke (
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ if (this->state_ == PRIORITY_RESET_REQUIRED)
+ {
+ this->state_ = NO_ACTION_REQUIRED;
+
+ // Reset the priority of the current thread back to its original
+ // value.
+ if (poa_.orb_core ().get_protocols_hooks ()->
+ set_thread_priority (&poa_.orb_core (),
+ this->original_priority_,
+ ACE_TRY_ENV)
+ == -1)
+ ACE_THROW (CORBA::DATA_CONVERSION (1, CORBA::COMPLETED_NO));
+ }
+}
+
+#endif /* TAO_HAS_RT_CORBA == 1 */
+
+TAO_POA_Current_Impl::TAO_POA_Current_Impl (void)
+ : poa_ (0),
+ object_id_ (),
+ object_key_ (0),
+ servant_ (0),
+ priority_ (TAO_INVALID_PRIORITY),
+ previous_current_impl_ (0),
+ setup_done_ (0)
+{
+}
+
+void
+TAO_POA_Current_Impl::setup (TAO_POA *p,
+ const TAO_ObjectKey &key)
+{
+ // Remember information about this upcall.
+ this->poa_ = p;
+ this->object_key_ = &key;
+
+ // Set the current context and remember the old one.
+ this->tss_resources_ = TAO_TSS_RESOURCES::instance ();
+
+ this->previous_current_impl_ =
+ ACE_static_cast (TAO_POA_Current_Impl *,
+ this->tss_resources_->poa_current_impl_);
+ this->tss_resources_->poa_current_impl_ = this;
+
+ // Setup is complete.
+ this->setup_done_ = 1;
+}
+
+void
+TAO_POA_Current_Impl::teardown (void)
+{
+ if (this->setup_done_)
+ {
+ // Reset the old context.
+ this->tss_resources_->poa_current_impl_ = this->previous_current_impl_;
+ }
+}
+
+PortableServer::POA_ptr
+TAO_POA_Current_Impl::get_POA (CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ PortableServer::Current::NoContext))
+{
+ return PortableServer::POA::_duplicate (this->poa_);
+}
+
+PortableServer::ObjectId *
+TAO_POA_Current_Impl::get_object_id (CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ PortableServer::Current::NoContext))
+{
+ PortableServer::ObjectId *objid = 0;
+
+ // Create a new one and pass it back
+ ACE_NEW_RETURN (objid,
+ PortableServer::ObjectId (this->object_id_),
+ 0);
+ return objid;
+}
+
+TAO_ORB_Core &
+TAO_POA_Current_Impl::orb_core (void) const
+{
+ return this->poa_->orb_core_;
+}
+
+PortableServer::POA_ptr
+TAO_POA_Current::get_POA (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ PortableServer::Current::NoContext))
+{
+ TAO_POA_Current_Impl *impl = this->implementation ();
+
+ if (impl == 0)
+ ACE_THROW_RETURN (PortableServer::Current::NoContext (),
+ 0);
+ return impl->get_POA (ACE_TRY_ENV);
+}
+
+PortableServer::ObjectId *
+TAO_POA_Current::get_object_id (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ PortableServer::Current::NoContext))
+{
+ TAO_POA_Current_Impl *impl = this->implementation ();
+
+ if (impl == 0)
+ ACE_THROW_RETURN (PortableServer::Current::NoContext (),
+ 0);
+ return impl->get_object_id (ACE_TRY_ENV);
+}
+
+TAO_POA_Current_Impl *
+TAO_POA_Current::implementation (void)
+{
+ return ACE_static_cast (TAO_POA_Current_Impl *,
+ TAO_TSS_RESOURCES::instance ()->poa_current_impl_);
+}
+
+TAO_POA_Current_Impl *
+TAO_POA_Current::implementation (TAO_POA_Current_Impl *new_current)
+{
+ TAO_TSS_Resources *tss =
+ TAO_TSS_RESOURCES::instance ();
+
+ TAO_POA_Current_Impl *old =
+ ACE_static_cast (TAO_POA_Current_Impl *,
+ tss->poa_current_impl_);
+ tss->poa_current_impl_ = new_current;
+ return old;
+}
+
diff --git a/TAO/tao/PortableGroup/Group_Adapter.h b/TAO/tao/PortableGroup/Group_Adapter.h
new file mode 100644
index 00000000000..479b88e6df8
--- /dev/null
+++ b/TAO/tao/PortableGroup/Group_Adapter.h
@@ -0,0 +1,648 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// Group_Adapter.h
+//
+// = AUTHOR
+// Frank Hunleth
+//
+// ============================================================================
+
+#ifndef TAO_GROUP_ADAPTER_H
+#define TAO_GROUP_ADAPTER_H
+#include "ace/pre.h"
+
+
+#include "portablegroup_export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+// ****************************************************************
+
+// Forward declaration
+
+
+class TAO_PortableGroup_Export TAO_Group_Adapter : public TAO_Adapter
+{
+ // = TITLE
+ // Defines the Group Adapter abstraction.
+ //
+ // = DESCRIPTION
+ // This class will be used as a facade for the PGAs in a server
+public:
+
+ friend class TAO_PGA;
+
+ typedef PortableServer::ObjectId poa_name;
+ typedef PortableServer::ObjectId_var poa_name_var;
+ typedef PortableServer::ObjectId_out poa_name_out;
+
+ TAO_Group_Adapter (const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters,
+ TAO_ORB_Core &orb_core);
+ // Constructor.
+
+ ~TAO_Group_Adapter (void);
+ // Destructor.
+
+ int dispatch_servant (const TAO_ObjectKey &key,
+ TAO_ServerRequest &req,
+ void *context,
+ CORBA::Object_out forward_to,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ int locate_servant (const TAO_ObjectKey &key,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ TAO_SERVANT_LOCATION find_servant (const TAO_ObjectKey &key,
+ PortableServer::Servant &servant,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ int find_poa (const poa_name &system_name,
+ CORBA::Boolean activate_it,
+ CORBA::Boolean root,
+ const TAO_Temporary_Creation_Time &poa_creation_time,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ int bind_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name);
+
+ int unbind_poa (TAO_POA *poa,
+ const poa_name &folded_name,
+ const poa_name &system_name);
+
+ int activate_poa (const poa_name &folded_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ ACE_Lock &lock (void);
+
+ TAO_SYNCH_MUTEX &thread_lock (void);
+
+ ACE_Reverse_Lock<ACE_Lock> &reverse_lock (void);
+
+ TAO_POA *root_poa (void) const;
+ // Access the root poa.
+
+ TAO_ORB_Core &orb_core (void) const;
+ // Access to ORB Core.
+
+ void wait_for_non_servant_upcalls_to_complete (CORBA::Environment &ACE_TRY_ENV);
+ // Wait for non-servant upcalls to complete.
+
+ void wait_for_non_servant_upcalls_to_complete (void);
+ // Non-exception throwing version.
+
+ static CORBA::ULong transient_poa_name_size (void);
+
+
+ // = The TAO_Adapter methods, please check tao/Adapter.h for the
+ // documentation
+ virtual void open (CORBA::Environment &ACE_TRY_ENV);
+ virtual void close (int wait_for_completion,
+ CORBA::Environment &ACE_TRY_ENV);
+ virtual void check_close (int wait_for_completion,
+ CORBA::Environment &ACE_TRY_ENV);
+ virtual int priority (void) const;
+ virtual int dispatch (TAO_ObjectKey &key,
+ TAO_ServerRequest &request,
+ void *context, /* unused? */
+ CORBA::Object_out foward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+ virtual const char *name (void) const;
+ virtual CORBA::Object_ptr root (void);
+ virtual CORBA::Object_ptr create_collocated_object (TAO_Stub *,
+ const TAO_MProfile &);
+
+protected:
+
+ int locate_servant_i (const TAO_ObjectKey &key,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ TAO_SERVANT_LOCATION find_servant_i (const TAO_ObjectKey &key,
+ PortableServer::Servant &servant,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ void dispatch_servant_i (const TAO_ObjectKey &key,
+ TAO_ServerRequest &req,
+ void *context,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ void locate_poa (const TAO_ObjectKey &key,
+ PortableServer::ObjectId &id,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ int find_transient_poa (const poa_name &system_name,
+ CORBA::Boolean root,
+ const TAO_Temporary_Creation_Time &poa_creation_time,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ int find_persistent_poa (const poa_name &system_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ int bind_transient_poa (TAO_POA *poa,
+ poa_name_out system_name);
+
+ int bind_persistent_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name);
+
+ int unbind_transient_poa (const poa_name &system_name);
+
+ int unbind_persistent_poa (const poa_name &folded_name,
+ const poa_name &system_name);
+
+ static ACE_Lock *create_lock (int enable_locking,
+ TAO_SYNCH_MUTEX &thread_lock);
+
+public:
+
+ class TAO_PortableServer_Export Hint_Strategy
+ {
+ // = TITLE
+ // Base class for POA active hint strategy.
+ //
+ // = DESCRIPTION
+ // This class also provides for common structures used by all
+ // the derived classes.
+ public:
+
+ virtual ~Hint_Strategy (void);
+
+ virtual int find_persistent_poa (const poa_name &system_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV) = 0;
+
+ virtual int bind_persistent_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name) = 0;
+
+ virtual int unbind_persistent_poa (const poa_name &folded_name,
+ const poa_name &system_name) = 0;
+
+ void object_adapter (TAO_Group_Adapter *oa);
+
+ protected:
+
+ TAO_Group_Adapter *object_adapter_;
+ };
+
+ class TAO_PortableServer_Export Active_Hint_Strategy : public Hint_Strategy
+ {
+ // = TITLE
+ // This class uses active demux hint for POA active hint
+ // strategy.
+ //
+ // = DESCRIPTION
+ // This class will append an active hint to the POA name,
+ // making the POA lookups fast and predictable.
+ public:
+
+ Active_Hint_Strategy (CORBA::ULong map_size);
+
+ virtual ~Active_Hint_Strategy (void);
+
+ virtual int find_persistent_poa (const poa_name &system_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ virtual int bind_persistent_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name);
+
+ virtual int unbind_persistent_poa (const poa_name &folded_name,
+ const poa_name &system_name);
+
+ protected:
+
+ typedef ACE_Active_Map_Manager_Adapter<
+ poa_name,
+ TAO_POA *,
+ TAO_Preserve_Original_Key_Adapter> persistent_poa_system_map;
+
+ persistent_poa_system_map persistent_poa_system_map_;
+ };
+
+ class TAO_PortableServer_Export No_Hint_Strategy : public Hint_Strategy
+ {
+ // = TITLE
+ // This class doesn't use any hints for POA active hint
+ // strategy.
+ //
+ // = DESCRIPTION
+ // This class will simply use the POA names as is. And since
+ // no hint is added, the IORs will be smaller.
+ public:
+
+ virtual ~No_Hint_Strategy (void);
+
+ virtual int find_persistent_poa (const poa_name &system_name,
+ TAO_POA *&poa,
+ CORBA_Environment &ACE_TRY_ENV);
+
+ virtual int bind_persistent_poa (const poa_name &folded_name,
+ TAO_POA *poa,
+ poa_name_out system_name);
+
+ virtual int unbind_persistent_poa (const poa_name &folded_name,
+ const poa_name &system_name);
+
+ };
+
+protected:
+
+ Hint_Strategy *hint_strategy_;
+
+ typedef ACE_Map<
+ poa_name,
+ TAO_POA *> transient_poa_map;
+ // Base class of the id map.
+
+#if (TAO_HAS_MINIMUM_POA_MAPS == 0)
+ typedef ACE_Hash_Map_Manager_Ex_Adapter<
+ poa_name,
+ TAO_POA *,
+ TAO_ObjectId_Hash,
+ ACE_Equal_To<poa_name>,
+ TAO_Incremental_Key_Generator> transient_poa_hash_map;
+ // Id hash map.
+#endif /* TAO_HAS_MINIMUM_POA_MAPS == 0 */
+
+#if (TAO_HAS_MINIMUM_POA_MAPS == 0)
+ typedef ACE_Map_Manager_Adapter<
+ poa_name,
+ TAO_POA *,
+ TAO_Incremental_Key_Generator> transient_poa_linear_map;
+ // Id linear map.
+#endif /* TAO_HAS_MINIMUM_POA_MAPS == 0 */
+
+ typedef ACE_Active_Map_Manager_Adapter<
+ poa_name,
+ TAO_POA *,
+ TAO_Ignore_Original_Key_Adapter> transient_poa_active_map;
+ // Id active map.
+
+ typedef ACE_Map<
+ poa_name,
+ TAO_POA *> persistent_poa_name_map;
+ // Base class of the name map.
+
+ typedef ACE_Hash_Map_Manager_Ex_Adapter<
+ poa_name,
+ TAO_POA *,
+ TAO_ObjectId_Hash,
+ ACE_Equal_To<PortableServer::ObjectId>,
+ ACE_Noop_Key_Generator<poa_name> > persistent_poa_name_hash_map;
+ // Id hash map.
+
+#if (TAO_HAS_MINIMUM_POA_MAPS == 0)
+ typedef ACE_Map_Manager_Adapter<
+ poa_name,
+ TAO_POA *,
+ ACE_Noop_Key_Generator<poa_name> > persistent_poa_name_linear_map;
+ // Id linear map.
+#endif /* TAO_HAS_MINIMUM_POA_MAPS == 0 */
+
+public:
+
+ persistent_poa_name_map *persistent_poa_name_map_;
+ transient_poa_map *transient_poa_map_;
+
+protected:
+
+ static size_t transient_poa_name_size_;
+
+ static void set_transient_poa_name_size (const TAO_Server_Strategy_Factory::Active_Object_Map_Creation_Parameters &creation_parameters);
+
+ TAO_ORB_Core &orb_core_;
+
+ int enable_locking_;
+
+ TAO_SYNCH_MUTEX thread_lock_;
+
+ ACE_Lock *lock_;
+
+ ACE_Reverse_Lock<ACE_Lock> reverse_lock_;
+
+public:
+
+ class TAO_PortableServer_Export poa_name_iterator
+ {
+ // = TITLE
+ // Iterator for a folded poa name.
+ public:
+
+ poa_name_iterator (int begin,
+ CORBA::ULong size,
+ const CORBA::Octet *folded_buffer);
+ // Constructor.
+
+ int operator== (const poa_name_iterator &rhs) const;
+ int operator!= (const poa_name_iterator &rhs) const;
+ // Comparison operators.
+
+ ACE_CString operator* () const;
+ // Dereference operator.
+
+ poa_name_iterator &operator++ (void);
+ // Prefix advance.
+
+ protected:
+
+ CORBA::ULong size_;
+ CORBA::ULong position_;
+ const CORBA::Octet *folded_buffer_;
+ CORBA::ULong last_separator_;
+ };
+
+ class TAO_PortableServer_Export iteratable_poa_name
+ {
+ // = TITLE
+ // This class allows iteration over a folded poa name.
+ public:
+
+ typedef poa_name_iterator iterator;
+
+ iteratable_poa_name (const poa_name &folded_name);
+
+ iterator begin (void) const;
+ iterator end (void) const;
+
+ protected:
+
+ const poa_name &folded_name_;
+ };
+
+ class TAO_PortableServer_Export Non_Servant_Upcall
+ {
+ // = TITLE
+ // This class helps us with a recursive thread lock without
+ // using a recursive thread lock. Non_Servant_Upcall has a
+ // magic constructor and destructor. We unlock the
+ // Object_Adapter lock for the duration of the non-servant
+ // (i.e., adapter activator and servant activator) upcalls;
+ // reacquiring once the upcalls complete. Even though we are
+ // releasing the lock, other threads will not be able to make
+ // progress since
+ // <Object_Adapter::non_servant_upcall_in_progress_> has been
+ // set.
+ public:
+
+ Non_Servant_Upcall (TAO_POA &poa);
+ // Constructor.
+
+ ~Non_Servant_Upcall (void);
+ // Destructor.
+
+ TAO_PGA &poa (void) const;
+
+ protected:
+
+ TAO_Group_Adapter &object_adapter_;
+ TAO_PGA &pga_;
+ };
+
+ friend class Non_Servant_Upcall;
+
+ class TAO_PortableServer_Export Servant_Upcall
+ {
+ // = TITLE
+ // This class finds out the POA and the servant to perform an
+ // upcall. It can only be instantiated without the object
+ // adapter's lock held.
+ public:
+
+ friend class TAO_POA;
+
+ // @@ PPOA: Servant_Upcall (TAO_Group_Adapter &object_adapter);
+ Servant_Upcall (TAO_ORB_Core *orb_core);
+ // Constructor.
+
+ ~Servant_Upcall (void);
+ // Destructor.
+
+ int prepare_for_upcall (const TAO_ObjectKey &key,
+ const char *operation,
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ());
+ // Locate POA and servant.
+
+ TAO_POA &poa (void) const;
+ // POA accessor.
+
+ TAO_Group_Adapter &object_adapter (void) const;
+ // Object Adapter accessor.
+
+ const PortableServer::ObjectId &id (void) const;
+ // ID accessor.
+
+ PortableServer::Servant servant (void) const;
+ // Servant accessor.
+
+#if (TAO_HAS_MINIMUM_POA == 0)
+
+ PortableServer::ServantLocator::Cookie locator_cookie (void) const;
+ // Get the Servant Locator's cookie
+
+ void locator_cookie (PortableServer::ServantLocator::Cookie cookie);
+ // Set the Servant Locator's cookie
+
+ const char *operation (void) const;
+ // Get the operation name.
+
+ void operation (const char *);
+ // Set the operation name.
+
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+
+ void active_object_map_entry (TAO_Active_Object_Map::Map_Entry *entry);
+ // Set the <active_object_map_entry>.
+
+ TAO_Active_Object_Map::Map_Entry *active_object_map_entry (void) const;
+ // Get the <active_object_map_entry>.
+
+ void using_servant_locator (void);
+ // We are using the servant locator for this upcall.
+
+ protected:
+
+ void servant_locator_cleanup (void);
+ void single_threaded_poa_setup (CORBA::Environment &ACE_TRY_ENV);
+ void single_threaded_poa_cleanup (void);
+ void servant_cleanup (void);
+ void poa_cleanup (void);
+
+ TAO_Group_Adapter *object_adapter_;
+
+ TAO_POA *poa_;
+
+ PortableServer::Servant servant_;
+
+ enum State
+ {
+ INITIAL_STAGE,
+ OBJECT_ADAPTER_LOCK_ACQUIRED,
+ POA_CURRENT_SETUP,
+ OBJECT_ADAPTER_LOCK_RELEASED,
+ SERVANT_LOCK_ACQUIRED
+ };
+
+ State state_;
+
+ PortableServer::ObjectId id_;
+
+ TAO_POA_Current_Impl current_context_;
+
+#if (TAO_HAS_MINIMUM_POA == 0)
+
+ PortableServer::ServantLocator::Cookie cookie_;
+ // Servant Locator's cookie
+
+ const char *operation_;
+ // Operation name for this current.
+
+#endif /* TAO_HAS_MINIMUM_POA == 0 */
+
+ TAO_Active_Object_Map::Map_Entry *active_object_map_entry_;
+ // Pointer to the entry in the TAO_Active_Object_Map corresponding
+ // to the servant for this request.
+
+ int using_servant_locator_;
+ // Are we using the servant locator?
+
+ private:
+ Servant_Upcall (const Servant_Upcall &);
+ void operator= (const Servant_Upcall &);
+ };
+
+ friend class Servant_Upcall;
+
+#if (TAO_HAS_RT_CORBA == 1)
+
+ class TAO_PortableServer_Export Priority_Model_Processing
+ {
+ // = TITLE
+ // This class encapsulates processing necessary for
+ // RTCORBA CLIENT_PROPAGATED priority model.
+ //
+ // Although the destructor of this class resets the priority of
+ // the thread to it's original value, application should use
+ // <post_invoke> method for that purpose: destructor cannot
+ // propagate possible exceptions to the callee. Destructor's
+ // reset capability is intended as a last resort, i.e., if
+ // <post_invoke> isn't reached for some reason.
+ //
+ public:
+
+ Priority_Model_Processing (TAO_POA &poa);
+ // Constructor.
+
+ ~Priority_Model_Processing (void);
+ // Resets the priority of the current thread back to its original
+ // value if necessary, i.e., if it was changed and the
+ // <post_invoke> method hasn't been called. Unlike <post_invoke>,
+ // this method cannot propagate exceptions to the user.
+
+ void pre_invoke (TAO_Service_Context &request_service_context,
+ TAO_Service_Context &reply_service_context,
+ CORBA::Environment &ACE_TRY_ENV);
+ // Checks if target POA supports RTCORBA::CLIENT_PROPAGATED
+ // PriorityModel. If so, stores the original priority of the
+ // current thread, and sets the thread to the client-propagated
+ // priority.
+
+ void post_invoke (CORBA::Environment &ACE_TRY_ENV);
+ // Resets the priority of the current thread back to its original
+ // value, if necessary.
+
+ private:
+
+ Priority_Model_Processing (const Priority_Model_Processing &);
+ void operator= (const Priority_Model_Processing &);
+
+ enum State
+ {
+ NO_ACTION_REQUIRED,
+ PRIORITY_RESET_REQUIRED
+ };
+
+ State state_;
+ // Indicates whether the priority of the thread needs to be reset
+ // back to its original value.
+
+ TAO_POA &poa_;
+ // Poa of the target servant.
+
+ RTCORBA::Priority original_priority_;
+ // Original priority of the thread.
+ };
+
+#endif /* TAO_HAS_RT_CORBA == 1 */
+
+public:
+
+ Non_Servant_Upcall *non_servant_upcall_in_progress (void) const;
+ // Pointer to the non-servant upcall in progress. If no non-servant
+ // upcall is in progress, this pointer is zero.
+
+private:
+
+ TAO_SYNCH_CONDITION non_servant_upcall_condition_;
+ // Condition variable for waiting on non-servant upcalls to end.
+
+ Non_Servant_Upcall *non_servant_upcall_in_progress_;
+ // Pointer to the non-servant upcall in progress. If no non-servant
+ // upcall is in progress, this pointer is zero.
+
+ ACE_thread_t non_servant_upcall_thread_;
+ // Id of thread making the non-servant upcall.
+
+ TAO_POA *root_;
+ // The Root POA
+};
+
+// ****************************************************************
+
+class TAO_PortableServer_Export TAO_Group_Adapter_Factory : public TAO_Adapter_Factory
+{
+public:
+ TAO_Group_Adapter_Factory (void);
+ // Constructor
+
+ // = The TAO_Adapter_Factory methods, please read tao/Adapter.h for
+ // details.
+ virtual TAO_Adapter *create (TAO_ORB_Core *orb_core);
+};
+
+ACE_STATIC_SVC_DECLARE (TAO_Group_Adapter_Factory)
+ACE_FACTORY_DECLARE (TAO_PortableGroup, TAO_Group_Adapter_Factory)
+
+// ****************************************************************
+
+#if defined (__ACE_INLINE__)
+# include "Group_Adapter.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_GROUP_ADAPTER_H */
diff --git a/TAO/tao/PortableGroup/PGA_Loader.cpp b/TAO/tao/PortableGroup/PGA_Loader.cpp
new file mode 100644
index 00000000000..5186069a815
--- /dev/null
+++ b/TAO/tao/PortableGroup/PGA_Loader.cpp
@@ -0,0 +1,55 @@
+/* -*- C++ -*- */
+
+// $Id$
+// =================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// PortableGroup_Loader.cpp
+//
+// = AUTHOR
+// Frank Hunleth <fhunleth@cs.wustl.edu>
+//
+// =================================================================
+
+#include "PGA_Loader.h"
+#include "PGA.h"
+
+ACE_RCSID(IORManip, IORManip, "$Id$")
+
+TAO_PGA_Loader::TAO_PGA_Loader (void)
+{
+}
+
+CORBA::Object_ptr
+TAO_PGA_Loader::create_object (CORBA::ORB_ptr orb,
+ int,
+ char *[],
+ CORBA::Environment &)
+ ACE_THROW_SPEC (())
+{
+ CORBA::Object_ptr obj;
+ ACE_NEW_RETURN (obj,
+ TAO_PGA (orb->orb_core ()),
+ CORBA::Object::_nil ());
+ return obj;
+}
+
+int
+TAO_PGA_Loader::Initializer (void)
+{
+ ACE_Service_Config::static_svcs ()->
+ insert (&ace_svc_desc_TAO_PGA_Loader);
+
+ return 0;
+}
+
+ACE_STATIC_SVC_DEFINE (TAO_PGA_Loader,
+ ACE_TEXT ("PGA_Loader"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (TAO_PGA_Loader),
+ ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
+ 0)
+ACE_FACTORY_DEFINE (TAO_PortableGroup, TAO_PGA_Loader)
diff --git a/TAO/tao/PortableGroup/PGA_Loader.h b/TAO/tao/PortableGroup/PGA_Loader.h
new file mode 100644
index 00000000000..ba9bdc50e57
--- /dev/null
+++ b/TAO/tao/PortableGroup/PGA_Loader.h
@@ -0,0 +1,69 @@
+/* -*- C++ -*- */
+
+// $Id$
+
+// =========================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// PortableGroup_Loader.h
+//
+// = AUTHOR
+// Frank Hunleth <fhunleth@cs.wustl.edu>
+//
+// =========================================================================
+
+#ifndef TAO_PORTABLEGROUP_LOADER_H
+#define TAO_PORTABLEGROUP_LOADER_H
+#include "ace/pre.h"
+
+#include "portablegroup_export.h"
+#include "tao/Object_Loader.h"
+#include "ace/Service_Config.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+class TAO_PortableGroup_Export TAO_PGA_Loader : public TAO_Object_Loader
+{
+public:
+ TAO_PGA_Loader (void);
+ // Constructor
+
+ virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
+ int argc,
+ char *argv [],
+ CORBA::Environment &)
+ ACE_THROW_SPEC (());
+ // Creates the RootPGA object and returns it.
+
+ static int Initializer (void);
+ // Used to force the initialization of the ORB code.
+};
+
+ACE_STATIC_SVC_DECLARE (TAO_PGA_Loader)
+ACE_FACTORY_DECLARE (TAO_PortableGroup, TAO_PGA_Loader)
+
+#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
+
+typedef int (*TAO_Module_Initializer) (void);
+
+static TAO_Module_Initializer
+TAO_Requires_IORManip_Initializer = &TAO_PGA_Loader::Initializer;
+
+#else
+
+static int
+TAO_Requires_IORManip_Initializer = TAO_PGA_Loader::Initializer ();
+
+#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
+
+//#define TAO_PORTABLEGROUP_SAFE_INCLUDE
+//#include "IORC.h"
+//#undef TAO_IORMANIP_SAFE_INCLUDE
+
+#include "ace/post.h"
+#endif /* TAO_PORTABLEGROUP_LOADER_H */
diff --git a/TAO/tao/PortableGroup/POA_Hooks.cpp b/TAO/tao/PortableGroup/POA_Hooks.cpp
new file mode 100644
index 00000000000..7c5d58fd238
--- /dev/null
+++ b/TAO/tao/PortableGroup/POA_Hooks.cpp
@@ -0,0 +1,207 @@
+// -*- C++ -*-
+// $Id$
+
+// =========================================================================
+//
+// = LIBRARY
+// PortableGroup
+//
+// = FILENAME
+// POA_Hooks.h
+//
+// = AUTHOR
+// Frank Hunleth <fhunleth@cs.wustl.edu>
+//
+// =========================================================================
+
+#include "POA_Hooks.h"
+#include "PortableGroup_Loader.h"
+#include "tao/Stub.h"
+
+ACE_RCSID(tao, PortableGroup, "$Id$")
+
+TAO_POA_Hooks::TAO_POA_Hooks (TAO_PortableGroup_Loader *portable_group_adapter) :
+ portable_group_adapter_ (portable_group_adapter)
+{
+}
+
+TAO_POA_Hooks::~TAO_POA_Hooks (void)
+{
+}
+
+PortableServer::ObjectId *
+TAO_POA_Hooks::create_id_for_reference (
+ TAO_POA &the_poa,
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ))
+{
+
+ // Get the RepositoryId from the Group reference so
+ // we know what kind of reference to make.
+ const char* repository_id = the_ref->_stubobj ()->type_id;
+
+ // Create a temporary object reference and then get the
+ // ObjectId out of it.
+ CORBA::Object_var obj_ref = the_poa.create_reference (repository_id,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ PortableServer::ObjectId_var obj_id = the_poa.reference_to_id (obj_ref.in (),
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ // Create the acceptors necessary to receive requests for the
+ // specified group reference.
+ this->create_group_acceptors (the_ref,
+ this->portable_group_adapter_->acceptor_registry_,
+ the_poa.orb_core (),
+ ACE_TRY_ENV);
+
+ ACE_CHECK_RETURN (0);
+
+ // Find the Group Component.
+ PortableGroup::TagGroupTaggedComponent *tmp_group_id;
+ ACE_NEW_THROW_EX (tmp_group_id,
+ PortableGroup::TagGroupTaggedComponent,
+ CORBA::NO_MEMORY (
+ CORBA::SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ ENOMEM),
+ CORBA::COMPLETED_NO));
+ ACE_CHECK_RETURN (0);
+
+ PortableGroup::TagGroupTaggedComponent_var group_id = tmp_group_id;
+
+ if (this->find_group_component (the_ref, group_id.inout ()) != 0)
+ {
+ // Group component wasn't found. The group reference
+ // that was passed in must be bogus.
+ ACE_THROW_RETURN (CORBA::INV_OBJREF (),
+ 0);
+ }
+
+ const TAO_ObjectKey &key = obj_ref->_object_key ();
+
+ // Add a mapping from GroupId to Object key in the PortableGroup
+
+ this->portable_group_adapter_->group_map_.add_groupid_objectkey_pair (
+ group_id._retn (),
+ key,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return obj_id._retn ();
+}
+
+int
+TAO_POA_Hooks::find_group_component (const CORBA::Object_ptr the_ref,
+ PortableGroup::TagGroupTaggedComponent &group)
+{
+ const TAO_MProfile& profiles = the_ref->_stubobj ()->base_profiles ();
+ const TAO_Profile* profile;
+ CORBA::ULong slot;
+
+ // Iterate through the tagged profiles, and
+ // create acceptors for the multicast ones.
+ slot = 0;
+ while (profile = profiles.get_profile (slot))
+ {
+ if (this->find_group_component_in_profile (profile, group) == 0)
+ return 0;
+
+ ++slot;
+ }
+
+ // Not found.
+ return -1;
+}
+
+int
+TAO_POA_Hooks::find_group_component_in_profile (const TAO_Profile* profile,
+ PortableGroup::TagGroupTaggedComponent &group)
+{
+ // Iterate through the tagged components looking for
+ // group tag.
+ const TAO_Tagged_Components& components = profile->tagged_components ();
+
+ IOP::TaggedComponent tagged_component;
+ tagged_component.tag = TAO_TAG_GROUP;
+
+ // Try to find it.
+ if (components.get_component (tagged_component) == 0)
+ return -1;
+
+ // Found it.
+ const CORBA::Octet *buf =
+ tagged_component.component_data.get_buffer ();
+
+ TAO_InputCDR in_cdr (ACE_reinterpret_cast (const char*, buf),
+ tagged_component.component_data.length ());
+
+ // Extract the Byte Order.
+ CORBA::Boolean byte_order;
+ if ((in_cdr >> ACE_InputCDR::to_boolean (byte_order)) == 0)
+ return -1;
+ in_cdr.reset_byte_order (ACE_static_cast(int, byte_order));
+
+ if ((in_cdr >> group) == 0)
+ return -1;
+
+ return 0;
+}
+
+int
+TAO_POA_Hooks::create_group_acceptors (CORBA::Object_ptr the_ref,
+ TAO_PortableGroup_Acceptor_Registry &acceptor_registry,
+ TAO_ORB_Core &orb_core,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ const TAO_MProfile& profiles = the_ref->_stubobj ()->base_profiles ();
+ const TAO_Profile* profile;
+ CORBA::ULong slot;
+ int num = 0;
+
+ // Iterate through the tagged profiles, and
+ // create acceptors for the multicast ones.
+ slot = 0;
+ while (profile = profiles.get_profile (slot))
+ {
+ if (profile->supports_multicast ())
+ {
+ acceptor_registry.open (profile, orb_core, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ ++num;
+ }
+
+ ++slot;
+ }
+
+ // Return the number of acceptors registered.
+ return num;
+}
+
+
+PortableServer::IDs *
+TAO_POA_Hooks::reference_to_ids (
+ TAO_POA &the_poa,
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ))
+{
+
+ return 0;
+}
+
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/tao/PortableGroup/POA_Hooks.h b/TAO/tao/PortableGroup/POA_Hooks.h
new file mode 100644
index 00000000000..969a9068bfe
--- /dev/null
+++ b/TAO/tao/PortableGroup/POA_Hooks.h
@@ -0,0 +1,91 @@
+/* -*- C++ -*- */
+
+// $Id$
+
+// =========================================================================
+//
+// = LIBRARY
+// PortableGroup
+//
+// = FILENAME
+// POA_Hooks.h
+//
+// = AUTHOR
+// Frank Hunleth <fhunleth@cs.wustl.edu>
+//
+// =========================================================================
+
+#ifndef TAO_POA_HOOKS_H
+#define TAO_POA_HOOKS_H
+#include "ace/pre.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "portablegroup_export.h"
+#include "tao/PortableServer/PortableGroup_Hooks.h"
+#include "PortableGroupC.h"
+
+// Forward references
+class TAO_PortableGroup_Loader;
+class TAO_PortableGroup_Acceptor_Registry;
+class TAO_Profile;
+
+/**
+ * @class TAO_POA_Hooks
+ *
+ * @brief TAO_POA_Hooks
+ *
+ * This class acts as a facade for all of the POA specific methods in the
+ * PortableGroup library.
+ */
+class TAO_PortableGroup_Export TAO_POA_Hooks :
+ public TAO_POA_PortableGroup_Hooks
+{
+public:
+ /// Constructor
+ TAO_POA_Hooks (TAO_PortableGroup_Loader *portable_group_adapter);
+
+ virtual ~TAO_POA_Hooks (void);
+
+ virtual PortableServer::ObjectId *create_id_for_reference (
+ TAO_POA &the_poa,
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ));
+
+ virtual PortableServer::IDs *reference_to_ids (
+ TAO_POA &the_poa,
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ));
+
+protected:
+
+ int find_group_component (const CORBA::Object_ptr the_ref,
+ PortableGroup::TagGroupTaggedComponent &group);
+
+ int find_group_component_in_profile (const TAO_Profile* profile,
+ PortableGroup::TagGroupTaggedComponent &group);
+
+ int create_group_acceptors (CORBA::Object_ptr the_ref,
+ TAO_PortableGroup_Acceptor_Registry &acceptor_registry,
+ TAO_ORB_Core &orb_core,
+ CORBA::Environment &ACE_TRY_ENV);
+
+
+protected:
+ /// Back pointer to the PortableGroup.
+ TAO_PortableGroup_Loader *portable_group_adapter_;
+};
+
+
+#include "ace/post.h"
+#endif /* TAO_POA_HOOKS_H */
diff --git a/TAO/tao/PortableGroup/PortableGroup.pidl b/TAO/tao/PortableGroup/PortableGroup.pidl
new file mode 100644
index 00000000000..65ddcf826b8
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroup.pidl
@@ -0,0 +1,236 @@
+//
+// $Id$
+//
+// ================================================================
+//
+// = LIBRARY
+// TAO_PortableGroup
+//
+// = FILENAME
+// PortableGroup.pidl
+//
+// = DESCRIPTION
+//
+// This file was used to generate the code in PortableGroupC.{h,i,cpp}
+//
+// The command used to generate code from this file is:
+//
+// tao_idl.exe \
+// -Ge 1 \
+// -Wb,export_macro=TAO_PortableGroup_Export \
+// -Wb,export_include="tao/corbafwd.h" \
+// -Wb,pre_include="ace/pre.h" \
+// -Wb,post_include="ace/post.h" \
+// -I../../orbsvcs/orbsvcs \
+// PortableGroup.pidl
+//
+// After the file is generated a patch from the diffs directory must
+// be applied. The patch:
+//
+// - Disables parts of the code under certain configurations.
+//
+// - Eliminates cycles in the include dependencies.
+//
+// - Adds non-idl components of PortableGroup to the namespace.
+// This includes (a) Servant (b) ServantBase (c) RefCountServantBase
+// (d) Cookie (e) ObjectId_to_string (f) string_to_ObjectId (g)
+// ObjectId_to_wstring (h) wstring_to_ObjectId (i) ServantBase_var
+// (j) DynamicImplementation (k) LocalServantBase
+//
+// Apply patches using the following commands:
+//
+// patch < diffs\PortableGroupC.h.diff
+// patch < diffs\PortableGroupC.i.diff
+// patch < diffs\PortableGroupC.cpp.diff
+//
+// Note: The diffs were generated with these commands:
+//
+// diff -wub PortableGroupC.h PortableGroupC.h.mod > diffs\PortableGroupC.h.diff
+// diff -wub PortableGroupC.i PortableGroupC.i.mod > diffs\PortableGroupC.i.diff
+// diff -wub PortableGroupC.cpp PortableGroupC.cpp.mod > diffs\PortableGroupC.cpp.diff
+//
+// ================================================================
+
+#ifndef _PortableGroup_IDL_
+#define _PortableGroup_IDL_
+
+#include <PortableServer.pidl>
+#include <CosNaming.idl>
+#include <IOP.pidl>
+#include <GIOP.pidl>
+#include <orb.idl>
+
+#pragma prefix "omg.org"
+
+module PortableGroup {
+
+ // Specification for Interoperable Object Group References
+ typedef string GroupDomainId;
+ typedef unsigned long long ObjectGroupId;
+ typedef unsigned long ObjectGroupRefVersion;
+
+ struct TagGroupTaggedComponent { // tag = TAG_GROUP;
+ GIOP::Version version;
+ GroupDomainId group_domain_id;
+ ObjectGroupId object_group_id;
+ ObjectGroupRefVersion object_group_ref_version;
+ };
+
+ // Specification of Common Types and Exceptions
+ // for GroupManagement
+ local interface GenericFactory;
+
+ typedef CORBA::RepositoryId TypeId;
+ typedef Object ObjectGroup;
+ typedef CosNaming::Name Name;
+ typedef any Value;
+
+ struct Property {
+ Name nam;
+ Value val;
+ };
+
+ typedef sequence<Property> Properties;
+ typedef Name Location;
+ typedef sequence<Location> Locations;
+ typedef Properties Criteria;
+
+ struct FactoryInfo {
+ GenericFactory the_factory;
+ Location the_location;
+ Criteria the_criteria;
+ };
+
+ typedef sequence<FactoryInfo> FactoryInfos;
+ typedef long MembershipStyleValue;
+
+ const MembershipStyleValue MEMB_APP_CTRL = 0;
+ const MembershipStyleValue MEMB_INF_CTRL = 1;
+
+ typedef unsigned short InitialNumberReplicasValue;
+ typedef unsigned short MinimumNumberReplicasValue;
+
+ exception InterfaceNotFound {};
+ exception ObjectGroupNotFound {};
+ exception MemberNotFound {};
+ exception ObjectNotFound {};
+ exception MemberAlreadyPresent {};
+ exception BadReplicationStyle {};
+ exception ObjectNotCreated {};
+ exception ObjectNotAdded {};
+ exception UnsupportedProperty {
+ Name nam;
+ };
+
+ exception InvalidProperty {
+ Name nam;
+ Value val;
+ };
+
+ exception NoFactory {
+ Location the_location;
+ TypeId type_id;
+ };
+
+ exception InvalidCriteria {
+ Criteria invalid_criteria;
+ };
+
+ exception CannotMeetCriteria {
+ Criteria unmet_criteria;
+ };
+
+ // Specification of PropertyManager Interface
+ local interface PropertyManager {
+
+ void set_default_properties (in Properties props)
+ raises (InvalidProperty, UnsupportedProperty);
+
+ Properties get_default_properties();
+
+ void remove_default_properties (in Properties props)
+ raises (InvalidProperty, UnsupportedProperty);
+
+ void set_type_properties (in TypeId type_id, in Properties overrides)
+ raises (InvalidProperty, UnsupportedProperty);
+
+ Properties get_type_properties(in TypeId type_id);
+
+ void remove_type_properties (in TypeId type_id, in Properties props)
+ raises (InvalidProperty, UnsupportedProperty);
+
+ void set_properties_dynamically
+ (in ObjectGroup object_group, in Properties overrides)
+ raises
+ (ObjectGroupNotFound,
+ InvalidProperty,
+ UnsupportedProperty);
+
+ Properties get_properties (in ObjectGroup object_group)
+ raises(ObjectGroupNotFound);
+ }; // endPropertyManager
+
+
+ // Specification of ObjectGroupManager Interface
+ local interface ObjectGroupManager {
+ ObjectGroup create_member (in ObjectGroup object_group,
+ in Location the_location,
+ in TypeId type_id,
+ in Criteria the_criteria)
+ raises (ObjectGroupNotFound,
+ MemberAlreadyPresent,
+ NoFactory,
+ ObjectNotCreated,
+ InvalidCriteria,
+ CannotMeetCriteria);
+
+ ObjectGroup add_member (in ObjectGroup object_group,
+ in Location the_location,
+ in Object member)
+ raises (ObjectGroupNotFound,
+// CORBA::INV_OBJREF,
+ MemberAlreadyPresent,
+ ObjectNotAdded);
+
+ ObjectGroup remove_member (in ObjectGroup object_group,
+ in Location the_location)
+ raises (ObjectGroupNotFound, MemberNotFound);
+
+ Locations locations_of_members (in ObjectGroup object_group)
+ raises(ObjectGroupNotFound);
+
+ ObjectGroupId get_object_group_id (in ObjectGroup object_group)
+ raises(ObjectGroupNotFound);
+
+ ObjectGroup get_object_group_ref (in ObjectGroup object_group)
+ raises(ObjectGroupNotFound);
+
+ Object get_member_ref (in ObjectGroup object_group,
+ in Location loc)
+ raises(ObjectGroupNotFound, MemberNotFound);
+
+ }; // end ObjectGroupManager
+
+
+ // Specification of GenericFactory Interface
+ local interface GenericFactory {
+ typedef any FactoryCreationId;
+
+ Object create_object (in TypeId type_id,
+ in Criteria the_criteria,
+ out FactoryCreationId factory_creation_id)
+ raises
+ (NoFactory,
+ ObjectNotCreated,
+ InvalidCriteria,
+ InvalidProperty,
+ CannotMeetCriteria);
+
+ void delete_object (in FactoryCreationId factory_creation_id)
+ raises (ObjectNotFound);
+
+ }; // end GenericFactory
+
+}; // end PortableGroup
+
+#endif // for #ifndef _PortableGroup_IDL_
diff --git a/TAO/tao/PortableGroup/PortableGroupC.cpp b/TAO/tao/PortableGroup/PortableGroupC.cpp
new file mode 100644
index 00000000000..daac61c0f0d
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupC.cpp
@@ -0,0 +1,6877 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#include "PortableGroupC.h"
+
+#include "tao/Stub.h"
+#include "tao/Invocation.h"
+#include "tao/ClientRequestInfo.h"
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "PortableGroupC.i"
+#endif /* !defined INLINE */
+
+static const CORBA::Long _oc_PortableGroup_GroupDomainId[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4772),
+ ACE_NTOHL (0x6f757044),
+ ACE_NTOHL (0x6f6d6169),
+ ACE_NTOHL (0x6e49643a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/GroupDomainId:1.0
+ 14,
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x70446f6d),
+ ACE_NTOHL (0x61696e49),
+ ACE_NTOHL (0x64000000), // name = GroupDomainId
+ CORBA::tk_string,
+ 0U, // string length
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_GroupDomainId (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_GroupDomainId),
+ (char *) &_oc_PortableGroup_GroupDomainId,
+ 0,
+ sizeof (PortableGroup::GroupDomainId)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_GroupDomainId, &_tc_TAO_tc_PortableGroup_GroupDomainId)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_ObjectGroupId[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x7049643a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/ObjectGroupId:1.0
+ 14,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744772),
+ ACE_NTOHL (0x6f757049),
+ ACE_NTOHL (0x64000000), // name = ObjectGroupId
+ CORBA::tk_ulonglong,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_ObjectGroupId (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_ObjectGroupId),
+ (char *) &_oc_PortableGroup_ObjectGroupId,
+ 0,
+ sizeof (PortableGroup::ObjectGroupId)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ObjectGroupId, &_tc_TAO_tc_PortableGroup_ObjectGroupId)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_ObjectGroupRefVersion[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 52,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x70526566),
+ ACE_NTOHL (0x56657273),
+ ACE_NTOHL (0x696f6e3a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/ObjectGroupRefVersion:1.0
+ 22,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744772),
+ ACE_NTOHL (0x6f757052),
+ ACE_NTOHL (0x65665665),
+ ACE_NTOHL (0x7273696f),
+ ACE_NTOHL (0x6e000000), // name = ObjectGroupRefVersion
+ CORBA::tk_ulong,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_ObjectGroupRefVersion (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_ObjectGroupRefVersion),
+ (char *) &_oc_PortableGroup_ObjectGroupRefVersion,
+ 0,
+ sizeof (PortableGroup::ObjectGroupRefVersion)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ObjectGroupRefVersion, &_tc_TAO_tc_PortableGroup_ObjectGroupRefVersion)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_TagGroupTaggedComponent[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 54,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5461),
+ ACE_NTOHL (0x6747726f),
+ ACE_NTOHL (0x75705461),
+ ACE_NTOHL (0x67676564),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x743a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableGroup/TagGroupTaggedComponent:1.0
+ 24,
+ ACE_NTOHL (0x54616747),
+ ACE_NTOHL (0x726f7570),
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e7400), // name = TagGroupTaggedComponent
+ 4, // member count
+ 8,
+ ACE_NTOHL (0x76657273),
+ ACE_NTOHL (0x696f6e00), // name = version
+ CORBA::tk_struct, // typecode kind
+ 88, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 29,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x47494f50),
+ ACE_NTOHL (0x2f566572),
+ ACE_NTOHL (0x73696f6e),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/GIOP/Version:1.0
+ 8,
+ ACE_NTOHL (0x56657273),
+ ACE_NTOHL (0x696f6e00), // name = Version
+ 2, // member count
+ 6,
+ ACE_NTOHL (0x6d616a6f),
+ ACE_NTOHL (0x72000000), // name = major
+ CORBA::tk_octet,
+
+ 6,
+ ACE_NTOHL (0x6d696e6f),
+ ACE_NTOHL (0x72000000), // name = minor
+ CORBA::tk_octet,
+
+
+ 16,
+ ACE_NTOHL (0x67726f75),
+ ACE_NTOHL (0x705f646f),
+ ACE_NTOHL (0x6d61696e),
+ ACE_NTOHL (0x5f696400), // name = group_domain_id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 80, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4772),
+ ACE_NTOHL (0x6f757044),
+ ACE_NTOHL (0x6f6d6169),
+ ACE_NTOHL (0x6e49643a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/GroupDomainId:1.0
+ 14,
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x70446f6d),
+ ACE_NTOHL (0x61696e49),
+ ACE_NTOHL (0x64000000), // name = GroupDomainId
+ CORBA::tk_string,
+ 0U, // string length
+
+ 16,
+ ACE_NTOHL (0x6f626a65),
+ ACE_NTOHL (0x63745f67),
+ ACE_NTOHL (0x726f7570),
+ ACE_NTOHL (0x5f696400), // name = object_group_id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 76, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 44,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x7049643a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/ObjectGroupId:1.0
+ 14,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744772),
+ ACE_NTOHL (0x6f757049),
+ ACE_NTOHL (0x64000000), // name = ObjectGroupId
+ CORBA::tk_ulonglong,
+
+
+ 25,
+ ACE_NTOHL (0x6f626a65),
+ ACE_NTOHL (0x63745f67),
+ ACE_NTOHL (0x726f7570),
+ ACE_NTOHL (0x5f726566),
+ ACE_NTOHL (0x5f766572),
+ ACE_NTOHL (0x73696f6e),
+ ACE_NTOHL (0x0), // name = object_group_ref_version
+ CORBA::tk_alias, // typecode kind for typedefs
+ 92, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 52,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x70526566),
+ ACE_NTOHL (0x56657273),
+ ACE_NTOHL (0x696f6e3a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/ObjectGroupRefVersion:1.0
+ 22,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744772),
+ ACE_NTOHL (0x6f757052),
+ ACE_NTOHL (0x65665665),
+ ACE_NTOHL (0x7273696f),
+ ACE_NTOHL (0x6e000000), // name = ObjectGroupRefVersion
+ CORBA::tk_ulong,
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_TagGroupTaggedComponent (
+ CORBA::tk_struct,
+ sizeof (_oc_PortableGroup_TagGroupTaggedComponent),
+ (char *) &_oc_PortableGroup_TagGroupTaggedComponent,
+ 0,
+ sizeof (PortableGroup::TagGroupTaggedComponent)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_TagGroupTaggedComponent, &_tc_TAO_tc_PortableGroup_TagGroupTaggedComponent)
+TAO_NAMESPACE_END
+
+void PortableGroup::TagGroupTaggedComponent::_tao_any_destructor (void *x)
+{
+ TagGroupTaggedComponent *tmp = ACE_static_cast (TagGroupTaggedComponent*,x);
+ delete tmp;
+}
+
+static const CORBA::Long _oc_PortableGroup_TypeId[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 37,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5479),
+ ACE_NTOHL (0x70654964),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/TypeId:1.0
+ 7,
+ ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x49640000), // name = TypeId
+ CORBA::tk_alias, // typecode kind for typedefs
+ 72, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x49643a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/RepositoryId:1.0
+ 13,
+ ACE_NTOHL (0x5265706f),
+ ACE_NTOHL (0x7369746f),
+ ACE_NTOHL (0x72794964),
+ ACE_NTOHL (0x0), // name = RepositoryId
+ CORBA::tk_string,
+ 0U, // string length
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_TypeId (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_TypeId),
+ (char *) &_oc_PortableGroup_TypeId,
+ 0,
+ sizeof (PortableGroup::TypeId)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_TypeId, &_tc_TAO_tc_PortableGroup_TypeId)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_ObjectGroup[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 42,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x703a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableGroup/ObjectGroup:1.0
+ 12,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744772),
+ ACE_NTOHL (0x6f757000), // name = ObjectGroup
+ 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 (0x0), // repository ID = IDL:omg.org/CORBA/Object:1.0
+ 7,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63740000), // name = Object
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_ObjectGroup (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_ObjectGroup),
+ (char *) &_oc_PortableGroup_ObjectGroup,
+ 0,
+ sizeof (PortableGroup::ObjectGroup)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ObjectGroup, &_tc_TAO_tc_PortableGroup_ObjectGroup)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_Name[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_Name (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_Name),
+ (char *) &_oc_PortableGroup_Name,
+ 0,
+ sizeof (PortableGroup::Name)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Name, &_tc_TAO_tc_PortableGroup_Name)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_Value[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5661),
+ ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Value:1.0
+ 6,
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65000000), // name = Value
+ CORBA::tk_any,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_Value (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_Value),
+ (char *) &_oc_PortableGroup_Value,
+ 0,
+ sizeof (PortableGroup::Value)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Value, &_tc_TAO_tc_PortableGroup_Value)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_Property[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Property:1.0
+ 9,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727479),
+ ACE_NTOHL (0x0), // name = Property
+ 2, // member count
+ 4,
+ ACE_NTOHL (0x6e616d00), // name = nam
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+ 4,
+ ACE_NTOHL (0x76616c00), // name = val
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5661),
+ ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Value:1.0
+ 6,
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65000000), // name = Value
+ CORBA::tk_any,
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_Property (
+ CORBA::tk_struct,
+ sizeof (_oc_PortableGroup_Property),
+ (char *) &_oc_PortableGroup_Property,
+ 0,
+ sizeof (PortableGroup::Property)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Property, &_tc_TAO_tc_PortableGroup_Property)
+TAO_NAMESPACE_END
+
+void PortableGroup::Property::_tao_any_destructor (void *x)
+{
+ Property *tmp = ACE_static_cast (Property*,x);
+ delete tmp;
+}
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_PROPERTIES_CS_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_PROPERTIES_CS_
+
+ void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::_allocate_buffer (CORBA::ULong length)
+ {
+ PortableGroup::Property* tmp = 0;
+ tmp = _TAO_Unbounded_Sequence_PortableGroup_Properties::allocbuf (length);
+
+ if (this->buffer_ != 0)
+ {
+ PortableGroup::Property *old = ACE_reinterpret_cast (PortableGroup::Property *,this->buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp[i] = old[i];
+
+ if (this->release_)
+ _TAO_Unbounded_Sequence_PortableGroup_Properties::freebuf (old);
+
+ }
+ this->buffer_ = tmp;
+ }
+
+ void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::_deallocate_buffer (void)
+ {
+ if (this->buffer_ == 0 || this->release_ == 0)
+ return;
+
+ PortableGroup::Property *tmp = ACE_reinterpret_cast (PortableGroup::Property *,this->buffer_);
+
+ _TAO_Unbounded_Sequence_PortableGroup_Properties::freebuf (tmp);
+ this->buffer_ = 0;
+ }
+
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::~_TAO_Unbounded_Sequence_PortableGroup_Properties (void) // Dtor.
+ {
+ this->_deallocate_buffer ();
+ }
+
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_PROPERTIES_CS_)
+#define _PORTABLEGROUP_PROPERTIES_CS_
+
+// *************************************************************
+// PortableGroup::Properties
+// *************************************************************
+
+PortableGroup::Properties::Properties (void)
+{}
+PortableGroup::Properties::Properties (CORBA::ULong max) // uses max size
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Properties
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::Property>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max)
+{}
+PortableGroup::Properties::Properties (CORBA::ULong max, CORBA::ULong length, PortableGroup::Property *buffer, CORBA::Boolean release)
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Properties
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::Property>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max, length, buffer, release)
+{}
+PortableGroup::Properties::Properties (const Properties &seq) // copy ctor
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Properties
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::Property>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (seq)
+{}
+PortableGroup::Properties::~Properties (void) // dtor
+{}
+void PortableGroup::Properties::_tao_any_destructor (void *x)
+{
+ Properties *tmp = ACE_static_cast (Properties*,x);
+ delete tmp;
+}
+
+
+#endif /* end #if !defined */
+
+static const CORBA::Long _oc_PortableGroup_Properties[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 41,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74696573),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/Properties:1.0
+ 11,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727469),
+ ACE_NTOHL (0x65730000), // name = Properties
+ CORBA::tk_sequence, // typecode kind
+ 552, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 536, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Property:1.0
+ 9,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727479),
+ ACE_NTOHL (0x0), // name = Property
+ 2, // member count
+ 4,
+ ACE_NTOHL (0x6e616d00), // name = nam
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+ 4,
+ ACE_NTOHL (0x76616c00), // name = val
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5661),
+ ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Value:1.0
+ 6,
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65000000), // name = Value
+ CORBA::tk_any,
+
+
+
+ 0U,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_Properties (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_Properties),
+ (char *) &_oc_PortableGroup_Properties,
+ 0,
+ sizeof (PortableGroup::Properties)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Properties, &_tc_TAO_tc_PortableGroup_Properties)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_Location[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4c6f),
+ ACE_NTOHL (0x63617469),
+ ACE_NTOHL (0x6f6e3a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Location:1.0
+ 9,
+ ACE_NTOHL (0x4c6f6361),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x0), // name = Location
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_Location (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_Location),
+ (char *) &_oc_PortableGroup_Location,
+ 0,
+ sizeof (PortableGroup::Location)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Location, &_tc_TAO_tc_PortableGroup_Location)
+TAO_NAMESPACE_END
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_LOCATIONS_CS_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_LOCATIONS_CS_
+
+ void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::_allocate_buffer (CORBA::ULong length)
+ {
+ PortableGroup::Location* tmp = 0;
+ tmp = _TAO_Unbounded_Sequence_PortableGroup_Locations::allocbuf (length);
+
+ if (this->buffer_ != 0)
+ {
+ PortableGroup::Location *old = ACE_reinterpret_cast (PortableGroup::Location *,this->buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp[i] = old[i];
+
+ if (this->release_)
+ _TAO_Unbounded_Sequence_PortableGroup_Locations::freebuf (old);
+
+ }
+ this->buffer_ = tmp;
+ }
+
+ void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::_deallocate_buffer (void)
+ {
+ if (this->buffer_ == 0 || this->release_ == 0)
+ return;
+
+ PortableGroup::Location *tmp = ACE_reinterpret_cast (PortableGroup::Location *,this->buffer_);
+
+ _TAO_Unbounded_Sequence_PortableGroup_Locations::freebuf (tmp);
+ this->buffer_ = 0;
+ }
+
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::~_TAO_Unbounded_Sequence_PortableGroup_Locations (void) // Dtor.
+ {
+ this->_deallocate_buffer ();
+ }
+
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_LOCATIONS_CS_)
+#define _PORTABLEGROUP_LOCATIONS_CS_
+
+// *************************************************************
+// PortableGroup::Locations
+// *************************************************************
+
+PortableGroup::Locations::Locations (void)
+{}
+PortableGroup::Locations::Locations (CORBA::ULong max) // uses max size
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Locations
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::Location>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max)
+{}
+PortableGroup::Locations::Locations (CORBA::ULong max, CORBA::ULong length, PortableGroup::Location *buffer, CORBA::Boolean release)
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Locations
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::Location>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max, length, buffer, release)
+{}
+PortableGroup::Locations::Locations (const Locations &seq) // copy ctor
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Locations
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::Location>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (seq)
+{}
+PortableGroup::Locations::~Locations (void) // dtor
+{}
+void PortableGroup::Locations::_tao_any_destructor (void *x)
+{
+ Locations *tmp = ACE_static_cast (Locations*,x);
+ delete tmp;
+}
+
+
+#endif /* end #if !defined */
+
+static const CORBA::Long _oc_PortableGroup_Locations[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4c6f),
+ ACE_NTOHL (0x63617469),
+ ACE_NTOHL (0x6f6e733a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Locations:1.0
+ 10,
+ ACE_NTOHL (0x4c6f6361),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x73000000), // name = Locations
+ CORBA::tk_sequence, // typecode kind
+ 464, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_alias, // typecode kind for typedefs
+ 448, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4c6f),
+ ACE_NTOHL (0x63617469),
+ ACE_NTOHL (0x6f6e3a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Location:1.0
+ 9,
+ ACE_NTOHL (0x4c6f6361),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x0), // name = Location
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+
+ 0U,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_Locations (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_Locations),
+ (char *) &_oc_PortableGroup_Locations,
+ 0,
+ sizeof (PortableGroup::Locations)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Locations, &_tc_TAO_tc_PortableGroup_Locations)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_Criteria[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4372),
+ ACE_NTOHL (0x69746572),
+ ACE_NTOHL (0x69613a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Criteria:1.0
+ 9,
+ ACE_NTOHL (0x43726974),
+ ACE_NTOHL (0x65726961),
+ ACE_NTOHL (0x0), // name = Criteria
+ CORBA::tk_alias, // typecode kind for typedefs
+ 628, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 41,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74696573),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/Properties:1.0
+ 11,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727469),
+ ACE_NTOHL (0x65730000), // name = Properties
+ CORBA::tk_sequence, // typecode kind
+ 552, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 536, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Property:1.0
+ 9,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727479),
+ ACE_NTOHL (0x0), // name = Property
+ 2, // member count
+ 4,
+ ACE_NTOHL (0x6e616d00), // name = nam
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+ 4,
+ ACE_NTOHL (0x76616c00), // name = val
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5661),
+ ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Value:1.0
+ 6,
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65000000), // name = Value
+ CORBA::tk_any,
+
+
+
+ 0U,
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_Criteria (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_Criteria),
+ (char *) &_oc_PortableGroup_Criteria,
+ 0,
+ sizeof (PortableGroup::Criteria)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Criteria, &_tc_TAO_tc_PortableGroup_Criteria)
+TAO_NAMESPACE_END
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_FACTORYINFOS_CS_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_FACTORYINFOS_CS_
+
+ void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::_allocate_buffer (CORBA::ULong length)
+ {
+ PortableGroup::FactoryInfo* tmp = 0;
+ tmp = _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::allocbuf (length);
+
+ if (this->buffer_ != 0)
+ {
+ PortableGroup::FactoryInfo *old = ACE_reinterpret_cast (PortableGroup::FactoryInfo *,this->buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp[i] = old[i];
+
+ if (this->release_)
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::freebuf (old);
+
+ }
+ this->buffer_ = tmp;
+ }
+
+ void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::_deallocate_buffer (void)
+ {
+ if (this->buffer_ == 0 || this->release_ == 0)
+ return;
+
+ PortableGroup::FactoryInfo *tmp = ACE_reinterpret_cast (PortableGroup::FactoryInfo *,this->buffer_);
+
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::freebuf (tmp);
+ this->buffer_ = 0;
+ }
+
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::~_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (void) // Dtor.
+ {
+ this->_deallocate_buffer ();
+ }
+
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_FACTORYINFOS_CS_)
+#define _PORTABLEGROUP_FACTORYINFOS_CS_
+
+// *************************************************************
+// PortableGroup::FactoryInfos
+// *************************************************************
+
+PortableGroup::FactoryInfos::FactoryInfos (void)
+{}
+PortableGroup::FactoryInfos::FactoryInfos (CORBA::ULong max) // uses max size
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::FactoryInfo>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max)
+{}
+PortableGroup::FactoryInfos::FactoryInfos (CORBA::ULong max, CORBA::ULong length, PortableGroup::FactoryInfo *buffer, CORBA::Boolean release)
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::FactoryInfo>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max, length, buffer, release)
+{}
+PortableGroup::FactoryInfos::FactoryInfos (const FactoryInfos &seq) // copy ctor
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<PortableGroup::FactoryInfo>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (seq)
+{}
+PortableGroup::FactoryInfos::~FactoryInfos (void) // dtor
+{}
+void PortableGroup::FactoryInfos::_tao_any_destructor (void *x)
+{
+ FactoryInfos *tmp = ACE_static_cast (FactoryInfos*,x);
+ delete tmp;
+}
+
+
+#endif /* end #if !defined */
+
+static const CORBA::Long _oc_PortableGroup_MembershipStyleValue[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 51,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4d65),
+ ACE_NTOHL (0x6d626572),
+ ACE_NTOHL (0x73686970),
+ ACE_NTOHL (0x5374796c),
+ ACE_NTOHL (0x6556616c),
+ ACE_NTOHL (0x75653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/MembershipStyleValue:1.0
+ 21,
+ ACE_NTOHL (0x4d656d62),
+ ACE_NTOHL (0x65727368),
+ ACE_NTOHL (0x69705374),
+ ACE_NTOHL (0x796c6556),
+ ACE_NTOHL (0x616c7565),
+ ACE_NTOHL (0x0), // name = MembershipStyleValue
+ CORBA::tk_long,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_MembershipStyleValue (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_MembershipStyleValue),
+ (char *) &_oc_PortableGroup_MembershipStyleValue,
+ 0,
+ sizeof (PortableGroup::MembershipStyleValue)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_MembershipStyleValue, &_tc_TAO_tc_PortableGroup_MembershipStyleValue)
+TAO_NAMESPACE_END
+
+TAO_NAMESPACE_TYPE (const CORBA::Long)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (const CORBA::Long, MEMB_APP_CTRL, 0)
+TAO_NAMESPACE_END
+TAO_NAMESPACE_TYPE (const CORBA::Long)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (const CORBA::Long, MEMB_INF_CTRL, 1)
+TAO_NAMESPACE_END
+static const CORBA::Long _oc_PortableGroup_InitialNumberReplicasValue[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 57,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f496e),
+ ACE_NTOHL (0x69746961),
+ ACE_NTOHL (0x6c4e756d),
+ ACE_NTOHL (0x62657252),
+ ACE_NTOHL (0x65706c69),
+ ACE_NTOHL (0x63617356),
+ ACE_NTOHL (0x616c7565),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/InitialNumberReplicasValue:1.0
+ 27,
+ ACE_NTOHL (0x496e6974),
+ ACE_NTOHL (0x69616c4e),
+ ACE_NTOHL (0x756d6265),
+ ACE_NTOHL (0x72526570),
+ ACE_NTOHL (0x6c696361),
+ ACE_NTOHL (0x7356616c),
+ ACE_NTOHL (0x75650000), // name = InitialNumberReplicasValue
+ CORBA::tk_ushort,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_InitialNumberReplicasValue (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_InitialNumberReplicasValue),
+ (char *) &_oc_PortableGroup_InitialNumberReplicasValue,
+ 0,
+ sizeof (PortableGroup::InitialNumberReplicasValue)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InitialNumberReplicasValue, &_tc_TAO_tc_PortableGroup_InitialNumberReplicasValue)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_PortableGroup_MinimumNumberReplicasValue[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 57,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4d69),
+ ACE_NTOHL (0x6e696d75),
+ ACE_NTOHL (0x6d4e756d),
+ ACE_NTOHL (0x62657252),
+ ACE_NTOHL (0x65706c69),
+ ACE_NTOHL (0x63617356),
+ ACE_NTOHL (0x616c7565),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/MinimumNumberReplicasValue:1.0
+ 27,
+ ACE_NTOHL (0x4d696e69),
+ ACE_NTOHL (0x6d756d4e),
+ ACE_NTOHL (0x756d6265),
+ ACE_NTOHL (0x72526570),
+ ACE_NTOHL (0x6c696361),
+ ACE_NTOHL (0x7356616c),
+ ACE_NTOHL (0x75650000), // name = MinimumNumberReplicasValue
+ CORBA::tk_ushort,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_MinimumNumberReplicasValue (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableGroup_MinimumNumberReplicasValue),
+ (char *) &_oc_PortableGroup_MinimumNumberReplicasValue,
+ 0,
+ sizeof (PortableGroup::MinimumNumberReplicasValue)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_MinimumNumberReplicasValue, &_tc_TAO_tc_PortableGroup_MinimumNumberReplicasValue)
+TAO_NAMESPACE_END
+
+// Default constructor.
+PortableGroup::InterfaceNotFound::InterfaceNotFound (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/InterfaceNotFound:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::InterfaceNotFound::~InterfaceNotFound (void)
+{
+}
+
+void PortableGroup::InterfaceNotFound::_tao_any_destructor (void *x)
+{
+ InterfaceNotFound *tmp = ACE_static_cast (InterfaceNotFound*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::InterfaceNotFound::InterfaceNotFound (const ::PortableGroup::InterfaceNotFound &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::InterfaceNotFound&
+PortableGroup::InterfaceNotFound::operator= (const ::PortableGroup::InterfaceNotFound &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::InterfaceNotFound *
+PortableGroup::InterfaceNotFound::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/InterfaceNotFound:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (InterfaceNotFound *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::InterfaceNotFound::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::InterfaceNotFound::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::InterfaceNotFound::_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 *PortableGroup::InterfaceNotFound::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::InterfaceNotFound, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_InterfaceNotFound[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 48,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f496e),
+ ACE_NTOHL (0x74657266),
+ ACE_NTOHL (0x6163654e),
+ ACE_NTOHL (0x6f74466f),
+ ACE_NTOHL (0x756e643a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/InterfaceNotFound:1.0
+ 18,
+ ACE_NTOHL (0x496e7465),
+ ACE_NTOHL (0x72666163),
+ ACE_NTOHL (0x654e6f74),
+ ACE_NTOHL (0x466f756e),
+ ACE_NTOHL (0x64000000), // name = InterfaceNotFound
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_InterfaceNotFound (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_InterfaceNotFound),
+ (char *) &_oc_PortableGroup_InterfaceNotFound,
+ 0,
+ sizeof (PortableGroup::InterfaceNotFound)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InterfaceNotFound, &_tc_TAO_tc_PortableGroup_InterfaceNotFound)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::InterfaceNotFound::_type (void) const
+{
+ return ::PortableGroup::_tc_InterfaceNotFound;
+}
+
+// Default constructor.
+PortableGroup::ObjectGroupNotFound::ObjectGroupNotFound (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/ObjectGroupNotFound:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::ObjectGroupNotFound::~ObjectGroupNotFound (void)
+{
+}
+
+void PortableGroup::ObjectGroupNotFound::_tao_any_destructor (void *x)
+{
+ ObjectGroupNotFound *tmp = ACE_static_cast (ObjectGroupNotFound*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::ObjectGroupNotFound::ObjectGroupNotFound (const ::PortableGroup::ObjectGroupNotFound &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::ObjectGroupNotFound&
+PortableGroup::ObjectGroupNotFound::operator= (const ::PortableGroup::ObjectGroupNotFound &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::ObjectGroupNotFound *
+PortableGroup::ObjectGroupNotFound::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/ObjectGroupNotFound:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (ObjectGroupNotFound *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::ObjectGroupNotFound::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::ObjectGroupNotFound::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::ObjectGroupNotFound::_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 *PortableGroup::ObjectGroupNotFound::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::ObjectGroupNotFound, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_ObjectGroupNotFound[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 50,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x704e6f74),
+ ACE_NTOHL (0x466f756e),
+ ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableGroup/ObjectGroupNotFound:1.0
+ 20,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744772),
+ ACE_NTOHL (0x6f75704e),
+ ACE_NTOHL (0x6f74466f),
+ ACE_NTOHL (0x756e6400), // name = ObjectGroupNotFound
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_ObjectGroupNotFound (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_ObjectGroupNotFound),
+ (char *) &_oc_PortableGroup_ObjectGroupNotFound,
+ 0,
+ sizeof (PortableGroup::ObjectGroupNotFound)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ObjectGroupNotFound, &_tc_TAO_tc_PortableGroup_ObjectGroupNotFound)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::ObjectGroupNotFound::_type (void) const
+{
+ return ::PortableGroup::_tc_ObjectGroupNotFound;
+}
+
+// Default constructor.
+PortableGroup::MemberNotFound::MemberNotFound (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/MemberNotFound:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::MemberNotFound::~MemberNotFound (void)
+{
+}
+
+void PortableGroup::MemberNotFound::_tao_any_destructor (void *x)
+{
+ MemberNotFound *tmp = ACE_static_cast (MemberNotFound*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::MemberNotFound::MemberNotFound (const ::PortableGroup::MemberNotFound &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::MemberNotFound&
+PortableGroup::MemberNotFound::operator= (const ::PortableGroup::MemberNotFound &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::MemberNotFound *
+PortableGroup::MemberNotFound::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/MemberNotFound:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (MemberNotFound *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::MemberNotFound::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::MemberNotFound::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::MemberNotFound::_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 *PortableGroup::MemberNotFound::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::MemberNotFound, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_MemberNotFound[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 45,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4d65),
+ ACE_NTOHL (0x6d626572),
+ ACE_NTOHL (0x4e6f7446),
+ ACE_NTOHL (0x6f756e64),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/MemberNotFound:1.0
+ 15,
+ ACE_NTOHL (0x4d656d62),
+ ACE_NTOHL (0x65724e6f),
+ ACE_NTOHL (0x74466f75),
+ ACE_NTOHL (0x6e640000), // name = MemberNotFound
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_MemberNotFound (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_MemberNotFound),
+ (char *) &_oc_PortableGroup_MemberNotFound,
+ 0,
+ sizeof (PortableGroup::MemberNotFound)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_MemberNotFound, &_tc_TAO_tc_PortableGroup_MemberNotFound)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::MemberNotFound::_type (void) const
+{
+ return ::PortableGroup::_tc_MemberNotFound;
+}
+
+// Default constructor.
+PortableGroup::ObjectNotFound::ObjectNotFound (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/ObjectNotFound:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::ObjectNotFound::~ObjectNotFound (void)
+{
+}
+
+void PortableGroup::ObjectNotFound::_tao_any_destructor (void *x)
+{
+ ObjectNotFound *tmp = ACE_static_cast (ObjectNotFound*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::ObjectNotFound::ObjectNotFound (const ::PortableGroup::ObjectNotFound &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::ObjectNotFound&
+PortableGroup::ObjectNotFound::operator= (const ::PortableGroup::ObjectNotFound &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::ObjectNotFound *
+PortableGroup::ObjectNotFound::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/ObjectNotFound:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (ObjectNotFound *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::ObjectNotFound::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::ObjectNotFound::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::ObjectNotFound::_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 *PortableGroup::ObjectNotFound::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::ObjectNotFound, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_ObjectNotFound[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 45,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x4e6f7446),
+ ACE_NTOHL (0x6f756e64),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/ObjectNotFound:1.0
+ 15,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744e6f),
+ ACE_NTOHL (0x74466f75),
+ ACE_NTOHL (0x6e640000), // name = ObjectNotFound
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_ObjectNotFound (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_ObjectNotFound),
+ (char *) &_oc_PortableGroup_ObjectNotFound,
+ 0,
+ sizeof (PortableGroup::ObjectNotFound)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ObjectNotFound, &_tc_TAO_tc_PortableGroup_ObjectNotFound)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::ObjectNotFound::_type (void) const
+{
+ return ::PortableGroup::_tc_ObjectNotFound;
+}
+
+// Default constructor.
+PortableGroup::MemberAlreadyPresent::MemberAlreadyPresent (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/MemberAlreadyPresent:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::MemberAlreadyPresent::~MemberAlreadyPresent (void)
+{
+}
+
+void PortableGroup::MemberAlreadyPresent::_tao_any_destructor (void *x)
+{
+ MemberAlreadyPresent *tmp = ACE_static_cast (MemberAlreadyPresent*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::MemberAlreadyPresent::MemberAlreadyPresent (const ::PortableGroup::MemberAlreadyPresent &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::MemberAlreadyPresent&
+PortableGroup::MemberAlreadyPresent::operator= (const ::PortableGroup::MemberAlreadyPresent &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::MemberAlreadyPresent *
+PortableGroup::MemberAlreadyPresent::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/MemberAlreadyPresent:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (MemberAlreadyPresent *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::MemberAlreadyPresent::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::MemberAlreadyPresent::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::MemberAlreadyPresent::_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 *PortableGroup::MemberAlreadyPresent::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::MemberAlreadyPresent, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_MemberAlreadyPresent[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 51,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4d65),
+ ACE_NTOHL (0x6d626572),
+ ACE_NTOHL (0x416c7265),
+ ACE_NTOHL (0x61647950),
+ ACE_NTOHL (0x72657365),
+ ACE_NTOHL (0x6e743a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/MemberAlreadyPresent:1.0
+ 21,
+ ACE_NTOHL (0x4d656d62),
+ ACE_NTOHL (0x6572416c),
+ ACE_NTOHL (0x72656164),
+ ACE_NTOHL (0x79507265),
+ ACE_NTOHL (0x73656e74),
+ ACE_NTOHL (0x0), // name = MemberAlreadyPresent
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_MemberAlreadyPresent (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_MemberAlreadyPresent),
+ (char *) &_oc_PortableGroup_MemberAlreadyPresent,
+ 0,
+ sizeof (PortableGroup::MemberAlreadyPresent)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_MemberAlreadyPresent, &_tc_TAO_tc_PortableGroup_MemberAlreadyPresent)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::MemberAlreadyPresent::_type (void) const
+{
+ return ::PortableGroup::_tc_MemberAlreadyPresent;
+}
+
+// Default constructor.
+PortableGroup::BadReplicationStyle::BadReplicationStyle (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/BadReplicationStyle:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::BadReplicationStyle::~BadReplicationStyle (void)
+{
+}
+
+void PortableGroup::BadReplicationStyle::_tao_any_destructor (void *x)
+{
+ BadReplicationStyle *tmp = ACE_static_cast (BadReplicationStyle*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::BadReplicationStyle::BadReplicationStyle (const ::PortableGroup::BadReplicationStyle &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::BadReplicationStyle&
+PortableGroup::BadReplicationStyle::operator= (const ::PortableGroup::BadReplicationStyle &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::BadReplicationStyle *
+PortableGroup::BadReplicationStyle::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/BadReplicationStyle:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (BadReplicationStyle *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::BadReplicationStyle::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::BadReplicationStyle::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::BadReplicationStyle::_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 *PortableGroup::BadReplicationStyle::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::BadReplicationStyle, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_BadReplicationStyle[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 50,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4261),
+ ACE_NTOHL (0x64526570),
+ ACE_NTOHL (0x6c696361),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x5374796c),
+ ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableGroup/BadReplicationStyle:1.0
+ 20,
+ ACE_NTOHL (0x42616452),
+ ACE_NTOHL (0x65706c69),
+ ACE_NTOHL (0x63617469),
+ ACE_NTOHL (0x6f6e5374),
+ ACE_NTOHL (0x796c6500), // name = BadReplicationStyle
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_BadReplicationStyle (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_BadReplicationStyle),
+ (char *) &_oc_PortableGroup_BadReplicationStyle,
+ 0,
+ sizeof (PortableGroup::BadReplicationStyle)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_BadReplicationStyle, &_tc_TAO_tc_PortableGroup_BadReplicationStyle)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::BadReplicationStyle::_type (void) const
+{
+ return ::PortableGroup::_tc_BadReplicationStyle;
+}
+
+// Default constructor.
+PortableGroup::ObjectNotCreated::ObjectNotCreated (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/ObjectNotCreated:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::ObjectNotCreated::~ObjectNotCreated (void)
+{
+}
+
+void PortableGroup::ObjectNotCreated::_tao_any_destructor (void *x)
+{
+ ObjectNotCreated *tmp = ACE_static_cast (ObjectNotCreated*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::ObjectNotCreated::ObjectNotCreated (const ::PortableGroup::ObjectNotCreated &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::ObjectNotCreated&
+PortableGroup::ObjectNotCreated::operator= (const ::PortableGroup::ObjectNotCreated &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::ObjectNotCreated *
+PortableGroup::ObjectNotCreated::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/ObjectNotCreated:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (ObjectNotCreated *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::ObjectNotCreated::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::ObjectNotCreated::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::ObjectNotCreated::_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 *PortableGroup::ObjectNotCreated::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::ObjectNotCreated, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_ObjectNotCreated[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 47,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x4e6f7443),
+ ACE_NTOHL (0x72656174),
+ ACE_NTOHL (0x65643a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/ObjectNotCreated:1.0
+ 17,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744e6f),
+ ACE_NTOHL (0x74437265),
+ ACE_NTOHL (0x61746564),
+ ACE_NTOHL (0x0), // name = ObjectNotCreated
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_ObjectNotCreated (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_ObjectNotCreated),
+ (char *) &_oc_PortableGroup_ObjectNotCreated,
+ 0,
+ sizeof (PortableGroup::ObjectNotCreated)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ObjectNotCreated, &_tc_TAO_tc_PortableGroup_ObjectNotCreated)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::ObjectNotCreated::_type (void) const
+{
+ return ::PortableGroup::_tc_ObjectNotCreated;
+}
+
+// Default constructor.
+PortableGroup::ObjectNotAdded::ObjectNotAdded (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/ObjectNotAdded:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::ObjectNotAdded::~ObjectNotAdded (void)
+{
+}
+
+void PortableGroup::ObjectNotAdded::_tao_any_destructor (void *x)
+{
+ ObjectNotAdded *tmp = ACE_static_cast (ObjectNotAdded*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::ObjectNotAdded::ObjectNotAdded (const ::PortableGroup::ObjectNotAdded &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+}
+
+// Assignment operator.
+PortableGroup::ObjectNotAdded&
+PortableGroup::ObjectNotAdded::operator= (const ::PortableGroup::ObjectNotAdded &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ return *this;
+}
+
+// Narrow.
+PortableGroup::ObjectNotAdded *
+PortableGroup::ObjectNotAdded::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/ObjectNotAdded:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (ObjectNotAdded *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::ObjectNotAdded::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::ObjectNotAdded::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::ObjectNotAdded::_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 *PortableGroup::ObjectNotAdded::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::ObjectNotAdded, 0);
+ return retval;
+}
+
+static const CORBA::Long _oc_PortableGroup_ObjectNotAdded[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 45,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4f62),
+ ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x4e6f7441),
+ ACE_NTOHL (0x64646564),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/ObjectNotAdded:1.0
+ 15,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744e6f),
+ ACE_NTOHL (0x74416464),
+ ACE_NTOHL (0x65640000), // name = ObjectNotAdded
+ 0, // member count
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_ObjectNotAdded (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_ObjectNotAdded),
+ (char *) &_oc_PortableGroup_ObjectNotAdded,
+ 0,
+ sizeof (PortableGroup::ObjectNotAdded)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_ObjectNotAdded, &_tc_TAO_tc_PortableGroup_ObjectNotAdded)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::ObjectNotAdded::_type (void) const
+{
+ return ::PortableGroup::_tc_ObjectNotAdded;
+}
+
+// Default constructor.
+PortableGroup::UnsupportedProperty::UnsupportedProperty (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/UnsupportedProperty:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::UnsupportedProperty::~UnsupportedProperty (void)
+{
+}
+
+void PortableGroup::UnsupportedProperty::_tao_any_destructor (void *x)
+{
+ UnsupportedProperty *tmp = ACE_static_cast (UnsupportedProperty*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::UnsupportedProperty::UnsupportedProperty (const ::PortableGroup::UnsupportedProperty &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+ this->nam = _tao_excp.nam;
+}
+
+// Assignment operator.
+PortableGroup::UnsupportedProperty&
+PortableGroup::UnsupportedProperty::operator= (const ::PortableGroup::UnsupportedProperty &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ this->nam = _tao_excp.nam;
+ return *this;
+}
+
+// Narrow.
+PortableGroup::UnsupportedProperty *
+PortableGroup::UnsupportedProperty::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/UnsupportedProperty:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (UnsupportedProperty *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::UnsupportedProperty::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::UnsupportedProperty::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::UnsupportedProperty::_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 *PortableGroup::UnsupportedProperty::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::UnsupportedProperty, 0);
+ return retval;
+}
+
+PortableGroup::UnsupportedProperty::UnsupportedProperty (
+ const PortableGroup::Name & _tao_nam
+ )
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/UnsupportedProperty:1.0")
+{
+ this->nam = _tao_nam;
+}
+
+static const CORBA::Long _oc_PortableGroup_UnsupportedProperty[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 50,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f556e),
+ ACE_NTOHL (0x73757070),
+ ACE_NTOHL (0x6f727465),
+ ACE_NTOHL (0x6450726f),
+ ACE_NTOHL (0x70657274),
+ ACE_NTOHL (0x793a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableGroup/UnsupportedProperty:1.0
+ 20,
+ ACE_NTOHL (0x556e7375),
+ ACE_NTOHL (0x70706f72),
+ ACE_NTOHL (0x74656450),
+ ACE_NTOHL (0x726f7065),
+ ACE_NTOHL (0x72747900), // name = UnsupportedProperty
+ 1, // member count
+ 4,
+ ACE_NTOHL (0x6e616d00), // name = nam
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_UnsupportedProperty (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_UnsupportedProperty),
+ (char *) &_oc_PortableGroup_UnsupportedProperty,
+ 0,
+ sizeof (PortableGroup::UnsupportedProperty)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UnsupportedProperty, &_tc_TAO_tc_PortableGroup_UnsupportedProperty)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::UnsupportedProperty::_type (void) const
+{
+ return ::PortableGroup::_tc_UnsupportedProperty;
+}
+
+// Default constructor.
+PortableGroup::InvalidProperty::InvalidProperty (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/InvalidProperty:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::InvalidProperty::~InvalidProperty (void)
+{
+}
+
+void PortableGroup::InvalidProperty::_tao_any_destructor (void *x)
+{
+ InvalidProperty *tmp = ACE_static_cast (InvalidProperty*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::InvalidProperty::InvalidProperty (const ::PortableGroup::InvalidProperty &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+ this->nam = _tao_excp.nam;
+ this->val = _tao_excp.val;
+}
+
+// Assignment operator.
+PortableGroup::InvalidProperty&
+PortableGroup::InvalidProperty::operator= (const ::PortableGroup::InvalidProperty &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ this->nam = _tao_excp.nam;
+ this->val = _tao_excp.val;
+ return *this;
+}
+
+// Narrow.
+PortableGroup::InvalidProperty *
+PortableGroup::InvalidProperty::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/InvalidProperty:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (InvalidProperty *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::InvalidProperty::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::InvalidProperty::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::InvalidProperty::_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 *PortableGroup::InvalidProperty::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::InvalidProperty, 0);
+ return retval;
+}
+
+PortableGroup::InvalidProperty::InvalidProperty (
+ const PortableGroup::Name & _tao_nam,
+ const PortableGroup::Value & _tao_val
+ )
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/InvalidProperty:1.0")
+{
+ this->nam = _tao_nam;
+ this->val = _tao_val;
+}
+
+static const CORBA::Long _oc_PortableGroup_InvalidProperty[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 46,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f496e),
+ ACE_NTOHL (0x76616c69),
+ ACE_NTOHL (0x6450726f),
+ ACE_NTOHL (0x70657274),
+ ACE_NTOHL (0x793a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableGroup/InvalidProperty:1.0
+ 16,
+ ACE_NTOHL (0x496e7661),
+ ACE_NTOHL (0x6c696450),
+ ACE_NTOHL (0x726f7065),
+ ACE_NTOHL (0x72747900), // name = InvalidProperty
+ 2, // member count
+ 4,
+ ACE_NTOHL (0x6e616d00), // name = nam
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+ 4,
+ ACE_NTOHL (0x76616c00), // name = val
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5661),
+ ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Value:1.0
+ 6,
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65000000), // name = Value
+ CORBA::tk_any,
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_InvalidProperty (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_InvalidProperty),
+ (char *) &_oc_PortableGroup_InvalidProperty,
+ 0,
+ sizeof (PortableGroup::InvalidProperty)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InvalidProperty, &_tc_TAO_tc_PortableGroup_InvalidProperty)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::InvalidProperty::_type (void) const
+{
+ return ::PortableGroup::_tc_InvalidProperty;
+}
+
+// Default constructor.
+PortableGroup::NoFactory::NoFactory (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/NoFactory:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::NoFactory::~NoFactory (void)
+{
+}
+
+void PortableGroup::NoFactory::_tao_any_destructor (void *x)
+{
+ NoFactory *tmp = ACE_static_cast (NoFactory*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::NoFactory::NoFactory (const ::PortableGroup::NoFactory &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+ this->the_location = _tao_excp.the_location;
+ this->type_id = CORBA::string_dup (_tao_excp.type_id.in ());
+}
+
+// Assignment operator.
+PortableGroup::NoFactory&
+PortableGroup::NoFactory::operator= (const ::PortableGroup::NoFactory &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ this->the_location = _tao_excp.the_location;
+ this->type_id = CORBA::string_dup (_tao_excp.type_id.in ());
+ return *this;
+}
+
+// Narrow.
+PortableGroup::NoFactory *
+PortableGroup::NoFactory::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/NoFactory:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (NoFactory *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::NoFactory::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::NoFactory::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::NoFactory::_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 *PortableGroup::NoFactory::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::NoFactory, 0);
+ return retval;
+}
+
+PortableGroup::NoFactory::NoFactory (
+ const PortableGroup::Location & _tao_the_location,
+ const char * _tao_type_id
+ )
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/NoFactory:1.0")
+{
+ this->the_location = _tao_the_location;
+ this->type_id = CORBA::string_dup (_tao_type_id);
+}
+
+static const CORBA::Long _oc_PortableGroup_NoFactory[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e6f),
+ ACE_NTOHL (0x46616374),
+ ACE_NTOHL (0x6f72793a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/NoFactory:1.0
+ 10,
+ ACE_NTOHL (0x4e6f4661),
+ ACE_NTOHL (0x63746f72),
+ ACE_NTOHL (0x79000000), // name = NoFactory
+ 2, // member count
+ 13,
+ ACE_NTOHL (0x7468655f),
+ ACE_NTOHL (0x6c6f6361),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x0), // name = the_location
+ CORBA::tk_alias, // typecode kind for typedefs
+ 448, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4c6f),
+ ACE_NTOHL (0x63617469),
+ ACE_NTOHL (0x6f6e3a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Location:1.0
+ 9,
+ ACE_NTOHL (0x4c6f6361),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x0), // name = Location
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+
+ 8,
+ ACE_NTOHL (0x74797065),
+ ACE_NTOHL (0x5f696400), // name = type_id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 140, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 37,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5479),
+ ACE_NTOHL (0x70654964),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/TypeId:1.0
+ 7,
+ ACE_NTOHL (0x54797065),
+ ACE_NTOHL (0x49640000), // name = TypeId
+ CORBA::tk_alias, // typecode kind for typedefs
+ 72, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x434f5242),
+ ACE_NTOHL (0x412f5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x49643a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/RepositoryId:1.0
+ 13,
+ ACE_NTOHL (0x5265706f),
+ ACE_NTOHL (0x7369746f),
+ ACE_NTOHL (0x72794964),
+ ACE_NTOHL (0x0), // name = RepositoryId
+ CORBA::tk_string,
+ 0U, // string length
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_NoFactory (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_NoFactory),
+ (char *) &_oc_PortableGroup_NoFactory,
+ 0,
+ sizeof (PortableGroup::NoFactory)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_NoFactory, &_tc_TAO_tc_PortableGroup_NoFactory)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::NoFactory::_type (void) const
+{
+ return ::PortableGroup::_tc_NoFactory;
+}
+
+// Default constructor.
+PortableGroup::InvalidCriteria::InvalidCriteria (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/InvalidCriteria:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::InvalidCriteria::~InvalidCriteria (void)
+{
+}
+
+void PortableGroup::InvalidCriteria::_tao_any_destructor (void *x)
+{
+ InvalidCriteria *tmp = ACE_static_cast (InvalidCriteria*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::InvalidCriteria::InvalidCriteria (const ::PortableGroup::InvalidCriteria &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+ this->invalid_criteria = _tao_excp.invalid_criteria;
+}
+
+// Assignment operator.
+PortableGroup::InvalidCriteria&
+PortableGroup::InvalidCriteria::operator= (const ::PortableGroup::InvalidCriteria &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ this->invalid_criteria = _tao_excp.invalid_criteria;
+ return *this;
+}
+
+// Narrow.
+PortableGroup::InvalidCriteria *
+PortableGroup::InvalidCriteria::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/InvalidCriteria:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (InvalidCriteria *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::InvalidCriteria::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::InvalidCriteria::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::InvalidCriteria::_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 *PortableGroup::InvalidCriteria::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::InvalidCriteria, 0);
+ return retval;
+}
+
+PortableGroup::InvalidCriteria::InvalidCriteria (
+ const PortableGroup::Criteria & _tao_invalid_criteria
+ )
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/InvalidCriteria:1.0")
+{
+ this->invalid_criteria = _tao_invalid_criteria;
+}
+
+static const CORBA::Long _oc_PortableGroup_InvalidCriteria[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 46,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f496e),
+ ACE_NTOHL (0x76616c69),
+ ACE_NTOHL (0x64437269),
+ ACE_NTOHL (0x74657269),
+ ACE_NTOHL (0x613a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableGroup/InvalidCriteria:1.0
+ 16,
+ ACE_NTOHL (0x496e7661),
+ ACE_NTOHL (0x6c696443),
+ ACE_NTOHL (0x72697465),
+ ACE_NTOHL (0x72696100), // name = InvalidCriteria
+ 1, // member count
+ 17,
+ ACE_NTOHL (0x696e7661),
+ ACE_NTOHL (0x6c69645f),
+ ACE_NTOHL (0x63726974),
+ ACE_NTOHL (0x65726961),
+ ACE_NTOHL (0x0), // name = invalid_criteria
+ CORBA::tk_alias, // typecode kind for typedefs
+ 700, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4372),
+ ACE_NTOHL (0x69746572),
+ ACE_NTOHL (0x69613a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Criteria:1.0
+ 9,
+ ACE_NTOHL (0x43726974),
+ ACE_NTOHL (0x65726961),
+ ACE_NTOHL (0x0), // name = Criteria
+ CORBA::tk_alias, // typecode kind for typedefs
+ 628, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 41,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74696573),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/Properties:1.0
+ 11,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727469),
+ ACE_NTOHL (0x65730000), // name = Properties
+ CORBA::tk_sequence, // typecode kind
+ 552, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 536, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Property:1.0
+ 9,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727479),
+ ACE_NTOHL (0x0), // name = Property
+ 2, // member count
+ 4,
+ ACE_NTOHL (0x6e616d00), // name = nam
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+ 4,
+ ACE_NTOHL (0x76616c00), // name = val
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5661),
+ ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Value:1.0
+ 6,
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65000000), // name = Value
+ CORBA::tk_any,
+
+
+
+ 0U,
+
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_InvalidCriteria (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_InvalidCriteria),
+ (char *) &_oc_PortableGroup_InvalidCriteria,
+ 0,
+ sizeof (PortableGroup::InvalidCriteria)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_InvalidCriteria, &_tc_TAO_tc_PortableGroup_InvalidCriteria)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::InvalidCriteria::_type (void) const
+{
+ return ::PortableGroup::_tc_InvalidCriteria;
+}
+
+// Default constructor.
+PortableGroup::CannotMeetCriteria::CannotMeetCriteria (void)
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/CannotMeetCriteria:1.0")
+{
+}
+
+// Destructor - all members are of self managing types.
+PortableGroup::CannotMeetCriteria::~CannotMeetCriteria (void)
+{
+}
+
+void PortableGroup::CannotMeetCriteria::_tao_any_destructor (void *x)
+{
+ CannotMeetCriteria *tmp = ACE_static_cast (CannotMeetCriteria*,x);
+ delete tmp;
+}
+
+// Copy constructor.
+PortableGroup::CannotMeetCriteria::CannotMeetCriteria (const ::PortableGroup::CannotMeetCriteria &_tao_excp)
+ : CORBA_UserException (_tao_excp._id ())
+{
+ this->unmet_criteria = _tao_excp.unmet_criteria;
+}
+
+// Assignment operator.
+PortableGroup::CannotMeetCriteria&
+PortableGroup::CannotMeetCriteria::operator= (const ::PortableGroup::CannotMeetCriteria &_tao_excp)
+{
+ this->CORBA_UserException::operator= (_tao_excp);
+ this->unmet_criteria = _tao_excp.unmet_criteria;
+ return *this;
+}
+
+// Narrow.
+PortableGroup::CannotMeetCriteria *
+PortableGroup::CannotMeetCriteria::_downcast (CORBA::Exception *exc)
+{
+ if (!ACE_OS::strcmp ("IDL:omg.org/PortableGroup/CannotMeetCriteria:1.0", exc->_id ()))
+ {
+ return ACE_dynamic_cast (CannotMeetCriteria *, exc);
+ }
+ else
+ {
+ return 0;
+ }
+}
+
+void PortableGroup::CannotMeetCriteria::_raise ()
+{
+ TAO_RAISE (*this);
+}
+
+void PortableGroup::CannotMeetCriteria::_tao_encode (
+ TAO_OutputCDR &cdr,
+ CORBA::Environment &ACE_TRY_ENV
+ ) const
+{
+ if (cdr << *this)
+ {
+ return;
+ }
+
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void PortableGroup::CannotMeetCriteria::_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 *PortableGroup::CannotMeetCriteria::_alloc (void)
+{
+ CORBA::Exception *retval = 0;
+ ACE_NEW_RETURN (retval, ::PortableGroup::CannotMeetCriteria, 0);
+ return retval;
+}
+
+PortableGroup::CannotMeetCriteria::CannotMeetCriteria (
+ const PortableGroup::Criteria & _tao_unmet_criteria
+ )
+ : CORBA_UserException ("IDL:omg.org/PortableGroup/CannotMeetCriteria:1.0")
+{
+ this->unmet_criteria = _tao_unmet_criteria;
+}
+
+static const CORBA::Long _oc_PortableGroup_CannotMeetCriteria[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 49,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4361),
+ ACE_NTOHL (0x6e6e6f74),
+ ACE_NTOHL (0x4d656574),
+ ACE_NTOHL (0x43726974),
+ ACE_NTOHL (0x65726961),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/CannotMeetCriteria:1.0
+ 19,
+ ACE_NTOHL (0x43616e6e),
+ ACE_NTOHL (0x6f744d65),
+ ACE_NTOHL (0x65744372),
+ ACE_NTOHL (0x69746572),
+ ACE_NTOHL (0x69610000), // name = CannotMeetCriteria
+ 1, // member count
+ 15,
+ ACE_NTOHL (0x756e6d65),
+ ACE_NTOHL (0x745f6372),
+ ACE_NTOHL (0x69746572),
+ ACE_NTOHL (0x69610000), // name = unmet_criteria
+ CORBA::tk_alias, // typecode kind for typedefs
+ 700, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4372),
+ ACE_NTOHL (0x69746572),
+ ACE_NTOHL (0x69613a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Criteria:1.0
+ 9,
+ ACE_NTOHL (0x43726974),
+ ACE_NTOHL (0x65726961),
+ ACE_NTOHL (0x0), // name = Criteria
+ CORBA::tk_alias, // typecode kind for typedefs
+ 628, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 41,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74696573),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableGroup/Properties:1.0
+ 11,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727469),
+ ACE_NTOHL (0x65730000), // name = Properties
+ CORBA::tk_sequence, // typecode kind
+ 552, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 536, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5072),
+ ACE_NTOHL (0x6f706572),
+ ACE_NTOHL (0x74793a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Property:1.0
+ 9,
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727479),
+ ACE_NTOHL (0x0), // name = Property
+ 2, // member count
+ 4,
+ ACE_NTOHL (0x6e616d00), // name = nam
+ CORBA::tk_alias, // typecode kind for typedefs
+ 376, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 35,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableGroup/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_alias, // typecode kind for typedefs
+ 312, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d653a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CosNaming/Name:1.0
+ 5,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x0), // name = Name
+ CORBA::tk_sequence, // typecode kind
+ 252, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_struct, // typecode kind
+ 236, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 40,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4e61),
+ ACE_NTOHL (0x6d65436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e743a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CosNaming/NameComponent:1.0
+ 14,
+ ACE_NTOHL (0x4e616d65),
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74000000), // name = NameComponent
+ 2, // member count
+ 3,
+ ACE_NTOHL (0x69640000), // name = id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+ 5,
+ ACE_NTOHL (0x6b696e64),
+ ACE_NTOHL (0x0), // name = kind
+ CORBA::tk_alias, // typecode kind for typedefs
+ 64, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 34,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x436f734e),
+ ACE_NTOHL (0x616d696e),
+ ACE_NTOHL (0x672f4973),
+ ACE_NTOHL (0x7472696e),
+ ACE_NTOHL (0x673a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CosNaming/Istring:1.0
+ 8,
+ ACE_NTOHL (0x49737472),
+ ACE_NTOHL (0x696e6700), // name = Istring
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 0U,
+
+
+
+ 4,
+ ACE_NTOHL (0x76616c00), // name = val
+ CORBA::tk_alias, // typecode kind for typedefs
+ 60, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 36,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x47726f75),
+ ACE_NTOHL (0x702f5661),
+ ACE_NTOHL (0x6c75653a),
+ ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableGroup/Value:1.0
+ 6,
+ ACE_NTOHL (0x56616c75),
+ ACE_NTOHL (0x65000000), // name = Value
+ CORBA::tk_any,
+
+
+
+ 0U,
+
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableGroup_CannotMeetCriteria (
+ CORBA::tk_except,
+ sizeof (_oc_PortableGroup_CannotMeetCriteria),
+ (char *) &_oc_PortableGroup_CannotMeetCriteria,
+ 0,
+ sizeof (PortableGroup::CannotMeetCriteria)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableGroup)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_CannotMeetCriteria, &_tc_TAO_tc_PortableGroup_CannotMeetCriteria)
+TAO_NAMESPACE_END
+
+
+// TAO extension - the virtual _type method.
+CORBA::TypeCode_ptr PortableGroup::CannotMeetCriteria::_type (void) const
+{
+ return ::PortableGroup::_tc_CannotMeetCriteria;
+}
+
+PortableGroup::PropertyManager_ptr
+tao_PortableGroup_PropertyManager_duplicate (
+ PortableGroup::PropertyManager_ptr p
+ )
+{
+ return PortableGroup::PropertyManager::_duplicate (p);
+}
+
+void
+tao_PortableGroup_PropertyManager_release (
+ PortableGroup::PropertyManager_ptr p
+ )
+{
+ CORBA::release (p);
+}
+
+PortableGroup::PropertyManager_ptr
+tao_PortableGroup_PropertyManager_nil (
+ void
+ )
+{
+ return PortableGroup::PropertyManager::_nil ();
+}
+
+PortableGroup::PropertyManager_ptr
+tao_PortableGroup_PropertyManager_narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return PortableGroup::PropertyManager::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+tao_PortableGroup_PropertyManager_upcast (
+ void *src
+ )
+{
+ PortableGroup::PropertyManager **tmp =
+ ACE_static_cast (PortableGroup::PropertyManager **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class PortableGroup::PropertyManager_var
+// *************************************************************
+
+PortableGroup::PropertyManager_var::PropertyManager_var (void) // default constructor
+ : ptr_ (PropertyManager::_nil ())
+{}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+PortableGroup::PropertyManager_var::PropertyManager_var (const ::PortableGroup::PropertyManager_var &p) // copy constructor
+ : TAO_Base_var (),
+ ptr_ (PropertyManager::_duplicate (p.ptr ()))
+{}
+
+PortableGroup::PropertyManager_var::~PropertyManager_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+PortableGroup::PropertyManager_var &
+PortableGroup::PropertyManager_var::operator= (PropertyManager_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+PortableGroup::PropertyManager_var &
+PortableGroup::PropertyManager_var::operator= (const ::PortableGroup::PropertyManager_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::PropertyManager::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+PortableGroup::PropertyManager_var::operator const ::PortableGroup::PropertyManager_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+PortableGroup::PropertyManager_var::operator ::PortableGroup::PropertyManager_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_var::in (void) const
+{
+ return this->ptr_;
+}
+
+::PortableGroup::PropertyManager_ptr &
+PortableGroup::PropertyManager_var::inout (void)
+{
+ return this->ptr_;
+}
+
+::PortableGroup::PropertyManager_ptr &
+PortableGroup::PropertyManager_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::PropertyManager::_nil ();
+ return this->ptr_;
+}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ ::PortableGroup::PropertyManager_ptr val = this->ptr_;
+ this->ptr_ = ::PortableGroup::PropertyManager::_nil ();
+ return val;
+}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_var::duplicate (PropertyManager_ptr p)
+{
+ return ::PortableGroup::PropertyManager::_duplicate (p);
+}
+
+void
+PortableGroup::PropertyManager_var::release (PropertyManager_ptr p)
+{
+ CORBA::release (p);
+}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_var::nil (void)
+{
+ return ::PortableGroup::PropertyManager::_nil ();
+}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_var::narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return ::PortableGroup::PropertyManager::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+PortableGroup::PropertyManager_var::upcast (void *src)
+{
+ PropertyManager **tmp =
+ ACE_static_cast (PropertyManager **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class PortableGroup::PropertyManager_out
+// *************************************************************
+
+PortableGroup::PropertyManager_out::PropertyManager_out (PropertyManager_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = ::PortableGroup::PropertyManager::_nil ();
+}
+
+PortableGroup::PropertyManager_out::PropertyManager_out (PropertyManager_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::PropertyManager::_nil ();
+}
+
+PortableGroup::PropertyManager_out::PropertyManager_out (const ::PortableGroup::PropertyManager_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PropertyManager_out &, p).ptr_)
+{}
+
+::PortableGroup::PropertyManager_out &
+PortableGroup::PropertyManager_out::operator= (const ::PortableGroup::PropertyManager_out &p)
+{
+ this->ptr_ = ACE_const_cast (PropertyManager_out&, p).ptr_;
+ return *this;
+}
+
+PortableGroup::PropertyManager_out &
+PortableGroup::PropertyManager_out::operator= (const ::PortableGroup::PropertyManager_var &p)
+{
+ this->ptr_ = ::PortableGroup::PropertyManager::_duplicate (p.ptr ());
+ return *this;
+}
+
+PortableGroup::PropertyManager_out &
+PortableGroup::PropertyManager_out::operator= (PropertyManager_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+PortableGroup::PropertyManager_out::operator ::PortableGroup::PropertyManager_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::PortableGroup::PropertyManager_ptr &
+PortableGroup::PropertyManager_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+::PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+// default constructor
+PortableGroup::PropertyManager::PropertyManager ()
+{
+ }
+
+// destructor
+PortableGroup::PropertyManager::~PropertyManager (void)
+{}
+
+PortableGroup::PropertyManager_ptr PortableGroup::PropertyManager::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return PropertyManager::_unchecked_narrow (obj, ACE_TRY_ENV);
+}
+
+PortableGroup::PropertyManager_ptr PortableGroup::PropertyManager::_unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &
+ )
+{
+ if (CORBA::is_nil (obj))
+ return PropertyManager::_nil ();
+ return
+ ACE_reinterpret_cast
+ (
+ PropertyManager_ptr,
+ obj->_tao_QueryInterface
+ (
+ ACE_reinterpret_cast
+ (
+ ptr_arith_t,
+ &PropertyManager::_narrow
+ )
+ )
+ );
+}
+
+PortableGroup::PropertyManager_ptr
+PortableGroup::PropertyManager::_duplicate (PropertyManager_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->_add_ref ();
+ return obj;
+}
+
+void *PortableGroup::PropertyManager::_tao_QueryInterface (ptr_arith_t type)
+{
+ void *retv = 0;
+ if (type == ACE_reinterpret_cast
+ (ptr_arith_t,
+ &ACE_NESTED_CLASS (::PortableGroup, PropertyManager)::_narrow))
+ retv = ACE_reinterpret_cast (void*, this);
+ 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;
+}
+
+const char* PortableGroup::PropertyManager::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/PortableGroup/PropertyManager:1.0";
+}
+
+PortableGroup::ObjectGroupManager_ptr
+tao_PortableGroup_ObjectGroupManager_duplicate (
+ PortableGroup::ObjectGroupManager_ptr p
+ )
+{
+ return PortableGroup::ObjectGroupManager::_duplicate (p);
+}
+
+void
+tao_PortableGroup_ObjectGroupManager_release (
+ PortableGroup::ObjectGroupManager_ptr p
+ )
+{
+ CORBA::release (p);
+}
+
+PortableGroup::ObjectGroupManager_ptr
+tao_PortableGroup_ObjectGroupManager_nil (
+ void
+ )
+{
+ return PortableGroup::ObjectGroupManager::_nil ();
+}
+
+PortableGroup::ObjectGroupManager_ptr
+tao_PortableGroup_ObjectGroupManager_narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return PortableGroup::ObjectGroupManager::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+tao_PortableGroup_ObjectGroupManager_upcast (
+ void *src
+ )
+{
+ PortableGroup::ObjectGroupManager **tmp =
+ ACE_static_cast (PortableGroup::ObjectGroupManager **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class PortableGroup::ObjectGroupManager_var
+// *************************************************************
+
+PortableGroup::ObjectGroupManager_var::ObjectGroupManager_var (void) // default constructor
+ : ptr_ (ObjectGroupManager::_nil ())
+{}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+PortableGroup::ObjectGroupManager_var::ObjectGroupManager_var (const ::PortableGroup::ObjectGroupManager_var &p) // copy constructor
+ : TAO_Base_var (),
+ ptr_ (ObjectGroupManager::_duplicate (p.ptr ()))
+{}
+
+PortableGroup::ObjectGroupManager_var::~ObjectGroupManager_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+PortableGroup::ObjectGroupManager_var &
+PortableGroup::ObjectGroupManager_var::operator= (ObjectGroupManager_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+PortableGroup::ObjectGroupManager_var &
+PortableGroup::ObjectGroupManager_var::operator= (const ::PortableGroup::ObjectGroupManager_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::ObjectGroupManager::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+PortableGroup::ObjectGroupManager_var::operator const ::PortableGroup::ObjectGroupManager_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+PortableGroup::ObjectGroupManager_var::operator ::PortableGroup::ObjectGroupManager_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_var::in (void) const
+{
+ return this->ptr_;
+}
+
+::PortableGroup::ObjectGroupManager_ptr &
+PortableGroup::ObjectGroupManager_var::inout (void)
+{
+ return this->ptr_;
+}
+
+::PortableGroup::ObjectGroupManager_ptr &
+PortableGroup::ObjectGroupManager_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::ObjectGroupManager::_nil ();
+ return this->ptr_;
+}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ ::PortableGroup::ObjectGroupManager_ptr val = this->ptr_;
+ this->ptr_ = ::PortableGroup::ObjectGroupManager::_nil ();
+ return val;
+}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_var::duplicate (ObjectGroupManager_ptr p)
+{
+ return ::PortableGroup::ObjectGroupManager::_duplicate (p);
+}
+
+void
+PortableGroup::ObjectGroupManager_var::release (ObjectGroupManager_ptr p)
+{
+ CORBA::release (p);
+}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_var::nil (void)
+{
+ return ::PortableGroup::ObjectGroupManager::_nil ();
+}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_var::narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return ::PortableGroup::ObjectGroupManager::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+PortableGroup::ObjectGroupManager_var::upcast (void *src)
+{
+ ObjectGroupManager **tmp =
+ ACE_static_cast (ObjectGroupManager **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class PortableGroup::ObjectGroupManager_out
+// *************************************************************
+
+PortableGroup::ObjectGroupManager_out::ObjectGroupManager_out (ObjectGroupManager_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = ::PortableGroup::ObjectGroupManager::_nil ();
+}
+
+PortableGroup::ObjectGroupManager_out::ObjectGroupManager_out (ObjectGroupManager_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::ObjectGroupManager::_nil ();
+}
+
+PortableGroup::ObjectGroupManager_out::ObjectGroupManager_out (const ::PortableGroup::ObjectGroupManager_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (ObjectGroupManager_out &, p).ptr_)
+{}
+
+::PortableGroup::ObjectGroupManager_out &
+PortableGroup::ObjectGroupManager_out::operator= (const ::PortableGroup::ObjectGroupManager_out &p)
+{
+ this->ptr_ = ACE_const_cast (ObjectGroupManager_out&, p).ptr_;
+ return *this;
+}
+
+PortableGroup::ObjectGroupManager_out &
+PortableGroup::ObjectGroupManager_out::operator= (const ::PortableGroup::ObjectGroupManager_var &p)
+{
+ this->ptr_ = ::PortableGroup::ObjectGroupManager::_duplicate (p.ptr ());
+ return *this;
+}
+
+PortableGroup::ObjectGroupManager_out &
+PortableGroup::ObjectGroupManager_out::operator= (ObjectGroupManager_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+PortableGroup::ObjectGroupManager_out::operator ::PortableGroup::ObjectGroupManager_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::PortableGroup::ObjectGroupManager_ptr &
+PortableGroup::ObjectGroupManager_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+::PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+// default constructor
+PortableGroup::ObjectGroupManager::ObjectGroupManager ()
+{
+ }
+
+// destructor
+PortableGroup::ObjectGroupManager::~ObjectGroupManager (void)
+{}
+
+PortableGroup::ObjectGroupManager_ptr PortableGroup::ObjectGroupManager::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return ObjectGroupManager::_unchecked_narrow (obj, ACE_TRY_ENV);
+}
+
+PortableGroup::ObjectGroupManager_ptr PortableGroup::ObjectGroupManager::_unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &
+ )
+{
+ if (CORBA::is_nil (obj))
+ return ObjectGroupManager::_nil ();
+ return
+ ACE_reinterpret_cast
+ (
+ ObjectGroupManager_ptr,
+ obj->_tao_QueryInterface
+ (
+ ACE_reinterpret_cast
+ (
+ ptr_arith_t,
+ &ObjectGroupManager::_narrow
+ )
+ )
+ );
+}
+
+PortableGroup::ObjectGroupManager_ptr
+PortableGroup::ObjectGroupManager::_duplicate (ObjectGroupManager_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->_add_ref ();
+ return obj;
+}
+
+void *PortableGroup::ObjectGroupManager::_tao_QueryInterface (ptr_arith_t type)
+{
+ void *retv = 0;
+ if (type == ACE_reinterpret_cast
+ (ptr_arith_t,
+ &ACE_NESTED_CLASS (::PortableGroup, ObjectGroupManager)::_narrow))
+ retv = ACE_reinterpret_cast (void*, this);
+ 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;
+}
+
+const char* PortableGroup::ObjectGroupManager::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/PortableGroup/ObjectGroupManager:1.0";
+}
+
+PortableGroup::GenericFactory_ptr
+tao_PortableGroup_GenericFactory_duplicate (
+ PortableGroup::GenericFactory_ptr p
+ )
+{
+ return PortableGroup::GenericFactory::_duplicate (p);
+}
+
+void
+tao_PortableGroup_GenericFactory_release (
+ PortableGroup::GenericFactory_ptr p
+ )
+{
+ CORBA::release (p);
+}
+
+PortableGroup::GenericFactory_ptr
+tao_PortableGroup_GenericFactory_nil (
+ void
+ )
+{
+ return PortableGroup::GenericFactory::_nil ();
+}
+
+PortableGroup::GenericFactory_ptr
+tao_PortableGroup_GenericFactory_narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return PortableGroup::GenericFactory::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+tao_PortableGroup_GenericFactory_upcast (
+ void *src
+ )
+{
+ PortableGroup::GenericFactory **tmp =
+ ACE_static_cast (PortableGroup::GenericFactory **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class PortableGroup::GenericFactory_var
+// *************************************************************
+
+PortableGroup::GenericFactory_var::GenericFactory_var (void) // default constructor
+ : ptr_ (GenericFactory::_nil ())
+{}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+PortableGroup::GenericFactory_var::GenericFactory_var (const ::PortableGroup::GenericFactory_var &p) // copy constructor
+ : TAO_Base_var (),
+ ptr_ (GenericFactory::_duplicate (p.ptr ()))
+{}
+
+PortableGroup::GenericFactory_var::~GenericFactory_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+PortableGroup::GenericFactory_var &
+PortableGroup::GenericFactory_var::operator= (GenericFactory_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+PortableGroup::GenericFactory_var &
+PortableGroup::GenericFactory_var::operator= (const ::PortableGroup::GenericFactory_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::GenericFactory::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+PortableGroup::GenericFactory_var::operator const ::PortableGroup::GenericFactory_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+PortableGroup::GenericFactory_var::operator ::PortableGroup::GenericFactory_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_var::in (void) const
+{
+ return this->ptr_;
+}
+
+::PortableGroup::GenericFactory_ptr &
+PortableGroup::GenericFactory_var::inout (void)
+{
+ return this->ptr_;
+}
+
+::PortableGroup::GenericFactory_ptr &
+PortableGroup::GenericFactory_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::GenericFactory::_nil ();
+ return this->ptr_;
+}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ ::PortableGroup::GenericFactory_ptr val = this->ptr_;
+ this->ptr_ = ::PortableGroup::GenericFactory::_nil ();
+ return val;
+}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_var::duplicate (GenericFactory_ptr p)
+{
+ return ::PortableGroup::GenericFactory::_duplicate (p);
+}
+
+void
+PortableGroup::GenericFactory_var::release (GenericFactory_ptr p)
+{
+ CORBA::release (p);
+}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_var::nil (void)
+{
+ return ::PortableGroup::GenericFactory::_nil ();
+}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_var::narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return ::PortableGroup::GenericFactory::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+PortableGroup::GenericFactory_var::upcast (void *src)
+{
+ GenericFactory **tmp =
+ ACE_static_cast (GenericFactory **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class PortableGroup::GenericFactory_out
+// *************************************************************
+
+PortableGroup::GenericFactory_out::GenericFactory_out (GenericFactory_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = ::PortableGroup::GenericFactory::_nil ();
+}
+
+PortableGroup::GenericFactory_out::GenericFactory_out (GenericFactory_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::PortableGroup::GenericFactory::_nil ();
+}
+
+PortableGroup::GenericFactory_out::GenericFactory_out (const ::PortableGroup::GenericFactory_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (GenericFactory_out &, p).ptr_)
+{}
+
+::PortableGroup::GenericFactory_out &
+PortableGroup::GenericFactory_out::operator= (const ::PortableGroup::GenericFactory_out &p)
+{
+ this->ptr_ = ACE_const_cast (GenericFactory_out&, p).ptr_;
+ return *this;
+}
+
+PortableGroup::GenericFactory_out &
+PortableGroup::GenericFactory_out::operator= (const ::PortableGroup::GenericFactory_var &p)
+{
+ this->ptr_ = ::PortableGroup::GenericFactory::_duplicate (p.ptr ());
+ return *this;
+}
+
+PortableGroup::GenericFactory_out &
+PortableGroup::GenericFactory_out::operator= (GenericFactory_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+PortableGroup::GenericFactory_out::operator ::PortableGroup::GenericFactory_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::PortableGroup::GenericFactory_ptr &
+PortableGroup::GenericFactory_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+::PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+// default constructor
+PortableGroup::GenericFactory::GenericFactory ()
+{
+ }
+
+// destructor
+PortableGroup::GenericFactory::~GenericFactory (void)
+{}
+
+PortableGroup::GenericFactory_ptr PortableGroup::GenericFactory::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return GenericFactory::_unchecked_narrow (obj, ACE_TRY_ENV);
+}
+
+PortableGroup::GenericFactory_ptr PortableGroup::GenericFactory::_unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &
+ )
+{
+ if (CORBA::is_nil (obj))
+ return GenericFactory::_nil ();
+ return
+ ACE_reinterpret_cast
+ (
+ GenericFactory_ptr,
+ obj->_tao_QueryInterface
+ (
+ ACE_reinterpret_cast
+ (
+ ptr_arith_t,
+ &GenericFactory::_narrow
+ )
+ )
+ );
+}
+
+PortableGroup::GenericFactory_ptr
+PortableGroup::GenericFactory::_duplicate (GenericFactory_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->_add_ref ();
+ return obj;
+}
+
+void *PortableGroup::GenericFactory::_tao_QueryInterface (ptr_arith_t type)
+{
+ void *retv = 0;
+ if (type == ACE_reinterpret_cast
+ (ptr_arith_t,
+ &ACE_NESTED_CLASS (::PortableGroup, GenericFactory)::_narrow))
+ retv = ACE_reinterpret_cast (void*, this);
+ 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;
+}
+
+const char* PortableGroup::GenericFactory::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/PortableGroup/GenericFactory:1.0";
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::TagGroupTaggedComponent &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_TagGroupTaggedComponent,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::TagGroupTaggedComponent *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_TagGroupTaggedComponent,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::TagGroupTaggedComponent::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::TagGroupTaggedComponent *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(const PortableGroup::TagGroupTaggedComponent*&,_tao_elem);
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::TagGroupTaggedComponent *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_TagGroupTaggedComponent, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const PortableGroup::TagGroupTaggedComponent*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ PortableGroup::TagGroupTaggedComponent *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::TagGroupTaggedComponent, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_TagGroupTaggedComponent,
+ 1,
+ ACE_static_cast (void *, tmp),
+ PortableGroup::TagGroupTaggedComponent::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::Property &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_Property,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::Property *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_Property,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::Property::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::Property *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(const PortableGroup::Property*&,_tao_elem);
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::Property *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_Property, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const PortableGroup::Property*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ PortableGroup::Property *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::Property, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_Property,
+ 1,
+ ACE_static_cast (void *, tmp),
+ PortableGroup::Property::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const PortableGroup::Properties &_tao_elem
+ ) // copying
+{
+ TAO_OutputCDR stream;
+ if (stream << _tao_elem)
+ {
+ _tao_any._tao_replace (
+ PortableGroup::_tc_Properties,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+ }
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::Properties *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_Properties,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::Properties::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::Properties *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::Properties*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::Properties *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_Properties, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const PortableGroup::Properties*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ PortableGroup::Properties *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::Properties, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_Properties,
+ 1,
+ ACE_static_cast (void *, tmp),
+ PortableGroup::Properties::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const PortableGroup::Locations &_tao_elem
+ ) // copying
+{
+ TAO_OutputCDR stream;
+ if (stream << _tao_elem)
+ {
+ _tao_any._tao_replace (
+ PortableGroup::_tc_Locations,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+ }
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::Locations *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_Locations,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::Locations::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::Locations *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::Locations*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::Locations *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_Locations, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const PortableGroup::Locations*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ PortableGroup::Locations *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::Locations, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_Locations,
+ 1,
+ ACE_static_cast (void *, tmp),
+ PortableGroup::Locations::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::InterfaceNotFound &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_InterfaceNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::InterfaceNotFound *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_InterfaceNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::InterfaceNotFound::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::InterfaceNotFound *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::InterfaceNotFound*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::InterfaceNotFound *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_InterfaceNotFound, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::InterfaceNotFound *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::InterfaceNotFound *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::InterfaceNotFound, 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/PortableGroup/InterfaceNotFound:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_InterfaceNotFound,
+ 1,
+ tmp,
+ PortableGroup::InterfaceNotFound::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::ObjectGroupNotFound &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectGroupNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::ObjectGroupNotFound *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectGroupNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::ObjectGroupNotFound::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::ObjectGroupNotFound *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::ObjectGroupNotFound*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::ObjectGroupNotFound *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_ObjectGroupNotFound, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::ObjectGroupNotFound *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::ObjectGroupNotFound *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::ObjectGroupNotFound, 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/PortableGroup/ObjectGroupNotFound:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_ObjectGroupNotFound,
+ 1,
+ tmp,
+ PortableGroup::ObjectGroupNotFound::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::MemberNotFound &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_MemberNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::MemberNotFound *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_MemberNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::MemberNotFound::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::MemberNotFound *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::MemberNotFound*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::MemberNotFound *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_MemberNotFound, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::MemberNotFound *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::MemberNotFound *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::MemberNotFound, 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/PortableGroup/MemberNotFound:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_MemberNotFound,
+ 1,
+ tmp,
+ PortableGroup::MemberNotFound::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::ObjectNotFound &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::ObjectNotFound *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectNotFound,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::ObjectNotFound::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::ObjectNotFound *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::ObjectNotFound*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::ObjectNotFound *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_ObjectNotFound, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::ObjectNotFound *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::ObjectNotFound *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::ObjectNotFound, 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/PortableGroup/ObjectNotFound:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_ObjectNotFound,
+ 1,
+ tmp,
+ PortableGroup::ObjectNotFound::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::MemberAlreadyPresent &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_MemberAlreadyPresent,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::MemberAlreadyPresent *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_MemberAlreadyPresent,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::MemberAlreadyPresent::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::MemberAlreadyPresent *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::MemberAlreadyPresent*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::MemberAlreadyPresent *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_MemberAlreadyPresent, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::MemberAlreadyPresent *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::MemberAlreadyPresent *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::MemberAlreadyPresent, 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/PortableGroup/MemberAlreadyPresent:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_MemberAlreadyPresent,
+ 1,
+ tmp,
+ PortableGroup::MemberAlreadyPresent::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::BadReplicationStyle &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_BadReplicationStyle,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::BadReplicationStyle *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_BadReplicationStyle,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::BadReplicationStyle::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::BadReplicationStyle *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::BadReplicationStyle*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::BadReplicationStyle *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_BadReplicationStyle, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::BadReplicationStyle *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::BadReplicationStyle *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::BadReplicationStyle, 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/PortableGroup/BadReplicationStyle:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_BadReplicationStyle,
+ 1,
+ tmp,
+ PortableGroup::BadReplicationStyle::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::ObjectNotCreated &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectNotCreated,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::ObjectNotCreated *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectNotCreated,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::ObjectNotCreated::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::ObjectNotCreated *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::ObjectNotCreated*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::ObjectNotCreated *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_ObjectNotCreated, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::ObjectNotCreated *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::ObjectNotCreated *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::ObjectNotCreated, 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/PortableGroup/ObjectNotCreated:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_ObjectNotCreated,
+ 1,
+ tmp,
+ PortableGroup::ObjectNotCreated::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::ObjectNotAdded &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectNotAdded,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::ObjectNotAdded *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_ObjectNotAdded,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::ObjectNotAdded::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::ObjectNotAdded *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::ObjectNotAdded*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::ObjectNotAdded *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_ObjectNotAdded, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::ObjectNotAdded *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::ObjectNotAdded *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::ObjectNotAdded, 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/PortableGroup/ObjectNotAdded:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_ObjectNotAdded,
+ 1,
+ tmp,
+ PortableGroup::ObjectNotAdded::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::UnsupportedProperty &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_UnsupportedProperty,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::UnsupportedProperty *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_UnsupportedProperty,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::UnsupportedProperty::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::UnsupportedProperty *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::UnsupportedProperty*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::UnsupportedProperty *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_UnsupportedProperty, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::UnsupportedProperty *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::UnsupportedProperty *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::UnsupportedProperty, 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/PortableGroup/UnsupportedProperty:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_UnsupportedProperty,
+ 1,
+ tmp,
+ PortableGroup::UnsupportedProperty::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::InvalidProperty &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_InvalidProperty,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::InvalidProperty *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_InvalidProperty,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::InvalidProperty::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::InvalidProperty *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::InvalidProperty*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::InvalidProperty *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_InvalidProperty, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::InvalidProperty *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::InvalidProperty *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::InvalidProperty, 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/PortableGroup/InvalidProperty:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_InvalidProperty,
+ 1,
+ tmp,
+ PortableGroup::InvalidProperty::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::NoFactory &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_NoFactory,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::NoFactory *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_NoFactory,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::NoFactory::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::NoFactory *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::NoFactory*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::NoFactory *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_NoFactory, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::NoFactory *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::NoFactory *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::NoFactory, 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/PortableGroup/NoFactory:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_NoFactory,
+ 1,
+ tmp,
+ PortableGroup::NoFactory::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::InvalidCriteria &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_InvalidCriteria,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::InvalidCriteria *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_InvalidCriteria,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::InvalidCriteria::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::InvalidCriteria *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::InvalidCriteria*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::InvalidCriteria *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_InvalidCriteria, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::InvalidCriteria *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::InvalidCriteria *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::InvalidCriteria, 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/PortableGroup/InvalidCriteria:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_InvalidCriteria,
+ 1,
+ tmp,
+ PortableGroup::InvalidCriteria::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const PortableGroup::CannotMeetCriteria &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_CannotMeetCriteria,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableGroup::CannotMeetCriteria *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableGroup::_tc_CannotMeetCriteria,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableGroup::CannotMeetCriteria::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableGroup::CannotMeetCriteria *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableGroup::CannotMeetCriteria*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableGroup::CannotMeetCriteria *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (PortableGroup::_tc_CannotMeetCriteria, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = (PortableGroup::CannotMeetCriteria *)_tao_any.value ();
+ return 1;
+ }
+ else
+ {
+ PortableGroup::CannotMeetCriteria *tmp;
+ ACE_NEW_RETURN (tmp, PortableGroup::CannotMeetCriteria, 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/PortableGroup/CannotMeetCriteria:1.0"))
+ return 0;
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableGroup::_tc_CannotMeetCriteria,
+ 1,
+ tmp,
+ PortableGroup::CannotMeetCriteria::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO_Object_Manager<PortableGroup::PropertyManager,PortableGroup::PropertyManager_var>;
+ #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+ # pragma instantiate TAO_Object_Manager<PortableGroup::PropertyManager,PortableGroup::PropertyManager_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO_Object_Manager<PortableGroup::ObjectGroupManager,PortableGroup::ObjectGroupManager_var>;
+ #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+ # pragma instantiate TAO_Object_Manager<PortableGroup::ObjectGroupManager,PortableGroup::ObjectGroupManager_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO_Object_Manager<PortableGroup::GenericFactory,PortableGroup::GenericFactory_var>;
+ #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+ # pragma instantiate TAO_Object_Manager<PortableGroup::GenericFactory,PortableGroup::GenericFactory_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const PortableGroup::Properties &_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++)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
+
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ PortableGroup::Properties &_tao_sequence
+ )
+{
+ CORBA::ULong _tao_seq_len;
+ if (strm >> _tao_seq_len)
+ {
+ // 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;
+ // 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;
+ // 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]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
+
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const PortableGroup::Locations &_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++)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
+
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ PortableGroup::Locations &_tao_sequence
+ )
+{
+ CORBA::ULong _tao_seq_len;
+ if (strm >> _tao_seq_len)
+ {
+ // 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;
+ // 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;
+ // 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]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
+
diff --git a/TAO/tao/PortableGroup/PortableGroupC.h b/TAO/tao/PortableGroup/PortableGroupC.h
new file mode 100644
index 00000000000..00db570a9ba
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupC.h
@@ -0,0 +1,2124 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_PORTABLEGROUPC_H_
+#define _TAO_IDL_PORTABLEGROUPC_H_
+
+#include "ace/pre.h"
+#include "tao/corba.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "portablegroup_export.h"
+#include "tao/PortableServer/PortableServerC.h"
+#include "CosNamingC.h"
+//#include "IOPC.h"
+#include "tao/GIOPC.h"
+
+#if defined (TAO_EXPORT_MACRO)
+#undef TAO_EXPORT_MACRO
+#endif
+#define TAO_EXPORT_MACRO TAO_PortableGroup_Export
+
+#if defined (TAO_EXPORT_NESTED_CLASSES)
+# if defined (TAO_EXPORT_NESTED_MACRO)
+# undef TAO_EXPORT_NESTED_MACRO
+# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
+# define TAO_EXPORT_NESTED_MACRO TAO_PortableGroup_Export
+#endif /* TAO_EXPORT_NESTED_CLASSES */
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE PortableGroup
+{
+ typedef char * GroupDomainId;
+ typedef CORBA::String_var GroupDomainId_var;
+ typedef CORBA::String_out GroupDomainId_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_GroupDomainId;
+
+ typedef CORBA::ULongLong ObjectGroupId;
+ typedef CORBA::ULongLong_out ObjectGroupId_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ObjectGroupId;
+
+ typedef CORBA::ULong ObjectGroupRefVersion;
+ typedef CORBA::ULong_out ObjectGroupRefVersion_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ObjectGroupRefVersion;
+
+ struct TagGroupTaggedComponent;
+ class TagGroupTaggedComponent_var;
+
+ struct TAO_PortableGroup_Export TagGroupTaggedComponent
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef TagGroupTaggedComponent_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ static void _tao_any_destructor (void*);
+
+ GIOP::Version version;
+ TAO_String_Manager group_domain_id;
+ ACE_NESTED_CLASS (PortableGroup, ObjectGroupId) object_group_id;
+ ACE_NESTED_CLASS (PortableGroup, ObjectGroupRefVersion) object_group_ref_version;
+ };
+
+ class TAO_PortableGroup_Export TagGroupTaggedComponent_var
+ {
+ public:
+ TagGroupTaggedComponent_var (void); // default constructor
+ TagGroupTaggedComponent_var (TagGroupTaggedComponent *);
+ TagGroupTaggedComponent_var (const TagGroupTaggedComponent_var &); // copy constructor
+ ~TagGroupTaggedComponent_var (void); // destructor
+
+ TagGroupTaggedComponent_var &operator= (TagGroupTaggedComponent *);
+ TagGroupTaggedComponent_var &operator= (const TagGroupTaggedComponent_var &);
+ TagGroupTaggedComponent *operator-> (void);
+ const TagGroupTaggedComponent *operator-> (void) const;
+
+ operator const TagGroupTaggedComponent &() const;
+ operator TagGroupTaggedComponent &();
+ operator TagGroupTaggedComponent &() const;
+ operator TagGroupTaggedComponent *&(); // variable-size types only
+
+ // in, inout, out, _retn
+ const TagGroupTaggedComponent &in (void) const;
+ TagGroupTaggedComponent &inout (void);
+ TagGroupTaggedComponent *&out (void);
+ TagGroupTaggedComponent *_retn (void);
+ TagGroupTaggedComponent *ptr (void) const;
+
+ private:
+ TagGroupTaggedComponent *ptr_;
+ };
+
+ class TAO_PortableGroup_Export TagGroupTaggedComponent_out
+ {
+ public:
+ TagGroupTaggedComponent_out (TagGroupTaggedComponent *&);
+ TagGroupTaggedComponent_out (TagGroupTaggedComponent_var &);
+ TagGroupTaggedComponent_out (const TagGroupTaggedComponent_out &);
+ TagGroupTaggedComponent_out &operator= (const TagGroupTaggedComponent_out &);
+ TagGroupTaggedComponent_out &operator= (TagGroupTaggedComponent *);
+ operator TagGroupTaggedComponent *&();
+ TagGroupTaggedComponent *&ptr (void);
+ TagGroupTaggedComponent *operator-> (void);
+
+ private:
+ TagGroupTaggedComponent *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const TagGroupTaggedComponent_var &);
+ };
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_TagGroupTaggedComponent;
+
+ class GenericFactory;
+
+#if !defined (_PORTABLEGROUP_GENERICFACTORY___PTR_CH_)
+#define _PORTABLEGROUP_GENERICFACTORY___PTR_CH_
+
+ typedef GenericFactory *GenericFactory_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_GENERICFACTORY___VAR_CH_)
+#define _PORTABLEGROUP_GENERICFACTORY___VAR_CH_
+
+ class TAO_PortableGroup_Export GenericFactory_var : public TAO_Base_var
+ {
+ public:
+ GenericFactory_var (void); // default constructor
+ GenericFactory_var (GenericFactory_ptr p) : ptr_ (p) {}
+ GenericFactory_var (const GenericFactory_var &); // copy constructor
+ ~GenericFactory_var (void); // destructor
+
+ GenericFactory_var &operator= (GenericFactory_ptr);
+ GenericFactory_var &operator= (const GenericFactory_var &);
+ GenericFactory_ptr operator-> (void) const;
+
+ operator const GenericFactory_ptr &() const;
+ operator GenericFactory_ptr &();
+ // in, inout, out, _retn
+ GenericFactory_ptr in (void) const;
+ GenericFactory_ptr &inout (void);
+ GenericFactory_ptr &out (void);
+ GenericFactory_ptr _retn (void);
+ GenericFactory_ptr ptr (void) const;
+
+ // Hooks used by template sequence and object manager classes
+ // for non-defined forward declared interfaces.
+ static GenericFactory_ptr duplicate (GenericFactory_ptr);
+ static void release (GenericFactory_ptr);
+ static GenericFactory_ptr nil (void);
+ static GenericFactory_ptr narrow (CORBA::Object *, CORBA::Environment &);
+ static CORBA::Object * upcast (void *);
+
+ private:
+ GenericFactory_ptr ptr_;
+ // Unimplemented - prevents widening assignment.
+ GenericFactory_var (const TAO_Base_var &rhs);
+ GenericFactory_var &operator= (const TAO_Base_var &rhs);
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_GENERICFACTORY___OUT_CH_)
+#define _PORTABLEGROUP_GENERICFACTORY___OUT_CH_
+
+ class TAO_PortableGroup_Export GenericFactory_out
+ {
+ public:
+ GenericFactory_out (GenericFactory_ptr &);
+ GenericFactory_out (GenericFactory_var &);
+ GenericFactory_out (const GenericFactory_out &);
+ GenericFactory_out &operator= (const GenericFactory_out &);
+ GenericFactory_out &operator= (const GenericFactory_var &);
+ GenericFactory_out &operator= (GenericFactory_ptr);
+ operator GenericFactory_ptr &();
+ GenericFactory_ptr &ptr (void);
+ GenericFactory_ptr operator-> (void);
+
+ private:
+ GenericFactory_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+ typedef char * TypeId;
+ typedef CORBA::String_var TypeId_var;
+ typedef CORBA::String_out TypeId_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_TypeId;
+
+ typedef CORBA::Object ObjectGroup;
+ typedef CORBA::Object_ptr ObjectGroup_ptr;
+ typedef CORBA::Object_var ObjectGroup_var;
+ typedef CORBA::Object_out ObjectGroup_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ObjectGroup;
+
+ typedef CosNaming::Name Name;
+ typedef CosNaming::Name_var Name_var;
+ typedef CosNaming::Name_out Name_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Name;
+
+ typedef CORBA::Any Value;
+ typedef CORBA::Any_ptr Value_ptr;
+ typedef CORBA::Any_var Value_var;
+ typedef CORBA::Any_out Value_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Value;
+
+ struct Property;
+ class Property_var;
+
+ struct TAO_PortableGroup_Export Property
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef Property_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ static void _tao_any_destructor (void*);
+
+ ACE_NESTED_CLASS (PortableGroup, Name) nam;
+ ACE_NESTED_CLASS (PortableGroup, Value) val;
+ };
+
+ class TAO_PortableGroup_Export Property_var
+ {
+ public:
+ Property_var (void); // default constructor
+ Property_var (Property *);
+ Property_var (const Property_var &); // copy constructor
+ ~Property_var (void); // destructor
+
+ Property_var &operator= (Property *);
+ Property_var &operator= (const Property_var &);
+ Property *operator-> (void);
+ const Property *operator-> (void) const;
+
+ operator const Property &() const;
+ operator Property &();
+ operator Property &() const;
+ operator Property *&(); // variable-size types only
+
+ // in, inout, out, _retn
+ const Property &in (void) const;
+ Property &inout (void);
+ Property *&out (void);
+ Property *_retn (void);
+ Property *ptr (void) const;
+
+ private:
+ Property *ptr_;
+ };
+
+ class TAO_PortableGroup_Export Property_out
+ {
+ public:
+ Property_out (Property *&);
+ Property_out (Property_var &);
+ Property_out (const Property_out &);
+ Property_out &operator= (const Property_out &);
+ Property_out &operator= (Property *);
+ operator Property *&();
+ Property *&ptr (void);
+ Property *operator-> (void);
+
+ private:
+ Property *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const Property_var &);
+ };
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Property;
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_PROPERTIES_CH_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_PROPERTIES_CH_
+
+ class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_PortableGroup_Properties : public TAO_Unbounded_Base_Sequence
+ {
+ public:
+ // = Initialization and termination methods.
+
+ _TAO_Unbounded_Sequence_PortableGroup_Properties (void); // Default constructor.
+ _TAO_Unbounded_Sequence_PortableGroup_Properties (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_PortableGroup_Properties (CORBA::ULong maximum,
+ CORBA::ULong length,
+ Property *data,
+ CORBA::Boolean release = 0);
+ _TAO_Unbounded_Sequence_PortableGroup_Properties (const _TAO_Unbounded_Sequence_PortableGroup_Properties &rhs);
+ _TAO_Unbounded_Sequence_PortableGroup_Properties &operator= (const _TAO_Unbounded_Sequence_PortableGroup_Properties &rhs);
+ virtual ~_TAO_Unbounded_Sequence_PortableGroup_Properties (void); // Dtor.
+ // = Accessors.
+ Property &operator[] (CORBA::ULong i);
+ const Property &operator[] (CORBA::ULong i) const;
+ // = Static operations.
+ static Property *allocbuf (CORBA::ULong size);
+ static void freebuf (Property *buffer);
+ virtual void _allocate_buffer (CORBA::ULong length);
+ virtual void _deallocate_buffer (void);
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ Property *get_buffer (CORBA::Boolean orphan = 0);
+ const Property *get_buffer (void) const;
+ void replace (CORBA::ULong max,
+ CORBA::ULong length,
+ Property *data,
+ CORBA::Boolean release);
+ };
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_PROPERTIES_CH_)
+#define _PORTABLEGROUP_PROPERTIES_CH_
+
+ class Properties;
+ class Properties_var;
+
+ // *************************************************************
+ // Properties
+ // *************************************************************
+
+ class TAO_PortableGroup_Export Properties : public
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Properties
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<Property>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ {
+ public:
+ Properties (void); // default ctor
+ Properties (CORBA::ULong max); // uses max size
+ Properties (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ Property *buffer,
+ CORBA::Boolean release = 0
+ );
+ Properties (const Properties &); // copy ctor
+ ~Properties (void);
+ static void _tao_any_destructor (void*);
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef Properties_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ };
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_PROPERTIES___VAR_CH_)
+#define _PORTABLEGROUP_PROPERTIES___VAR_CH_
+
+ // *************************************************************
+ // class PortableGroup::Properties_var
+ // *************************************************************
+
+ class TAO_PortableGroup_Export Properties_var
+ {
+ public:
+ Properties_var (void); // default constructor
+ Properties_var (Properties *);
+ Properties_var (const Properties_var &); // copy constructor
+ ~Properties_var (void); // destructor
+
+ Properties_var &operator= (Properties *);
+ Properties_var &operator= (const Properties_var &);
+ Properties *operator-> (void);
+ const Properties *operator-> (void) const;
+
+ operator const Properties &() const;
+ operator Properties &();
+ operator Properties &() const;
+ operator Properties *&(); // variable-size base types only
+
+ Property & operator[] (CORBA::ULong index);
+ const Property & operator[] (CORBA::ULong index) const;
+
+ // in, inout, out, _retn
+ const Properties &in (void) const;
+ Properties &inout (void);
+ Properties *&out (void);
+ Properties *_retn (void);
+ Properties *ptr (void) const;
+
+ private:
+ Properties *ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_PROPERTIES___OUT_CH_)
+#define _PORTABLEGROUP_PROPERTIES___OUT_CH_
+
+ class TAO_PortableGroup_Export Properties_out
+ {
+ public:
+ Properties_out (Properties *&);
+ Properties_out (Properties_var &);
+ Properties_out (const Properties_out &);
+ Properties_out &operator= (const Properties_out &);
+ Properties_out &operator= (Properties *);
+ operator Properties *&();
+ Properties *&ptr (void);
+ Properties *operator-> (void);
+ Property & operator[] (CORBA::ULong index);
+
+ private:
+ Properties *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const Properties_var &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Properties;
+
+ typedef Name Location;
+ typedef Name_var Location_var;
+ typedef Name_out Location_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Location;
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_LOCATIONS_CH_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_LOCATIONS_CH_
+
+ class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_PortableGroup_Locations : public TAO_Unbounded_Base_Sequence
+ {
+ public:
+ // = Initialization and termination methods.
+
+ _TAO_Unbounded_Sequence_PortableGroup_Locations (void); // Default constructor.
+ _TAO_Unbounded_Sequence_PortableGroup_Locations (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_PortableGroup_Locations (CORBA::ULong maximum,
+ CORBA::ULong length,
+ Location *data,
+ CORBA::Boolean release = 0);
+ _TAO_Unbounded_Sequence_PortableGroup_Locations (const _TAO_Unbounded_Sequence_PortableGroup_Locations &rhs);
+ _TAO_Unbounded_Sequence_PortableGroup_Locations &operator= (const _TAO_Unbounded_Sequence_PortableGroup_Locations &rhs);
+ virtual ~_TAO_Unbounded_Sequence_PortableGroup_Locations (void); // Dtor.
+ // = Accessors.
+ Location &operator[] (CORBA::ULong i);
+ const Location &operator[] (CORBA::ULong i) const;
+ // = Static operations.
+ static Location *allocbuf (CORBA::ULong size);
+ static void freebuf (Location *buffer);
+ virtual void _allocate_buffer (CORBA::ULong length);
+ virtual void _deallocate_buffer (void);
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ Location *get_buffer (CORBA::Boolean orphan = 0);
+ const Location *get_buffer (void) const;
+ void replace (CORBA::ULong max,
+ CORBA::ULong length,
+ Location *data,
+ CORBA::Boolean release);
+ };
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_LOCATIONS_CH_)
+#define _PORTABLEGROUP_LOCATIONS_CH_
+
+ class Locations;
+ class Locations_var;
+
+ // *************************************************************
+ // Locations
+ // *************************************************************
+
+ class TAO_PortableGroup_Export Locations : public
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_Locations
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<Location>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ {
+ public:
+ Locations (void); // default ctor
+ Locations (CORBA::ULong max); // uses max size
+ Locations (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ Location *buffer,
+ CORBA::Boolean release = 0
+ );
+ Locations (const Locations &); // copy ctor
+ ~Locations (void);
+ static void _tao_any_destructor (void*);
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef Locations_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ };
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_LOCATIONS___VAR_CH_)
+#define _PORTABLEGROUP_LOCATIONS___VAR_CH_
+
+ // *************************************************************
+ // class PortableGroup::Locations_var
+ // *************************************************************
+
+ class TAO_PortableGroup_Export Locations_var
+ {
+ public:
+ Locations_var (void); // default constructor
+ Locations_var (Locations *);
+ Locations_var (const Locations_var &); // copy constructor
+ ~Locations_var (void); // destructor
+
+ Locations_var &operator= (Locations *);
+ Locations_var &operator= (const Locations_var &);
+ Locations *operator-> (void);
+ const Locations *operator-> (void) const;
+
+ operator const Locations &() const;
+ operator Locations &();
+ operator Locations &() const;
+ operator Locations *&(); // variable-size base types only
+
+ Location & operator[] (CORBA::ULong index);
+ const Location & operator[] (CORBA::ULong index) const;
+
+ // in, inout, out, _retn
+ const Locations &in (void) const;
+ Locations &inout (void);
+ Locations *&out (void);
+ Locations *_retn (void);
+ Locations *ptr (void) const;
+
+ private:
+ Locations *ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_LOCATIONS___OUT_CH_)
+#define _PORTABLEGROUP_LOCATIONS___OUT_CH_
+
+ class TAO_PortableGroup_Export Locations_out
+ {
+ public:
+ Locations_out (Locations *&);
+ Locations_out (Locations_var &);
+ Locations_out (const Locations_out &);
+ Locations_out &operator= (const Locations_out &);
+ Locations_out &operator= (Locations *);
+ operator Locations *&();
+ Locations *&ptr (void);
+ Locations *operator-> (void);
+ Location & operator[] (CORBA::ULong index);
+
+ private:
+ Locations *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const Locations_var &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Locations;
+
+ typedef Properties Criteria;
+ typedef Properties_var Criteria_var;
+ typedef Properties_out Criteria_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Criteria;
+
+ struct FactoryInfo;
+ class FactoryInfo_var;
+
+ struct TAO_PortableGroup_Export FactoryInfo
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef FactoryInfo_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ ACE_NESTED_CLASS (PortableGroup, GenericFactory_var) the_factory;
+ ACE_NESTED_CLASS (PortableGroup, Location) the_location;
+ ACE_NESTED_CLASS (PortableGroup, Criteria) the_criteria;
+ };
+
+ class TAO_PortableGroup_Export FactoryInfo_var
+ {
+ public:
+ FactoryInfo_var (void); // default constructor
+ FactoryInfo_var (FactoryInfo *);
+ FactoryInfo_var (const FactoryInfo_var &); // copy constructor
+ ~FactoryInfo_var (void); // destructor
+
+ FactoryInfo_var &operator= (FactoryInfo *);
+ FactoryInfo_var &operator= (const FactoryInfo_var &);
+ FactoryInfo *operator-> (void);
+ const FactoryInfo *operator-> (void) const;
+
+ operator const FactoryInfo &() const;
+ operator FactoryInfo &();
+ operator FactoryInfo &() const;
+ operator FactoryInfo *&(); // variable-size types only
+
+ // in, inout, out, _retn
+ const FactoryInfo &in (void) const;
+ FactoryInfo &inout (void);
+ FactoryInfo *&out (void);
+ FactoryInfo *_retn (void);
+ FactoryInfo *ptr (void) const;
+
+ private:
+ FactoryInfo *ptr_;
+ };
+
+ class TAO_PortableGroup_Export FactoryInfo_out
+ {
+ public:
+ FactoryInfo_out (FactoryInfo *&);
+ FactoryInfo_out (FactoryInfo_var &);
+ FactoryInfo_out (const FactoryInfo_out &);
+ FactoryInfo_out &operator= (const FactoryInfo_out &);
+ FactoryInfo_out &operator= (FactoryInfo *);
+ operator FactoryInfo *&();
+ FactoryInfo *&ptr (void);
+ FactoryInfo *operator-> (void);
+
+ private:
+ FactoryInfo *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const FactoryInfo_var &);
+ };
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_FACTORYINFOS_CH_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_FACTORYINFOS_CH_
+
+ class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos : public TAO_Unbounded_Base_Sequence
+ {
+ public:
+ // = Initialization and termination methods.
+
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (void); // Default constructor.
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (CORBA::ULong maximum,
+ CORBA::ULong length,
+ FactoryInfo *data,
+ CORBA::Boolean release = 0);
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (const _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos &rhs);
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos &operator= (const _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos &rhs);
+ virtual ~_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (void); // Dtor.
+ // = Accessors.
+ FactoryInfo &operator[] (CORBA::ULong i);
+ const FactoryInfo &operator[] (CORBA::ULong i) const;
+ // = Static operations.
+ static FactoryInfo *allocbuf (CORBA::ULong size);
+ static void freebuf (FactoryInfo *buffer);
+ virtual void _allocate_buffer (CORBA::ULong length);
+ virtual void _deallocate_buffer (void);
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ FactoryInfo *get_buffer (CORBA::Boolean orphan = 0);
+ const FactoryInfo *get_buffer (void) const;
+ void replace (CORBA::ULong max,
+ CORBA::ULong length,
+ FactoryInfo *data,
+ CORBA::Boolean release);
+ };
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_FACTORYINFOS_CH_)
+#define _PORTABLEGROUP_FACTORYINFOS_CH_
+
+ class FactoryInfos;
+ class FactoryInfos_var;
+
+ // *************************************************************
+ // FactoryInfos
+ // *************************************************************
+
+ class TAO_PortableGroup_Export FactoryInfos : public
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<FactoryInfo>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ {
+ public:
+ FactoryInfos (void); // default ctor
+ FactoryInfos (CORBA::ULong max); // uses max size
+ FactoryInfos (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ FactoryInfo *buffer,
+ CORBA::Boolean release = 0
+ );
+ FactoryInfos (const FactoryInfos &); // copy ctor
+ ~FactoryInfos (void);
+ static void _tao_any_destructor (void*);
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef FactoryInfos_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ };
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_FACTORYINFOS___VAR_CH_)
+#define _PORTABLEGROUP_FACTORYINFOS___VAR_CH_
+
+ // *************************************************************
+ // class PortableGroup::FactoryInfos_var
+ // *************************************************************
+
+ class TAO_PortableGroup_Export FactoryInfos_var
+ {
+ public:
+ FactoryInfos_var (void); // default constructor
+ FactoryInfos_var (FactoryInfos *);
+ FactoryInfos_var (const FactoryInfos_var &); // copy constructor
+ ~FactoryInfos_var (void); // destructor
+
+ FactoryInfos_var &operator= (FactoryInfos *);
+ FactoryInfos_var &operator= (const FactoryInfos_var &);
+ FactoryInfos *operator-> (void);
+ const FactoryInfos *operator-> (void) const;
+
+ operator const FactoryInfos &() const;
+ operator FactoryInfos &();
+ operator FactoryInfos &() const;
+ operator FactoryInfos *&(); // variable-size base types only
+
+ FactoryInfo & operator[] (CORBA::ULong index);
+ const FactoryInfo & operator[] (CORBA::ULong index) const;
+
+ // in, inout, out, _retn
+ const FactoryInfos &in (void) const;
+ FactoryInfos &inout (void);
+ FactoryInfos *&out (void);
+ FactoryInfos *_retn (void);
+ FactoryInfos *ptr (void) const;
+
+ private:
+ FactoryInfos *ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_FACTORYINFOS___OUT_CH_)
+#define _PORTABLEGROUP_FACTORYINFOS___OUT_CH_
+
+ class TAO_PortableGroup_Export FactoryInfos_out
+ {
+ public:
+ FactoryInfos_out (FactoryInfos *&);
+ FactoryInfos_out (FactoryInfos_var &);
+ FactoryInfos_out (const FactoryInfos_out &);
+ FactoryInfos_out &operator= (const FactoryInfos_out &);
+ FactoryInfos_out &operator= (FactoryInfos *);
+ operator FactoryInfos *&();
+ FactoryInfos *&ptr (void);
+ FactoryInfos *operator-> (void);
+ FactoryInfo & operator[] (CORBA::ULong index);
+
+ private:
+ FactoryInfos *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const FactoryInfos_var &);
+ };
+
+
+#endif /* end #if !defined */
+
+ typedef CORBA::Long MembershipStyleValue;
+ typedef CORBA::Long_out MembershipStyleValue_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_MembershipStyleValue;
+
+ TAO_NAMESPACE_STORAGE_CLASS const CORBA::Long MEMB_APP_CTRL;
+
+ TAO_NAMESPACE_STORAGE_CLASS const CORBA::Long MEMB_INF_CTRL;
+
+ typedef CORBA::UShort InitialNumberReplicasValue;
+ typedef CORBA::UShort_out InitialNumberReplicasValue_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_InitialNumberReplicasValue;
+
+ typedef CORBA::UShort MinimumNumberReplicasValue;
+ typedef CORBA::UShort_out MinimumNumberReplicasValue_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_MinimumNumberReplicasValue;
+
+
+#if !defined (_PORTABLEGROUP_INTERFACENOTFOUND_CH_)
+#define _PORTABLEGROUP_INTERFACENOTFOUND_CH_
+
+ class TAO_PortableGroup_Export InterfaceNotFound : public CORBA::UserException
+ {
+ public:
+
+ InterfaceNotFound (void);
+ // Default constructor.
+
+ InterfaceNotFound (const InterfaceNotFound &);
+ // Copy constructor.
+
+ ~InterfaceNotFound (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ InterfaceNotFound &operator= (const InterfaceNotFound &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static InterfaceNotFound *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::InterfaceNotFound.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_InterfaceNotFound;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTGROUPNOTFOUND_CH_)
+#define _PORTABLEGROUP_OBJECTGROUPNOTFOUND_CH_
+
+ class TAO_PortableGroup_Export ObjectGroupNotFound : public CORBA::UserException
+ {
+ public:
+
+ ObjectGroupNotFound (void);
+ // Default constructor.
+
+ ObjectGroupNotFound (const ObjectGroupNotFound &);
+ // Copy constructor.
+
+ ~ObjectGroupNotFound (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ ObjectGroupNotFound &operator= (const ObjectGroupNotFound &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static ObjectGroupNotFound *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::ObjectGroupNotFound.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ObjectGroupNotFound;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_MEMBERNOTFOUND_CH_)
+#define _PORTABLEGROUP_MEMBERNOTFOUND_CH_
+
+ class TAO_PortableGroup_Export MemberNotFound : public CORBA::UserException
+ {
+ public:
+
+ MemberNotFound (void);
+ // Default constructor.
+
+ MemberNotFound (const MemberNotFound &);
+ // Copy constructor.
+
+ ~MemberNotFound (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ MemberNotFound &operator= (const MemberNotFound &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static MemberNotFound *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::MemberNotFound.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_MemberNotFound;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTNOTFOUND_CH_)
+#define _PORTABLEGROUP_OBJECTNOTFOUND_CH_
+
+ class TAO_PortableGroup_Export ObjectNotFound : public CORBA::UserException
+ {
+ public:
+
+ ObjectNotFound (void);
+ // Default constructor.
+
+ ObjectNotFound (const ObjectNotFound &);
+ // Copy constructor.
+
+ ~ObjectNotFound (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ ObjectNotFound &operator= (const ObjectNotFound &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static ObjectNotFound *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::ObjectNotFound.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ObjectNotFound;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_MEMBERALREADYPRESENT_CH_)
+#define _PORTABLEGROUP_MEMBERALREADYPRESENT_CH_
+
+ class TAO_PortableGroup_Export MemberAlreadyPresent : public CORBA::UserException
+ {
+ public:
+
+ MemberAlreadyPresent (void);
+ // Default constructor.
+
+ MemberAlreadyPresent (const MemberAlreadyPresent &);
+ // Copy constructor.
+
+ ~MemberAlreadyPresent (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ MemberAlreadyPresent &operator= (const MemberAlreadyPresent &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static MemberAlreadyPresent *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::MemberAlreadyPresent.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_MemberAlreadyPresent;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_BADREPLICATIONSTYLE_CH_)
+#define _PORTABLEGROUP_BADREPLICATIONSTYLE_CH_
+
+ class TAO_PortableGroup_Export BadReplicationStyle : public CORBA::UserException
+ {
+ public:
+
+ BadReplicationStyle (void);
+ // Default constructor.
+
+ BadReplicationStyle (const BadReplicationStyle &);
+ // Copy constructor.
+
+ ~BadReplicationStyle (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ BadReplicationStyle &operator= (const BadReplicationStyle &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static BadReplicationStyle *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::BadReplicationStyle.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_BadReplicationStyle;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTNOTCREATED_CH_)
+#define _PORTABLEGROUP_OBJECTNOTCREATED_CH_
+
+ class TAO_PortableGroup_Export ObjectNotCreated : public CORBA::UserException
+ {
+ public:
+
+ ObjectNotCreated (void);
+ // Default constructor.
+
+ ObjectNotCreated (const ObjectNotCreated &);
+ // Copy constructor.
+
+ ~ObjectNotCreated (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ ObjectNotCreated &operator= (const ObjectNotCreated &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static ObjectNotCreated *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::ObjectNotCreated.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ObjectNotCreated;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTNOTADDED_CH_)
+#define _PORTABLEGROUP_OBJECTNOTADDED_CH_
+
+ class TAO_PortableGroup_Export ObjectNotAdded : public CORBA::UserException
+ {
+ public:
+
+ ObjectNotAdded (void);
+ // Default constructor.
+
+ ObjectNotAdded (const ObjectNotAdded &);
+ // Copy constructor.
+
+ ~ObjectNotAdded (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ ObjectNotAdded &operator= (const ObjectNotAdded &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static ObjectNotAdded *_downcast (CORBA::Exception *);
+
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::ObjectNotAdded.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ObjectNotAdded;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_UNSUPPORTEDPROPERTY_CH_)
+#define _PORTABLEGROUP_UNSUPPORTEDPROPERTY_CH_
+
+ class TAO_PortableGroup_Export UnsupportedProperty : public CORBA::UserException
+ {
+ public:
+ ACE_NESTED_CLASS (PortableGroup, Name) nam;
+
+ UnsupportedProperty (void);
+ // Default constructor.
+
+ UnsupportedProperty (const UnsupportedProperty &);
+ // Copy constructor.
+
+ ~UnsupportedProperty (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ UnsupportedProperty &operator= (const UnsupportedProperty &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static UnsupportedProperty *_downcast (CORBA::Exception *);
+
+ UnsupportedProperty (
+ const ACE_NESTED_CLASS (PortableGroup, Name) & _tao_nam
+ );
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::UnsupportedProperty.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_UnsupportedProperty;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_INVALIDPROPERTY_CH_)
+#define _PORTABLEGROUP_INVALIDPROPERTY_CH_
+
+ class TAO_PortableGroup_Export InvalidProperty : public CORBA::UserException
+ {
+ public:
+ ACE_NESTED_CLASS (PortableGroup, Name) nam;
+ ACE_NESTED_CLASS (PortableGroup, Value) val;
+
+ InvalidProperty (void);
+ // Default constructor.
+
+ InvalidProperty (const InvalidProperty &);
+ // Copy constructor.
+
+ ~InvalidProperty (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ InvalidProperty &operator= (const InvalidProperty &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static InvalidProperty *_downcast (CORBA::Exception *);
+
+ InvalidProperty (
+ const ACE_NESTED_CLASS (PortableGroup, Name) & _tao_nam,
+ const ACE_NESTED_CLASS (PortableGroup, Value) & _tao_val
+ );
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::InvalidProperty.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_InvalidProperty;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_NOFACTORY_CH_)
+#define _PORTABLEGROUP_NOFACTORY_CH_
+
+ class TAO_PortableGroup_Export NoFactory : public CORBA::UserException
+ {
+ public:
+ ACE_NESTED_CLASS (PortableGroup, Location) the_location;
+ TAO_String_Manager type_id;
+
+ NoFactory (void);
+ // Default constructor.
+
+ NoFactory (const NoFactory &);
+ // Copy constructor.
+
+ ~NoFactory (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ NoFactory &operator= (const NoFactory &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static NoFactory *_downcast (CORBA::Exception *);
+
+ NoFactory (
+ const ACE_NESTED_CLASS (PortableGroup, Location) & _tao_the_location,
+ const char * _tao_type_id
+ );
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::NoFactory.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_NoFactory;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_INVALIDCRITERIA_CH_)
+#define _PORTABLEGROUP_INVALIDCRITERIA_CH_
+
+ class TAO_PortableGroup_Export InvalidCriteria : public CORBA::UserException
+ {
+ public:
+ ACE_NESTED_CLASS (PortableGroup, Criteria) invalid_criteria;
+
+ InvalidCriteria (void);
+ // Default constructor.
+
+ InvalidCriteria (const InvalidCriteria &);
+ // Copy constructor.
+
+ ~InvalidCriteria (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ InvalidCriteria &operator= (const InvalidCriteria &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static InvalidCriteria *_downcast (CORBA::Exception *);
+
+ InvalidCriteria (
+ const ACE_NESTED_CLASS (PortableGroup, Criteria) & _tao_invalid_criteria
+ );
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::InvalidCriteria.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_InvalidCriteria;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_CANNOTMEETCRITERIA_CH_)
+#define _PORTABLEGROUP_CANNOTMEETCRITERIA_CH_
+
+ class TAO_PortableGroup_Export CannotMeetCriteria : public CORBA::UserException
+ {
+ public:
+ ACE_NESTED_CLASS (PortableGroup, Criteria) unmet_criteria;
+
+ CannotMeetCriteria (void);
+ // Default constructor.
+
+ CannotMeetCriteria (const CannotMeetCriteria &);
+ // Copy constructor.
+
+ ~CannotMeetCriteria (void);
+ // Destructor.
+
+ static void _tao_any_destructor (void*);
+
+ CannotMeetCriteria &operator= (const CannotMeetCriteria &);
+
+ virtual void _raise (void);
+
+ virtual void _tao_encode (
+ TAO_OutputCDR &,
+ CORBA::Environment &
+ ) const;
+
+ virtual void _tao_decode (
+ TAO_InputCDR &,
+ CORBA::Environment &
+ );
+
+ static CannotMeetCriteria *_downcast (CORBA::Exception *);
+
+ CannotMeetCriteria (
+ const ACE_NESTED_CLASS (PortableGroup, Criteria) & _tao_unmet_criteria
+ );
+
+ // = TAO extension.
+ static CORBA::Exception *_alloc (void);
+ virtual CORBA::TypeCode_ptr _type (void) const;
+ }; // Exception PortableGroup::CannotMeetCriteria.
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_CannotMeetCriteria;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_PROPERTYMANAGER___PTR_CH_)
+#define _PORTABLEGROUP_PROPERTYMANAGER___PTR_CH_
+
+ class PropertyManager;
+ typedef PropertyManager *PropertyManager_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_PROPERTYMANAGER___VAR_CH_)
+#define _PORTABLEGROUP_PROPERTYMANAGER___VAR_CH_
+
+ class TAO_PortableGroup_Export PropertyManager_var : public TAO_Base_var
+ {
+ public:
+ PropertyManager_var (void); // default constructor
+ PropertyManager_var (PropertyManager_ptr p) : ptr_ (p) {}
+ PropertyManager_var (const PropertyManager_var &); // copy constructor
+ ~PropertyManager_var (void); // destructor
+
+ PropertyManager_var &operator= (PropertyManager_ptr);
+ PropertyManager_var &operator= (const PropertyManager_var &);
+ PropertyManager_ptr operator-> (void) const;
+
+ operator const PropertyManager_ptr &() const;
+ operator PropertyManager_ptr &();
+ // in, inout, out, _retn
+ PropertyManager_ptr in (void) const;
+ PropertyManager_ptr &inout (void);
+ PropertyManager_ptr &out (void);
+ PropertyManager_ptr _retn (void);
+ PropertyManager_ptr ptr (void) const;
+
+ // Hooks used by template sequence and object manager classes
+ // for non-defined forward declared interfaces.
+ static PropertyManager_ptr duplicate (PropertyManager_ptr);
+ static void release (PropertyManager_ptr);
+ static PropertyManager_ptr nil (void);
+ static PropertyManager_ptr narrow (CORBA::Object *, CORBA::Environment &);
+ static CORBA::Object * upcast (void *);
+
+ private:
+ PropertyManager_ptr ptr_;
+ // Unimplemented - prevents widening assignment.
+ PropertyManager_var (const TAO_Base_var &rhs);
+ PropertyManager_var &operator= (const TAO_Base_var &rhs);
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_PROPERTYMANAGER___OUT_CH_)
+#define _PORTABLEGROUP_PROPERTYMANAGER___OUT_CH_
+
+ class TAO_PortableGroup_Export PropertyManager_out
+ {
+ public:
+ PropertyManager_out (PropertyManager_ptr &);
+ PropertyManager_out (PropertyManager_var &);
+ PropertyManager_out (const PropertyManager_out &);
+ PropertyManager_out &operator= (const PropertyManager_out &);
+ PropertyManager_out &operator= (const PropertyManager_var &);
+ PropertyManager_out &operator= (PropertyManager_ptr);
+ operator PropertyManager_ptr &();
+ PropertyManager_ptr &ptr (void);
+ PropertyManager_ptr operator-> (void);
+
+ private:
+ PropertyManager_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_PROPERTYMANAGER_CH_)
+#define _PORTABLEGROUP_PROPERTYMANAGER_CH_
+
+ class TAO_PortableGroup_Export PropertyManager : public virtual CORBA_Object
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef PropertyManager_ptr _ptr_type;
+ typedef PropertyManager_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static PropertyManager_ptr _duplicate (PropertyManager_ptr obj);
+ static PropertyManager_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static PropertyManager_ptr _unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static PropertyManager_ptr _nil (void)
+ {
+ return (PropertyManager_ptr)0;
+ }
+
+ virtual void set_default_properties (
+ const PortableGroup::Properties & props,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::InvalidProperty,
+ PortableGroup::UnsupportedProperty
+ )) = 0;
+
+ virtual PortableGroup::Properties * get_default_properties (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void remove_default_properties (
+ const PortableGroup::Properties & props,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::InvalidProperty,
+ PortableGroup::UnsupportedProperty
+ )) = 0;
+
+ virtual void set_type_properties (
+ const char * type_id,
+ const PortableGroup::Properties & overrides,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::InvalidProperty,
+ PortableGroup::UnsupportedProperty
+ )) = 0;
+
+ virtual PortableGroup::Properties * get_type_properties (
+ const char * type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void remove_type_properties (
+ const char * type_id,
+ const PortableGroup::Properties & props,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::InvalidProperty,
+ PortableGroup::UnsupportedProperty
+ )) = 0;
+
+ virtual void set_properties_dynamically (
+ PortableGroup::ObjectGroup_ptr object_group,
+ const PortableGroup::Properties & overrides,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound,
+ PortableGroup::InvalidProperty,
+ PortableGroup::UnsupportedProperty
+ )) = 0;
+
+ virtual PortableGroup::Properties * get_properties (
+ PortableGroup::ObjectGroup_ptr object_group,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound
+ )) = 0;
+
+ virtual void *_tao_QueryInterface (ptr_arith_t type);
+
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ PropertyManager ();
+
+ virtual ~PropertyManager (void);
+ private:
+ PropertyManager (const PropertyManager &);
+ void operator= (const PropertyManager &);
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTGROUPMANAGER___PTR_CH_)
+#define _PORTABLEGROUP_OBJECTGROUPMANAGER___PTR_CH_
+
+ class ObjectGroupManager;
+ typedef ObjectGroupManager *ObjectGroupManager_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTGROUPMANAGER___VAR_CH_)
+#define _PORTABLEGROUP_OBJECTGROUPMANAGER___VAR_CH_
+
+ class TAO_PortableGroup_Export ObjectGroupManager_var : public TAO_Base_var
+ {
+ public:
+ ObjectGroupManager_var (void); // default constructor
+ ObjectGroupManager_var (ObjectGroupManager_ptr p) : ptr_ (p) {}
+ ObjectGroupManager_var (const ObjectGroupManager_var &); // copy constructor
+ ~ObjectGroupManager_var (void); // destructor
+
+ ObjectGroupManager_var &operator= (ObjectGroupManager_ptr);
+ ObjectGroupManager_var &operator= (const ObjectGroupManager_var &);
+ ObjectGroupManager_ptr operator-> (void) const;
+
+ operator const ObjectGroupManager_ptr &() const;
+ operator ObjectGroupManager_ptr &();
+ // in, inout, out, _retn
+ ObjectGroupManager_ptr in (void) const;
+ ObjectGroupManager_ptr &inout (void);
+ ObjectGroupManager_ptr &out (void);
+ ObjectGroupManager_ptr _retn (void);
+ ObjectGroupManager_ptr ptr (void) const;
+
+ // Hooks used by template sequence and object manager classes
+ // for non-defined forward declared interfaces.
+ static ObjectGroupManager_ptr duplicate (ObjectGroupManager_ptr);
+ static void release (ObjectGroupManager_ptr);
+ static ObjectGroupManager_ptr nil (void);
+ static ObjectGroupManager_ptr narrow (CORBA::Object *, CORBA::Environment &);
+ static CORBA::Object * upcast (void *);
+
+ private:
+ ObjectGroupManager_ptr ptr_;
+ // Unimplemented - prevents widening assignment.
+ ObjectGroupManager_var (const TAO_Base_var &rhs);
+ ObjectGroupManager_var &operator= (const TAO_Base_var &rhs);
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTGROUPMANAGER___OUT_CH_)
+#define _PORTABLEGROUP_OBJECTGROUPMANAGER___OUT_CH_
+
+ class TAO_PortableGroup_Export ObjectGroupManager_out
+ {
+ public:
+ ObjectGroupManager_out (ObjectGroupManager_ptr &);
+ ObjectGroupManager_out (ObjectGroupManager_var &);
+ ObjectGroupManager_out (const ObjectGroupManager_out &);
+ ObjectGroupManager_out &operator= (const ObjectGroupManager_out &);
+ ObjectGroupManager_out &operator= (const ObjectGroupManager_var &);
+ ObjectGroupManager_out &operator= (ObjectGroupManager_ptr);
+ operator ObjectGroupManager_ptr &();
+ ObjectGroupManager_ptr &ptr (void);
+ ObjectGroupManager_ptr operator-> (void);
+
+ private:
+ ObjectGroupManager_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTGROUPMANAGER_CH_)
+#define _PORTABLEGROUP_OBJECTGROUPMANAGER_CH_
+
+ class TAO_PortableGroup_Export ObjectGroupManager : public virtual CORBA_Object
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef ObjectGroupManager_ptr _ptr_type;
+ typedef ObjectGroupManager_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static ObjectGroupManager_ptr _duplicate (ObjectGroupManager_ptr obj);
+ static ObjectGroupManager_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static ObjectGroupManager_ptr _unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static ObjectGroupManager_ptr _nil (void)
+ {
+ return (ObjectGroupManager_ptr)0;
+ }
+
+ virtual PortableGroup::ObjectGroup_ptr create_member (
+ PortableGroup::ObjectGroup_ptr object_group,
+ const PortableGroup::Location & the_location,
+ const char * type_id,
+ const PortableGroup::Criteria & the_criteria,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound,
+ PortableGroup::MemberAlreadyPresent,
+ PortableGroup::NoFactory,
+ PortableGroup::ObjectNotCreated,
+ PortableGroup::InvalidCriteria,
+ PortableGroup::CannotMeetCriteria
+ )) = 0;
+
+ virtual PortableGroup::ObjectGroup_ptr add_member (
+ PortableGroup::ObjectGroup_ptr object_group,
+ const PortableGroup::Location & the_location,
+ CORBA::Object_ptr member,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound,
+ PortableGroup::MemberAlreadyPresent,
+ PortableGroup::ObjectNotAdded
+ )) = 0;
+
+ virtual PortableGroup::ObjectGroup_ptr remove_member (
+ PortableGroup::ObjectGroup_ptr object_group,
+ const PortableGroup::Location & the_location,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound,
+ PortableGroup::MemberNotFound
+ )) = 0;
+
+ virtual PortableGroup::Locations * locations_of_members (
+ PortableGroup::ObjectGroup_ptr object_group,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound
+ )) = 0;
+
+ virtual PortableGroup::ObjectGroupId get_object_group_id (
+ PortableGroup::ObjectGroup_ptr object_group,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound
+ )) = 0;
+
+ virtual PortableGroup::ObjectGroup_ptr get_object_group_ref (
+ PortableGroup::ObjectGroup_ptr object_group,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound
+ )) = 0;
+
+ virtual CORBA::Object_ptr get_member_ref (
+ PortableGroup::ObjectGroup_ptr object_group,
+ const PortableGroup::Location & loc,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectGroupNotFound,
+ PortableGroup::MemberNotFound
+ )) = 0;
+
+ virtual void *_tao_QueryInterface (ptr_arith_t type);
+
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ ObjectGroupManager ();
+
+ virtual ~ObjectGroupManager (void);
+ private:
+ ObjectGroupManager (const ObjectGroupManager &);
+ void operator= (const ObjectGroupManager &);
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_GENERICFACTORY_CH_)
+#define _PORTABLEGROUP_GENERICFACTORY_CH_
+
+ class TAO_PortableGroup_Export GenericFactory : public virtual CORBA_Object
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef GenericFactory_ptr _ptr_type;
+ typedef GenericFactory_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static GenericFactory_ptr _duplicate (GenericFactory_ptr obj);
+ static GenericFactory_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static GenericFactory_ptr _unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static GenericFactory_ptr _nil (void)
+ {
+ return (GenericFactory_ptr)0;
+ }
+
+ typedef CORBA::Any FactoryCreationId;
+ typedef CORBA::Any_ptr FactoryCreationId_ptr;
+ typedef CORBA::Any_var FactoryCreationId_var;
+ typedef CORBA::Any_out FactoryCreationId_out;
+ virtual CORBA::Object_ptr create_object (
+ const char * type_id,
+ const PortableGroup::Criteria & the_criteria,
+ PortableGroup::GenericFactory::FactoryCreationId_out factory_creation_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::NoFactory,
+ PortableGroup::ObjectNotCreated,
+ PortableGroup::InvalidCriteria,
+ PortableGroup::InvalidProperty,
+ PortableGroup::CannotMeetCriteria
+ )) = 0;
+
+ virtual void delete_object (
+ const PortableGroup::GenericFactory::FactoryCreationId & factory_creation_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableGroup::ObjectNotFound
+ )) = 0;
+
+ virtual void *_tao_QueryInterface (ptr_arith_t type);
+
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ GenericFactory ();
+
+ virtual ~GenericFactory (void);
+ private:
+ GenericFactory (const GenericFactory &);
+ void operator= (const GenericFactory &);
+ };
+
+
+#endif /* end #if !defined */
+
+
+}
+TAO_NAMESPACE_CLOSE // module PortableGroup
+
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::TagGroupTaggedComponent &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::TagGroupTaggedComponent*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::TagGroupTaggedComponent *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::TagGroupTaggedComponent *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::Property &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::Property*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::Property *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::Property *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::Properties &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::Properties*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::Properties *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::Properties *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::Locations &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::Locations*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::Locations *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::Locations *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::InterfaceNotFound &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::InterfaceNotFound*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::InterfaceNotFound *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::InterfaceNotFound *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::ObjectGroupNotFound &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::ObjectGroupNotFound*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::ObjectGroupNotFound *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::ObjectGroupNotFound *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::MemberNotFound &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::MemberNotFound*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::MemberNotFound *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::MemberNotFound *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::ObjectNotFound &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::ObjectNotFound*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::ObjectNotFound *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::ObjectNotFound *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::MemberAlreadyPresent &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::MemberAlreadyPresent*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::MemberAlreadyPresent *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::MemberAlreadyPresent *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::BadReplicationStyle &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::BadReplicationStyle*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::BadReplicationStyle *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::BadReplicationStyle *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::ObjectNotCreated &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::ObjectNotCreated*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::ObjectNotCreated *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::ObjectNotCreated *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::ObjectNotAdded &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::ObjectNotAdded*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::ObjectNotAdded *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::ObjectNotAdded *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::UnsupportedProperty &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::UnsupportedProperty*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::UnsupportedProperty *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::UnsupportedProperty *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::InvalidProperty &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::InvalidProperty*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::InvalidProperty *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::InvalidProperty *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::NoFactory &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::NoFactory*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::NoFactory *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::NoFactory *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::InvalidCriteria &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::InvalidCriteria*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::InvalidCriteria *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::InvalidCriteria *&);
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const PortableGroup::CannotMeetCriteria &); // copying version
+TAO_PortableGroup_Export void operator<<= (CORBA::Any &, PortableGroup::CannotMeetCriteria*); // noncopying version
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableGroup::CannotMeetCriteria *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableGroup::CannotMeetCriteria *&);
+
+#ifndef __ACE_INLINE__
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::TagGroupTaggedComponent &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::TagGroupTaggedComponent &);
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::Property &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::Property &);
+
+#if !defined _TAO_CDR_OP_PortableGroup_Properties_H_
+#define _TAO_CDR_OP_PortableGroup_Properties_H_
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (
+ TAO_OutputCDR &,
+ const PortableGroup::Properties &
+ );
+TAO_PortableGroup_Export CORBA::Boolean operator>> (
+ TAO_InputCDR &,
+ PortableGroup::Properties &
+ );
+
+#endif /* _TAO_CDR_OP_PortableGroup_Properties_H_ */
+
+
+#if !defined _TAO_CDR_OP_PortableGroup_Locations_H_
+#define _TAO_CDR_OP_PortableGroup_Locations_H_
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (
+ TAO_OutputCDR &,
+ const PortableGroup::Locations &
+ );
+TAO_PortableGroup_Export CORBA::Boolean operator>> (
+ TAO_InputCDR &,
+ PortableGroup::Locations &
+ );
+
+#endif /* _TAO_CDR_OP_PortableGroup_Locations_H_ */
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::InterfaceNotFound &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::InterfaceNotFound &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::ObjectGroupNotFound &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::ObjectGroupNotFound &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::MemberNotFound &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::MemberNotFound &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::ObjectNotFound &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::ObjectNotFound &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::MemberAlreadyPresent &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::MemberAlreadyPresent &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::BadReplicationStyle &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::BadReplicationStyle &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::ObjectNotCreated &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::ObjectNotCreated &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::ObjectNotAdded &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::ObjectNotAdded &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::UnsupportedProperty &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::UnsupportedProperty &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::InvalidProperty &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::InvalidProperty &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::NoFactory &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::NoFactory &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::InvalidCriteria &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::InvalidCriteria &);
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableGroup::CannotMeetCriteria &);
+TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableGroup::CannotMeetCriteria &);
+
+
+#endif /* __ACE_INLINE__ */
+
+
+#if defined (__ACE_INLINE__)
+#include "PortableGroupC.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/PortableGroupC.i b/TAO/tao/PortableGroup/PortableGroupC.i
new file mode 100644
index 00000000000..47392e541b0
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupC.i
@@ -0,0 +1,2193 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+// *************************************************************
+// Inline operations for class PortableGroup::TagGroupTaggedComponent_var
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::TagGroupTaggedComponent_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::TagGroupTaggedComponent_var (TagGroupTaggedComponent *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::TagGroupTaggedComponent_var (const ::PortableGroup::TagGroupTaggedComponent_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::PortableGroup::TagGroupTaggedComponent (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::~TagGroupTaggedComponent_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableGroup::TagGroupTaggedComponent_var &
+PortableGroup::TagGroupTaggedComponent_var::operator= (TagGroupTaggedComponent *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent_var &
+PortableGroup::TagGroupTaggedComponent_var::operator= (const ::PortableGroup::TagGroupTaggedComponent_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ TagGroupTaggedComponent *deep_copy =
+ new TagGroupTaggedComponent (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ TagGroupTaggedComponent *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::PortableGroup::TagGroupTaggedComponent *
+PortableGroup::TagGroupTaggedComponent_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent *
+PortableGroup::TagGroupTaggedComponent_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::operator const ::PortableGroup::TagGroupTaggedComponent &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::operator ::PortableGroup::TagGroupTaggedComponent &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::operator ::PortableGroup::TagGroupTaggedComponent &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_var::operator ::PortableGroup::TagGroupTaggedComponent *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE const ::PortableGroup::TagGroupTaggedComponent &
+PortableGroup::TagGroupTaggedComponent_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent &
+PortableGroup::TagGroupTaggedComponent_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent *&
+PortableGroup::TagGroupTaggedComponent_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent *
+PortableGroup::TagGroupTaggedComponent_var::_retn (void)
+{
+ ::PortableGroup::TagGroupTaggedComponent *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent *
+PortableGroup::TagGroupTaggedComponent_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableGroup::TagGroupTaggedComponent_out
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_out::TagGroupTaggedComponent_out (::PortableGroup::TagGroupTaggedComponent *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_out::TagGroupTaggedComponent_out (TagGroupTaggedComponent_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_out::TagGroupTaggedComponent_out (const ::PortableGroup::TagGroupTaggedComponent_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (TagGroupTaggedComponent_out&, p).ptr_)
+{}
+
+ACE_INLINE PortableGroup::TagGroupTaggedComponent_out &
+PortableGroup::TagGroupTaggedComponent_out::operator= (const ::PortableGroup::TagGroupTaggedComponent_out &p)
+{
+ this->ptr_ = ACE_const_cast (TagGroupTaggedComponent_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableGroup::TagGroupTaggedComponent_out &
+PortableGroup::TagGroupTaggedComponent_out::operator= (TagGroupTaggedComponent *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableGroup::TagGroupTaggedComponent_out::operator ::PortableGroup::TagGroupTaggedComponent *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent *&
+PortableGroup::TagGroupTaggedComponent_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::TagGroupTaggedComponent *
+PortableGroup::TagGroupTaggedComponent_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableGroup::Property_var
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::Property_var::Property_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableGroup::Property_var::Property_var (Property *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableGroup::Property_var::Property_var (const ::PortableGroup::Property_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::PortableGroup::Property (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Property_var::~Property_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableGroup::Property_var &
+PortableGroup::Property_var::operator= (Property *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::Property_var &
+PortableGroup::Property_var::operator= (const ::PortableGroup::Property_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ Property *deep_copy =
+ new Property (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ Property *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::PortableGroup::Property *
+PortableGroup::Property_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Property *
+PortableGroup::Property_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Property_var::operator const ::PortableGroup::Property &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Property_var::operator ::PortableGroup::Property &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Property_var::operator ::PortableGroup::Property &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+PortableGroup::Property_var::operator ::PortableGroup::Property *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE const ::PortableGroup::Property &
+PortableGroup::Property_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Property &
+PortableGroup::Property_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::PortableGroup::Property *&
+PortableGroup::Property_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Property *
+PortableGroup::Property_var::_retn (void)
+{
+ ::PortableGroup::Property *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::PortableGroup::Property *
+PortableGroup::Property_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableGroup::Property_out
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::Property_out::Property_out (::PortableGroup::Property *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Property_out::Property_out (Property_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Property_out::Property_out (const ::PortableGroup::Property_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (Property_out&, p).ptr_)
+{}
+
+ACE_INLINE PortableGroup::Property_out &
+PortableGroup::Property_out::operator= (const ::PortableGroup::Property_out &p)
+{
+ this->ptr_ = ACE_const_cast (Property_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableGroup::Property_out &
+PortableGroup::Property_out::operator= (Property *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableGroup::Property_out::operator ::PortableGroup::Property *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Property *&
+PortableGroup::Property_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Property *
+PortableGroup::Property_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_PROPERTIES_CI_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_PROPERTIES_CI_
+
+ // = Static operations.
+ ACE_INLINE PortableGroup::Property *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::allocbuf (CORBA::ULong size)
+ // Allocate storage for the sequence.
+ {
+ PortableGroup::Property *retval = 0;
+ ACE_NEW_RETURN (retval, PortableGroup::Property[size], 0);
+ return retval;
+ }
+
+ ACE_INLINE void PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::freebuf (PortableGroup::Property *buffer)
+ // Free the sequence.
+ {
+ delete [] buffer;
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::_TAO_Unbounded_Sequence_PortableGroup_Properties (void) // Default constructor.
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::_TAO_Unbounded_Sequence_PortableGroup_Properties (CORBA::ULong maximum) // Constructor using a maximum length value.
+ : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_PortableGroup_Properties::allocbuf (maximum))
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::_TAO_Unbounded_Sequence_PortableGroup_Properties (CORBA::ULong maximum,
+ CORBA::ULong length,
+ PortableGroup::Property *data,
+ CORBA::Boolean release)
+ : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::_TAO_Unbounded_Sequence_PortableGroup_Properties (const _TAO_Unbounded_Sequence_PortableGroup_Properties &rhs)
+ // Copy constructor.
+ : TAO_Unbounded_Base_Sequence (rhs)
+ {
+ if (rhs.buffer_ != 0)
+ {
+ PortableGroup::Property *tmp1 = _TAO_Unbounded_Sequence_PortableGroup_Properties::allocbuf (this->maximum_);
+ PortableGroup::Property * const tmp2 = ACE_reinterpret_cast (PortableGroup::Property * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ this->buffer_ = tmp1;
+ }
+ else
+ {
+ this->buffer_ = 0;
+ }
+ }
+
+ ACE_INLINE PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::operator= (const _TAO_Unbounded_Sequence_PortableGroup_Properties &rhs)
+ // Assignment operator.
+ {
+ if (this == &rhs)
+ return *this;
+
+ if (this->release_)
+ {
+ if (this->maximum_ < rhs.maximum_)
+ {
+ // free the old buffer
+ PortableGroup::Property *tmp = ACE_reinterpret_cast (PortableGroup::Property *, this->buffer_);
+ _TAO_Unbounded_Sequence_PortableGroup_Properties::freebuf (tmp);
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableGroup_Properties::allocbuf (rhs.maximum_);
+ }
+ }
+ else
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableGroup_Properties::allocbuf (rhs.maximum_);
+
+ TAO_Unbounded_Base_Sequence::operator= (rhs);
+
+ PortableGroup::Property *tmp1 = ACE_reinterpret_cast (PortableGroup::Property *, this->buffer_);
+ PortableGroup::Property * const tmp2 = ACE_reinterpret_cast (PortableGroup::Property * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ return *this;
+ }
+
+ // = Accessors.
+ ACE_INLINE PortableGroup::Property &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::operator[] (CORBA::ULong i)
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableGroup::Property* tmp = ACE_reinterpret_cast(PortableGroup::Property*,this->buffer_);
+ return tmp[i];
+ }
+
+ ACE_INLINE const PortableGroup::Property &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::operator[] (CORBA::ULong i) const
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableGroup::Property * const tmp = ACE_reinterpret_cast (PortableGroup::Property* ACE_CAST_CONST, this->buffer_);
+ return tmp[i];
+ }
+
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ ACE_INLINE PortableGroup::Property *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::get_buffer (CORBA::Boolean orphan)
+ {
+ PortableGroup::Property *result = 0;
+ if (orphan == 0)
+ {
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result = _TAO_Unbounded_Sequence_PortableGroup_Properties::allocbuf (this->length_);
+ this->buffer_ = result;
+ this->release_ = 1;
+ }
+ else
+ {
+ result = ACE_reinterpret_cast (PortableGroup::Property*, this->buffer_);
+ }
+ }
+ else // if (orphan == 1)
+ {
+ if (this->release_ != 0)
+ {
+ // We set the state back to default and relinquish
+ // ownership.
+ result = ACE_reinterpret_cast(PortableGroup::Property*,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
+ }
+ return result;
+ }
+
+ ACE_INLINE const PortableGroup::Property *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::get_buffer (void) const
+ {
+ return ACE_reinterpret_cast(const PortableGroup::Property * ACE_CAST_CONST, this->buffer_);
+ }
+
+ ACE_INLINE void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Properties::replace (CORBA::ULong max,
+ CORBA::ULong length,
+ PortableGroup::Property *data,
+ CORBA::Boolean release)
+ {
+ this->maximum_ = max;
+ this->length_ = length;
+ if (this->buffer_ && this->release_ == 1)
+ {
+ PortableGroup::Property *tmp = ACE_reinterpret_cast(PortableGroup::Property*,this->buffer_);
+ _TAO_Unbounded_Sequence_PortableGroup_Properties::freebuf (tmp);
+ }
+ this->buffer_ = data;
+ this->release_ = release;
+ }
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_PROPERTIES_CI_)
+#define _PORTABLEGROUP_PROPERTIES_CI_
+
+// *************************************************************
+// Inline operations for class PortableGroup::Properties_var
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::Properties_var::Properties_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableGroup::Properties_var::Properties_var (Properties *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableGroup::Properties_var::Properties_var (const ::PortableGroup::Properties_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::PortableGroup::Properties (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Properties_var::~Properties_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableGroup::Properties_var &
+PortableGroup::Properties_var::operator= (Properties *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::Properties_var &
+PortableGroup::Properties_var::operator= (const ::PortableGroup::Properties_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ Properties *deep_copy =
+ new Properties (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ Properties *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::PortableGroup::Properties *
+PortableGroup::Properties_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Properties *
+PortableGroup::Properties_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Properties_var::operator const ::PortableGroup::Properties &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Properties_var::operator ::PortableGroup::Properties &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Properties_var::operator ::PortableGroup::Properties &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+PortableGroup::Properties_var::operator ::PortableGroup::Properties *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableGroup::Property &
+PortableGroup::Properties_var::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+ACE_INLINE const PortableGroup::Property &
+PortableGroup::Properties_var::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const PortableGroup::Property &, this->ptr_->operator[] (index));
+}
+
+ACE_INLINE const ::PortableGroup::Properties &
+PortableGroup::Properties_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Properties &
+PortableGroup::Properties_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::PortableGroup::Properties *&
+PortableGroup::Properties_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Properties *
+PortableGroup::Properties_var::_retn (void)
+{
+ ::PortableGroup::Properties *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::PortableGroup::Properties *
+PortableGroup::Properties_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableGroup::Properties_out
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::Properties_out::Properties_out (Properties *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Properties_out::Properties_out (Properties_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Properties_out::Properties_out (const ::PortableGroup::Properties_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (Properties_out&, p).ptr_)
+{}
+
+ACE_INLINE ::PortableGroup::Properties_out &
+PortableGroup::Properties_out::operator= (const ::PortableGroup::Properties_out &p)
+{
+ this->ptr_ = ACE_const_cast (Properties_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::Properties_out &
+PortableGroup::Properties_out::operator= (Properties *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableGroup::Properties_out::operator ::PortableGroup::Properties *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Properties *&
+PortableGroup::Properties_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Properties *
+PortableGroup::Properties_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableGroup::Property &
+PortableGroup::Properties_out::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_LOCATIONS_CI_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_LOCATIONS_CI_
+
+ // = Static operations.
+ ACE_INLINE PortableGroup::Location *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::allocbuf (CORBA::ULong size)
+ // Allocate storage for the sequence.
+ {
+ PortableGroup::Location *retval = 0;
+ ACE_NEW_RETURN (retval, PortableGroup::Location[size], 0);
+ return retval;
+ }
+
+ ACE_INLINE void PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::freebuf (PortableGroup::Location *buffer)
+ // Free the sequence.
+ {
+ delete [] buffer;
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::_TAO_Unbounded_Sequence_PortableGroup_Locations (void) // Default constructor.
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::_TAO_Unbounded_Sequence_PortableGroup_Locations (CORBA::ULong maximum) // Constructor using a maximum length value.
+ : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_PortableGroup_Locations::allocbuf (maximum))
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::_TAO_Unbounded_Sequence_PortableGroup_Locations (CORBA::ULong maximum,
+ CORBA::ULong length,
+ PortableGroup::Location *data,
+ CORBA::Boolean release)
+ : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::_TAO_Unbounded_Sequence_PortableGroup_Locations (const _TAO_Unbounded_Sequence_PortableGroup_Locations &rhs)
+ // Copy constructor.
+ : TAO_Unbounded_Base_Sequence (rhs)
+ {
+ if (rhs.buffer_ != 0)
+ {
+ PortableGroup::Location *tmp1 = _TAO_Unbounded_Sequence_PortableGroup_Locations::allocbuf (this->maximum_);
+ PortableGroup::Location * const tmp2 = ACE_reinterpret_cast (PortableGroup::Location * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ this->buffer_ = tmp1;
+ }
+ else
+ {
+ this->buffer_ = 0;
+ }
+ }
+
+ ACE_INLINE PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::operator= (const _TAO_Unbounded_Sequence_PortableGroup_Locations &rhs)
+ // Assignment operator.
+ {
+ if (this == &rhs)
+ return *this;
+
+ if (this->release_)
+ {
+ if (this->maximum_ < rhs.maximum_)
+ {
+ // free the old buffer
+ PortableGroup::Location *tmp = ACE_reinterpret_cast (PortableGroup::Location *, this->buffer_);
+ _TAO_Unbounded_Sequence_PortableGroup_Locations::freebuf (tmp);
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableGroup_Locations::allocbuf (rhs.maximum_);
+ }
+ }
+ else
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableGroup_Locations::allocbuf (rhs.maximum_);
+
+ TAO_Unbounded_Base_Sequence::operator= (rhs);
+
+ PortableGroup::Location *tmp1 = ACE_reinterpret_cast (PortableGroup::Location *, this->buffer_);
+ PortableGroup::Location * const tmp2 = ACE_reinterpret_cast (PortableGroup::Location * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ return *this;
+ }
+
+ // = Accessors.
+ ACE_INLINE PortableGroup::Location &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::operator[] (CORBA::ULong i)
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableGroup::Location* tmp = ACE_reinterpret_cast(PortableGroup::Location*,this->buffer_);
+ return tmp[i];
+ }
+
+ ACE_INLINE const PortableGroup::Location &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::operator[] (CORBA::ULong i) const
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableGroup::Location * const tmp = ACE_reinterpret_cast (PortableGroup::Location* ACE_CAST_CONST, this->buffer_);
+ return tmp[i];
+ }
+
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ ACE_INLINE PortableGroup::Location *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::get_buffer (CORBA::Boolean orphan)
+ {
+ PortableGroup::Location *result = 0;
+ if (orphan == 0)
+ {
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result = _TAO_Unbounded_Sequence_PortableGroup_Locations::allocbuf (this->length_);
+ this->buffer_ = result;
+ this->release_ = 1;
+ }
+ else
+ {
+ result = ACE_reinterpret_cast (PortableGroup::Location*, this->buffer_);
+ }
+ }
+ else // if (orphan == 1)
+ {
+ if (this->release_ != 0)
+ {
+ // We set the state back to default and relinquish
+ // ownership.
+ result = ACE_reinterpret_cast(PortableGroup::Location*,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
+ }
+ return result;
+ }
+
+ ACE_INLINE const PortableGroup::Location *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::get_buffer (void) const
+ {
+ return ACE_reinterpret_cast(const PortableGroup::Location * ACE_CAST_CONST, this->buffer_);
+ }
+
+ ACE_INLINE void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_Locations::replace (CORBA::ULong max,
+ CORBA::ULong length,
+ PortableGroup::Location *data,
+ CORBA::Boolean release)
+ {
+ this->maximum_ = max;
+ this->length_ = length;
+ if (this->buffer_ && this->release_ == 1)
+ {
+ PortableGroup::Location *tmp = ACE_reinterpret_cast(PortableGroup::Location*,this->buffer_);
+ _TAO_Unbounded_Sequence_PortableGroup_Locations::freebuf (tmp);
+ }
+ this->buffer_ = data;
+ this->release_ = release;
+ }
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_LOCATIONS_CI_)
+#define _PORTABLEGROUP_LOCATIONS_CI_
+
+// *************************************************************
+// Inline operations for class PortableGroup::Locations_var
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::Locations_var::Locations_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableGroup::Locations_var::Locations_var (Locations *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableGroup::Locations_var::Locations_var (const ::PortableGroup::Locations_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::PortableGroup::Locations (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Locations_var::~Locations_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableGroup::Locations_var &
+PortableGroup::Locations_var::operator= (Locations *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::Locations_var &
+PortableGroup::Locations_var::operator= (const ::PortableGroup::Locations_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ Locations *deep_copy =
+ new Locations (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ Locations *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::PortableGroup::Locations *
+PortableGroup::Locations_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Locations *
+PortableGroup::Locations_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Locations_var::operator const ::PortableGroup::Locations &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Locations_var::operator ::PortableGroup::Locations &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::Locations_var::operator ::PortableGroup::Locations &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+PortableGroup::Locations_var::operator ::PortableGroup::Locations *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableGroup::Location &
+PortableGroup::Locations_var::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+ACE_INLINE const PortableGroup::Location &
+PortableGroup::Locations_var::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const PortableGroup::Location &, this->ptr_->operator[] (index));
+}
+
+ACE_INLINE const ::PortableGroup::Locations &
+PortableGroup::Locations_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Locations &
+PortableGroup::Locations_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::PortableGroup::Locations *&
+PortableGroup::Locations_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Locations *
+PortableGroup::Locations_var::_retn (void)
+{
+ ::PortableGroup::Locations *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::PortableGroup::Locations *
+PortableGroup::Locations_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableGroup::Locations_out
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::Locations_out::Locations_out (Locations *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Locations_out::Locations_out (Locations_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::Locations_out::Locations_out (const ::PortableGroup::Locations_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (Locations_out&, p).ptr_)
+{}
+
+ACE_INLINE ::PortableGroup::Locations_out &
+PortableGroup::Locations_out::operator= (const ::PortableGroup::Locations_out &p)
+{
+ this->ptr_ = ACE_const_cast (Locations_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::Locations_out &
+PortableGroup::Locations_out::operator= (Locations *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableGroup::Locations_out::operator ::PortableGroup::Locations *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Locations *&
+PortableGroup::Locations_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::Locations *
+PortableGroup::Locations_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableGroup::Location &
+PortableGroup::Locations_out::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+
+#endif /* end #if !defined */
+
+// *************************************************************
+// Inline operations for class PortableGroup::FactoryInfo_var
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::FactoryInfo_var::FactoryInfo_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_var::FactoryInfo_var (FactoryInfo *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_var::FactoryInfo_var (const ::PortableGroup::FactoryInfo_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::PortableGroup::FactoryInfo (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_var::~FactoryInfo_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableGroup::FactoryInfo_var &
+PortableGroup::FactoryInfo_var::operator= (FactoryInfo *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfo_var &
+PortableGroup::FactoryInfo_var::operator= (const ::PortableGroup::FactoryInfo_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ FactoryInfo *deep_copy =
+ new FactoryInfo (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ FactoryInfo *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::PortableGroup::FactoryInfo *
+PortableGroup::FactoryInfo_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfo *
+PortableGroup::FactoryInfo_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_var::operator const ::PortableGroup::FactoryInfo &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_var::operator ::PortableGroup::FactoryInfo &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_var::operator ::PortableGroup::FactoryInfo &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+PortableGroup::FactoryInfo_var::operator ::PortableGroup::FactoryInfo *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE const ::PortableGroup::FactoryInfo &
+PortableGroup::FactoryInfo_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfo &
+PortableGroup::FactoryInfo_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::PortableGroup::FactoryInfo *&
+PortableGroup::FactoryInfo_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfo *
+PortableGroup::FactoryInfo_var::_retn (void)
+{
+ ::PortableGroup::FactoryInfo *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfo *
+PortableGroup::FactoryInfo_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableGroup::FactoryInfo_out
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::FactoryInfo_out::FactoryInfo_out (::PortableGroup::FactoryInfo *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_out::FactoryInfo_out (FactoryInfo_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_out::FactoryInfo_out (const ::PortableGroup::FactoryInfo_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (FactoryInfo_out&, p).ptr_)
+{}
+
+ACE_INLINE PortableGroup::FactoryInfo_out &
+PortableGroup::FactoryInfo_out::operator= (const ::PortableGroup::FactoryInfo_out &p)
+{
+ this->ptr_ = ACE_const_cast (FactoryInfo_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE PortableGroup::FactoryInfo_out &
+PortableGroup::FactoryInfo_out::operator= (FactoryInfo *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfo_out::operator ::PortableGroup::FactoryInfo *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfo *&
+PortableGroup::FactoryInfo_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfo *
+PortableGroup::FactoryInfo_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_FACTORYINFOS_CI_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLEGROUP_FACTORYINFOS_CI_
+
+ // = Static operations.
+ ACE_INLINE PortableGroup::FactoryInfo *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::allocbuf (CORBA::ULong size)
+ // Allocate storage for the sequence.
+ {
+ PortableGroup::FactoryInfo *retval = 0;
+ ACE_NEW_RETURN (retval, PortableGroup::FactoryInfo[size], 0);
+ return retval;
+ }
+
+ ACE_INLINE void PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::freebuf (PortableGroup::FactoryInfo *buffer)
+ // Free the sequence.
+ {
+ delete [] buffer;
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (void) // Default constructor.
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (CORBA::ULong maximum) // Constructor using a maximum length value.
+ : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::allocbuf (maximum))
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (CORBA::ULong maximum,
+ CORBA::ULong length,
+ PortableGroup::FactoryInfo *data,
+ CORBA::Boolean release)
+ : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
+ {
+ }
+
+ ACE_INLINE
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos (const _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos &rhs)
+ // Copy constructor.
+ : TAO_Unbounded_Base_Sequence (rhs)
+ {
+ if (rhs.buffer_ != 0)
+ {
+ PortableGroup::FactoryInfo *tmp1 = _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::allocbuf (this->maximum_);
+ PortableGroup::FactoryInfo * const tmp2 = ACE_reinterpret_cast (PortableGroup::FactoryInfo * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ this->buffer_ = tmp1;
+ }
+ else
+ {
+ this->buffer_ = 0;
+ }
+ }
+
+ ACE_INLINE PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::operator= (const _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos &rhs)
+ // Assignment operator.
+ {
+ if (this == &rhs)
+ return *this;
+
+ if (this->release_)
+ {
+ if (this->maximum_ < rhs.maximum_)
+ {
+ // free the old buffer
+ PortableGroup::FactoryInfo *tmp = ACE_reinterpret_cast (PortableGroup::FactoryInfo *, this->buffer_);
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::freebuf (tmp);
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::allocbuf (rhs.maximum_);
+ }
+ }
+ else
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::allocbuf (rhs.maximum_);
+
+ TAO_Unbounded_Base_Sequence::operator= (rhs);
+
+ PortableGroup::FactoryInfo *tmp1 = ACE_reinterpret_cast (PortableGroup::FactoryInfo *, this->buffer_);
+ PortableGroup::FactoryInfo * const tmp2 = ACE_reinterpret_cast (PortableGroup::FactoryInfo * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ return *this;
+ }
+
+ // = Accessors.
+ ACE_INLINE PortableGroup::FactoryInfo &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::operator[] (CORBA::ULong i)
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableGroup::FactoryInfo* tmp = ACE_reinterpret_cast(PortableGroup::FactoryInfo*,this->buffer_);
+ return tmp[i];
+ }
+
+ ACE_INLINE const PortableGroup::FactoryInfo &
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::operator[] (CORBA::ULong i) const
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableGroup::FactoryInfo * const tmp = ACE_reinterpret_cast (PortableGroup::FactoryInfo* ACE_CAST_CONST, this->buffer_);
+ return tmp[i];
+ }
+
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ ACE_INLINE PortableGroup::FactoryInfo *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::get_buffer (CORBA::Boolean orphan)
+ {
+ PortableGroup::FactoryInfo *result = 0;
+ if (orphan == 0)
+ {
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result = _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::allocbuf (this->length_);
+ this->buffer_ = result;
+ this->release_ = 1;
+ }
+ else
+ {
+ result = ACE_reinterpret_cast (PortableGroup::FactoryInfo*, this->buffer_);
+ }
+ }
+ else // if (orphan == 1)
+ {
+ if (this->release_ != 0)
+ {
+ // We set the state back to default and relinquish
+ // ownership.
+ result = ACE_reinterpret_cast(PortableGroup::FactoryInfo*,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
+ }
+ return result;
+ }
+
+ ACE_INLINE const PortableGroup::FactoryInfo *
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::get_buffer (void) const
+ {
+ return ACE_reinterpret_cast(const PortableGroup::FactoryInfo * ACE_CAST_CONST, this->buffer_);
+ }
+
+ ACE_INLINE void
+ PortableGroup::_TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::replace (CORBA::ULong max,
+ CORBA::ULong length,
+ PortableGroup::FactoryInfo *data,
+ CORBA::Boolean release)
+ {
+ this->maximum_ = max;
+ this->length_ = length;
+ if (this->buffer_ && this->release_ == 1)
+ {
+ PortableGroup::FactoryInfo *tmp = ACE_reinterpret_cast(PortableGroup::FactoryInfo*,this->buffer_);
+ _TAO_Unbounded_Sequence_PortableGroup_FactoryInfos::freebuf (tmp);
+ }
+ this->buffer_ = data;
+ this->release_ = release;
+ }
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLEGROUP_FACTORYINFOS_CI_)
+#define _PORTABLEGROUP_FACTORYINFOS_CI_
+
+// *************************************************************
+// Inline operations for class PortableGroup::FactoryInfos_var
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::FactoryInfos_var::FactoryInfos_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_var::FactoryInfos_var (FactoryInfos *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_var::FactoryInfos_var (const ::PortableGroup::FactoryInfos_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::PortableGroup::FactoryInfos (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_var::~FactoryInfos_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableGroup::FactoryInfos_var &
+PortableGroup::FactoryInfos_var::operator= (FactoryInfos *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos_var &
+PortableGroup::FactoryInfos_var::operator= (const ::PortableGroup::FactoryInfos_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ FactoryInfos *deep_copy =
+ new FactoryInfos (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ FactoryInfos *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::PortableGroup::FactoryInfos *
+PortableGroup::FactoryInfos_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos *
+PortableGroup::FactoryInfos_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_var::operator const ::PortableGroup::FactoryInfos &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_var::operator ::PortableGroup::FactoryInfos &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_var::operator ::PortableGroup::FactoryInfos &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+PortableGroup::FactoryInfos_var::operator ::PortableGroup::FactoryInfos *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableGroup::FactoryInfo &
+PortableGroup::FactoryInfos_var::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+ACE_INLINE const PortableGroup::FactoryInfo &
+PortableGroup::FactoryInfos_var::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const PortableGroup::FactoryInfo &, this->ptr_->operator[] (index));
+}
+
+ACE_INLINE const ::PortableGroup::FactoryInfos &
+PortableGroup::FactoryInfos_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos &
+PortableGroup::FactoryInfos_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::PortableGroup::FactoryInfos *&
+PortableGroup::FactoryInfos_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos *
+PortableGroup::FactoryInfos_var::_retn (void)
+{
+ ::PortableGroup::FactoryInfos *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos *
+PortableGroup::FactoryInfos_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableGroup::FactoryInfos_out
+// *************************************************************
+
+ACE_INLINE
+PortableGroup::FactoryInfos_out::FactoryInfos_out (FactoryInfos *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_out::FactoryInfos_out (FactoryInfos_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_out::FactoryInfos_out (const ::PortableGroup::FactoryInfos_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (FactoryInfos_out&, p).ptr_)
+{}
+
+ACE_INLINE ::PortableGroup::FactoryInfos_out &
+PortableGroup::FactoryInfos_out::operator= (const ::PortableGroup::FactoryInfos_out &p)
+{
+ this->ptr_ = ACE_const_cast (FactoryInfos_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos_out &
+PortableGroup::FactoryInfos_out::operator= (FactoryInfos *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableGroup::FactoryInfos_out::operator ::PortableGroup::FactoryInfos *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos *&
+PortableGroup::FactoryInfos_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableGroup::FactoryInfos *
+PortableGroup::FactoryInfos_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableGroup::FactoryInfo &
+PortableGroup::FactoryInfos_out::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+
+#endif /* end #if !defined */
+
+// *************************************************************
+// Inline operations for exception PortableGroup::InterfaceNotFound
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::ObjectGroupNotFound
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::MemberNotFound
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::ObjectNotFound
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::MemberAlreadyPresent
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::BadReplicationStyle
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::ObjectNotCreated
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::ObjectNotAdded
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::UnsupportedProperty
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::InvalidProperty
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::NoFactory
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::InvalidCriteria
+// *************************************************************
+
+// *************************************************************
+// Inline operations for exception PortableGroup::CannotMeetCriteria
+// *************************************************************
+
+
+#if !defined (_PORTABLEGROUP_PROPERTYMANAGER___CI_)
+#define _PORTABLEGROUP_PROPERTYMANAGER___CI_
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_OBJECTGROUPMANAGER___CI_)
+#define _PORTABLEGROUP_OBJECTGROUPMANAGER___CI_
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLEGROUP_GENERICFACTORY___CI_)
+#define _PORTABLEGROUP_GENERICFACTORY___CI_
+
+
+#endif /* end #if !defined */
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::TagGroupTaggedComponent &_tao_aggregate)
+{
+ if (
+ (strm << _tao_aggregate.version) &&
+ (strm << _tao_aggregate.group_domain_id.in ()) &&
+ (strm << _tao_aggregate.object_group_id) &&
+ (strm << _tao_aggregate.object_group_ref_version)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableGroup::TagGroupTaggedComponent &_tao_aggregate)
+{
+ if (
+ (strm >> _tao_aggregate.version) &&
+ (strm >> _tao_aggregate.group_domain_id.out ()) &&
+ (strm >> _tao_aggregate.object_group_id) &&
+ (strm >> _tao_aggregate.object_group_ref_version)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::Property &_tao_aggregate)
+{
+ if (
+ (strm << _tao_aggregate.nam) &&
+ (strm << _tao_aggregate.val)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableGroup::Property &_tao_aggregate)
+{
+ if (
+ (strm >> _tao_aggregate.nam) &&
+ (strm >> _tao_aggregate.val)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+
+#if !defined _TAO_CDR_OP_PortableGroup_Properties_I_
+#define _TAO_CDR_OP_PortableGroup_Properties_I_
+
+CORBA::Boolean TAO_PortableGroup_Export operator<< (
+ TAO_OutputCDR &,
+ const PortableGroup::Properties &
+ );
+CORBA::Boolean TAO_PortableGroup_Export operator>> (
+ TAO_InputCDR &,
+ PortableGroup::Properties &
+ );
+
+#endif /* _TAO_CDR_OP_PortableGroup_Properties_I_ */
+
+
+#if !defined _TAO_CDR_OP_PortableGroup_Locations_I_
+#define _TAO_CDR_OP_PortableGroup_Locations_I_
+
+CORBA::Boolean TAO_PortableGroup_Export operator<< (
+ TAO_OutputCDR &,
+ const PortableGroup::Locations &
+ );
+CORBA::Boolean TAO_PortableGroup_Export operator>> (
+ TAO_InputCDR &,
+ PortableGroup::Locations &
+ );
+
+#endif /* _TAO_CDR_OP_PortableGroup_Locations_I_ */
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::InterfaceNotFound &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::InterfaceNotFound&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::ObjectGroupNotFound &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::ObjectGroupNotFound&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::MemberNotFound &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::MemberNotFound&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::ObjectNotFound &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::ObjectNotFound&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::MemberAlreadyPresent &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::MemberAlreadyPresent&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::BadReplicationStyle &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::BadReplicationStyle&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::ObjectNotCreated &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::ObjectNotCreated&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::ObjectNotAdded &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &,PortableGroup::ObjectNotAdded&)
+{
+ return 1;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::UnsupportedProperty &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ {
+ // now marshal the members (if any)
+ if (
+ (strm << _tao_aggregate.nam)
+ )
+ return 1;
+ else
+ return 0;
+ }
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,PortableGroup::UnsupportedProperty &_tao_aggregate)
+{
+ // now marshal the members
+ if (
+ (strm >> _tao_aggregate.nam)
+ )
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::InvalidProperty &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ {
+ // now marshal the members (if any)
+ if (
+ (strm << _tao_aggregate.nam) &&
+ (strm << _tao_aggregate.val)
+ )
+ return 1;
+ else
+ return 0;
+ }
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,PortableGroup::InvalidProperty &_tao_aggregate)
+{
+ // now marshal the members
+ if (
+ (strm >> _tao_aggregate.nam) &&
+ (strm >> _tao_aggregate.val)
+ )
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::NoFactory &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ {
+ // now marshal the members (if any)
+ if (
+ (strm << _tao_aggregate.the_location) &&
+ (strm << _tao_aggregate.type_id.in ())
+ )
+ return 1;
+ else
+ return 0;
+ }
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,PortableGroup::NoFactory &_tao_aggregate)
+{
+ // now marshal the members
+ if (
+ (strm >> _tao_aggregate.the_location) &&
+ (strm >> _tao_aggregate.type_id.out ())
+ )
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::InvalidCriteria &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ {
+ // now marshal the members (if any)
+ if (
+ (strm << _tao_aggregate.invalid_criteria)
+ )
+ return 1;
+ else
+ return 0;
+ }
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,PortableGroup::InvalidCriteria &_tao_aggregate)
+{
+ // now marshal the members
+ if (
+ (strm >> _tao_aggregate.invalid_criteria)
+ )
+ return 1;
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const PortableGroup::CannotMeetCriteria &_tao_aggregate)
+{
+ // first marshal the repository ID
+ if (strm << _tao_aggregate._id ())
+ {
+ // now marshal the members (if any)
+ if (
+ (strm << _tao_aggregate.unmet_criteria)
+ )
+ return 1;
+ else
+ return 0;
+ }
+ else
+ return 0;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,PortableGroup::CannotMeetCriteria &_tao_aggregate)
+{
+ // now marshal the members
+ if (
+ (strm >> _tao_aggregate.unmet_criteria)
+ )
+ return 1;
+ else
+ return 0;
+}
+
diff --git a/TAO/tao/PortableGroup/PortableGroupS.cpp b/TAO/tao/PortableGroup/PortableGroupS.cpp
new file mode 100644
index 00000000000..6f3263025a2
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupS.cpp
@@ -0,0 +1,48 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_PORTABLEGROUPS_CPP_
+#define _TAO_IDL_PORTABLEGROUPS_CPP_
+
+#include "PortableGroupS.h"
+
+#include "tao/PortableServer/Object_Adapter.h"
+#include "tao/PortableServer/Operation_Table.h"
+#include "tao/TAO_Server_Request.h"
+#include "tao/ORB_Core.h"
+#include "tao/Stub.h"
+#include "tao/IFR_Client_Adapter.h"
+#include "tao/PortableServer/ServerRequestInfo.h"
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#include "ace/Dynamic_Service.h"
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "PortableGroupS.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/PortableGroupS.h b/TAO/tao/PortableGroup/PortableGroupS.h
new file mode 100644
index 00000000000..a3f3bb8d8e2
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupS.h
@@ -0,0 +1,73 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_PORTABLEGROUPS_H_
+#define _TAO_IDL_PORTABLEGROUPS_H_
+
+#include "ace/pre.h"
+#include "PortableServerS.h"
+#include "CosNamingS.h"
+#include "IOPS.h"
+#include "GIOPS.h"
+#include "PortableGroupC.h"
+
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/PortableServer/PortableServer.h"
+#include "tao/PortableServer/Servant_Base.h"
+#include "tao/PortableServer/Collocated_Object.h"
+#include "tao/PortableServer/ThruPOA_Object_Proxy_Impl.h"
+#include "tao/PortableServer/Direct_Object_Proxy_Impl.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE POA_PortableGroup
+{
+}
+TAO_NAMESPACE_CLOSE // module PortableGroup
+
+#include "PortableGroupS_T.h"
+
+#if defined (__ACE_INLINE__)
+#include "PortableGroupS.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/PortableGroupS.i b/TAO/tao/PortableGroup/PortableGroupS.i
new file mode 100644
index 00000000000..f455a06b8f0
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupS.i
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
diff --git a/TAO/tao/PortableGroup/PortableGroupS_T.cpp b/TAO/tao/PortableGroup/PortableGroupS_T.cpp
new file mode 100644
index 00000000000..3fbf98fd73d
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupS_T.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_PORTABLEGROUPS_T_CPP_
+#define _TAO_IDL_PORTABLEGROUPS_T_CPP_
+
+#include "PortableGroupS_T.h"
+
+#if !defined (__ACE_INLINE__)
+#include "PortableGroupS_T.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/PortableGroupS_T.h b/TAO/tao/PortableGroup/PortableGroupS_T.h
new file mode 100644
index 00000000000..d094a99360c
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupS_T.h
@@ -0,0 +1,61 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_PORTABLEGROUPS_T_H_
+#define _TAO_IDL_PORTABLEGROUPS_T_H_
+
+#include "ace/pre.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+
+TAO_NAMESPACE POA_PortableGroup
+{
+}
+TAO_NAMESPACE_CLOSE // module PortableGroup
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (__ACE_INLINE__)
+#include "PortableGroupS_T.i"
+#endif /* defined INLINE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
+#include "PortableGroupS_T.cpp"
+#endif /* defined REQUIRED SOURCE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
+#pragma implementation ("PortableGroupS_T.cpp")
+#endif /* defined REQUIRED PRAGMA */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/PortableGroupS_T.i b/TAO/tao/PortableGroup/PortableGroupS_T.i
new file mode 100644
index 00000000000..42c2288533f
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroupS_T.i
@@ -0,0 +1,24 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#if defined (ACE_HAS_USING_KEYWORD)
+
+#endif /* ACE_HAS_USING_KEYWORD */
diff --git a/TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.cpp b/TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.cpp
new file mode 100644
index 00000000000..b67a97ca898
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.cpp
@@ -0,0 +1,187 @@
+// -*- C++ -*-
+// $Id$
+
+#include "PortableGroup_Acceptor_Registry.h"
+#include "tao/orb_core.h"
+#include "tao/Profile.h"
+#include "tao/GIOP_Message_State.h"
+#include "tao/debug.h"
+
+ACE_RCSID(tao, PortableGroup, "$Id$")
+
+TAO_PortableGroup_Acceptor_Registry::TAO_PortableGroup_Acceptor_Registry (void)
+{
+}
+
+TAO_PortableGroup_Acceptor_Registry::~TAO_PortableGroup_Acceptor_Registry (void)
+{
+ // Free the memory for the endpoints.
+ Entry *entry;
+ Acceptor_Registry_Iterator iter (this->registry_);
+
+ while (iter.next (entry))
+ {
+ delete entry->endpoint;
+ delete entry->acceptor;
+ iter.advance ();
+ }
+}
+
+
+void
+TAO_PortableGroup_Acceptor_Registry::open (const TAO_Profile* profile,
+ TAO_ORB_Core &orb_core,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ Entry *entry;
+
+ if (this->find (profile, entry) == 1)
+ {
+ // Found it. Increment the reference count.
+ ++entry->cnt;
+ }
+ else
+ {
+ // Not found. Open a new acceptor.
+
+ // Now get the list of available protocol factories.
+ TAO_ProtocolFactorySetItor end =
+ orb_core.protocol_factories ()->end ();
+
+ int found = 0;
+ // If usable protocol (factory) is found then this will be
+ // set equal to 1.
+
+ for (TAO_ProtocolFactorySetItor factory =
+ orb_core.protocol_factories ()->begin ();
+ factory != end;
+ ++factory)
+ {
+ if ((*factory)->factory ()->tag () == profile->tag ())
+ {
+ this->open_i (profile,
+ orb_core,
+ factory,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+
+ found = 1; // A usable protocol was found.
+ }
+ else
+ continue;
+ }
+ }
+}
+
+#define MAX_ADDR_LENGTH (32)
+
+void
+TAO_PortableGroup_Acceptor_Registry::open_i (const TAO_Profile* profile,
+ TAO_ORB_Core &orb_core,
+ TAO_ProtocolFactorySetItor &factory,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ TAO_Acceptor *acceptor = (*factory)->factory ()->make_acceptor ();
+
+ if (acceptor != 0)
+ {
+ // Extract the desired endpoint/protocol version if one
+ // exists.
+ const TAO_GIOP_Version &version = profile->version ();
+ char buffer [MAX_ADDR_LENGTH];
+
+ // Removed the constness of profile. We're not changing
+ // anything, but need to call a nonconst function.
+ TAO_Profile* nc_profile = ACE_const_cast (TAO_Profile *, profile);
+ nc_profile->endpoint ()->addr_to_string (buffer, MAX_ADDR_LENGTH);
+
+ if (acceptor->open (&orb_core,
+ version.major,
+ version.minor,
+ buffer,
+ 0) == -1)
+ {
+ delete acceptor;
+
+ if (TAO_debug_level > 0)
+ ACE_ERROR ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) ")
+ ACE_TEXT ("unable to open acceptor ")
+ ACE_TEXT ("for <%s>%p\n"),
+ buffer,
+ ""));
+
+ ACE_THROW (CORBA::BAD_PARAM (
+ CORBA_SystemException::_tao_minor_code (
+ TAO_ACCEPTOR_REGISTRY_OPEN_LOCATION_CODE,
+ EINVAL),
+ CORBA::COMPLETED_NO));
+ }
+
+ // Add acceptor to list.
+ Entry tmp_entry;
+ tmp_entry.acceptor = acceptor;
+ tmp_entry.endpoint = nc_profile->endpoint ()->duplicate ();
+ tmp_entry.cnt = 1;
+
+ if (this->registry_.enqueue_tail (tmp_entry) == -1)
+ {
+ delete acceptor;
+
+ if (TAO_debug_level > 0)
+ ACE_ERROR ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) ")
+ ACE_TEXT ("unable to add acceptor to registry")
+ ACE_TEXT ("for <%s>%p\n"),
+ buffer,
+ ""));
+
+ ACE_THROW (CORBA::BAD_PARAM (
+ CORBA_SystemException::_tao_minor_code (
+ TAO_ACCEPTOR_REGISTRY_OPEN_LOCATION_CODE,
+ EINVAL),
+ CORBA::COMPLETED_NO));
+ }
+ }
+ else
+ {
+ if (TAO_debug_level > 0)
+ ACE_ERROR ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) ")
+ ACE_TEXT ("unable to create acceptor ")
+ ));
+
+ ACE_THROW (CORBA::BAD_PARAM (
+ CORBA_SystemException::_tao_minor_code (
+ TAO_ACCEPTOR_REGISTRY_OPEN_LOCATION_CODE,
+ EINVAL),
+ CORBA::COMPLETED_NO));
+ }
+}
+
+int
+TAO_PortableGroup_Acceptor_Registry::find (const TAO_Profile* profile,
+ Entry *&entry)
+{
+ Acceptor_Registry_Iterator iter (this->registry_);
+
+ while (iter.next (entry))
+ {
+ // Since the endpoint routine is nonconst, need to
+ // cast away the constness even though we're not
+ // changing anything.
+ TAO_Profile *nc_profile = ACE_const_cast (TAO_Profile *,profile);
+ if (entry->endpoint->is_equivalent (nc_profile->endpoint ()))
+ return 1;
+
+ iter.advance ();
+ }
+
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.h b/TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.h
new file mode 100644
index 00000000000..03effb212a0
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroup_Acceptor_Registry.h
@@ -0,0 +1,106 @@
+// This may look like C, but it's really -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file PortableGroup_Acceptor_Registry.h
+ *
+ * $Id$
+ *
+ * Registry for dynamically created acceptors.
+ *
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_PORTABLEGROUP_ACCEPTOR_REGISTRY_H
+#define TAO_PORTABLEGROUP_ACCEPTOR_REGISTRY_H
+#include "ace/pre.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "portablegroup_export.h"
+
+#include "tao/corbafwd.h"
+#include "tao/Pluggable.h"
+#include "ace/Unbounded_Queue.h"
+#include "tao/Resource_Factory.h"
+
+/**
+ * @class TAO_PortableGroup_Acceptor_Registry
+ *
+ * @brief .
+ *
+ * There is one TAO_PortableGroup_Acceptor_Registry per ORB_Core.
+ */
+class TAO_PortableGroup_Export TAO_PortableGroup_Acceptor_Registry
+{
+public:
+
+ struct Entry
+ {
+ // = TITLE
+ // Value field of the portable group acceptor registry.
+ //
+ // = DESCRIPTION
+
+ /// Pointer to the acceptor for this GroupId.
+ TAO_Acceptor *acceptor;
+
+ /// Cached endpoint that the acceptor is listening on.
+ TAO_Endpoint *endpoint;
+
+ /// Count of times that this GroupId has been opened.
+ int cnt;
+ };
+
+
+ // = Initialization and termination methods.
+ /// Default constructor.
+ TAO_PortableGroup_Acceptor_Registry (void);
+
+ /// Default destructor.
+ ~TAO_PortableGroup_Acceptor_Registry (void);
+
+ /// Open an acceptor based on a tagged profile.
+ void open (const TAO_Profile* profile,
+ TAO_ORB_Core &orb_core,
+ CORBA::Environment &ACE_TRY_ENV);
+
+ /// Close all open acceptors.
+ int close_all (void);
+
+ typedef ACE_Unbounded_Queue<Entry> Acceptor_Registry;
+ typedef ACE_Unbounded_Queue_Iterator<Entry> Acceptor_Registry_Iterator;
+
+protected:
+
+ /// Helper function to open a group acceptor.
+ void open_i (const TAO_Profile* profile,
+ TAO_ORB_Core &orb_core,
+ TAO_ProtocolFactorySetItor &factory,
+ CORBA::Environment &ACE_TRY_ENV);
+
+ /// Find an acceptor by using a profile.
+ int find (const TAO_Profile* profile,
+ Entry *&entry);
+
+private:
+ // The acceptor registry should not be copied.
+ ACE_UNIMPLEMENTED_FUNC (TAO_PortableGroup_Acceptor_Registry (const TAO_PortableGroup_Acceptor_Registry&))
+ ACE_UNIMPLEMENTED_FUNC (void operator= (const TAO_PortableGroup_Acceptor_Registry&))
+
+private:
+ /// List of acceptors that are currently open.
+ Acceptor_Registry registry_;
+};
+
+//#if defined(__ACE_INLINE__)
+//#include "tao/PortableGroup_Acceptor_Registry.i"
+//#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_PORTABLEGROUP_ACCEPTOR_REGISTRY_H */
diff --git a/TAO/tao/PortableGroup/PortableGroup_Loader.cpp b/TAO/tao/PortableGroup/PortableGroup_Loader.cpp
new file mode 100644
index 00000000000..c6dbd95ece9
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroup_Loader.cpp
@@ -0,0 +1,119 @@
+/* -*- C++ -*- */
+
+// $Id$
+// =================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// PortableGroup_Loader.cpp
+//
+// = AUTHOR
+// Frank Hunleth <fhunleth@cs.wustl.edu>
+//
+// =================================================================
+
+#include "PortableGroup_Loader.h"
+#include "miop.h"
+#include "tao/ORB_Core.h"
+
+ACE_RCSID(PortableGroup, PortableGroup_Loader, "$Id$")
+
+TAO_PortableGroup_Loader::TAO_PortableGroup_Loader (void) :
+ request_dispatcher_ (this)
+{
+}
+
+TAO_Portable_Group_Map &
+TAO_PortableGroup_Loader::group_map (void)
+{
+ return this->group_map_;
+}
+
+void
+TAO_PortableGroup_Loader::activate (CORBA::ORB_ptr orb,
+ int argc,
+ char *argv[],
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ char *domain_id = "DefaultGroupDomain";
+ int curarg = 0;
+
+ for (curarg = 0; curarg < argc; curarg++)
+ if (ACE_OS::strcasecmp (argv[curarg],
+ "-MIOPDomainId") == 0)
+ {
+
+ curarg++;
+ if (curarg < argc)
+ {
+ domain_id = argv[curarg];
+ }
+ }
+
+ // Create the MIOP factory object.
+ CORBA::Object_ptr tmp_miop;
+ ACE_NEW_THROW_EX (tmp_miop,
+ TAO_MOGF_impl (orb->orb_core (),
+ domain_id),
+ CORBA::NO_MEMORY (
+ CORBA::SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ ENOMEM),
+ CORBA::COMPLETED_NO));
+ ACE_CHECK;
+
+ this->miop_ = tmp_miop;
+
+ // Create the PortableGroup factory object...
+
+ // Create the hooks for the POA.
+ ACE_NEW_THROW_EX (this->poa_hooks_,
+ TAO_POA_Hooks (this),
+ CORBA::NO_MEMORY (
+ CORBA::SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ ENOMEM),
+ CORBA::COMPLETED_NO));
+ ACE_CHECK;
+
+ // Set a new request dispatcher in the ORB.
+ orb->orb_core ()->request_dispatcher (&this->request_dispatcher_);
+
+}
+
+
+CORBA::Object_ptr
+TAO_PortableGroup_Loader::miop (CORBA::Environment &)
+ ACE_THROW_SPEC (())
+{
+ return CORBA::Object::_duplicate (this->miop_.in ());
+}
+
+TAO_POA_PortableGroup_Hooks *
+TAO_PortableGroup_Loader::poa_hooks (CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->poa_hooks_;
+}
+
+
+
+int
+TAO_PortableGroup_Loader::Initializer (void)
+{
+ ACE_Service_Config::static_svcs ()->
+ insert (&ace_svc_desc_TAO_PortableGroup_Loader);
+
+ return 0;
+}
+
+ACE_STATIC_SVC_DEFINE (TAO_PortableGroup_Loader,
+ ACE_TEXT ("PortableGroup_Loader"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (TAO_PortableGroup_Loader),
+ ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
+ 0)
+ACE_FACTORY_DEFINE (TAO_PortableGroup, TAO_PortableGroup_Loader)
diff --git a/TAO/tao/PortableGroup/PortableGroup_Loader.h b/TAO/tao/PortableGroup/PortableGroup_Loader.h
new file mode 100644
index 00000000000..420b5cf9ccd
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroup_Loader.h
@@ -0,0 +1,111 @@
+/* -*- C++ -*- */
+
+// $Id$
+
+// =========================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// PortableGroup_Loader.h
+//
+// = AUTHOR
+// Frank Hunleth <fhunleth@cs.wustl.edu>
+//
+// =========================================================================
+
+#ifndef TAO_PORTABLEGROUP_LOADER_H
+#define TAO_PORTABLEGROUP_LOADER_H
+#include "ace/pre.h"
+
+#include "portablegroup_export.h"
+#include "tao/PortableGroup_Adapter.h"
+#include "ace/Service_Config.h"
+
+#include "POA_Hooks.h"
+#include "Portable_Group_Map.h"
+#include "PortableGroup_Acceptor_Registry.h"
+#include "PortableGroup_Request_Dispatcher.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+/**
+ * @class TAO_PortableGroup_Adapter
+ *
+ * @brief TAO_PortableGroup_Adapter.
+ *
+ * This class acts as a facade for the PortableGroup library to the
+ * ORB.
+ */
+class TAO_PortableGroup_Export TAO_PortableGroup_Loader : public TAO_PortableGroup_Adapter
+{
+ friend class TAO_POA_Hooks;
+
+public:
+ /// Constructor.
+ TAO_PortableGroup_Loader (void);
+
+ /// Activate the PortableGroup library
+ virtual void activate (CORBA::ORB_ptr,
+ int argc,
+ char *argv [],
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ /// Creates a Miop object and returns it.
+ virtual CORBA::Object_ptr miop (CORBA::Environment &)
+ ACE_THROW_SPEC (());
+
+ /// Retrieve the hooks for interfacing with the POA.
+ virtual TAO_POA_PortableGroup_Hooks *poa_hooks (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ /// Used to force the initialization of the ORB code.
+ static int Initializer (void);
+
+ /// Get a reference to the Group Id map.
+ TAO_Portable_Group_Map &group_map (void);
+
+protected:
+ /// The MIOP object factory instance.
+ CORBA::Object_var miop_;
+
+ /// Hash map containing the GroupId->ObjectKey mappings.
+ TAO_Portable_Group_Map group_map_;
+
+ /// Registry for all of the group (multicast) acceptors.
+ TAO_PortableGroup_Acceptor_Registry acceptor_registry_;
+
+ /// Hooks for the POA.
+ TAO_POA_Hooks *poa_hooks_;
+
+ /// Strategy for dispatching group requests.
+ PortableGroup_Request_Dispatcher request_dispatcher_;
+};
+
+ACE_STATIC_SVC_DECLARE (TAO_PortableGroup_Loader)
+ACE_FACTORY_DECLARE (TAO_PortableGroup, TAO_PortableGroup_Loader)
+
+#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
+
+typedef int (*TAO_Module_Initializer) (void);
+
+static TAO_Module_Initializer
+TAO_Requires_PortableGroup_Initializer = &TAO_PortableGroup_Loader::Initializer;
+
+#else
+
+static int
+TAO_Requires_PortableGroup_Initializer = TAO_PortableGroup_Loader::Initializer ();
+
+#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
+
+//#define TAO_PORTABLEGROUP_SAFE_INCLUDE
+//#include "IORC.h"
+//#undef TAO_IORMANIP_SAFE_INCLUDE
+
+#include "ace/post.h"
+#endif /* TAO_PORTABLEGROUP_LOADER_H */
diff --git a/TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.cpp b/TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.cpp
new file mode 100644
index 00000000000..450869309f8
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.cpp
@@ -0,0 +1,74 @@
+// $Id$
+
+#include "PortableGroup_Request_Dispatcher.h"
+#include "PortableGroup_Loader.h"
+#include "UIPMC_Profile.h"
+#include "tao/TAO_Server_Request.h"
+#include "tao/ORB_Core.h"
+
+ACE_RCSID(PortableGroup, PortableGroup_Request_Dispatcher, "$Id$")
+
+PortableGroup_Request_Dispatcher::PortableGroup_Request_Dispatcher (
+ TAO_PortableGroup_Loader *loader) :
+ portable_group_loader_ (loader)
+{
+}
+
+
+PortableGroup_Request_Dispatcher::~PortableGroup_Request_Dispatcher (void)
+{
+}
+
+
+void
+PortableGroup_Request_Dispatcher::dispatch (TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ void *context,
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Dispatch based on object key
+
+ if (request.profile_has_dispatch_info ())
+ {
+ // Get the IOP::Tagged profile.
+ IOP::TaggedProfile &tagged_profile =
+ request.profile ().tagged_profile ();
+ PortableGroup::TagGroupTaggedComponent group;
+
+ // Extract a Group ID from the profile if it exists.
+ int result = TAO_UIPMC_Profile::extract_group_component (tagged_profile,
+ group);
+
+ if (result == 0)
+ {
+ // Got a group. Dispatch based on the group ID
+ portable_group_loader_->group_map ().dispatch (&group,
+ orb_core,
+ request,
+ context,
+ forward_to,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+
+ return;
+ }
+
+ // Else, extract the object key from the TaggedProfile.
+ if (request.profile ().extract_object_key (tagged_profile) != 1)
+ {
+ ACE_TRY_THROW (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE,
+ CORBA::COMPLETED_NO));
+ }
+ }
+
+ // Dispatch based on object key like normal.
+ orb_core->adapter_registry ()->dispatch (request.object_key (),
+ request,
+ context,
+ forward_to,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+}
+
diff --git a/TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.h b/TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.h
new file mode 100644
index 00000000000..cf7493a5cfd
--- /dev/null
+++ b/TAO/tao/PortableGroup/PortableGroup_Request_Dispatcher.h
@@ -0,0 +1,59 @@
+//-*- C++ -*-
+
+//=============================================================================
+/**
+ * @file PortableGroup_Request_Dispatcher.h
+ *
+ * $Id$
+ *
+ * A class that strategizes the request dispatching procedure.
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_PORTABLEGROUP_REQUEST_DISPATCHER_H
+#define TAO_PORTABLEGROUP_REQUEST_DISPATCHER_H
+#include "ace/pre.h"
+
+#include "tao/Request_Dispatcher.h"
+#include "portablegroup_export.h"
+
+// Forward declarations.
+class TAO_PortableGroup_Loader;
+
+/**
+ * @class PortableGroup_Request_Dispatcher
+ *
+ * @brief A class that strategizes the request dispatching procedure.
+ *
+ */
+class TAO_PortableGroup_Export PortableGroup_Request_Dispatcher :
+ public TAO_Request_Dispatcher
+{
+public:
+ /// Constructor.
+ PortableGroup_Request_Dispatcher (TAO_PortableGroup_Loader *loader);
+
+ /// Destructor.
+ virtual ~PortableGroup_Request_Dispatcher (void);
+
+ /**
+ * Dispatch a request.
+ */
+ virtual void dispatch (TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ void *context, /* unused? */
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+
+ /// Back pointer to the owning portable group loader.
+ TAO_PortableGroup_Loader *portable_group_loader_;
+};
+
+#include "ace/post.h"
+#endif /* TAO_PORTABLEGROUP_REQUEST_DISPATCHER_H */
diff --git a/TAO/tao/PortableGroup/Portable_Group_Map.cpp b/TAO/tao/PortableGroup/Portable_Group_Map.cpp
new file mode 100644
index 00000000000..022c5bf87c0
--- /dev/null
+++ b/TAO/tao/PortableGroup/Portable_Group_Map.cpp
@@ -0,0 +1,189 @@
+
+// $Id$
+
+#include "Portable_Group_Map.h"
+#include "tao/ORB_Core.h"
+#include "tao/TAO_Server_Request.h"
+
+//#if !defined (__ACE_INLINE__)
+//# include "Portable_Group_Map.i"
+//#endif /* __ACE_INLINE__ */
+
+
+/// Constructor.
+TAO_Portable_Group_Map::TAO_Portable_Group_Map ()
+{
+}
+
+/// Destructor.
+TAO_Portable_Group_Map::~TAO_Portable_Group_Map (void)
+{
+ for (Iterator i = this->map_.begin ();
+ i != this->map_.end ();
+ ++i)
+ {
+ // Deallocate the id.
+ delete (*i).ext_id_;
+
+ // Delete the chain of Map_Entries.
+ Map_Entry *entry = (*i).int_id_;
+ while (entry)
+ {
+ Map_Entry *next = entry->next;
+ delete entry;
+ entry = next;
+ }
+
+ }
+
+ this->map_.close ();
+}
+
+
+void
+TAO_Portable_Group_Map::add_groupid_objectkey_pair (PortableGroup::TagGroupTaggedComponent *group_id,
+ const TAO_ObjectKey &key,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ Map_Entry *new_entry;
+
+ // We take ownership of the group_id memory. Be sure we don't
+ // forget about it.
+ PortableGroup::TagGroupTaggedComponent_var safe_group = group_id;
+
+ ACE_NEW_THROW_EX (new_entry,
+ Map_Entry (),
+ CORBA::NO_MEMORY (
+ CORBA::SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ ENOMEM),
+ CORBA::COMPLETED_NO));
+ ACE_CHECK (0);
+
+ // Fill out the entry.
+ new_entry->key = key;
+
+ // First, check if the GroupId is already in the map.
+ Map_Entry *entry;
+ if (this->map_.find (group_id,
+ entry) == 0)
+ {
+ // Add the object key to the list of object keys serviced by this GroupId.
+ new_entry->next = entry->next;
+ entry->next = new_entry;
+ }
+ else
+ {
+ new_entry->next = 0;
+
+ // Add the
+ int result =
+ this->map_.bind (group_id,
+ new_entry);
+
+ if (result != 0)
+ {
+ delete new_entry;
+ ACE_THROW (CORBA::INTERNAL ());
+ }
+
+ // Transfer ownership of group_id to the map.
+ (void) safe_group._retn ();
+ }
+}
+
+void
+TAO_Portable_Group_Map::remove_groupid_objectkey_pair (const PortableGroup::TagGroupTaggedComponent* group_id,
+ const TAO_ObjectKey &key,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+
+}
+
+
+void
+TAO_Portable_Group_Map::dispatch (PortableGroup::TagGroupTaggedComponent* group_id,
+ TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ void *context, /* unused? */
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ // Look up the GroupId.
+ Map_Entry *entry;
+ if (this->map_.find (group_id,
+ entry) == 0)
+ {
+
+ // Save the read pointer in the message block since
+ // every time we dispatch the request, we need to
+ // reset it so that the request demarshals correctly.
+ TAO_InputCDR &tao_in = request.incoming ();
+ ACE_Message_Block *msgblk =
+ ACE_const_cast (ACE_Message_Block *, tao_in.start ());
+ char *read_ptr = msgblk->rd_ptr ();
+
+ // Iterate through the list of ObjectKeys.
+ while (entry)
+ {
+ orb_core->adapter_registry ()->dispatch (entry->key,
+ request,
+ context,
+ forward_to,
+ ACE_TRY_ENV);
+ ACE_CHECK;
+
+ // Reset the read pointer in the message block.
+ msgblk->rd_ptr (read_ptr);
+ entry = entry->next;
+ }
+ }
+}
+
+u_long
+TAO_GroupId_Hash::operator () (const PortableGroup::TagGroupTaggedComponent *id) const
+{
+ u_long hash = ACE::hash_pjw ((const char *) id->group_domain_id,
+ ACE_OS::strlen ((const char *) id->group_domain_id));
+
+ // Truncate the object_group_id in half for the has.
+ hash += (u_long) id->object_group_id;
+
+ hash += id->object_group_ref_version;
+
+ return hash;
+}
+
+int
+TAO_GroupId_Equal_To::operator () (const PortableGroup::TagGroupTaggedComponent *lhs,
+ const PortableGroup::TagGroupTaggedComponent *rhs) const
+{
+ return (ACE_OS::strcmp (lhs->group_domain_id, rhs->group_domain_id) == 0) &&
+ (lhs->object_group_id == rhs->object_group_id) &&
+ (lhs->object_group_ref_version == rhs->object_group_ref_version);
+}
+
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class ACE_Hash_Map_Entry<PortableGroup::TagGroupTaggedComponent *, Map_Entry *>;
+template class ACE_Hash_Map_Manager<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Iterator<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Reverse_Iterator<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Manager_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Iterator_Base_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Iterator_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Reverse_Iterator_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate ACE_Hash_Map_Entry<PortableGroup::TagGroupTaggedComponent *, Map_Entry *>
+#pragma instantiate ACE_Hash_Map_Manager<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Iterator<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Reverse_Iterator<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Manager_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Iterator_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex<PortableGroup::TagGroupTaggedComponent *, Map_Entry *, TAO_GroupId_Hash, TAO_GroupId_Equal_To, ACE_Null_Mutex>
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/tao/PortableGroup/Portable_Group_Map.h b/TAO/tao/PortableGroup/Portable_Group_Map.h
new file mode 100644
index 00000000000..e6c5ca7eced
--- /dev/null
+++ b/TAO/tao/PortableGroup/Portable_Group_Map.h
@@ -0,0 +1,129 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// Portable_Group_Map.h
+//
+// = AUTHOR
+// Frank Hunleth
+//
+// ============================================================================
+
+#ifndef TAO_PORTABLE_GROUP_MAP_H
+#define TAO_PORTABLE_GROUP_MAP_H
+#include "ace/pre.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/Hash_Map_Manager_T.h"
+#include "PortableGroupC.h"
+#include "tao/Object_KeyC.h"
+
+class TAO_PortableGroup_Export TAO_GroupId_Hash
+{
+ // = TITLE
+ // Hashing class for Group Ids.
+ //
+ // = DESCRIPTION
+ // Define the hash() method for Group Ids.
+public:
+
+ u_long operator () (const PortableGroup::TagGroupTaggedComponent *id) const;
+ // Returns hash value.
+};
+
+class TAO_PortableGroup_Export TAO_GroupId_Equal_To
+{
+ // = TITLE
+ // Hashing class for Group Ids.
+ //
+ // = DESCRIPTION
+ // Define the Equal_To () method for Object Ids.
+public:
+
+ int operator () (const PortableGroup::TagGroupTaggedComponent *lhs,
+ const PortableGroup::TagGroupTaggedComponent *rhs) const;
+ // Returns 1 if equal.
+};
+
+class TAO_PortableGroup_Export TAO_Portable_Group_Map
+{
+ // = TITLE
+ // Map of GroupIds to ObjectKeys.
+ //
+ // = DESCRIPTION
+public:
+
+ struct Map_Entry
+ {
+ // = TITLE
+ // Value field of the portable group map.
+ //
+ // = DESCRIPTION
+
+ /// The key.
+ TAO_ObjectKey key;
+
+ /// next ObjectKey in the group.
+ struct Map_Entry *next;
+ };
+
+ /// Constructor.
+ TAO_Portable_Group_Map ();
+
+ /// Destructor.
+ ~TAO_Portable_Group_Map (void);
+
+ /// Add a GroupId->ObjectKey mapping to the map.
+ /// This function takes ownership of the memory pointed to be group_id
+ void add_groupid_objectkey_pair (PortableGroup::TagGroupTaggedComponent *group_id,
+ const TAO_ObjectKey &key,
+ CORBA::Environment &ACE_TRY_ENV);
+
+
+ /// Remove a GroupId->ObjectKey mapping from the map.
+ void remove_groupid_objectkey_pair (const PortableGroup::TagGroupTaggedComponent* group_id,
+ const TAO_ObjectKey &key,
+ CORBA::Environment &ACE_TRY_ENV);
+
+ /// Dispatch a request to all of the ObjectIds that belong to
+ /// the specified group.
+ void dispatch (PortableGroup::TagGroupTaggedComponent* group_id,
+ TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ void *context, /* unused? */
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV);
+
+ /// Id hash map.
+ typedef ACE_Hash_Map_Manager_Ex<
+ PortableGroup::TagGroupTaggedComponent *,
+ Map_Entry *,
+ TAO_GroupId_Hash,
+ TAO_GroupId_Equal_To,
+ ACE_Null_Mutex> GroupId_Table;
+ typedef GroupId_Table::iterator Iterator;
+
+protected:
+ /// @@ Frank: This class will need a mutex to protect
+ /// this eventually...
+
+ /// Id map.
+ GroupId_Table map_;
+};
+
+
+
+//#if defined (__ACE_INLINE__)
+//# include "Portable_Group_Map.i"
+//#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_PORTABLE_GROUP_MAP_H */
diff --git a/TAO/tao/PortableGroup/TAO_PortableGroup.dsp b/TAO/tao/PortableGroup/TAO_PortableGroup.dsp
new file mode 100644
index 00000000000..3115e0d66f1
--- /dev/null
+++ b/TAO/tao/PortableGroup/TAO_PortableGroup.dsp
@@ -0,0 +1,343 @@
+# Microsoft Developer Studio Project File - Name="PortableGroup" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=PortableGroup - Win32 MFC Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "TAO_PortableGroup.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "TAO_PortableGroup.mak" CFG="PortableGroup - Win32 MFC Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "PortableGroup - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "PortableGroup - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "PortableGroup - Win32 MFC Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "PortableGroup - Win32 MFC Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "PortableGroup - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir ""
+# PROP Intermediate_Dir "DLL\Release\PortableGroup"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PortableGroup_EXPORTS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "../" /I "../../" /I "../../../" /D "NDEBUG" /D "TAO_PORTABLEGROUP_BUILD_DLL" /D "WIN32" /D "_WINDOWS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+# ADD LINK32 ace.lib TAO.lib /nologo /dll /machine:I386 /out:"..\..\..\bin\TAO_PortableGroup.dll" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
+
+!ELSEIF "$(CFG)" == "PortableGroup - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir "DLL\Debug\PortableGroup"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "PortableGroup_EXPORTS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../" /I "../../" /I "../../../" /I "../../orbsvcs/orbsvcs" /D "_DEBUG" /D "TAO_PORTABLEGROUP_BUILD_DLL" /D "WIN32" /D "_WINDOWS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 TAOd.lib aced.lib TAO_CosNamingd.lib /nologo /dll /debug /machine:I386 /out:"..\..\..\bin\TAO_PortableGroupd.dll" /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace" /libpath:"..\..\orbsvcs\orbsvcs"
+
+!ELSEIF "$(CFG)" == "PortableGroup - Win32 MFC Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "PortableGroup___Win32_MFC_Debug"
+# PROP BASE Intermediate_Dir "PortableGroup___Win32_MFC_Debug"
+# PROP BASE Ignore_Export_Lib 0
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir "DLL\Debug\PortableGroupMFC"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../" /I "../../" /I "../../../" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "TAO_EVENT_BUILD_DLL" /FD /c
+# SUBTRACT BASE CPP /YX
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../" /I "../../" /I "../../../" /D "_DEBUG" /D ACE_HAS_MFC=1 /D "TAO_PORTABLEGROUP_BUILD_DLL" /D "WIN32" /D "_WINDOWS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 TAOd.lib aced.lib TAO_Svc_Utilsd.lib TAO_RTEventd.lib TAO_RTSchedd.lib /nologo /dll /debug /machine:I386 /out:"..\..\..\bin\TAO_PortableGroupd.dll" /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace"
+# ADD LINK32 TAOmfcd.lib acemfcd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"..\..\..\bin\TAO_PortableGroupmfcd.dll" /pdbtype:sept /libpath:"..\..\tao" /libpath:"..\..\..\ace"
+
+!ELSEIF "$(CFG)" == "PortableGroup - Win32 MFC Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "PortableGroup___Win32_MFC_Release"
+# PROP BASE Intermediate_Dir "PortableGroup___Win32_MFC_Release"
+# PROP BASE Ignore_Export_Lib 0
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir ""
+# PROP Intermediate_Dir "DLL\Release\PortableGroupMFC"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "../" /I "../../" /I "../../../" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "TAO_EVENT_BUILD_DLL" /FD /c
+# SUBTRACT BASE CPP /YX
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "../" /I "../../" /I "../../../" /D "NDEBUG" /D ACE_HAS_MFC=1 /D "TAO_PORTABLEGROUP_BUILD_DLL" /D "WIN32" /D "_WINDOWS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 ace.lib TAO.lib TAO_Svc_Utils.lib TAO_RTEvent.lib TAO_RTSched.lib /nologo /dll /machine:I386 /out:"..\..\..\bin\TAO_PortableGroup.dll" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
+# ADD LINK32 TAOmfc.lib acemfc.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"..\..\..\bin\TAO_PortableGroupmfc.dll" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
+
+!ENDIF
+
+# Begin Target
+
+# Name "PortableGroup - Win32 Release"
+# Name "PortableGroup - Win32 Debug"
+# Name "PortableGroup - Win32 MFC Debug"
+# Name "PortableGroup - Win32 MFC Release"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\miop.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\miopC.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\POA_Hooks.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\Portable_Group_Map.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroup_Acceptor_Registry.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroup_Loader.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroup_Request_Dispatcher.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroupC.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Acceptor.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Connection_Handler.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Connector.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Endpoint.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Factory.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Profile.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Transport.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\miop.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\miopC.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\PGA.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\PGA_Loader.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\POA_Hooks.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\Portable_Group_Map.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroup_Acceptor_Registry.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\portablegroup_export.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroup_Loader.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroup_Request_Dispatcher.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroupC.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Acceptor.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Connection_Handler.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Connector.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Endpoint.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Factory.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Profile.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Transport.h
+# End Source File
+# End Group
+# Begin Group "Inline Files"
+
+# PROP Default_Filter ".i"
+# Begin Source File
+
+SOURCE=.\miopC.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroupC.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Acceptor.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Connection_Handler.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Endpoint.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Profile.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\UIPMC_Transport.i
+# End Source File
+# End Group
+# Begin Group "Template Files"
+
+# PROP Default_Filter ""
+# End Group
+# Begin Source File
+
+SOURCE=.\mgm.pidl
+# End Source File
+# Begin Source File
+
+SOURCE=.\miop.pidl
+# End Source File
+# Begin Source File
+
+SOURCE=.\PortableGroup.pidl
+# End Source File
+# End Target
+# End Project
diff --git a/TAO/tao/PortableGroup/TAO_PortableGroup_Static.dsp b/TAO/tao/PortableGroup/TAO_PortableGroup_Static.dsp
new file mode 100644
index 00000000000..8bcc1aea606
--- /dev/null
+++ b/TAO/tao/PortableGroup/TAO_PortableGroup_Static.dsp
@@ -0,0 +1,106 @@
+# Microsoft Developer Studio Project File - Name="PortableGroup_Static" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Static Library" 0x0104
+
+CFG=PortableGroup_Static - Win32 Static Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "TAO_PortableGroup_Static.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "TAO_PortableGroup_Static.mak" CFG="PortableGroup_Static - Win32 Static Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "PortableGroup_Static - Win32 Static Release" (based on "Win32 (x86) Static Library")
+!MESSAGE "PortableGroup_Static - Win32 Static Debug" (based on "Win32 (x86) Static Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "PortableGroup_Static - Win32 Static Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir ""
+# PROP Intermediate_Dir "LIB\Release\PortableGroup"
+# PROP Target_Dir ""
+LINK32=link.exe -lib
+MTL=midl.exe
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "../" /I "../../" /I "../../../" /D "_WINDOWS" /D "_CONSOLE" /D "NDEBUG" /D "WIN32" /D "TAO_AS_STATIC_LIBS" /D "ACE_AS_STATIC_LIBS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"TAO_PortableGroups.lib"
+
+!ELSEIF "$(CFG)" == "PortableGroup_Static - Win32 Static Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir ""
+# PROP Intermediate_Dir "LIB\Debug\PortableGroup"
+# PROP Target_Dir ""
+LINK32=link.exe -lib
+MTL=midl.exe
+# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../" /I "../../" /I "../../../" /D "_WINDOWS" /D "_CONSOLE" /D "_DEBUG" /D "WIN32" /D "ACE_AS_STATIC_LIBS" /D "TAO_AS_STATIC_LIBS" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"TAO_PortableGroupsd.lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "PortableGroup_Static - Win32 Static Release"
+# Name "PortableGroup_Static - Win32 Static Debug"
+# Begin Group "Template Files"
+
+# PROP Default_Filter ""
+# End Group
+# Begin Group "Inline Files"
+
+# PROP Default_Filter "i,inl"
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h"
+# End Group
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp"
+# End Group
+# End Target
+# End Project
diff --git a/TAO/tao/PortableGroup/UIPMC_Acceptor.cpp b/TAO/tao/PortableGroup/UIPMC_Acceptor.cpp
new file mode 100644
index 00000000000..ca1d5b42490
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Acceptor.cpp
@@ -0,0 +1,533 @@
+// This may look like C, but it's really -*- C++ -*-
+// $Id$
+
+
+#include "UIPMC_Acceptor.h"
+#include "UIPMC_Profile.h"
+#include "tao/MProfile.h"
+#include "tao/ORB_Core.h"
+#include "tao/Server_Strategy_Factory.h"
+#include "tao/debug.h"
+#include "tao/Protocols_Hooks.h"
+
+#include "ace/Auto_Ptr.h"
+
+#if !defined(__ACE_INLINE__)
+#include "UIPMC_Acceptor.i"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID(tao, UIPMC_Acceptor, "$Id$")
+
+
+TAO_UIPMC_Acceptor::TAO_UIPMC_Acceptor (CORBA::Boolean /*flag*/)
+ : TAO_Acceptor (TAO_TAG_UIPMC_PROFILE),
+ addrs_ (0),
+ hosts_ (0),
+ endpoint_count_ (0),
+ version_ (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR),
+ orb_core_ (0)
+{
+}
+
+TAO_UIPMC_Acceptor::~TAO_UIPMC_Acceptor (void)
+{
+ // Make sure we are closed before we start destroying the
+ // strategies.
+ this->close ();
+
+ delete [] this->addrs_;
+
+ for (size_t i = 0; i < this->endpoint_count_; ++i)
+ CORBA::string_free (this->hosts_[i]);
+
+ delete [] this->hosts_;
+}
+
+int
+TAO_UIPMC_Acceptor::create_mprofile (const TAO_ObjectKey &object_key,
+ TAO_MProfile &mprofile)
+{
+ // The standard mechanism for adding profiles to object references
+ // for each pluggable protocol doesn't apply to UIPMC profiles, so
+ // this function just returns success without doing anything. The
+ // appropiate mechanism for getting UIPMC profiles is to call the
+ // multicast group manager to get a Group reference. Invocations
+ // sent to this group reference will be dispatched to the servants
+ // that belong to that group.
+ return 0;
+}
+
+int
+TAO_UIPMC_Acceptor::is_collocated (const TAO_Endpoint *endpoint)
+{
+#if 0
+ const TAO_UIPMC_Endpoint *endp =
+ ACE_dynamic_cast (const TAO_UIPMC_Endpoint *, endpoint);
+
+ // Make sure the dynamically cast pointer is valid.
+ if (endp == 0)
+ return 0;
+
+ for (size_t i = 0; i < this->endpoint_count_; ++i)
+ {
+ // compare the port and sin_addr (numeric host address)
+ if (endp->object_addr () == this->addrs_[i])
+ return 1; // Collocated
+ }
+#endif
+
+ // @@ Frank: Comment this out for now since its not clear how
+ // to best handle collation. For example, one servant could
+ // be collocated, but we still need to send the request out on
+ // the network to see if there are any other servants in the
+ // group.
+ return 0; // Not collocated
+}
+
+int
+TAO_UIPMC_Acceptor::close (void)
+{
+ if (this->connection_handler_)
+ {
+ // Remove the connection handler from the reactor in the case
+ // of a valid handle, or close it yourself, if the handle is invalid.
+ // Either way it will cause the connection handler to be destructed.
+ if (this->connection_handler_->get_handle () != ACE_INVALID_HANDLE)
+ {
+ this->orb_core_->reactor ()->remove_handler (this->connection_handler_,
+ ACE_Event_Handler::READ_MASK);
+ }
+ else
+ {
+ this->connection_handler_->handle_close ();
+ }
+ this->connection_handler_ = 0;
+ }
+ return 0;
+}
+
+int
+TAO_UIPMC_Acceptor::open (TAO_ORB_Core *orb_core,
+ int major,
+ int minor,
+ const char *address,
+ const char *options)
+{
+ this->orb_core_ = orb_core;
+
+ if (this->init_uipmc_properties () != 0)
+ return -1;
+
+ if (this->hosts_ != 0)
+ {
+ // The hostname cache has already been set!
+ // This is bad mojo, i.e. an internal TAO error.
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) ")
+ ACE_TEXT ("UIPMC_Acceptor::open - "),
+ ACE_TEXT ("hostname already set\n\n")),
+ -1);
+ }
+
+ if (address == 0)
+ return -1;
+
+ if (major >=0 && minor >= 0)
+ this->version_.set_version (ACE_static_cast (CORBA::Octet,
+ major),
+ ACE_static_cast (CORBA::Octet,
+ minor));
+ // Parse options
+ if (this->parse_options (options) == -1)
+ return -1;
+
+ ACE_INET_Addr addr;
+
+ const char *port_separator_loc = ACE_OS::strchr (address, ':');
+ const char *specified_hostname = 0;
+ char tmp_host[MAXHOSTNAMELEN + 1];
+
+ // Both host and port have to be specified.
+ if (addr.set (address) != 0)
+ return -1;
+
+ // Extract out just the host part of the address.
+ size_t len = port_separator_loc - address;
+ ACE_OS::memcpy (tmp_host, address, len);
+ tmp_host[len] = '\0';
+
+ specified_hostname = tmp_host;
+
+ this->endpoint_count_ = 1; // Only one hostname to store
+
+ ACE_NEW_RETURN (this->addrs_,
+ ACE_INET_Addr[this->endpoint_count_],
+ -1);
+
+ ACE_NEW_RETURN (this->hosts_,
+ char *[this->endpoint_count_],
+ -1);
+
+ if (this->hostname (orb_core,
+ addr,
+ this->hosts_[0],
+ specified_hostname) != 0)
+ return -1;
+
+ // Copy the addr. The port is (re)set in
+ // TAO_UIPMC_Acceptor::open_i().
+ if (this->addrs_[0].set (addr) != 0)
+ return -1;
+
+ return this->open_i (addr);
+}
+
+int
+TAO_UIPMC_Acceptor::open_default (TAO_ORB_Core *,
+ int,
+ int,
+ const char *)
+{
+ // There is no such thing as a default multicast listen
+ // port. The mechanism for choosing these ports is done
+ // when creating the group ids. (Not here).
+ return -1;
+}
+
+int
+TAO_UIPMC_Acceptor::open_i (const ACE_INET_Addr& addr)
+{
+ ACE_NEW_RETURN (this->connection_handler_,
+ TAO_UIPMC_Connection_Handler (this->orb_core_,
+ 0 /* TAO_UIPMC_Properties */),
+ -1);
+
+ this->connection_handler_->local_addr (addr);
+ this->connection_handler_->open_server ();
+
+
+ // Register only with a valid handle
+ if (this->connection_handler_->get_handle () != ACE_INVALID_HANDLE)
+ {
+ this->orb_core_->reactor ()->register_handler (this->connection_handler_,
+ ACE_Event_Handler::READ_MASK);
+ }
+
+ // Set the port for each addr. If there is more than one network
+ // interface then the endpoint created on each interface will be on
+ // the same port. This is how a wildcard socket bind() is supposed
+ // to work.
+ u_short port = addr.get_port_number ();
+ for (size_t j = 0; j < this->endpoint_count_; ++j)
+ this->addrs_[j].set_port_number (port, 1);
+
+ if (TAO_debug_level > 5)
+ {
+ for (size_t i = 0; i < this->endpoint_count_; ++i)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("\nTAO (%P|%t) UIPMC_Acceptor::open_i - ")
+ ACE_TEXT ("listening on: <%s:%u>\n"),
+ this->hosts_[i],
+ this->addrs_[i].get_port_number ()));
+ }
+ }
+
+ return 0;
+}
+
+int
+TAO_UIPMC_Acceptor::hostname (TAO_ORB_Core *orb_core,
+ ACE_INET_Addr &addr,
+ char *&host,
+ const char *specified_hostname)
+{
+ // Only have dotted decimal addresses for multicast.
+ return this->dotted_decimal_address (addr, host);
+}
+
+int
+TAO_UIPMC_Acceptor::dotted_decimal_address (ACE_INET_Addr &addr,
+ char *&host)
+{
+ const char *tmp = addr.get_host_addr ();
+ if (tmp == 0)
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("\n\nTAO (%P|%t) ")
+ ACE_TEXT ("UIPMC_Acceptor::dotted_decimal_address ")
+ ACE_TEXT ("- %p\n\n"),
+ ACE_TEXT ("cannot determine hostname")));
+ return -1;
+ }
+
+ host = CORBA::string_dup (tmp);
+ return 0;
+}
+
+int
+TAO_UIPMC_Acceptor::probe_interfaces (TAO_ORB_Core *orb_core)
+{
+ // Extract the hostname for each network interface, and then cache
+ // it. The hostnames will then be used when creating a
+ // TAO_UIPMC_Profile for each endpoint setup on the probed
+ // network interfaces.
+ ACE_INET_Addr *if_addrs = 0;
+ size_t if_cnt = 0;
+
+ if (ACE::get_ip_interfaces (if_cnt,
+ if_addrs) != 0
+ && errno != ENOTSUP)
+ {
+ // In the case where errno == ENOTSUP, if_cnt and if_addrs will
+ // not be modified, and will each remain equal to zero. This
+ // causes the default interface to be used.
+ return -1;
+ }
+
+ if (if_cnt == 0 || if_addrs == 0)
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_WARNING,
+ ACE_TEXT ("TAO (%P|%t) Unable to probe network ")
+ ACE_TEXT ("interfaces. Using default.")));
+ }
+
+ if_cnt = 1; // Force the network interface count to be one.
+ delete [] if_addrs;
+ ACE_NEW_RETURN (if_addrs,
+ ACE_INET_Addr[if_cnt],
+ -1);
+ }
+
+ // Scan for the loopback interface since it shouldn't be included in
+ // the list of cached hostnames unless it is the only interface.
+ size_t lo_cnt = 0; // Loopback interface count
+ for (size_t j = 0; j < if_cnt; ++j)
+ if (if_addrs[j].get_ip_address () == INADDR_LOOPBACK)
+ lo_cnt++;
+
+ // The instantiation for this template is in
+ // tao/UIPMC_Connector.cpp.
+ ACE_Auto_Basic_Array_Ptr<ACE_INET_Addr> safe_if_addrs (if_addrs);
+
+ // If the loopback interface is the only interface then include it
+ // in the list of interfaces to query for a hostname, otherwise
+ // exclude it from the list.
+ if (if_cnt == lo_cnt)
+ this->endpoint_count_ = if_cnt;
+ else
+ this->endpoint_count_ = if_cnt - lo_cnt;
+
+ ACE_NEW_RETURN (this->addrs_,
+ ACE_INET_Addr[this->endpoint_count_],
+ -1);
+
+ ACE_NEW_RETURN (this->hosts_,
+ char *[this->endpoint_count_],
+ -1);
+
+ // The number of hosts/interfaces we want to cache may not be the
+ // same as the number of detected interfaces so keep a separate
+ // count.
+ size_t host_cnt = 0;
+
+ for (size_t i = 0; i < if_cnt; ++i)
+ {
+ // Ignore any loopback interface if there are other
+ // non-loopback interfaces.
+ if (if_cnt != lo_cnt &&
+ if_addrs[i].get_ip_address() == INADDR_LOOPBACK)
+ continue;
+
+ if (this->hostname (orb_core,
+ if_addrs[i],
+ this->hosts_[host_cnt]) != 0)
+ return -1;
+
+ // Copy the addr. The port is (re)set in
+ // TAO_UIPMC_Acceptor::open_i().
+ if (this->addrs_[host_cnt].set (if_addrs[i]) != 0)
+ return -1;
+
+ host_cnt++;
+ }
+
+ return 0;
+}
+
+CORBA::ULong
+TAO_UIPMC_Acceptor::endpoint_count (void)
+{
+ return this->endpoint_count_;
+}
+
+int
+TAO_UIPMC_Acceptor::object_key (IOP::TaggedProfile &profile,
+ TAO_ObjectKey &object_key)
+{
+ // @@ Frank - This is an unused function that should always
+ // fail since there is no object key.
+
+ // Create the decoding stream from the encapsulation in the buffer,
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ TAO_InputCDR cdr (profile.profile_data.mb ());
+#else
+ TAO_InputCDR cdr (ACE_reinterpret_cast(char*,profile.profile_data.get_buffer ()),
+ profile.profile_data.length ());
+#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */
+
+ CORBA::Octet major, minor;
+
+ // Read the version. We just read it here. We don't*do any*
+ // processing.
+ if (!(cdr.read_octet (major)
+ && cdr.read_octet (minor)))
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::decode - v%d.%d\n"),
+ major,
+ minor));
+ }
+ return -1;
+ }
+
+ CORBA::String_var host;
+ CORBA::UShort port = 0;
+
+ // Get host and port. No processing here too..
+ if (cdr.read_string (host.out ()) == 0
+ || cdr.read_ushort (port) == 0)
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) TAO_Tagged_Profile::decode - ")
+ ACE_TEXT ("error while decoding host/port")));
+ }
+ return -1;
+ }
+
+ // ... and object key.
+ if ((cdr >> object_key) == 0)
+ return -1;
+
+ // We are NOT bothered about the rest.
+
+ return 1;
+}
+
+
+int
+TAO_UIPMC_Acceptor::parse_options (const char *str)
+{
+ if (str == 0)
+ return 0; // No options to parse. Not a problem.
+
+ // Use an option format similar to the one used for CGI scripts in
+ // HTTP URLs.
+ // e.g.: option1=foo&option2=bar
+
+ ACE_CString options (str);
+
+ size_t len = options.length ();
+
+ const char option_delimiter = '&';
+
+ // Count the number of options.
+
+ CORBA::ULong option_count = 1;
+ // Number of endpoints in the string (initialized to 1).
+
+ // Only check for endpoints after the protocol specification and
+ // before the object key.
+ for (size_t i = 0; i < len; ++i)
+ if (options[i] == option_delimiter)
+ option_count++;
+
+ // The idea behind the following loop is to split the options into
+ // (option, name) pairs.
+ // For example,
+ // `option1=foo&option2=bar'
+ // will be parsed into:
+ // `option1=foo'
+ // `option2=bar'
+
+ int begin = 0;
+ int end = -1;
+
+ for (CORBA::ULong j = 0; j < option_count; ++j)
+ {
+ begin += end + 1;
+
+ if (j < option_count - 1)
+ end = options.find (option_delimiter, begin);
+ else
+ end = len - begin; // Handle last endpoint differently
+
+ if (end == begin)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) Zero length DIOP option.\n")),
+ -1);
+ else if (end != ACE_CString::npos)
+ {
+ ACE_CString opt = options.substring (begin, end);
+
+ int slot = opt.find ("=");
+
+ if (slot == ACE_static_cast (int, len - 1)
+ || slot == ACE_CString::npos)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) DIOP option <%s> is ")
+ ACE_TEXT ("missing a value.\n"),
+ opt.c_str ()),
+ -1);
+
+ ACE_CString name = opt.substring (0, slot);
+ ACE_CString value = opt.substring (slot + 1);
+
+ if (name.length () == 0)
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) Zero length DIOP ")
+ ACE_TEXT ("option name.\n")),
+ -1);
+
+ if (name == "priority")
+ {
+ CORBA::Short corba_priority =
+ ACE_static_cast (CORBA::Short,
+ ACE_OS::atoi (value.c_str ()));
+
+ if (corba_priority >= 0
+ /* && corba_priority < 32768 */)
+ // priority_ and corba_priority will always be less
+ // than 32768 since CORBA::Short is a signed 16 bit
+ // integer.
+ this->priority_ = corba_priority;
+ else
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) Invalid DIOP endpoint ")
+ ACE_TEXT ("priority: <%s>\n"),
+ value.c_str ()),
+ -1);
+ }
+ else
+ ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_TEXT ("TAO (%P|%t) Invalid DIOP option: <%s>\n"),
+ name.c_str ()),
+ -1);
+ }
+ }
+ return 0;
+}
+
+int
+TAO_UIPMC_Acceptor::init_uipmc_properties (void)
+{
+ // @@ Michael: We use UDP, so we do not set TCP settings.
+ return 0;
+}
diff --git a/TAO/tao/PortableGroup/UIPMC_Acceptor.h b/TAO/tao/PortableGroup/UIPMC_Acceptor.h
new file mode 100644
index 00000000000..e2fc1004e3c
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Acceptor.h
@@ -0,0 +1,171 @@
+// This may look like C, but it's really -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file UIPMC_Acceptor.h
+ *
+ * $Id$
+ *
+ * DIOP specific acceptor processing
+ *
+ *
+ * @author Fred Kuhns <fredk@cs.wustl.edu>
+ * @author Ossama Othman <ossama@uci.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_UIPMC_ACCEPTOR_H
+#define TAO_UIPMC_ACCEPTOR_H
+#include "ace/pre.h"
+
+#include "tao/Pluggable.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "UIPMC_Connection_Handler.h"
+#include "tao/Acceptor_Impl.h"
+
+#include "ace/Acceptor.h"
+#include "ace/SOCK_Acceptor.h"
+#include "tao/GIOP_Message_State.h"
+#include "portablegroup_export.h"
+
+// TAO UIPMC_Acceptor concrete call defination
+
+/**
+ * @class TAO_UIPMC_Acceptor
+ *
+ * @brief TAO_UIPMC_Acceptor
+ *
+ * The UIPMC-specific bridge class for the concrete acceptor.
+ */
+class TAO_PortableGroup_Export TAO_UIPMC_Acceptor : public TAO_Acceptor
+{
+public:
+ /// Constructor.
+ TAO_UIPMC_Acceptor (CORBA::Boolean flag = 0);
+
+ /// Destructor.
+ ~TAO_UIPMC_Acceptor (void);
+
+ /// @@ Helper method for the implementation repository, should go
+ /// away
+ const ACE_INET_Addr& address (void) const;
+
+ /// Returns the array of endpoints in this acceptor
+ const ACE_INET_Addr *endpoints (void);
+
+ /**
+ * The TAO_Acceptor methods, check the documentation in
+ * Pluggable.h for details.
+ */
+ virtual int open (TAO_ORB_Core *orb_core,
+ int version_major,
+ int version_minor,
+ const char *address,
+ const char *options = 0);
+ virtual int open_default (TAO_ORB_Core *orb_core,
+ int version_major,
+ int version_minor,
+ const char *options = 0);
+ virtual int close (void);
+ virtual int create_mprofile (const TAO_ObjectKey &object_key,
+ TAO_MProfile &mprofile);
+ virtual int is_collocated (const TAO_Endpoint *endpoint);
+ virtual CORBA::ULong endpoint_count (void);
+
+ virtual int object_key (IOP::TaggedProfile &profile,
+ TAO_ObjectKey &key);
+
+ /**
+ * Set the host name for the given addr.
+ * A hostname may be forced by using specified_hostname. This
+ * is useful if the given address corresponds to more than one
+ * hostname and the desired one cannot be determined in any
+ * other way.
+ */
+ int hostname (TAO_ORB_Core *orb_core,
+ ACE_INET_Addr &addr,
+ char *&host,
+ const char *specified_hostname = 0);
+
+ /**
+ * Set the host name for the given address using the dotted decimal
+ * format.
+ */
+ int dotted_decimal_address (ACE_INET_Addr &addr,
+ char *&host);
+
+protected:
+
+ /**
+ * Implement the common part of the open*() methods. This method is
+ * virtual to allow a derived class implementation to be invoked
+ * instead.
+ */
+ virtual int open_i (const ACE_INET_Addr &addr);
+
+ /**
+ * Probe the system for available network interfaces, and initialize
+ * the <addrs_> array with an ACE_INET_Addr for each network
+ * interface. The port for each initialized ACE_INET_Addr will be
+ * set in the open_i() method. This method only gets invoked when
+ * no explicit hostname is provided in the specified endpoint.
+ */
+ int probe_interfaces (TAO_ORB_Core *orb_core);
+
+ /// Parse protocol specific options.
+ virtual int parse_options (const char *options);
+
+ /// Obtain uipmc properties that must be used by this acceptor, i.e.,
+ /// initialize <uipmc_properties_>.
+ int init_uipmc_properties (void);
+
+protected:
+
+ /// Array of ACE_INET_Addr instances, each one corresponding to a
+ /// given network interface.
+ ACE_INET_Addr *addrs_;
+
+ /**
+ * Cache the information about the endpoints serviced by this
+ * acceptor.
+ * There may in fact be multiple hostnames for this endpoint. For
+ * example, if the IP address is INADDR_ANY (0.0.0.0) then there
+ * will be possibly a different hostname for each interface.
+ */
+ char **hosts_;
+
+ /// The number of host names cached in the hosts_ array (equivalent
+ /// to the number of endpoints opened by this Acceptor).
+ size_t endpoint_count_;
+
+ /**
+ * The GIOP version for this endpoint
+ * @@ Theoretically they shouldn't be here!! We need to look at a
+ * way to move this out
+ */
+ TAO_GIOP_Version version_;
+
+ /// ORB Core.
+ TAO_ORB_Core *orb_core_;
+
+ /// UIPMC configuration properties to be used for all
+ /// connections opened by this acceptor.
+ TAO_UIPMC_Properties uipmc_properties_;
+
+private:
+ // @@ Frank: From UIPMC_Acceptor.h
+ TAO_UIPMC_Connection_Handler *connection_handler_;
+
+};
+
+#if defined(__ACE_INLINE__)
+#include "UIPMC_Acceptor.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_UIPMC_ACCEPTOR_H */
diff --git a/TAO/tao/PortableGroup/UIPMC_Acceptor.i b/TAO/tao/PortableGroup/UIPMC_Acceptor.i
new file mode 100644
index 00000000000..3bda9ea1fca
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Acceptor.i
@@ -0,0 +1,23 @@
+// -*- C++ -*-
+// $Id$
+
+ACE_INLINE const ACE_INET_Addr&
+TAO_UIPMC_Acceptor::address (void) const
+{
+ ACE_ASSERT (this->addrs_ != 0);
+
+ // @@ This is busted.
+ // The Implementation Repository will have to start supporting
+ // IORs with multiple profiles. For now, we just return the
+ // first addr.
+ // -Ossama
+ return this->addrs_[0];
+}
+
+ACE_INLINE const ACE_INET_Addr *
+TAO_UIPMC_Acceptor::endpoints (void)
+{
+ ACE_ASSERT (this->addrs_ != 0);
+
+ return this->addrs_;
+}
diff --git a/TAO/tao/PortableGroup/UIPMC_Connection_Handler.cpp b/TAO/tao/PortableGroup/UIPMC_Connection_Handler.cpp
new file mode 100644
index 00000000000..2cb6a63dd4d
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Connection_Handler.cpp
@@ -0,0 +1,368 @@
+// $Id$
+
+
+#include "UIPMC_Connection_Handler.h"
+#include "tao/Timeprobe.h"
+#include "tao/debug.h"
+#include "tao/ORB_Core.h"
+#include "tao/ORB.h"
+#include "tao/CDR.h"
+#include "tao/Messaging_Policy_i.h"
+#include "tao/Server_Strategy_Factory.h"
+#include "UIPMC_Transport.h"
+#include "UIPMC_Endpoint.h"
+#include "tao/Transport_Cache_Manager.h"
+#include "tao/Base_Transport_Property.h"
+
+#if !defined (__ACE_INLINE__)
+# include "UIPMC_Connection_Handler.i"
+#endif /* ! __ACE_INLINE__ */
+
+ACE_RCSID(tao, UIPMC_Connect, "$Id$")
+
+
+
+TAO_UIPMC_Connection_Handler::TAO_UIPMC_Connection_Handler (ACE_Thread_Manager *t)
+ : TAO_UIPMC_SVC_HANDLER (t, 0 , 0),
+ TAO_Connection_Handler (0),
+ pending_upcalls_ (1),
+ uipmc_properties_ (0),
+ using_mcast_ (0)
+{
+ // This constructor should *never* get called, it is just here to
+ // make the compiler happy: the default implementation of the
+ // Creation_Strategy requires a constructor with that signature, we
+ // don't use that implementation, but some (most?) compilers
+ // instantiate it anyway.
+ ACE_ASSERT (this->orb_core () != 0);
+}
+
+
+TAO_UIPMC_Connection_Handler::TAO_UIPMC_Connection_Handler (TAO_ORB_Core *orb_core,
+ void *arg)
+ : TAO_UIPMC_SVC_HANDLER (orb_core->thr_mgr (), 0, 0),
+ TAO_Connection_Handler (orb_core),
+ pending_upcalls_ (1),
+ uipmc_properties_ (ACE_static_cast
+ (TAO_UIPMC_Properties *, arg)),
+ using_mcast_ (0)
+{
+ TAO_UIPMC_Transport* specific_transport = 0;
+ ACE_NEW(specific_transport,
+ TAO_UIPMC_Transport(this, orb_core, 0));
+
+ // store this pointer (indirectly increment ref count)
+ this->transport(specific_transport);
+ TAO_Transport::release (specific_transport);
+}
+
+
+TAO_UIPMC_Connection_Handler::~TAO_UIPMC_Connection_Handler (void)
+{
+ if (this->using_mcast_)
+ {
+ this->mcast_socket_.unsubscribe ();
+ this->mcast_socket_.close ();
+ }
+ else
+ this->udp_socket_.close ();
+}
+
+const ACE_INET_Addr &
+TAO_UIPMC_Connection_Handler::addr (void)
+{
+ return this->addr_;
+}
+
+
+void
+TAO_UIPMC_Connection_Handler::addr (const ACE_INET_Addr &addr)
+{
+ this->addr_ = addr;
+}
+
+
+const ACE_INET_Addr &
+TAO_UIPMC_Connection_Handler::local_addr (void)
+{
+ return local_addr_;
+}
+
+
+void
+TAO_UIPMC_Connection_Handler::local_addr (const ACE_INET_Addr &addr)
+{
+ local_addr_ = addr;
+}
+
+
+const ACE_SOCK_Dgram &
+TAO_UIPMC_Connection_Handler::dgram (void)
+{
+ return this->udp_socket_;
+}
+
+const ACE_SOCK_Dgram_Mcast &
+TAO_UIPMC_Connection_Handler::mcast_dgram (void)
+{
+ return this->mcast_socket_;
+}
+
+ACE_HANDLE
+TAO_UIPMC_Connection_Handler::get_handle (void) const
+{
+ if (this->using_mcast_)
+ return this->mcast_socket_.get_handle ();
+ else
+ return this->udp_socket_.get_handle ();
+}
+
+
+int
+TAO_UIPMC_Connection_Handler::open (void*)
+{
+ this->udp_socket_.open (this->local_addr_);
+
+ ACE_DEBUG ((LM_DEBUG,
+ "Opened connector on %s:%d\n",
+ this->local_addr_.get_host_addr (),
+ this->local_addr_.get_port_number ()));
+
+ // Set the id in the transport now that we're active.
+ this->transport ()->id ((int) this->udp_socket_.get_handle ());
+ this->using_mcast_ = 0;
+
+ return 0;
+}
+
+int
+TAO_UIPMC_Connection_Handler::open_server (void)
+{
+ this->mcast_socket_.subscribe (this->local_addr_);
+ ACE_DEBUG ((LM_DEBUG,
+ "Subcribed to multicast group at %s:%d\n",
+ this->local_addr_.get_host_addr (),
+ this->local_addr_.get_port_number ()));
+
+ this->transport ()->id ((int) this->mcast_socket_.get_handle ());
+ this->using_mcast_ = 1;
+
+ return 0;
+}
+
+int
+TAO_UIPMC_Connection_Handler::activate (long flags,
+ int n_threads,
+ int force_active,
+ long priority,
+ int grp_id,
+ ACE_Task_Base *task,
+ ACE_hthread_t thread_handles[],
+ void *stack[],
+ size_t stack_size[],
+ ACE_thread_t thread_names[])
+{
+ if (TAO_debug_level)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Connection_Handler::activate %d ")
+ ACE_TEXT ("threads, flags = %d\n"),
+ n_threads,
+ flags,
+ THR_BOUND));
+ // @@ Michael: I believe we do not need active service handlers right now.
+ // @@ Frank: Not disabled yet...
+
+ // Set the id in the transport now that we're active.
+ this->transport ()->id ((int) this->get_handle ());
+
+ return TAO_UIPMC_SVC_HANDLER::activate (flags,
+ n_threads,
+ force_active,
+ priority,
+ grp_id,
+ task,
+ thread_handles,
+ stack,
+ stack_size,
+ thread_names);
+}
+
+int
+TAO_UIPMC_Connection_Handler::svc (void)
+{
+ // @@ Frank: Need to learn more about this method to make sure that it is right...
+
+ // @@ Michael: I believe we do not need active service handlers right now.
+
+ // This method is called when an instance is "activated", i.e.,
+ // turned into an active object. Presumably, activation spawns a
+ // thread with this method as the "worker function".
+
+ // Clear the non-blocking mode here
+ ACE_Flag_Manip::clr_flags (this->get_handle (),
+ ACE_NONBLOCK);
+
+ // Call the implementation here
+ return this->svc_i ();
+}
+
+
+int
+TAO_UIPMC_Connection_Handler::handle_close (ACE_HANDLE handle,
+ ACE_Reactor_Mask rm)
+{
+ // @@ Alex: we need to figure out if the transport decides to close
+ // us or something else. If it is something else (for example
+ // the cached connector trying to make room for other
+ // connections) then we should let the transport know, so it can
+ // in turn take appropiate action (such as sending exceptions to
+ // all waiting reply handlers).
+ if (TAO_debug_level)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) ")
+ ACE_TEXT ("UIPMC_Connection_Handler::handle_close ")
+ ACE_TEXT ("(%d, %d)\n"),
+ handle,
+ rm));
+
+ --this->pending_upcalls_;
+ if (this->pending_upcalls_ <= 0)
+ {
+ // @@ Why are we doing checks for is_registered flags here if the
+ // handlers are not registered with the reactor? - Bala
+ if (this->transport ()->wait_strategy ()->is_registered ())
+ {
+ // @@ Frank: Added reactor check. not sure if this is right?
+ if (this->reactor ())
+ {
+ // Make sure there are no timers.
+ this->reactor ()->cancel_timer (this);
+ }
+
+ // Set the flag to indicate that it is no longer registered with
+ // the reactor, so that it isn't included in the set that is
+ // passed to the reactor on ORB destruction.
+ this->transport ()->wait_strategy()->is_registered (0);
+ }
+
+ // Close the handle..
+ if (this->get_handle () != ACE_INVALID_HANDLE)
+ {
+ // Purge the entry too
+ this->transport ()->mark_invalid ();
+
+ // Signal the transport that we will no longer have
+ // a reference to it. This will eventually call
+ // TAO_Transport::release ().
+ this->transport (0);
+ }
+
+ // Follow usual Reactor-style lifecycle semantics and commit
+ // suicide.
+ this->destroy ();
+
+ }
+
+ return 0;
+}
+
+ACE_HANDLE
+TAO_UIPMC_Connection_Handler::fetch_handle (void)
+{
+ return this->get_handle ();
+}
+
+
+int
+TAO_UIPMC_Connection_Handler::add_transport_to_cache (void)
+{
+ ACE_INET_Addr addr;
+
+ // Get the peername.
+ if (this->peer ().get_remote_addr (addr) == -1)
+ return -1;
+
+ // Construct a UIPMC_Endpoint object
+ TAO_UIPMC_Endpoint endpoint (addr);
+
+ // Construct a property object
+ TAO_Base_Transport_Property prop (&endpoint);
+
+ // Add the handler to Cache
+ return this->orb_core ()->transport_cache ().cache_transport (&prop,
+ this->transport ());
+}
+
+
+int
+TAO_UIPMC_Connection_Handler::handle_input (ACE_HANDLE h)
+{
+ return this->handle_input_i (h);
+}
+
+
+int
+TAO_UIPMC_Connection_Handler::handle_input_i (ACE_HANDLE,
+ ACE_Time_Value *max_wait_time)
+{
+ this->pending_upcalls_++;
+
+ // Call the transport read the message
+ int result = this->transport ()->read_process_message (max_wait_time);
+
+ // Now the message has been read
+ if (result == -1 && TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) - %p\n"),
+ ACE_TEXT ("UIPMC_Connection_Handler::read_message \n")));
+
+ }
+
+ // The upcall is done. Bump down the reference count
+ if (--this->pending_upcalls_ <= 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("UIPMC_Connection_Handler::read_message pending_upcalls value invalid\n")));
+
+ }
+
+
+ // Anything that's not received correctly is just dropped. Don't
+ // signal any errors.
+ return 0;
+}
+
+int
+TAO_UIPMC_Connection_Handler::handle_cleanup (void)
+{
+ // Deregister this handler with the ACE_Reactor.
+ if (this->reactor ())
+ {
+ ACE_Reactor_Mask mask =
+ ACE_Event_Handler::ALL_EVENTS_MASK | ACE_Event_Handler::DONT_CALL;
+
+ // Make sure there are no timers.
+ this->reactor ()->cancel_timer (this);
+
+ // Remove self from reactor.
+ this->reactor ()->remove_handler (this, mask);
+ }
+
+ return 0;
+}
+
+
+
+
+// ****************************************************************
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/tao/PortableGroup/UIPMC_Connection_Handler.h b/TAO/tao/PortableGroup/UIPMC_Connection_Handler.h
new file mode 100644
index 00000000000..5426a13ed36
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Connection_Handler.h
@@ -0,0 +1,192 @@
+// This may look like C, but it's really -*- C++ -*-
+// ===================================================================
+/**
+ * @file UIPMC_Connection_Handler.h
+ *
+ * $Id$
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+// ===================================================================
+
+#ifndef TAO_UIPMC_CONNECTION_HANDLER_H
+#define TAO_UIPMC_CONNECTION_HANDLER_H
+#include "ace/pre.h"
+
+#include "ace/Reactor.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/Acceptor.h"
+
+#include "tao/corbafwd.h"
+#include "tao/Wait_Strategy.h"
+#include "tao/Connection_Handler.h"
+#include "UIPMC_Transport.h"
+#include "portablegroup_export.h"
+
+#include "ace/SOCK_Dgram_Mcast.h"
+#include "ace/SOCK_Dgram.h"
+
+
+// Forward Decls
+class TAO_Pluggable_Messaging;
+
+// ****************************************************************
+
+/**
+ * @class TAO_UIPMC_Properties
+ *
+ * @brief UIPMC properties specification for a set of
+ * connections.
+ *
+ */
+
+class TAO_PortableGroup_Export TAO_UIPMC_Properties
+{
+
+public:
+ int ttl;
+};
+
+
+
+// ****************************************************************
+
+/**
+ * @class TAO_UIPMC_Connection_Handler
+ *
+ * @brief Handles requests on a single connection.
+ *
+ * The Connection handler which is common for the Acceptor and
+ * the Connector
+ */
+
+
+class TAO_PortableGroup_Export TAO_UIPMC_Connection_Handler :
+ public TAO_UIPMC_SVC_HANDLER,
+ public TAO_Connection_Handler
+{
+
+public:
+
+ TAO_UIPMC_Connection_Handler (ACE_Thread_Manager* t = 0);
+
+ /// Constructor. <arg> parameter is used by the Acceptor to pass the
+ /// protocol configuration properties for this connection.
+ TAO_UIPMC_Connection_Handler (TAO_ORB_Core *orb_core,
+ void *arg);
+
+
+ /// Destructor.
+ ~TAO_UIPMC_Connection_Handler (void);
+
+ /// Called by the <Strategy_Acceptor> when the handler is completely
+ /// connected. Argument is unused.
+ virtual int open (void *);
+
+ // @@ Frank: Similar to open, but called on server
+ virtual int open_server (void);
+
+ /// = Active object activation method.
+ virtual int activate (long flags = THR_NEW_LWP,
+ int n_threads = 1,
+ int force_active = 0,
+ long priority = ACE_DEFAULT_THREAD_PRIORITY,
+ int grp_id = -1,
+ ACE_Task_Base *task = 0,
+ ACE_hthread_t thread_handles[] = 0,
+ void *stack[] = 0,
+ size_t stack_size[] = 0,
+ ACE_thread_t thread_names[] = 0);
+
+ /// Only used when the handler is turned into an active object by
+ /// calling <activate>. This serves as the event loop in such cases.
+ virtual int svc (void);
+
+ /// Perform appropriate closing.
+ virtual int handle_close (ACE_HANDLE = ACE_INVALID_HANDLE,
+ ACE_Reactor_Mask = ACE_Event_Handler::NULL_MASK);
+
+ /// Return the underlying handle
+ virtual ACE_HANDLE fetch_handle (void);
+
+ /// Add ourselves to Cache.
+ int add_transport_to_cache (void);
+
+ // UIPMC Additions - Begin
+ ACE_HANDLE get_handle (void) const;
+
+ const ACE_INET_Addr &addr (void);
+
+ void addr (const ACE_INET_Addr &addr);
+
+ const ACE_INET_Addr &local_addr (void);
+
+ void local_addr (const ACE_INET_Addr &addr);
+
+ const ACE_INET_Addr &server_addr (void);
+
+ void server_addr (const ACE_INET_Addr &addr);
+
+ const ACE_SOCK_Dgram &dgram (void);
+
+ const ACE_SOCK_Dgram_Mcast &mcast_dgram (void);
+ // UIPMC Additions - End
+
+protected:
+
+ /// = Event Handler overloads
+
+ /// Reads a message from the <peer()>, dispatching and servicing it
+ /// appropriately.
+ /// handle_input() just delegates on handle_input_i() which timeouts
+ /// after <max_wait_time>, this is used in thread-per-connection to
+ /// ensure that server threads eventually exit.
+
+ virtual int handle_input (ACE_HANDLE = ACE_INVALID_HANDLE);
+ virtual int handle_input_i (ACE_HANDLE = ACE_INVALID_HANDLE,
+ ACE_Time_Value *max_wait_time = 0);
+
+ virtual int handle_cleanup ();
+
+ // UIPMC Additions - Begin
+
+ /// Client side UDP socket (send only).
+ ACE_SOCK_Dgram udp_socket_;
+
+ /// Server side Mcast UDP socket (receive only).
+ ACE_SOCK_Dgram_Mcast mcast_socket_;
+
+ /// Flag that specifies whether multicast is in use or not.
+ CORBA::Boolean using_mcast_;
+
+ // This is always the remote address
+ ACE_INET_Addr addr_;
+
+ // This is always the local address for the connector
+ ACE_INET_Addr local_addr_;
+
+ // UIPMC Additions - End
+
+private:
+
+ /// Count nested upcalls on this
+ /// svc_handler i.e., the connection can close during nested upcalls,
+ /// you should not delete the svc_handler until the stack unwinds
+ /// from the nested upcalls.
+ u_long pending_upcalls_;
+
+ /// UIPMC configuration for this connection.
+ TAO_UIPMC_Properties *uipmc_properties_;
+};
+
+
+#if defined (__ACE_INLINE__)
+#include "UIPMC_Connection_Handler.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_UIPMC_CONNECTION_HANDLER_H */
diff --git a/TAO/tao/PortableGroup/UIPMC_Connection_Handler.i b/TAO/tao/PortableGroup/UIPMC_Connection_Handler.i
new file mode 100644
index 00000000000..7f2b3228624
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Connection_Handler.i
@@ -0,0 +1,3 @@
+// -*- C++ -*-
+// $Id$
+
diff --git a/TAO/tao/PortableGroup/UIPMC_Connector.cpp b/TAO/tao/PortableGroup/UIPMC_Connector.cpp
new file mode 100644
index 00000000000..e9ce1ef460c
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Connector.cpp
@@ -0,0 +1,273 @@
+// This may look like C, but it's really -*- C++ -*-
+// $Id$
+
+
+
+#include "UIPMC_Connector.h"
+#include "UIPMC_Profile.h"
+#include "tao/debug.h"
+#include "tao/ORB_Core.h"
+#include "tao/Client_Strategy_Factory.h"
+#include "tao/Environment.h"
+#include "ace/Auto_Ptr.h"
+#include "tao/Base_Transport_Property.h"
+#include "tao/Protocols_Hooks.h"
+#include "ace/Strategies_T.h"
+
+ACE_RCSID(tao, UIPMC_Connector, "$Id$")
+
+TAO_UIPMC_Connector::TAO_UIPMC_Connector (CORBA::Boolean flag)
+ : TAO_Connector (TAO_TAG_UIPMC_PROFILE)
+{
+}
+
+TAO_UIPMC_Connector::~TAO_UIPMC_Connector (void)
+{
+}
+
+int
+TAO_UIPMC_Connector::open (TAO_ORB_Core *orb_core)
+{
+ this->orb_core (orb_core);
+
+ // @@ Michael: We do not use traditional connection management.
+
+ return 0;
+}
+
+int
+TAO_UIPMC_Connector::close (void)
+{
+ SvcHandlerIterator iter (svc_handler_table_);
+
+ while (!iter.done ())
+ {
+ // Delete the connection handler
+ delete (*iter).int_id_;
+ iter++;
+ }
+
+ return 0;
+}
+
+int
+TAO_UIPMC_Connector::connect (TAO_Transport_Descriptor_Interface *desc,
+ TAO_Transport *&transport,
+ ACE_Time_Value * /*max_wait_time*/,
+ CORBA::Environment &)
+{
+ TAO_Endpoint *endpoint = desc->endpoint ();
+
+ if (endpoint->tag () != TAO_TAG_UIPMC_PROFILE)
+ return -1;
+
+ TAO_UIPMC_Endpoint *uipmc_endpoint =
+ ACE_dynamic_cast (TAO_UIPMC_Endpoint *,
+ endpoint );
+ if (uipmc_endpoint == 0)
+ return -1;
+
+ const ACE_INET_Addr &remote_address =
+ uipmc_endpoint->object_addr ();
+
+ // Verify that the remote ACE_INET_Addr was initialized properly.
+ // Failure can occur if hostname lookup failed when initializing the
+ // remote ACE_INET_Addr.
+ if (remote_address.get_type () != AF_INET)
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC connection failed.\n")
+ ACE_TEXT ("TAO (%P|%t) This is most likely ")
+ ACE_TEXT ("due to a hostname lookup ")
+ ACE_TEXT ("failure.\n")));
+ }
+
+ return -1;
+ }
+
+ TAO_UIPMC_Connection_Handler *svc_handler = 0;
+
+ // @@ Michael -- UIPMC Additions ----------------------------
+ if (svc_handler_table_.find (remote_address, svc_handler) == -1)
+ {
+ TAO_UIPMC_Connection_Handler *svc_handler_i = 0;
+ ACE_NEW_RETURN (svc_handler_i,
+ TAO_UIPMC_Connection_Handler (this->orb_core (),
+ 0 /* TAO_UIPMC_Properties */),
+ -1);
+
+ svc_handler_i->local_addr (ACE_sap_any_cast (ACE_INET_Addr &));
+ svc_handler_i->addr (remote_address);
+
+ svc_handler_i->open (0);
+
+ svc_handler_table_.bind (remote_address,
+ svc_handler_i);
+ svc_handler = svc_handler_i;
+
+ if (TAO_debug_level > 2)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("(%P|%t) UIPMC_Connector::connect - ")
+ ACE_TEXT ("new connection on HANDLE %d\n"),
+ svc_handler->get_handle ()));
+ }
+
+ // ---------------------------------------------------------
+
+ // @@ Michael: We do not use traditional connection management.
+
+ transport = TAO_Transport::_duplicate (svc_handler->transport ());
+
+ return 0;
+}
+
+int
+TAO_UIPMC_Connector::preconnect (const char *)
+{
+ // @@ Michael: We do not support preconnects.
+ return 0;
+}
+
+TAO_Profile *
+TAO_UIPMC_Connector::create_profile (TAO_InputCDR& cdr)
+{
+ TAO_Profile *pfile;
+ ACE_NEW_RETURN (pfile,
+ TAO_UIPMC_Profile (this->orb_core ()),
+ 0);
+
+ int r = pfile->decode (cdr);
+ if (r == -1)
+ {
+ pfile->_decr_refcnt ();
+ pfile = 0;
+ }
+
+ return pfile;
+}
+
+TAO_Profile *
+TAO_UIPMC_Connector::make_profile (CORBA::Environment &ACE_TRY_ENV)
+{
+ ACE_DEBUG ((LM_DEBUG, "TAO_UIPMC_Connector::make_profile: Shouldn't be here!!\n"));
+
+ TAO_Profile *profile = 0;
+ ACE_NEW_THROW_EX (profile,
+ TAO_UIPMC_Profile (this->orb_core ()),
+ CORBA::NO_MEMORY (
+ CORBA::SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ ENOMEM),
+ CORBA::COMPLETED_NO));
+ ACE_CHECK_RETURN (0);
+
+ return profile;
+}
+
+int
+TAO_UIPMC_Connector::check_prefix (const char *endpoint)
+{
+ // Check for a valid string
+ if (!endpoint || !*endpoint)
+ return -1; // Failure
+
+ const char *protocol[] = { "uipmc", "uipmcloc" };
+
+ size_t slot = ACE_OS::strchr (endpoint, ':') - endpoint;
+
+ size_t len0 = ACE_OS::strlen (protocol[0]);
+ size_t len1 = ACE_OS::strlen (protocol[1]);
+
+ // Check for the proper prefix in the IOR. If the proper prefix
+ // isn't in the IOR then it is not an IOR we can use.
+ if (slot == len0
+ && ACE_OS::strncasecmp (endpoint, protocol[0], len0) == 0)
+ return 0;
+ else if (slot == len1
+ && ACE_OS::strncasecmp (endpoint, protocol[1], len1) == 0)
+ return 0;
+
+ return -1;
+ // Failure: not an UIPMC IOR
+ // DO NOT throw an exception here.
+}
+
+char
+TAO_UIPMC_Connector::object_key_delimiter (void) const
+{
+ return TAO_UIPMC_Profile::object_key_delimiter_;
+}
+
+int
+TAO_UIPMC_Connector::init_uipmc_properties (void)
+{
+ // @@ Michael: We have no TCP, so we have no TCP properties.
+ return 0;
+}
+
+
+#if 0 // @@ Frank
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class ACE_Node<ACE_INET_Addr>;
+template class ACE_Unbounded_Stack<ACE_INET_Addr>;
+template class ACE_Refcounted_Hash_Recyclable<ACE_INET_Addr>;
+template class ACE_Auto_Basic_Array_Ptr<ACE_INET_Addr>;
+template class ACE_Hash<ARHR<ACE_INET_Addr> >;
+template class ACE_Equal_To<ACE_Refcounted_Hash_Recyclable<ACE_INET_Addr> >;
+
+template class TAO_Connect_Concurrency_Strategy<TAO_UIPMC_Connection_Handler>;
+template class TAO_Connect_Creation_Strategy<TAO_UIPMC_Connection_Handler>;
+template class ACE_Strategy_Connector<TAO_UIPMC_Connection_Handler, ACE_SOCK_CONNECTOR>;
+template class ACE_Connect_Strategy<TAO_UIPMC_Connection_Handler, ACE_SOCK_CONNECTOR>;
+template class ACE_Connector<TAO_UIPMC_Connection_Handler, ACE_SOCK_CONNECTOR>;
+template class ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>;
+
+template class ACE_Map_Manager<int, ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler> *, TAO_SYNCH_RW_MUTEX>;
+template class ACE_Map_Iterator_Base<int, ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler> *, TAO_SYNCH_RW_MUTEX>;
+template class ACE_Map_Entry<int,ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>*>;
+template class ACE_Map_Iterator<int,ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>*,TAO_SYNCH_RW_MUTEX>;
+template class ACE_Map_Reverse_Iterator<int,ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>*,TAO_SYNCH_RW_MUTEX>;
+template class ACE_Auto_Basic_Array_Ptr<TAO_UIPMC_Connection_Handler*>;
+
+template class ACE_Hash_Map_Manager_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Iterator_Base_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Iterator_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Reverse_Iterator_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>;
+template class ACE_Hash_Map_Entry<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate ACE_Node<ACE_INET_Addr>
+#pragma instantiate ACE_Unbounded_Stack<ACE_INET_Addr>
+#pragma instantiate ACE_Refcounted_Hash_Recyclable<ACE_INET_Addr>
+#pragma instantiate ACE_Equal_To<ACE_Refcounted_Hash_Recyclable<ACE_INET_Addr> >
+#pragma instantiate ACE_Auto_Basic_Array_Ptr<ACE_INET_Addr>
+#pragma instantiate ACE_Hash<ACE_Refcounted_Hash_Recyclable<ACE_INET_Addr> >
+
+#pragma instantiate TAO_Connect_Concurrency_Strategy<TAO_UIPMC_Connection_Handler>
+#pragma instantiate TAO_Connect_Creation_Strategy<TAO_UIPMC_Connection_Handler>
+#pragma instantiate ACE_Strategy_Connector<TAO_UIPMC_Connection_Handler, ACE_SOCK_CONNECTOR>
+#pragma instantiate ACE_Connect_Strategy<TAO_UIPMC_Connection_Handler, ACE_SOCK_CONNECTOR>
+#pragma instantiate ACE_Connector<TAO_UIPMC_Connection_Handler, ACE_SOCK_CONNECTOR>
+#pragma instantiate ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>
+
+#pragma instantiate ACE_Map_Manager<int, ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler> *, TAO_SYNCH_RW_MUTEX>
+#pragma instantiate ACE_Map_Iterator_Base<int, ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler> *, TAO_SYNCH_RW_MUTEX>
+#pragma instantiate ACE_Map_Entry<int,ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>*>
+#pragma instantiate ACE_Map_Iterator<int,ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>*,TAO_SYNCH_RW_MUTEX>
+#pragma instantiate ACE_Map_Reverse_Iterator<int,ACE_Svc_Tuple<TAO_UIPMC_Connection_Handler>*,TAO_SYNCH_RW_MUTEX>
+#pragma instantiate ACE_Auto_Basic_Array_Ptr<TAO_UIPMC_Connection_Handler*>
+
+#pragma instantiate ACE_Hash_Map_Manager_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Iterator_Base_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Iterator_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Reverse_Iterator_Ex<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *, ACE_Hash < const char * >, ACE_Equal_To < const char * >, ACE_Null_Mutex>
+#pragma instantiate ACE_Hash_Map_Entry<ACE_TCHAR *, TAO_UIPMC_Connection_Handler *>;
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#endif /* 0 */
+
diff --git a/TAO/tao/PortableGroup/UIPMC_Connector.h b/TAO/tao/PortableGroup/UIPMC_Connector.h
new file mode 100644
index 00000000000..735076a388b
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Connector.h
@@ -0,0 +1,115 @@
+// This may look like C, but it's really -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file UIPMC_Connector.h
+ *
+ * $Id$
+ *
+ * DIOP specific connector processing
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_UIPMC_CONNECTOR_H
+#define TAO_UIPMC_CONNECTOR_H
+#include "ace/pre.h"
+
+#include "ace/Connector.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/SOCK_Connector.h"
+#include "tao/Pluggable.h"
+#include "tao/Connector_Impl.h"
+#include "UIPMC_Connection_Handler.h"
+#include "portablegroup_export.h"
+
+// ****************************************************************
+
+/**
+ * @class TAO_UIPMC_Connector
+ *
+ * @brief DIOP-specific Connector bridge for pluggable protocols.
+ *
+ * Concrete instance of the TAO_Connector class. Responsible
+ * for establishing a connection with a server and is called from the
+ * Connector_Registory.
+ */
+class TAO_PortableGroup_Export TAO_UIPMC_Connector : public TAO_Connector
+{
+public:
+ // = Initialization and termination methods.
+ /// Constructor.
+ TAO_UIPMC_Connector (CORBA::Boolean flag = 0);
+
+ /// Destructor.
+ ~TAO_UIPMC_Connector (void);
+
+ // = The TAO_Connector methods, please check the documentation on
+ // Pluggable.h
+ int open (TAO_ORB_Core *orb_core);
+ int close (void);
+ int connect (TAO_Transport_Descriptor_Interface *desc,
+ TAO_Transport *&transport,
+ ACE_Time_Value *max_wait_time,
+ CORBA::Environment &ACE_TRY_ENV);
+ int preconnect (const char *preconnections);
+ TAO_Profile *create_profile (TAO_InputCDR& cdr);
+
+ virtual int check_prefix (const char *endpoint);
+
+ virtual char object_key_delimiter (void) const;
+
+protected:
+ /// = More TAO_Connector methods, please check the documentation on
+ /// Pluggable.h
+ virtual TAO_Profile * make_profile (CORBA::Environment &ACE_TRY_ENV);
+
+ /// Obtain UIPMC properties that must be used by this connector, i.e.,
+ /// initialize <uipmc_properties_>.
+ int init_uipmc_properties (void);
+
+public:
+
+ typedef TAO_Connect_Concurrency_Strategy<TAO_UIPMC_Connection_Handler>
+ TAO_UIPMC_CONNECT_CONCURRENCY_STRATEGY;
+
+ typedef TAO_Connect_Creation_Strategy<TAO_UIPMC_Connection_Handler>
+ TAO_UIPMC_CONNECT_CREATION_STRATEGY;
+
+ typedef ACE_Connect_Strategy<TAO_UIPMC_Connection_Handler,
+ ACE_SOCK_CONNECTOR>
+ TAO_UIPMC_CONNECT_STRATEGY ;
+
+ typedef ACE_Strategy_Connector<TAO_UIPMC_Connection_Handler,
+ ACE_SOCK_CONNECTOR>
+ TAO_UIPMC_BASE_CONNECTOR;
+
+protected:
+
+ /// UIPMC configuration properties to be used for all
+ /// connections established by this connector.
+ TAO_UIPMC_Properties uipmc_properties_;
+
+private:
+ // @@ Michael: UDP Addition
+ ACE_Hash_Map_Manager_Ex < ACE_TCHAR *,
+ TAO_UIPMC_Connection_Handler *,
+ ACE_Hash < const char * >,
+ ACE_Equal_To < const char * >,
+ ACE_Null_Mutex > svc_handler_table_;
+
+ typedef ACE_Hash_Map_Iterator_Ex < ACE_TCHAR *,
+ TAO_UIPMC_Connection_Handler *,
+ ACE_Hash < const char * >,
+ ACE_Equal_To < const char *>,
+ ACE_Null_Mutex > SvcHandlerIterator;
+};
+
+#include "ace/post.h"
+#endif /* TAO_UIPMC_CONNECTOR_H */
diff --git a/TAO/tao/PortableGroup/UIPMC_Endpoint.cpp b/TAO/tao/PortableGroup/UIPMC_Endpoint.cpp
new file mode 100644
index 00000000000..1379a2e6f91
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Endpoint.cpp
@@ -0,0 +1,130 @@
+// This may look like C, but it's really -*- C++ -*-
+// $Id$
+
+
+#include "UIPMC_Endpoint.h"
+//#include "tao/UIPMC_Connection_Handler.h"
+#include "tao/debug.h"
+
+ACE_RCSID(tao, UIPMC_Endpoint, "$Id$")
+
+
+#if !defined (__ACE_INLINE__)
+# include "UIPMC_Endpoint.i"
+#endif /* __ACE_INLINE__ */
+
+TAO_UIPMC_Endpoint::TAO_UIPMC_Endpoint (void)
+ : TAO_Endpoint (TAO_TAG_UIPMC_PROFILE),
+ object_addr_ (),
+ /* hint_ (0), */
+ next_ (0)
+{
+}
+
+
+TAO_UIPMC_Endpoint::TAO_UIPMC_Endpoint (const ACE_INET_Addr &addr)
+ : TAO_Endpoint (TAO_TAG_UIPMC_PROFILE),
+ object_addr_ (addr),
+ /* hint_ (0), */
+ next_ (0)
+{
+ this->object_addr (addr);
+}
+
+TAO_UIPMC_Endpoint::TAO_UIPMC_Endpoint (const CORBA::Octet class_d_address[4],
+ CORBA::UShort port)
+ : TAO_Endpoint (TAO_TAG_UIPMC_PROFILE),
+ port_ (port),
+ /* hint_ (0), */
+ next_ (0)
+{
+ for (int i = 0; i<4; i++)
+ class_d_address_[i] = class_d_address[i];
+
+ this->update_object_addr ();
+}
+
+
+TAO_UIPMC_Endpoint::~TAO_UIPMC_Endpoint (void)
+{
+
+}
+
+void
+TAO_UIPMC_Endpoint::object_addr (const ACE_INET_Addr &addr)
+{
+ this->port_ = addr.get_port_number();
+ this->uint_ip_addr (addr.get_ip_address ());
+}
+
+int
+TAO_UIPMC_Endpoint::addr_to_string (char *buffer, size_t length)
+{
+ size_t actual_len =
+ 15 // chars in dotted decimal addr
+ + sizeof (':') // delimiter
+ + 5 // max port
+ + sizeof ('\0');
+
+ if (length < actual_len)
+ return -1;
+
+ ACE_OS::sprintf (buffer, "%d.%d.%d.%d:%d",
+ this->class_d_address_[0],
+ this->class_d_address_[1],
+ this->class_d_address_[2],
+ this->class_d_address_[3],
+ this->port_);
+
+ return 0;
+}
+
+void
+TAO_UIPMC_Endpoint::reset_hint (void)
+{
+ // Commented out for the time being....
+ /* if (this->hint_)
+ this->hint_->cleanup_hint ((void **) &this->hint_); */
+}
+
+TAO_Endpoint *
+TAO_UIPMC_Endpoint::next (void)
+{
+ return this->next_;
+}
+
+TAO_Endpoint *
+TAO_UIPMC_Endpoint::duplicate (void) const
+{
+ TAO_UIPMC_Endpoint *endpoint = 0;
+
+ ACE_NEW_RETURN (endpoint,
+ TAO_UIPMC_Endpoint (this->object_addr_),
+ 0);
+
+ return endpoint;
+}
+
+CORBA::Boolean
+TAO_UIPMC_Endpoint::is_equivalent (const TAO_Endpoint *other_endpoint)
+{
+ TAO_Endpoint *endpt = ACE_const_cast (TAO_Endpoint *,
+ other_endpoint);
+
+ TAO_UIPMC_Endpoint *endpoint = ACE_dynamic_cast (TAO_UIPMC_Endpoint *,
+ endpt);
+ if (endpoint == 0)
+ return 0;
+
+ return
+ this->port_ == endpoint->port_
+ && ACE_OS::memcmp (this->class_d_address_, endpoint->class_d_address_, 4) == 0;
+}
+
+CORBA::ULong
+TAO_UIPMC_Endpoint::hash (void)
+{
+ return
+ this->uint_ip_addr ()
+ + this->port_;
+}
diff --git a/TAO/tao/PortableGroup/UIPMC_Endpoint.h b/TAO/tao/PortableGroup/UIPMC_Endpoint.h
new file mode 100644
index 00000000000..119fde4320d
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Endpoint.h
@@ -0,0 +1,125 @@
+// This may look like C, but it's really -*- C++ -*-
+
+
+//=============================================================================
+/**
+ * @file UIPMC_Endpoint.h
+ *
+ * $Id$
+ *
+ * UIPMC implementation of PP Framework Endpoint interface.
+ *
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_UIPMC_ENDPOINT_H
+#define TAO_UIPMC_ENDPOINT_H
+#include "ace/pre.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Endpoint.h"
+#include "ace/INET_Addr.h"
+
+#include "portablegroup_export.h"
+
+/**
+ * @class TAO_UIPMC_Endpoint
+ *
+ * @brief TAO_UIPMC_Endpoint
+ *
+ * UIPMC-specific implementation of PP Framework Endpoint interface.
+ */
+class TAO_PortableGroup_Export TAO_UIPMC_Endpoint : public TAO_Endpoint
+{
+public:
+
+ friend class TAO_UIPMC_Profile;
+
+ // = Initialization and termination methods.
+
+ /// Default constructor.
+ TAO_UIPMC_Endpoint (void);
+
+ /// Constructor.
+ TAO_UIPMC_Endpoint (const ACE_INET_Addr &addr);
+
+ /// Constructor.
+ TAO_UIPMC_Endpoint (const CORBA::Octet class_d_address[4],
+ CORBA::UShort port);
+
+ /// Destructor.
+ ~TAO_UIPMC_Endpoint (void);
+
+ // = Implementation of abstract TAO_Endpoint methods. See
+ // Endpoint.h for their documentation.
+
+ virtual TAO_Endpoint *next (void);
+ virtual int addr_to_string (char *buffer, size_t length);
+ virtual void reset_hint (void);
+
+ /// Makes a copy of <this>
+ virtual TAO_Endpoint *duplicate (void) const;
+
+ /// Return true if this endpoint is equivalent to <other_endpoint>. Two
+ /// endpoints are equivalent iff their port and host are the same.
+ CORBA::Boolean is_equivalent (const TAO_Endpoint *other_endpoint);
+
+ /// Return a hash value for this object.
+ CORBA::ULong hash (void);
+
+ // Allocates memory and returns a copy of <this>
+
+ // = UIPMC_Endpoint-specific methods.
+
+ /// Return a reference to the <object_addr>.
+ const ACE_INET_Addr &object_addr (void) const;
+
+ /// Set the IP multicast address and port.
+ void object_addr (const ACE_INET_Addr &addr);
+
+ /// Return the port number.
+ CORBA::UShort port (void) const;
+
+ /// Set the port number.
+ CORBA::UShort port (CORBA::UShort p);
+
+ //TAO_UIPMC_Connection_Handler *&hint (void);
+ // Access to our <hint_>.
+
+
+private:
+
+ /// Helper methods for getting and setting the IP address.
+ ACE_UINT32 uint_ip_addr (void) const;
+ void uint_ip_addr (ACE_UINT32 ip_addr);
+
+ /// Helper method to update the cached object address.
+ void update_object_addr (void);
+
+ /// IP Multicast address.
+ CORBA::Octet class_d_address_[4];
+
+ /// UDP port number.
+ CORBA::UShort port_;
+
+ /// Cached instance of <ACE_INET_Addr> for use in making
+ /// invocations, etc.
+ ACE_INET_Addr object_addr_;
+
+ /// UIPMC Endpoints can be stringed into a list. Return the next
+ /// endpoint in the list, if any.
+ TAO_UIPMC_Endpoint *next_;
+};
+
+#if defined (__ACE_INLINE__)
+# include "tao/UIPMC_Endpoint.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_UIPMC_PROFILE_H */
diff --git a/TAO/tao/PortableGroup/UIPMC_Endpoint.i b/TAO/tao/PortableGroup/UIPMC_Endpoint.i
new file mode 100644
index 00000000000..c89f5618806
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Endpoint.i
@@ -0,0 +1,48 @@
+// -*- C++ -*-
+// $Id$
+
+ACE_INLINE const ACE_INET_Addr &
+TAO_UIPMC_Endpoint::object_addr (void) const
+{
+ return this->object_addr_;
+}
+
+
+ACE_INLINE CORBA::UShort
+TAO_UIPMC_Endpoint::port (void) const
+{
+ return this->port_;
+}
+
+ACE_INLINE CORBA::UShort
+TAO_UIPMC_Endpoint::port (CORBA::UShort p)
+{
+ return this->port_ = p;
+}
+
+
+ACE_INLINE ACE_UINT32
+TAO_UIPMC_Endpoint::uint_ip_addr (void) const
+{
+ return (((ACE_UINT32)this->class_d_address_[0] << 24) |
+ ((ACE_UINT32)this->class_d_address_[1] << 16) |
+ ((ACE_UINT32)this->class_d_address_[2] << 8) |
+ ((ACE_UINT32)this->class_d_address_[3]));
+}
+
+ACE_INLINE void
+TAO_UIPMC_Endpoint::uint_ip_addr (ACE_UINT32 ip_addr)
+{
+ this->class_d_address_[0] = (CORBA::Char)(ip_addr >> 24);
+ this->class_d_address_[1] = (CORBA::Char)((ip_addr >> 16) & 0xff);
+ this->class_d_address_[2] = (CORBA::Char)((ip_addr >> 8) & 0xff);
+ this->class_d_address_[3] = (CORBA::Char)(ip_addr & 0xff);
+}
+
+ACE_INLINE void
+TAO_UIPMC_Endpoint::update_object_addr (void)
+{
+ this->object_addr_.set (this->port_,
+ this->uint_ip_addr ());
+}
+
diff --git a/TAO/tao/PortableGroup/UIPMC_Factory.cpp b/TAO/tao/PortableGroup/UIPMC_Factory.cpp
new file mode 100644
index 00000000000..0809d57a4c8
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Factory.cpp
@@ -0,0 +1,91 @@
+// $Id$
+
+#include "UIPMC_Factory.h"
+#include "UIPMC_Acceptor.h"
+#include "UIPMC_Connector.h"
+
+ACE_RCSID(TAO_PORTABLESERVER, UIPMC_Factory, "$Id$")
+
+static const char prefix_[] = "uipmc";
+
+TAO_UIPMC_Protocol_Factory::TAO_UIPMC_Protocol_Factory (void)
+ : TAO_Protocol_Factory (TAO_TAG_UIPMC_PROFILE),
+ major_ (TAO_DEF_GIOP_MAJOR),
+ minor_ (TAO_DEF_GIOP_MINOR)
+{
+}
+
+TAO_UIPMC_Protocol_Factory::~TAO_UIPMC_Protocol_Factory (void)
+{
+}
+
+int
+TAO_UIPMC_Protocol_Factory::match_prefix (const ACE_CString &prefix)
+{
+ // Check for the proper prefix for this protocol.
+ return (ACE_OS::strcasecmp (prefix.c_str (), ::prefix_) == 0);
+}
+
+const char *
+TAO_UIPMC_Protocol_Factory::prefix (void) const
+{
+ return ::prefix_;
+}
+
+char
+TAO_UIPMC_Protocol_Factory::options_delimiter (void) const
+{
+ return '/';
+}
+
+TAO_Acceptor *
+TAO_UIPMC_Protocol_Factory::make_acceptor (void)
+{
+ TAO_Acceptor *acceptor = 0;
+
+ ACE_NEW_RETURN (acceptor,
+ TAO_UIPMC_Acceptor,
+ 0);
+
+ return acceptor;
+}
+
+int
+TAO_UIPMC_Protocol_Factory::init (int /* argc */,
+ char* /* argv */ [])
+{
+ return 0;
+}
+
+TAO_Connector *
+TAO_UIPMC_Protocol_Factory::make_connector (void)
+{
+ TAO_Connector *connector = 0;
+
+ ACE_NEW_RETURN (connector,
+ TAO_UIPMC_Connector,
+ 0);
+ return connector;
+}
+
+int
+TAO_UIPMC_Protocol_Factory::requires_explicit_endpoint (void) const
+{
+ // A multicast endpoint can't be picked automatically in the
+ // pluggable protocol framework. It must be determined from
+ // the UIPMC profile that has the group reference. This information
+ // is either specified by the user or generated by the
+ // multicast group manager or other UIPMC profile generation
+ // interface.
+ return 1;
+}
+
+ACE_STATIC_SVC_DEFINE (TAO_UIPMC_Protocol_Factory,
+ ACE_TEXT ("UIPMC_Factory"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (TAO_UIPMC_Protocol_Factory),
+ ACE_Service_Type::DELETE_THIS |
+ ACE_Service_Type::DELETE_OBJ,
+ 0)
+
+ACE_FACTORY_DEFINE (TAO_PortableGroup, TAO_UIPMC_Protocol_Factory)
diff --git a/TAO/tao/PortableGroup/UIPMC_Factory.h b/TAO/tao/PortableGroup/UIPMC_Factory.h
new file mode 100644
index 00000000000..11812e94347
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Factory.h
@@ -0,0 +1,65 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file UIPMC_Factory.h
+ *
+ * $Id$
+ *
+ * @author Fred Kuhns <fredk@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_UIPMC_FACTORY_H
+#define TAO_UIPMC_FACTORY_H
+#include "ace/pre.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Protocol_Factory.h"
+#include "ace/Service_Config.h"
+#include "portablegroup_export.h"
+
+class TAO_Acceptor;
+class TAO_Connector;
+
+class TAO_PortableGroup_Export TAO_UIPMC_Protocol_Factory : public TAO_Protocol_Factory
+{
+public:
+ TAO_UIPMC_Protocol_Factory (void);
+ virtual ~TAO_UIPMC_Protocol_Factory (void);
+
+ // = Service Configurator hooks.
+ /// Dynamic linking hook
+ virtual int init (int argc, char* argv[]);
+
+ /// Verify prefix is a match
+ virtual int match_prefix (const ACE_CString &prefix);
+
+ /// Returns the prefix used by the protocol.
+ virtual const char *prefix (void) const;
+
+ /// Return the character used to mark where an endpoint ends and
+ /// where its options begin.
+ virtual char options_delimiter (void) const;
+
+ // = Check Protocol_Factory.h for a description of these methods.
+ virtual TAO_Acceptor *make_acceptor (void);
+ virtual TAO_Connector *make_connector (void);
+ virtual int requires_explicit_endpoint (void) const;
+
+private:
+ /// Changing the version number can be used to provide backwards
+ /// compatibility with old clients.
+ int major_;
+ int minor_;
+};
+
+ACE_STATIC_SVC_DECLARE (TAO_UIPMC_Protocol_Factory)
+ACE_FACTORY_DECLARE (TAO_PortableGroup, TAO_UIPMC_Protocol_Factory)
+
+#include "ace/post.h"
+#endif /* TAO_UIPMC_FACTORY_H */
diff --git a/TAO/tao/PortableGroup/UIPMC_Profile.cpp b/TAO/tao/PortableGroup/UIPMC_Profile.cpp
new file mode 100644
index 00000000000..98e590db8f4
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Profile.cpp
@@ -0,0 +1,736 @@
+// This may look like C, but it's really -*- C++ -*-
+// $Id$
+
+
+#include "UIPMC_Profile.h"
+#include "tao/CDR.h"
+#include "tao/Environment.h"
+#include "tao/ORB.h"
+#include "tao/ORB_Core.h"
+#include "tao/debug.h"
+#include "target_specification.h"
+
+#include "miopC.h"
+#include "PortableGroupC.h"
+
+ACE_RCSID(tao, UIPMC_Profile, "$Id$")
+
+#if !defined (__ACE_INLINE__)
+# include "UIPMC_Profile.i"
+#endif /* __ACE_INLINE__ */
+
+static const char prefix_[] = "uipmc";
+
+const char TAO_UIPMC_Profile::object_key_delimiter_ = '/';
+
+char
+TAO_UIPMC_Profile::object_key_delimiter (void) const
+{
+ return TAO_UIPMC_Profile::object_key_delimiter_;
+}
+
+
+TAO_UIPMC_Profile::TAO_UIPMC_Profile (TAO_ORB_Core *orb_core)
+ : TAO_Profile (TAO_TAG_UIPMC_PROFILE,
+ orb_core,
+ TAO_GIOP_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
+ endpoint_ (),
+ count_ (1),
+ tagged_profile_ ()
+{
+}
+
+TAO_UIPMC_Profile::TAO_UIPMC_Profile (const ACE_INET_Addr &addr,
+ TAO_ORB_Core *orb_core)
+ : TAO_Profile (TAO_TAG_UIPMC_PROFILE,
+ orb_core,
+ TAO_GIOP_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
+ endpoint_ (addr),
+ count_ (1),
+ tagged_profile_ ()
+{
+}
+
+TAO_UIPMC_Profile::TAO_UIPMC_Profile (const CORBA::Octet class_d_address[4],
+ CORBA::UShort port,
+ TAO_ORB_Core *orb_core)
+ : TAO_Profile (TAO_TAG_UIPMC_PROFILE,
+ orb_core,
+ TAO_GIOP_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
+ endpoint_ (class_d_address, port),
+ count_ (1),
+ tagged_profile_ ()
+{
+}
+
+/*
+
+TAO_UIPMC_Profile::TAO_UIPMC_Profile (const char *string,
+ TAO_ORB_Core *orb_core,
+ CORBA::Environment &ACE_TRY_ENV)
+ : TAO_Profile (TAO_TAG_UIPMC_PROFILE,
+ orb_core,
+ TAO_GIOP_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
+ endpoint_ (),
+ count_ (1),
+ tagged_profile_ ()
+{
+ this->add_group_component ();
+ this->parse_string (string, ACE_TRY_ENV);
+ ACE_CHECK;
+}
+
+TAO_UIPMC_Profile::TAO_UIPMC_Profile (TAO_ORB_Core *orb_core)
+ : TAO_Profile (TAO_TAG_UIPMC_PROFILE,
+ orb_core,
+ TAO_GIOP_Version (TAO_DEF_GIOP_MAJOR, TAO_DEF_GIOP_MINOR)),
+ endpoint_ (),
+ count_ (1),
+ tagged_profile_ ()
+{
+}
+*/
+
+TAO_UIPMC_Profile::~TAO_UIPMC_Profile (void)
+{
+}
+
+// return codes:
+// -1 -> error
+// 0 -> can't understand this version
+// 1 -> success.
+
+int
+TAO_UIPMC_Profile::decode (TAO_InputCDR& cdr)
+{
+ CORBA::ULong encap_len = cdr.length ();
+
+ // Read and verify major, minor versions, ignoring UIPMC profiles
+ // whose versions we don't understand.
+ CORBA::Octet major = 0, minor = 0;
+
+ if (!(cdr.read_octet (major)
+ && major == TAO_DEF_MIOP_MAJOR
+ && cdr.read_octet (minor)))
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::decode - v%d.%d\n"),
+ major,
+ minor));
+ return -1;
+ }
+
+ this->version_.major = major;
+
+ if (minor <= TAO_DEF_MIOP_MINOR)
+ this->version_.minor = minor;
+
+ // Decode endpoint.
+ CORBA::Short ip_version;
+ if (!(cdr.read_short (ip_version)
+ && ip_version == MIOP::IPv4))
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::decode - Unexpected IP version %d\n"),
+ ip_version));
+ return -1;
+ }
+
+ /* Read in the IPv4 port and address */
+ if (cdr.read_ushort (this->endpoint_.port_) == 0
+ || cdr.read_octet_array (this->endpoint_.class_d_address_, 4) == 0)
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::decode - ")
+ ACE_TEXT ("error while decoding host/port")));
+ return -1;
+ }
+
+ if (this->tagged_components_.decode (cdr) == 0)
+ return -1;
+
+ if (cdr.length () != 0 && TAO_debug_level)
+ // If there is extra data in the profile we are supposed to
+ // ignore it, but print a warning just in case...
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("%d bytes out of %d left after UIPMC profile data\n"),
+ cdr.length (),
+ encap_len));
+
+ if (cdr.good_bit ())
+ {
+ // Tell the endpoint to update its cached address. @@ Frank: Fix this smelly piece of code!
+ this->endpoint_.update_object_addr ();
+
+ return 1;
+ }
+
+ return -1;
+}
+
+
+void
+TAO_UIPMC_Profile::parse_string (const char * /*string*/,
+ CORBA::Environment &ACE_TRY_ENV)
+{
+ ACE_THROW (CORBA::INV_OBJREF (
+ CORBA_SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ EINVAL),
+ CORBA::COMPLETED_NO));
+
+/*
+ // Remove the "N.n@" version prefix, if it exists, and verify the
+ // version is one that we accept.
+
+ // Check for version
+ if (isdigit (string [0]) &&
+ string[1] == '.' &&
+ isdigit (string [2]) &&
+ string[3] == '@')
+ {
+ // @@ This may fail for non-ascii character sets [but take that
+ // with a grain of salt]
+ this->version_.set_version ((char) (string [0] - '0'),
+ (char) (string [2] - '0'));
+ string += 4;
+ // Skip over the "N.n@"
+ }
+
+ if (this->version_.major != TAO_DEF_GIOP_MAJOR ||
+ this->version_.minor > TAO_DEF_GIOP_MINOR)
+ {
+ ACE_THROW_RETURN (CORBA::INV_OBJREF (
+ CORBA_SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ EINVAL),
+ CORBA::COMPLETED_NO),
+ -1);
+ }
+
+ // Pull off the "hostname:port/" part of the objref
+ // Copy the string because we are going to modify it...
+ CORBA::String_var copy (string);
+
+ char *start = copy.inout ();
+ char *cp_pos = ACE_OS::strchr (start, ':'); // Look for a port
+
+ char *okd = ACE_OS::strchr (start, this->object_key_delimiter_);
+
+ if (okd == 0)
+ {
+ // No object key delimiter!
+ ACE_THROW_RETURN (CORBA::INV_OBJREF (
+ CORBA_SystemException::_tao_minor_code (
+ TAO_DEFAULT_MINOR_CODE,
+ EINVAL),
+ CORBA::COMPLETED_NO),
+ -1);
+ }
+
+ // The default port number.
+ const char def_port [] = ":683";
+
+ // Length of port.
+ CORBA::ULong length = 0;
+
+ // Length of host string.
+ CORBA::ULong length_host = 0;
+
+ // Length of <cp>
+ CORBA::ULong length_cp =
+ ACE_OS::strlen ((const char *)okd) + sizeof (def_port);
+
+ CORBA::String_var cp = CORBA::string_alloc (length_cp);
+
+ if (cp_pos == 0)
+ {
+ // No host/port delimiter! Dont raise an exception. Use the
+ // default port No. 683
+ ACE_OS::strcpy (cp, def_port);
+ ACE_OS::strcat (cp, okd);
+
+ length =
+ ACE_OS::strlen (cp.in ()) -
+ ACE_OS::strlen ((const char *)okd) -
+ 1;
+
+ length_host =
+ ACE_OS::strlen (start) +
+ sizeof (def_port) -
+ ACE_OS::strlen (cp.in ()) -1;
+ }
+ else
+ {
+ // The port is specified:
+ cp = (const char *)cp_pos;
+
+ length =
+ ACE_OS::strlen (cp.in ())
+ - ACE_OS::strlen ((const char *)okd) + 1;
+
+ length_host =
+ ACE_OS::strlen ((const char *)start)
+ - ACE_OS::strlen (cp.in ());
+ }
+
+ CORBA::String_var tmp = CORBA::string_alloc (length);
+
+ ACE_OS::strncpy (tmp.inout (), cp.in () + 1, length);
+ tmp[length] = '\0';
+
+ this->endpoint_.port_ = (CORBA::UShort) ACE_OS::atoi (tmp.in ());
+
+ tmp = CORBA::string_alloc (length_host);
+
+ ACE_OS::strncpy (tmp.inout (), start, length_host);
+ tmp[length_host] = '\0';
+
+ this->endpoint_.host_ = tmp._retn ();
+
+ ACE_INET_Addr host_addr;
+
+ if (ACE_OS::strcmp (this->endpoint_.host_.in (), "") == 0)
+ {
+ char tmp_host [MAXHOSTNAMELEN + 1];
+
+ // If no host is specified: assign the default host : the local host.
+ if (host_addr.get_host_name (tmp_host,
+ sizeof (tmp_host)) != 0)
+ {
+ const char *tmp = host_addr.get_host_addr ();
+ if (tmp == 0)
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("\n\nTAO (%P|%t) ")
+ ACE_TEXT ("UIPMC_Profile::parse_string ")
+ ACE_TEXT ("- %p\n\n"),
+ ACE_TEXT ("cannot determine hostname")));
+ return -1;
+ }
+ this->endpoint_.host_ = tmp;
+ }
+ else
+ {
+ this->endpoint_.host_ = (const char *) tmp_host;
+ }
+ }
+
+ if (this->endpoint_.object_addr_.set (this->endpoint_.port_,
+ this->endpoint_.host_.in ()) == -1)
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("%p\n"),
+ ACE_TEXT ("Error Occured !")
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::parse_string - \n")
+ ACE_TEXT ("TAO (%P|%t) ACE_INET_Addr::set () failed")));
+ }
+ return -1;
+ }
+
+ start = ++okd; // increment past the object key separator
+
+ TAO_ObjectKey::decode_string_to_sequence (this->object_key_, start);
+
+ return 1;
+*/
+}
+
+CORBA::Boolean
+TAO_UIPMC_Profile::is_equivalent (const TAO_Profile *other_profile)
+{
+
+ if (other_profile->tag () != TAO_TAG_UIPMC_PROFILE)
+ return 0;
+
+ const TAO_UIPMC_Profile *op =
+ ACE_dynamic_cast (const TAO_UIPMC_Profile *, other_profile);
+
+ if (!(this->version_ == op->version_
+ && this->endpoint_.is_equivalent (&op->endpoint_)))
+ return 0;
+
+ return 1;
+}
+
+CORBA::ULong
+TAO_UIPMC_Profile::hash (CORBA::ULong max,
+ CORBA::Environment &)
+{
+ // Get the hashvalue for all endpoints.
+ CORBA::ULong hashval = this->endpoint_.hash ();
+
+ hashval += this->version_.minor;
+ hashval += this->tag ();
+
+ return hashval % max;
+}
+
+TAO_Endpoint*
+TAO_UIPMC_Profile::endpoint (void)
+{
+ return &this->endpoint_;
+}
+
+int
+TAO_UIPMC_Profile::encode_endpoints (void)
+{
+ return 1;
+}
+
+size_t
+TAO_UIPMC_Profile::endpoint_count (void)
+{
+ return 1;
+}
+
+char *
+TAO_UIPMC_Profile::to_string (CORBA::Environment &)
+{
+ // @@ Frank: Update to pull out GroupID information...
+
+ u_int buflen = (ACE_OS::strlen (::prefix_) +
+ 3 /* "loc" */ +
+ 1 /* colon separator */ +
+ 2 /* double-slash separator */ +
+ 1 /* major version */ +
+ 1 /* decimal point */ +
+ 1 /* minor version */ +
+ 1 /* `@' character */ +
+ 15 /* dotted decimal IPv4 address */ +
+ 1 /* colon separator */ +
+ 5 /* port number */);
+
+ char * buf = CORBA::string_alloc (buflen);
+
+ static const char digits [] = "0123456789";
+
+ ACE_OS::sprintf (buf,
+ "%sloc://%c.%c@%d.%d.%d.%d:%d%c%s",
+ ::prefix_,
+ digits [this->version_.major],
+ digits [this->version_.minor],
+ this->endpoint_.class_d_address_[0],
+ this->endpoint_.class_d_address_[1],
+ this->endpoint_.class_d_address_[2],
+ this->endpoint_.class_d_address_[3],
+ this->endpoint_.port ());
+ return buf;
+}
+
+const char *
+TAO_UIPMC_Profile::prefix (void)
+{
+ return ::prefix_;
+}
+
+int
+TAO_UIPMC_Profile::encode (TAO_OutputCDR &stream) const
+{
+ // UNSIGNED LONG, protocol tag
+ stream.write_ulong (this->tag ());
+
+ // Create the encapsulation....
+ TAO_OutputCDR encap (ACE_CDR::DEFAULT_BUFSIZE,
+ TAO_ENCAP_BYTE_ORDER,
+ this->orb_core ()->output_cdr_buffer_allocator (),
+ this->orb_core ()->output_cdr_dblock_allocator (),
+ this->orb_core ()->orb_params ()->cdr_memcpy_tradeoff (),
+ this->orb_core ()->to_iso8859 (),
+ this->orb_core ()->to_unicode ());
+
+
+ // Create the profile body
+ this->create_profile_body (encap);
+
+ // write the encapsulation as an octet sequence...
+
+ stream << CORBA::ULong (encap.total_length ());
+ stream.write_octet_array_mb (encap.begin ());
+
+ return 1;
+}
+
+
+IOP::TaggedProfile &
+TAO_UIPMC_Profile::create_tagged_profile (void)
+{
+ // Check whether we have already created the TaggedProfile
+ if (this->tagged_profile_.profile_data.length () == 0)
+ {
+ // As we have not created we will now create the TaggedProfile
+ this->tagged_profile_.tag = TAO_TAG_UIPMC_PROFILE;
+
+ // Create the encapsulation....
+ TAO_OutputCDR encap (ACE_CDR::DEFAULT_BUFSIZE,
+ TAO_ENCAP_BYTE_ORDER,
+ this->orb_core ()->output_cdr_buffer_allocator (),
+ this->orb_core ()->output_cdr_dblock_allocator (),
+ this->orb_core ()->orb_params ()->cdr_memcpy_tradeoff (),
+ this->orb_core ()->to_iso8859 (),
+ this->orb_core ()->to_unicode ());
+
+ // Create the profile body
+ this->create_profile_body (encap);
+
+ CORBA::ULong length =
+ ACE_static_cast(CORBA::ULong,encap.total_length ());
+
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ // Place the message block in to the Sequence of Octets that we
+ // have
+ this->tagged_profile_.profile_data.replace (length,
+ encap.begin ());
+#else
+ this->tagged_profile_.profile_data.length (length);
+ CORBA::Octet *buffer =
+ this->tagged_profile_.profile_data.get_buffer ();
+ for (const ACE_Message_Block *i = encap.begin ();
+ i != encap.end ();
+ i = i->next ())
+ {
+ ACE_OS::memcpy (buffer, i->rd_ptr (), i->length ());
+ buffer += i->length ();
+ }
+#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */
+ }
+
+ return this->tagged_profile_;
+}
+
+void
+TAO_UIPMC_Profile::create_profile_body (TAO_OutputCDR &encap) const
+{
+ encap.write_octet (TAO_ENCAP_BYTE_ORDER);
+
+ // The GIOP version
+ // Note: Only GIOP 1.2 and above are supported currently for MIOP.
+ encap.write_octet (this->version_.major);
+ encap.write_octet (this->version_.minor);
+
+ // IP Version.
+ encap.write_short (MIOP::IPv4);
+
+ // The IPv4 port number.
+ encap.write_ushort (this->endpoint_.port ());
+
+ // The IPv4 multicast address (MSB first).
+ encap.write_octet_array (this->endpoint_.class_d_address_, 4);
+
+ // UIPMC is only supported by versions of GIOP that have tagged components,
+ // so unconditionally encode the components.
+ this->tagged_components ().encode (encap);
+}
+
+/*
+int
+TAO_UIPMC_Profile::decode_endpoints (void)
+{
+ IOP::TaggedComponent tagged_component;
+ tagged_component.tag = TAO_TAG_ENDPOINTS;
+
+ if (this->tagged_components_.get_component (tagged_component))
+ {
+ const CORBA::Octet *buf =
+ tagged_component.component_data.get_buffer ();
+
+ TAO_InputCDR in_cdr (ACE_reinterpret_cast (const char*, buf),
+ tagged_component.component_data.length ());
+
+ // Extract the Byte Order.
+ CORBA::Boolean byte_order;
+ if ((in_cdr >> ACE_InputCDR::to_boolean (byte_order)) == 0)
+ return -1;
+ in_cdr.reset_byte_order (ACE_static_cast(int, byte_order));
+
+ // Extract endpoints sequence.
+ TAO_UIPMCEndpointSequence endpoints;
+
+ if ((in_cdr >> endpoints) == 0)
+ return -1;
+
+ // Get the priority of the first endpoint (head of the list.
+ // It's other data is extracted as part of the standard profile
+ // decoding.
+ this->endpoint_.priority (endpoints[0].priority);
+
+ // Use information extracted from the tagged component to
+ // populate the profile. Skip the first endpoint, since it is
+ // always extracted through standard profile body. Also, begin
+ // from the end of the sequence to preserve endpoint order,
+ // since <add_endpoint> method reverses the order of endpoints
+ // in the list.
+ for (CORBA::ULong i = endpoints.length () - 1;
+ i > 0;
+ --i)
+ {
+ TAO_UIPMC_Endpoint *endpoint = 0;
+ ACE_NEW_RETURN (endpoint,
+ TAO_UIPMC_Endpoint (endpoints[i].host,
+ endpoints[i].port,
+ endpoints[i].priority),
+ -1);
+
+ this->add_endpoint (endpoint);
+ }
+ }
+
+ return 0;
+}
+*/
+
+int
+TAO_UIPMC_Profile::add_group_component (const char *domain_id,
+ PortableGroup::ObjectGroupId group_id,
+ PortableGroup::ObjectGroupRefVersion ref_version)
+{
+ PortableGroup::TagGroupTaggedComponent group;
+
+ // Encode the data structure.
+ group.version.major = TAO_DEF_MIOP_MAJOR;
+ group.version.minor = TAO_DEF_MIOP_MINOR;
+
+ group.group_domain_id = CORBA::string_dup (domain_id);
+ group.object_group_id = group_id;
+ group.object_group_ref_version = ref_version;
+
+ TAO_OutputCDR out_cdr;
+ if ((out_cdr << group) == 0)
+ return -1;
+ CORBA::ULong length = out_cdr.total_length ();
+
+ IOP::TaggedComponent tagged_component;
+ tagged_component.tag = TAO_TAG_GROUP;
+ tagged_component.component_data.length (length);
+ CORBA::Octet *buf =
+ tagged_component.component_data.get_buffer ();
+
+ for (const ACE_Message_Block *iterator = out_cdr.begin ();
+ iterator != 0;
+ iterator = iterator->cont ())
+ {
+ CORBA::ULong i_length = iterator->length ();
+ ACE_OS::memcpy (buf, iterator->rd_ptr (), i_length);
+
+ buf += i_length;
+ }
+
+ // Add component with encoded endpoint data to this profile's
+ // TaggedComponents.
+ this->tagged_components_.set_component (tagged_component);
+ return 0;
+}
+
+void
+TAO_UIPMC_Profile::request_target_specifier (TAO_Target_Specification &target_spec)
+{
+ // Point the target specifier to our Tagged Profile
+ target_spec.target_specifier (this->create_tagged_profile ());
+}
+
+int
+TAO_UIPMC_Profile::supports_multicast (void) const
+{
+ // Yes! We support multicast!
+ return 1;
+}
+
+int
+TAO_UIPMC_Profile::extract_group_component (IOP::TaggedProfile &profile,
+ PortableGroup::TagGroupTaggedComponent &group)
+{
+ // Create the decoding stream from the encapsulation in the buffer,
+#if (TAO_NO_COPY_OCTET_SEQUENCES == 1)
+ TAO_InputCDR cdr (profile.profile_data.mb ());
+#else
+ TAO_InputCDR cdr (ACE_reinterpret_cast(char*,profile.profile_data.get_buffer ()),
+ profile.profile_data.length ());
+#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */
+
+ CORBA::ULong encap_len = cdr.length ();
+
+ // Extract the Byte Order.
+ CORBA::Boolean byte_order;
+ if ((cdr >> ACE_InputCDR::to_boolean (byte_order)) == 0)
+ return -1;
+ cdr.reset_byte_order (ACE_static_cast(int, byte_order));
+
+ // Read and verify major, minor versions, ignoring UIPMC profiles
+ // whose versions we don't understand.
+ CORBA::Octet major, minor;
+
+ // Read the version. We just read it here. We don't*do any*
+ // processing.
+ if (!(cdr.read_octet (major)
+ && cdr.read_octet (minor)))
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::decode - v%d.%d\n"),
+ major,
+ minor));
+ }
+ return -1;
+ }
+
+ // Decode endpoint.
+ CORBA::Short ip_version;
+ if (!(cdr.read_short (ip_version)
+ && ip_version == MIOP::IPv4))
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::decode - Unexpected IP version %d\n"),
+ ip_version));
+ return -1;
+ }
+
+ CORBA::Octet class_d_address_[4];
+ CORBA::UShort port_;
+
+ /* Read in the IPv4 port and address */
+ if (cdr.read_ushort (port_) == 0
+ || cdr.read_octet_array (class_d_address_, 4) == 0)
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) UIPMC_Profile::decode - ")
+ ACE_TEXT ("error while decoding host/port")));
+ return -1;
+ }
+
+ TAO_Tagged_Components tagged_components;
+ if (tagged_components.decode (cdr) == 0)
+ return -1;
+
+ IOP::TaggedComponent tagged_component;
+ tagged_component.tag = TAO_TAG_GROUP;
+
+ // Try to find it.
+ if (tagged_components.get_component (tagged_component) == 0)
+ return -1;
+
+ // Found it.
+ const CORBA::Octet *buf =
+ tagged_component.component_data.get_buffer ();
+
+ TAO_InputCDR in_cdr (ACE_reinterpret_cast (const char*, buf),
+ tagged_component.component_data.length ());
+
+ // Extract the Byte Order.
+ if ((in_cdr >> ACE_InputCDR::to_boolean (byte_order)) == 0)
+ return -1;
+ in_cdr.reset_byte_order (ACE_static_cast(int, byte_order));
+
+ if ((in_cdr >> group) == 0)
+ return -1;
+
+ return 0;
+}
diff --git a/TAO/tao/PortableGroup/UIPMC_Profile.h b/TAO/tao/PortableGroup/UIPMC_Profile.h
new file mode 100644
index 00000000000..be9f992e1e8
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Profile.h
@@ -0,0 +1,205 @@
+// This may look like C, but it's really -*- C++ -*-
+
+
+//=============================================================================
+/**
+ * @file UIPMC_Profile.h
+ *
+ * $Id$
+ *
+ * UIPMC profile specific processing
+ *
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_UIPMC_PROFILE_H
+#define TAO_UIPMC_PROFILE_H
+#include "ace/pre.h"
+
+#include "tao/Profile.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Object_KeyC.h"
+#include "PortableGroupC.h"
+#include "UIPMC_Endpoint.h"
+#include "portablegroup_export.h"
+
+#include "ace/Synch.h"
+
+
+// TAO UIPMC_Profile concrete Profile definitions
+/**
+ * @class TAO_UIPMC_Profile
+ *
+ * @brief This class defines the protocol specific attributes required
+ * for locating ORBs over a TCP/IP network.
+ *
+ * This class defines the UIPMC profile as specified in the CORBA
+ * specification.
+ */
+class TAO_PortableGroup_Export TAO_UIPMC_Profile : public TAO_Profile
+{
+public:
+ /// The object key delimiter that UIPMC uses or expects.
+ static const char object_key_delimiter_;
+ virtual char object_key_delimiter (void) const;
+
+ /// Return the char string prefix.
+ static const char *prefix (void);
+
+ /// Profile constructor, default. Used when the profile contents
+ /// are not yet known or when it is being decoded from an IOR.
+ TAO_UIPMC_Profile (TAO_ORB_Core *orb_core);
+
+ /// Profile constructor, same as above except the object_key has
+ /// already been marshaled.
+ TAO_UIPMC_Profile (const ACE_INET_Addr &addr,
+ TAO_ORB_Core *orb_core);
+
+ /// Profile constructor.
+ TAO_UIPMC_Profile (const CORBA::Octet class_d_address[4],
+ CORBA::UShort port,
+ TAO_ORB_Core *orb_core);
+
+ /// Create object using a string ior.
+ TAO_UIPMC_Profile (const char *string,
+ TAO_ORB_Core *orb_core,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ());
+
+ /// Destructor is to be called only through <_decr_refcnt>.
+ ~TAO_UIPMC_Profile (void);
+
+ /// Initialize this object using the given input string.
+ /// Url-style string contain only one endpoint.
+ virtual void parse_string (const char *string,
+ CORBA::Environment &ACE_TRY_ENV);
+
+ /**
+ * Return a string representation for this profile.
+ * client must deallocate memory.
+ * This is used to create url-style reference. Only one
+ * endpoint is included into the string.
+ */
+ virtual char * to_string (CORBA::Environment &ACE_TRY_ENV);
+
+ /// Initialize this object using the given CDR octet string.
+ virtual int decode (TAO_InputCDR& cdr);
+
+ /// Encode this profile in a stream, i.e. marshal it.
+ virtual int encode (TAO_OutputCDR &stream) const;
+
+ /**
+ * Encodes this profile's endpoints into a tagged component.
+ * This is done only if RTCORBA is enabled, since currently this is
+ * the only case when we have more than one endpoint per profile.
+ * Returns 0 on success and -1 on failure.
+ *
+ * Endpoints are transmitted using TAO-proprietory tagged component.
+ * Component tag is TAO_TAG_ENDPOINTS and component data is an
+ * encapsulation of a sequence of structs, each representing a
+ * single endpoint. Data format is specified in iiop_endpoins.pidl.
+ *
+ * Multiple TAG_ALTERNATE_UIPMC_ADDRESS components can be used
+ * instead of a single proprietory component to transmit multiple
+ * endpoints. This is somewhat slower and less convenient. Also,
+ * TAG_ALTERNATE_UIPMC_ADDRESS does not provide for transmission of
+ * endpoint priorities.
+ *
+ */
+ virtual int encode_endpoints (void);
+
+ /// @@ deprecated. return a reference to the Object Key.
+ virtual const TAO_ObjectKey &object_key (void) const;
+
+ /// Return a pointer to the Object Key. The caller owns the memory
+ /// allocated for the returned key.
+ virtual TAO_ObjectKey *_key (void) const;
+
+ /// Return pointer to the head of this profile's endpoints list.
+ virtual TAO_Endpoint *endpoint (void);
+
+ /// Return how many endpoints this profile contains.
+ virtual size_t endpoint_count (void);
+
+ /**
+ * Return true if this profile is equivalent to other_profile. Two
+ * profiles are equivalent iff their tag, object_key, version and
+ * all endpoints are the same.
+ */
+ virtual CORBA::Boolean is_equivalent (const TAO_Profile *other_profile);
+
+ /// Return a hash value for this object.
+ virtual CORBA::ULong hash (CORBA::ULong max,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ());
+
+ /// Please refer to Profile.h for the documentation of this
+ /// function.
+ virtual IOP::TaggedProfile &create_tagged_profile (void);
+
+
+ /// Set the request target specifier to point to a tagged profile
+ /// containing the GroupId associated with this profile.
+ virtual void request_target_specifier (TAO_Target_Specification &target_spec);
+
+ /// Returns true since this profile can specify multicast endpoints.
+ virtual int supports_multicast (void) const;
+
+ static int extract_group_component (IOP::TaggedProfile &profile,
+ PortableGroup::TagGroupTaggedComponent &group);
+
+ /// Add the mandatory group component to this profile.
+ int add_group_component (const char *domain_id,
+ PortableGroup::ObjectGroupId group_id,
+ PortableGroup::ObjectGroupRefVersion ref_version);
+
+private:
+
+ /// Creates an encapsulation of the ProfileBody struct in the <cdr>
+ void create_profile_body (TAO_OutputCDR &cdr) const;
+
+protected:
+
+ /**
+ * Head of this profile's list of endpoints. This endpoint is not
+ * dynamically allocated because a profile always contains at least
+ * one endpoint.
+ *
+ * Currently, a profile contains more than one endpoint, i.e.,
+ * list contains more than just the head, only when RTCORBA is enabled.
+ * However, in the near future, this will be used in nonRT
+ * mode as well, e.g., to support TAG_ALTERNATE_IIOP_ADDRESS
+ * feature.
+ * Addressing info of the default endpoint, i.e., head of the list,
+ * is transmitted using standard UIPMC ProfileBody components. See
+ * <encode_endpoints> method documentation above for how the rest of
+ * the endpoint list is transmitted.
+ */
+ TAO_UIPMC_Endpoint endpoint_;
+
+ /// Number of endpoints in the list headed by <endpoint_>.
+ size_t count_;
+
+private:
+
+ /// object_key associated with this profile. This is wasted data for
+ /// UIPMC since there is no object key here, but is needed to satisfy
+ /// some of the API calls.
+ TAO_ObjectKey object_key_;
+
+ /// Our tagged profile
+ IOP::TaggedProfile tagged_profile_;
+};
+
+#if defined (__ACE_INLINE__)
+# include "tao/UIPMC_Profile.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_UIPMC_PROFILE_H */
diff --git a/TAO/tao/PortableGroup/UIPMC_Profile.i b/TAO/tao/PortableGroup/UIPMC_Profile.i
new file mode 100644
index 00000000000..ee4090d1509
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Profile.i
@@ -0,0 +1,19 @@
+// -*- C++ -*-
+// $Id$
+
+ACE_INLINE const TAO_ObjectKey &
+TAO_UIPMC_Profile::object_key (void) const
+{
+ return this->object_key_;
+}
+
+ACE_INLINE TAO_ObjectKey *
+TAO_UIPMC_Profile::_key (void) const
+{
+ // No object key for a UIPMC profile.
+ return 0;
+}
+
+
+
+
diff --git a/TAO/tao/PortableGroup/UIPMC_Transport.cpp b/TAO/tao/PortableGroup/UIPMC_Transport.cpp
new file mode 100644
index 00000000000..7f59f589f37
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Transport.cpp
@@ -0,0 +1,534 @@
+// This may look like C, but it's really -*- C++ -*-
+// $Id$
+
+#include "UIPMC_Transport.h"
+#include "UIPMC_Connection_Handler.h"
+#include "UIPMC_Acceptor.h"
+#include "UIPMC_Profile.h"
+#include "tao/Acceptor_Registry.h"
+#include "tao/operation_details.h"
+#include "tao/Timeprobe.h"
+#include "tao/CDR.h"
+#include "tao/Transport_Mux_Strategy.h"
+#include "tao/Wait_Strategy.h"
+#include "tao/Sync_Strategies.h"
+#include "tao/Stub.h"
+#include "tao/ORB_Core.h"
+#include "tao/debug.h"
+#include "tao/GIOP_Message_Base.h"
+#include "tao/GIOP_Message_Lite.h"
+
+#if !defined (__ACE_INLINE__)
+# include "UIPMC_Transport.i"
+#endif /* ! __ACE_INLINE__ */
+
+ACE_RCSID (tao, UIPMC_Transport, "$Id$")
+
+TAO_UIPMC_Transport::TAO_UIPMC_Transport (TAO_UIPMC_Connection_Handler *handler,
+ TAO_ORB_Core *orb_core,
+ CORBA::Boolean flag)
+ : TAO_Transport (TAO_TAG_UIPMC_PROFILE,
+ orb_core)
+ , connection_handler_ (handler)
+ , messaging_object_ (0)
+{
+ if (flag)
+ {
+ // Use the lite version of the protocol
+ ACE_NEW (this->messaging_object_,
+ TAO_GIOP_Message_Lite (orb_core,
+ ACE_MAX_DGRAM_SIZE));
+ }
+ else
+ {
+ // Use the normal GIOP object
+ ACE_NEW (this->messaging_object_,
+ TAO_GIOP_Message_Base (orb_core,
+ ACE_MAX_DGRAM_SIZE));
+ }
+}
+
+TAO_UIPMC_Transport::~TAO_UIPMC_Transport (void)
+{
+ delete this->messaging_object_;
+ this->messaging_object_ = 0;
+}
+
+ACE_Event_Handler *
+TAO_UIPMC_Transport::event_handler_i (void)
+{
+ return this->connection_handler_;
+}
+
+TAO_Pluggable_Messaging *
+TAO_UIPMC_Transport::messaging_object (void)
+{
+ return this->messaging_object_;
+}
+
+struct MIOP_Packet
+{
+ iovec iov[IOV_MAX];
+ int iovcnt;
+ int length;
+};
+
+class ACE_Message_Block_Data_Iterator
+{
+public:
+ /// Constructor
+ ACE_Message_Block_Data_Iterator (iovec *iov, int iovcnt);
+
+ /// Get the next data block that has a size less than or equal
+ /// to max_length. Return the length of the block returned.
+ size_t next_block (size_t max_length,
+ const char *&block,
+ size_t &block_len);
+
+private:
+ enum State
+ {
+ INTER_BLOCK,
+ INTRA_BLOCK
+ };
+
+ iovec *iov_;
+ int iovcnt_;
+
+ // Point internal to a message block, if we have to split one up.
+ const char *iov_ptr_;
+ int iov_index_;
+
+ // Length used in a split message block.
+ size_t iov_len_left_;
+
+ // Current message iterator state.
+ State state_;
+
+};
+
+ACE_Message_Block_Data_Iterator::ACE_Message_Block_Data_Iterator (iovec *iov, int iovcnt) :
+ iov_ (iov),
+ iovcnt_ (iovcnt),
+ iov_ptr_ (0),
+ iov_len_left_ (0),
+ iov_index_ (0),
+ state_ (INTER_BLOCK)
+{
+}
+
+size_t
+ACE_Message_Block_Data_Iterator::next_block (size_t max_length,
+ const char *&block,
+ size_t &block_len)
+{
+ if (this->state_ == INTER_BLOCK)
+ {
+ // Check that there are some iovec buffers left.
+ if (this->iov_index_ >= this->iovcnt_)
+ return 0;
+
+
+ size_t current_iov_len =
+ this->iov_[this->iov_index_].iov_len;
+
+ if (current_iov_len <= max_length)
+ {
+ // Return the full data portion.
+ block_len = current_iov_len;
+ block = this->iov_[this->iov_index_].iov_base;
+
+ // Go to the next block.
+ this->iov_index_++;
+
+ return current_iov_len;
+ }
+ else
+ {
+ // Let the caller use the first part of this
+ // message block.
+ block_len = max_length;
+ block = this->iov_[this->iov_index_].iov_base;
+
+ // Break up the block.
+ this->iov_len_left_ = current_iov_len - max_length;
+ this->iov_ptr_ = block + max_length;
+ this->state_ = INTRA_BLOCK;
+
+ return max_length;
+ }
+ }
+ else
+ {
+ // Currently scanning a split block.
+ if (this->iov_len_left_ <= max_length)
+ {
+ // Return everything that's left in the block.
+ block_len = this->iov_len_left_;
+ block = this->iov_ptr_;
+
+ // Go to the next block.
+ this->iov_index_++;
+
+ // Update the state.
+ this->state_ = INTER_BLOCK;
+
+ return this->iov_len_left_;
+ }
+ else
+ {
+ // Split a little more off the block.
+ block_len = this->iov_len_left_;
+ block = this->iov_ptr_;
+
+ this->iov_len_left_ -= max_length;
+ this->iov_ptr_ += max_length;
+ return max_length;
+ }
+ }
+}
+
+// Limit the number of fragments that we can divide a message
+// into.
+#define MIOP_MAX_FRAGMENTS (4)
+#define MIOP_MAX_HEADER_SIZE (272) // See MIOP Spec. Must be a multiple of 8.
+#define MIOP_HEADER_SIZE (24) // We only use 24 byte headers.
+#define MIOP_MAX_DGRAM_SIZE (ACE_MAX_DGRAM_SIZE)
+
+static const CORBA::Octet miop_magic[4] = { 0x4d, 0x49, 0x4f, 0x50 }; // 'M', 'I', 'O', 'P'
+
+ssize_t
+TAO_UIPMC_Transport::send_i (iovec *iov, int iovcnt,
+ size_t &bytes_transferred,
+ const ACE_Time_Value *)
+{
+ const ACE_INET_Addr &addr = this->connection_handler_->addr ();
+ size_t temp = 0;
+ bytes_transferred = 0;
+
+ MIOP_Packet fragments[MIOP_MAX_FRAGMENTS];
+ MIOP_Packet *current_fragment;
+ int num_fragments = 1;
+
+ ACE_Message_Block_Data_Iterator mb_iter (iov, iovcnt);
+
+ // Initialize the first fragment
+ current_fragment = &fragments[0];
+ current_fragment->iovcnt = 1; // The MIOP Header
+ current_fragment->length = MIOP_HEADER_SIZE;
+
+ // Go through all of the message blocks.
+ while (mb_iter.next_block (MIOP_MAX_DGRAM_SIZE - current_fragment->length,
+ current_fragment->iov[current_fragment->iovcnt].iov_base,
+ current_fragment->iov[current_fragment->iovcnt].iov_len))
+ {
+ // Increment the length and iovcnt.
+ current_fragment->length += current_fragment->iov[current_fragment->iovcnt].iov_len;
+ current_fragment->iovcnt++;
+
+ // Check if we've filled up this fragment or if we've run out of
+ // iov entries.
+ if (current_fragment->length == MIOP_MAX_DGRAM_SIZE ||
+ current_fragment->iovcnt == IOV_MAX)
+ {
+ // Make a new fragment.
+ num_fragments++;
+
+ // Check if too many fragments
+ if (num_fragments > MIOP_MAX_FRAGMENTS)
+ {
+ // This is an error as we do not send more.
+ // Silently drop the message but log an error.
+
+ // Pluggable_Messaging::transport_message only
+ // cares if it gets -1 or 0 so we can return a
+ // partial length and it will think all has gone
+ // well.
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("\n\nTAO (%P|%t) ")
+ ACE_TEXT ("UIPMC_Transport::send_i ")
+ ACE_TEXT ("Message needs too many fragments (max is %d)\n"),
+ MIOP_MAX_FRAGMENTS));
+ }
+
+ return 1; // Pretend it is o.k.
+ }
+
+ // Otherwise, initialize another fragment.
+ current_fragment++;
+ current_fragment->iovcnt = 1; // The MIOP Header
+ current_fragment->length = MIOP_HEADER_SIZE;
+ }
+ }
+
+ // Build a generic MIOP Header.
+
+ // Allocate space on the stack for the header (add 8 to account for
+ // the possibility of adjusting for alignment).
+ char header_buffer[MIOP_HEADER_SIZE + 8];
+ TAO_OutputCDR miop_hdr (header_buffer, MIOP_HEADER_SIZE + 8);
+
+ miop_hdr.write_octet_array (miop_magic, 4); // Magic
+ miop_hdr.write_octet (0x10); // Version
+ CORBA::Octet *flags_field = ACE_reinterpret_cast (CORBA::Octet *,
+ miop_hdr.current ()->wr_ptr ());
+ miop_hdr.write_octet (TAO_ENCAP_BYTE_ORDER); // Flags
+
+ // Packet Length (optional). Set to 0, since we don't
+ // need it, and it seems like it could only create confusion.
+ miop_hdr.write_short (0);
+
+ // Packet number
+ CORBA::ULong *packet_number = ACE_reinterpret_cast (CORBA::ULong *,
+ miop_hdr.current ()->wr_ptr ());
+ miop_hdr.write_ulong (0);
+
+ // Number of packets field
+ miop_hdr.write_ulong (num_fragments);
+
+ // UniqueId - fix this
+ CORBA::Octet unique_id[4] = { 1, 2, 3, 4};
+ miop_hdr.write_ulong (4);
+ miop_hdr.write_octet_array (unique_id, 4);
+
+ // Send the buffers.
+ current_fragment = &fragments[0];
+ while (num_fragments > 0 &&
+ current_fragment->iovcnt > 1)
+ {
+ ssize_t rc;
+
+ // If this is the last fragment, set the stop message flag.
+ if (num_fragments == 1)
+ *flags_field |= 0x02;
+
+ // Setup the MIOP header in the iov list.
+ current_fragment->iov[0].iov_base = miop_hdr.current ()->rd_ptr ();
+ current_fragment->iov[0].iov_len = MIOP_HEADER_SIZE;
+
+ // Send the fragment. - Need to check for errors!!
+ rc = this->connection_handler_->dgram ().send (current_fragment->iov,
+ current_fragment->iovcnt,
+ addr);
+
+ if (rc <= 0)
+ {
+ if (TAO_debug_level > 0)
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("\n\nTAO (%P|%t) ")
+ ACE_TEXT ("UIPMC_Transport::send")
+ ACE_TEXT (" %p\n\n"),
+ ACE_TEXT ("Error returned from transport:")));
+ }
+ return 1; // Fake a good return.
+ }
+
+ // Increment the number of bytes transferred, but don't
+ // count the MIOP header that we added.
+ bytes_transferred += rc - MIOP_HEADER_SIZE;
+
+ ACE_DEBUG ((LM_DEBUG,
+ "TAO_UIPMC_Transport::send_i: sent %d bytes to %s:%d\n",
+ rc,
+ addr.get_host_addr (),
+ addr.get_port_number ()));
+
+ // Go to the next fragment.
+ *packet_number++;
+ ++current_fragment;
+ --num_fragments;
+ }
+
+ // Return total bytes transferred.
+ return bytes_transferred;
+}
+
+
+ssize_t
+TAO_UIPMC_Transport::recv_i (char *buf,
+ size_t len,
+ const ACE_Time_Value * /*max_wait_time*/)
+{
+ ACE_INET_Addr from_addr;
+
+ ssize_t n = this->connection_handler_->mcast_dgram ().recv (buf,
+ len,
+ from_addr);
+
+ ACE_DEBUG ((LM_DEBUG,
+ "TAO_UIPMC_Transport::recv_i: received %d bytes from %s:%d\n",
+ n,
+ from_addr.get_host_addr (),
+ from_addr.get_port_number ()));
+
+ // Make sure that we at least have a MIOP header.
+ if (n < MIOP_HEADER_SIZE)
+ return 0;
+
+ // Check for MIOP magic bytes.
+ if (buf[0] != miop_magic [0] ||
+ buf[1] != miop_magic [1] ||
+ buf[2] != miop_magic [2] ||
+ buf[3] != miop_magic [3])
+ return 0;
+
+ // Trim off the header for now.
+ n -= MIOP_HEADER_SIZE;
+ ACE_OS::memcpy (buf, buf + MIOP_HEADER_SIZE, n);
+
+ return n;
+}
+
+
+int
+TAO_UIPMC_Transport::read_process_message (ACE_Time_Value *max_wait_time,
+ int block)
+{
+ // Read the message of the socket
+ int result = this->messaging_object_->read_message (this,
+ block,
+ max_wait_time);
+
+ if (result == -1)
+ {
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO (%P|%t) - %p\n"),
+ ACE_TEXT ("UIPMC_Transport::read_message, failure in read_message ()")));
+
+ this->tms_->connection_closed ();
+ return -1;
+ }
+ if (result == 0)
+ return result;
+
+ // Now we know that we have been able to read the complete message
+ // here.. We loop here to see whether we have read more than one
+ // message in our read.
+ do
+ {
+ result = this->process_message ();
+ }
+ while (result > 1);
+
+ return result;
+}
+
+
+int
+TAO_UIPMC_Transport::register_handler_i (void)
+{
+ // We never register register the handler with the reactor
+ // as we never need to be informed about any incoming data,
+ // assuming we only use one-ways.
+ // If we would register and ICMP Messages would arrive, e.g
+ // due to a not reachable server, we would get informed - as this
+ // disturbs the general MIOP assumptions of not being
+ // interested in any network failures, we ignore ICMP messages.
+ return 0;
+}
+
+
+int
+TAO_UIPMC_Transport::send_request (TAO_Stub *stub,
+ TAO_ORB_Core *orb_core,
+ TAO_OutputCDR &stream,
+ int two_way,
+ ACE_Time_Value *max_wait_time)
+{
+ if (this->ws_->sending_request (orb_core,
+ two_way) == -1)
+ return -1;
+
+ if (this->send_message (stream,
+ stub,
+ two_way,
+ max_wait_time) == -1)
+
+ return -1;
+
+ return this->idle_after_send ();
+}
+
+int
+TAO_UIPMC_Transport::send_message (TAO_OutputCDR &stream,
+ TAO_Stub *stub,
+ int twoway,
+ ACE_Time_Value *max_wait_time)
+{
+ // Format the message in the stream first
+ if (this->messaging_object_->format_message (stream) != 0)
+ return -1;
+
+ // Strictly speaking, should not need to loop here because the
+ // socket never gets set to a nonblocking mode ... some Linux
+ // versions seem to need it though. Leaving it costs little.
+
+ // This guarantees to send all data (bytes) or return an error.
+ ssize_t n = this->send_message_i (stub,
+ twoway,
+ stream.begin (),
+ max_wait_time);
+
+ if (n == -1)
+ {
+ if (TAO_debug_level)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO: (%P|%t|%N|%l) closing transport %d after fault %p\n"),
+ this->id (),
+ ACE_TEXT ("send_message ()\n")));
+
+ return -1;
+ }
+
+ return 1;
+}
+
+
+
+int
+TAO_UIPMC_Transport::messaging_init (CORBA::Octet major,
+ CORBA::Octet minor)
+{
+ this->messaging_object_->init (major,
+ minor);
+ return 1;
+}
+
+int
+TAO_UIPMC_Transport::process_message (void)
+{
+ // Get the <message_type> that we have received
+ TAO_Pluggable_Message_Type t =
+ this->messaging_object_->message_type ();
+
+
+ int result = 0;
+ if (t == TAO_PLUGGABLE_MESSAGE_REQUEST)
+ {
+ if (this->messaging_object_->process_request_message (this,
+ this->orb_core ()) == -1)
+ return -1;
+ }
+ else
+ {
+ if (TAO_debug_level)
+ ACE_DEBUG ((LM_DEBUG,
+ ACE_TEXT ("TAO: (%P|%t|%N|%l) Unexpected message received %d\n"),
+ t,
+ ACE_TEXT ("send_message ()\n")));
+
+ return -1;
+ }
+
+ return this->messaging_object_->more_messages ();
+}
+
+void
+TAO_UIPMC_Transport::transition_handler_state_i (void)
+{
+ this->connection_handler_ = 0;
+}
diff --git a/TAO/tao/PortableGroup/UIPMC_Transport.h b/TAO/tao/PortableGroup/UIPMC_Transport.h
new file mode 100644
index 00000000000..6e060b5aaf9
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Transport.h
@@ -0,0 +1,139 @@
+// This may look like C, but it's really -*- C++ -*-
+// -*- C++ -*-
+// ===================================================================
+/**
+ * @file UIPMC_Transport.h
+ *
+ * $Id$
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+// ===================================================================
+
+#ifndef TAO_UIPMC_TRANSPORT_H
+#define TAO_UIPMC_TRANSPORT_H
+#include "ace/pre.h"
+
+#include "tao/Transport.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+
+#include "ace/SOCK_Stream.h"
+#include "ace/Synch.h"
+#include "ace/Svc_Handler.h"
+#include "portablegroup_export.h"
+
+// Forward decls.
+class TAO_UIPMC_Connection_Handler;
+class TAO_ORB_Core;
+class TAO_Operation_Details;
+class TAO_Pluggable_Messaging;
+class TAO_Acceptor;
+
+// Service Handler for this transport
+typedef ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>
+ TAO_UIPMC_SVC_HANDLER;
+
+/**
+ * @class TAO_UIPMC_Transport
+ *
+ * @brief Specialization of the base TAO_Transport class to handle the
+ * MIOP protocol.
+ */
+class TAO_PortableGroup_Export TAO_UIPMC_Transport : public TAO_Transport
+{
+public:
+
+ /// Constructor.
+ TAO_UIPMC_Transport (TAO_UIPMC_Connection_Handler *handler,
+ TAO_ORB_Core *orb_core,
+ CORBA::Boolean flag);
+
+ /// Default destructor.
+ ~TAO_UIPMC_Transport (void);
+
+protected:
+ /** @name Overridden Template Methods
+ *
+ * These are implementations of template methods declared by TAO_Transport.
+ */
+ //@{
+
+ virtual ACE_Event_Handler *event_handler_i (void);
+
+ virtual TAO_Pluggable_Messaging *messaging_object (void);
+
+ /// Write the complete Message_Block chain to the connection.
+ virtual ssize_t send_i (iovec *iov, int iovcnt,
+ size_t &bytes_transferred,
+ const ACE_Time_Value *timeout = 0);
+
+
+ /// Read len bytes from into buf.
+ virtual ssize_t recv_i (char *buf,
+ size_t len,
+ const ACE_Time_Value *s = 0);
+
+ /// Read and process the message from the connection. The processing
+ /// of the message is done by delegating the work to the underlying
+ /// messaging object
+ virtual int read_process_message (ACE_Time_Value *max_time_value = 0,
+ int block =0);
+
+ virtual int register_handler_i (void);
+
+ /// Method to do whatever it needs to do when the connection
+ /// handler is being closed and destroyed.
+ virtual void transition_handler_state_i (void);
+
+public:
+ /// @@TODO: These methods IMHO should have more meaningful
+ /// names. The names seem to indicate nothing.
+ virtual int send_request (TAO_Stub *stub,
+ TAO_ORB_Core *orb_core,
+ TAO_OutputCDR &stream,
+ int twoway,
+ ACE_Time_Value *max_wait_time);
+
+ virtual int send_message (TAO_OutputCDR &stream,
+ TAO_Stub *stub = 0,
+ int twoway = 1,
+ ACE_Time_Value *max_time_wait = 0);
+
+ /// Initialising the messaging object
+ virtual int messaging_init (CORBA::Octet major,
+ CORBA::Octet minor);
+
+ //@}
+
+private:
+ /// Process the message that we have read
+ int process_message (void);
+
+ // @@ Frank : Not needed
+ /*
+ /// Add the listen points in <acceptor> to the <listen_point_list>
+ /// if this connection is in the same interface as that of the
+ /// endpoints in the <acceptor>
+ int get_listen_point (DIOP::ListenPointList &listen_point_list,
+ TAO_Acceptor *acceptor);
+ */
+private:
+
+ /// The connection service handler used for accessing lower layer
+ /// communication protocols.
+ TAO_UIPMC_Connection_Handler *connection_handler_;
+
+ /// Our messaging object.
+ TAO_Pluggable_Messaging *messaging_object_;
+};
+
+#if defined (__ACE_INLINE__)
+#include "UIPMC_Transport.i"
+#endif /* __ACE_INLINE__ */
+
+#include "ace/post.h"
+#endif /* TAO_UIPMC_TRANSPORT_H */
diff --git a/TAO/tao/PortableGroup/UIPMC_Transport.i b/TAO/tao/PortableGroup/UIPMC_Transport.i
new file mode 100644
index 00000000000..81bf354f364
--- /dev/null
+++ b/TAO/tao/PortableGroup/UIPMC_Transport.i
@@ -0,0 +1,2 @@
+// -*- C++ -*-
+//$Id$
diff --git a/TAO/tao/PortableGroup/mgm.pidl b/TAO/tao/PortableGroup/mgm.pidl
new file mode 100644
index 00000000000..3f727965e46
--- /dev/null
+++ b/TAO/tao/PortableGroup/mgm.pidl
@@ -0,0 +1,74 @@
+//
+// $Id$
+//
+// ================================================================
+//
+// = LIBRARY
+// TAO_PortableGroup
+//
+// = FILENAME
+// mgm.pidl
+//
+// = DESCRIPTION
+//
+// This file was used to generate the code in mgmC.{h,i,cpp}
+//
+// The command used to generate code from this file is:
+//
+// tao_idl.exe \
+// -Ge 1 \
+// -Wb,export_macro=TAO_PortableGroup_Export \
+// -Wb,export_include="tao/corbafwd.h" \
+// -Wb,pre_include="ace/pre.h" \
+// -Wb,post_include="ace/post.h" \
+// -I../../orbsvcs/orbsvcs \
+// mgm.pidl
+//
+// After the file is generated a patch from the diffs directory must
+// be applied. The patch:
+//
+// - Disables parts of the code under certain configurations.
+//
+// - Eliminates cycles in the include dependencies.
+//
+// - Adds non-idl components of PortableGroup to the namespace.
+// This includes (a) Servant (b) ServantBase (c) RefCountServantBase
+// (d) Cookie (e) ObjectId_to_string (f) string_to_ObjectId (g)
+// ObjectId_to_wstring (h) wstring_to_ObjectId (i) ServantBase_var
+// (j) DynamicImplementation (k) LocalServantBase
+//
+// Apply patches using the following commands:
+//
+// patch < diffs\mgmC.h.diff
+// patch < diffs\mgmC.i.diff
+// patch < diffs\mgmC.cpp.diff
+//
+// Note: The diffs were generated with these commands:
+//
+// diff -wub mgmC.h mgmC.h.mod > diffs\mgmC.h.diff
+// diff -wub mgmC.i mgmC.i.mod > diffs\mgmC.i.diff
+// diff -wub mgmC.cpp mgmC.cpp.mod > diffs\mgmC.cpp.diff
+//
+// ================================================================
+
+
+#ifdef _MGM_idl
+#define _MGM_idl
+
+#include "PortableGroup.idl"
+
+module MGM {
+ // Property values
+ typedef long GroupCreationMode
+
+ const GroupCreationMode CREATE_ADDRESS_DEFERED = 0;
+ const GroupCreationMode CREATE_ADDRESS_GENERATED = 1;
+ const GroupCreationMode CREATE_ADDRESS_SUPPLIED = 2;
+
+ interface ObjectGroupFactory :
+ PortableGroup::GenericFactory,
+ PortableGroup::PropertyManager,
+ PortableGroup::ObjectGroupManager {}
+};
+
+#endif // _MGM_idl
diff --git a/TAO/tao/PortableGroup/miop.cpp b/TAO/tao/PortableGroup/miop.cpp
new file mode 100644
index 00000000000..79e90f2f868
--- /dev/null
+++ b/TAO/tao/PortableGroup/miop.cpp
@@ -0,0 +1,149 @@
+// -*- C++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// miop.cpp
+//
+// = DESCRIPTION
+//
+// = AUTHOR
+// Frank Hunleth <fhunleth@cs.wustl.edu>
+//
+// ============================================================================
+
+#include "miop.h"
+
+#include "UIPMC_Profile.h"
+#include "tao/mprofile.h"
+#include "tao/stub.h"
+
+ACE_RCSID(tao, PortableGroup, "$Id$")
+
+TAO_MOGF_impl::TAO_MOGF_impl (TAO_ORB_Core *orb_core,
+ const char *domain_id) :
+ orb_core_ (orb_core),
+ domain_id_ (domain_id),
+ group_id_ (1)
+{
+}
+
+TAO_MOGF_impl::~TAO_MOGF_impl (void)
+{
+}
+
+PortableGroup::ObjectGroupId
+TAO_MOGF_impl::next_group_id (void)
+{
+ // Don't worry about reusing an active group from wrapping,
+ // since group_id_ is 64 bits.
+ return this->group_id_++;
+}
+
+CORBA::Object_ptr
+TAO_MOGF_impl::create_group (
+ const char * type_id,
+ const MIOP::MulticastObjectGroupFactory::ipaddr class_d_address,
+ CORBA::UShort port,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Stub *stub = 0;
+
+ // Create a profile container and then put in the UIPMC profile.
+ TAO_MProfile mp (1);
+
+ TAO_UIPMC_Profile *uipmc_profile;
+
+ ACE_NEW_THROW_EX (uipmc_profile,
+ TAO_UIPMC_Profile(class_d_address,
+ port,
+ this->orb_core_),
+ CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
+ CORBA::COMPLETED_MAYBE));
+ ACE_CHECK_RETURN (CORBA::Object::_nil ());
+
+ // Add the group component to the UIPMC profile.
+ if (uipmc_profile->add_group_component (this->domain_id_.c_str (),
+ this->next_group_id (),
+ 0) != 0)
+ {
+ delete uipmc_profile;
+ ACE_THROW_RETURN (CORBA::INTERNAL (),
+ CORBA::Object::_nil ());
+ }
+
+
+ // Relinquish ownership of the UIPMC profile to mp.
+ mp.give_profile (uipmc_profile);
+
+
+ // Add the Polices contained in "policy_list" to each profile
+ // so that those policies will be exposed to the client in the IOR.
+ // In particular each CORBA::Policy has to be converted in to
+ // Messaging::PolicyValue, and then all the Messaging::PolicyValue
+ // should be embedded inside a Messaging::PolicyValueSeq which became
+ // in turns the "body" of the IOP::TaggedComponent. This conversion
+ // is a responsability of the CORBA::Profile class.
+ // (See orbos\98-05-05.pdf Section 5.4)
+
+/* @@ Frank: Not sure what to do with this part yet...
+ if (policy_list->length () != 0)
+ {
+ TAO_Profile * profile;
+
+ for (CORBA::ULong i = 0; i < mp.profile_count (); ++i)
+ {
+ // Get the ith profile
+ profile = mp.get_profile (i);
+ profile->policies (policy_list, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ }
+ }
+
+ // Iterate over the registered IOR interceptors so that they may be
+ // given the opportunity to add tagged components to the profiles
+ // for this servant.
+ this->establish_components (mp, policy_list, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+*/
+
+ // Done creating profiles. Initialize a TAO_Stub object with them.
+ ACE_NEW_THROW_EX (stub,
+ TAO_Stub (type_id, mp, this->orb_core_),
+ CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
+ CORBA::COMPLETED_MAYBE));
+ ACE_CHECK_RETURN (CORBA::Object::_nil ());
+
+/* @@ Frank: Not sure about this: stub->base_profiles ().policy_list (policy_list); */
+
+ TAO_Stub_Auto_Ptr safe_data (stub);
+
+ CORBA::Object_ptr tmp;
+
+ ACE_NEW_THROW_EX (tmp,
+ CORBA_Object (safe_data.get (),
+ 0),
+ CORBA::INTERNAL ());
+ ACE_CHECK_RETURN (CORBA::Object::_nil ());
+
+ safe_data.get ()->servant_orb (this->orb_core_->orb ());
+
+ // Transfer ownership to the Object.
+ (void) safe_data.release ();
+
+ return tmp;
+}
+
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/tao/PortableGroup/miop.h b/TAO/tao/PortableGroup/miop.h
new file mode 100644
index 00000000000..a1a98d98ea7
--- /dev/null
+++ b/TAO/tao/PortableGroup/miop.h
@@ -0,0 +1,91 @@
+// -*- C++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// miop.h
+//
+// = DESCRIPTION
+// This class implements MIOP proprietary interface to the ORB
+//
+// = AUTHOR
+// Fred Kuhns <fredk@cs.wustl.edu>
+//
+// ============================================================================
+
+#ifndef TAO_MIOP_H
+#define TAO_MIOP_H
+#include "ace/pre.h"
+
+#include "PortableGroup_Loader.h"
+#include "tao/LocalObject.h"
+#include "ace/SString.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "miopC.h"
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+class TAO_PortableGroup_Export TAO_MOGF_impl
+ : public MIOP::MulticastObjectGroupFactory,
+ public TAO_Local_RefCounted_Object
+{
+ // = TITLE
+ // Multicast Object Group Factory class
+ //
+ // = DESCRIPTION
+ //
+ //
+public:
+
+ // constructor
+ TAO_MOGF_impl (TAO_ORB_Core *orb_core,
+ const char *domain_id);
+
+ // destructor
+ ~TAO_MOGF_impl (void);
+
+ CORBA::Object_ptr create_group (
+ const char * type_id,
+ const MIOP::MulticastObjectGroupFactory::ipaddr class_d_address,
+ CORBA::UShort port,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+protected:
+ // Create and return a new group ID.
+ PortableGroup::ObjectGroupId next_group_id (void);
+
+
+protected:
+ TAO_ORB_Core *orb_core_;
+
+ // Domain ID used for all Group ID's created by this class.
+ ACE_CString domain_id_;
+
+ // The current Group ID.
+ PortableGroup::ObjectGroupId group_id_;
+};
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include "ace/post.h"
+#endif /* TAO_IOR_MANIPULATION_H */
diff --git a/TAO/tao/PortableGroup/miop.pidl b/TAO/tao/PortableGroup/miop.pidl
new file mode 100644
index 00000000000..862005a2a53
--- /dev/null
+++ b/TAO/tao/PortableGroup/miop.pidl
@@ -0,0 +1,119 @@
+//
+// $Id$
+//
+// ================================================================
+//
+// = LIBRARY
+// TAO_PortableGroup
+//
+// = FILENAME
+// miop.pidl
+//
+// = DESCRIPTION
+//
+// This file was used to generate the code in miopC.{h,i,cpp}
+//
+// The command used to generate code from this file is:
+//
+// tao_idl.exe \
+// -o orig \
+// -Ge 1 \
+// -Wb,export_macro=TAO_PortableGroup_Export \
+// -Wb,export_include="tao/corbafwd.h" \
+// -Wb,pre_include="ace/pre.h" \
+// -Wb,post_include="ace/post.h" \
+// miop.pidl
+//
+// After the file is generated a patch from the diffs directory must
+// be applied. The patch:
+//
+//
+// Apply patches using the following commands:
+//
+// patch < diffs\miopC.h.diff
+// patch < diffs\miopC.i.diff
+// patch < diffs\miopC.cpp.diff
+//
+// Note: The diffs were generated with these commands:
+//
+// diff -wub orig/miopC.h miopC.h > diffs\miopC.h.diff
+// diff -wub orig/miopC.i miopC.i > diffs\miopC.i.diff
+// diff -wub orig/miopC.cpp miopC.cpp > diffs\miopC.cpp.diff
+//
+// ================================================================
+
+#ifndef MIOP_IDL
+#define MIOP_IDL
+
+#include <IOP.pidl>
+
+#pragma prefix "omg.org"
+
+module MIOP
+{
+ typedef sequence <octet, 252> UniqueId;
+
+ struct PacketHeader_1_0
+ {
+ char magic[4];
+ octet hdr_version;
+ octet flags;
+ unsigned short packet_length;
+ unsigned long packet_number;
+ unsigned long number_of_packets;
+ UniqueId Id;
+ };
+
+ struct Version
+ {
+ octet major;
+ octet minor;
+ };
+
+ typedef short IPVersion;
+
+ const IPVersion IPv4 = 0;
+ const IPVersion IPv6 = 1;
+
+ struct UsingIpv4
+ {
+ unsigned short port;
+ octet class_d_address[4]; // @@ Frank: changed to octet to avoid lots of casting
+ };
+
+ struct UsingIpv6
+ {
+ unsigned long port;
+ string address;
+ };
+
+ union IPEndpoints switch (IPVersion)
+ {
+ case IPv4:
+ UsingIpv4 ipv4_endpoints;
+ case IPv6:
+ UsingIpv6 ipv6_endpoints;
+ };
+
+ struct UIPMC_ProfileBody
+ {
+ Version miop_version;
+ IPEndpoints endpoints;
+ sequence<IOP::TaggedComponent> components;
+ };
+
+ // TAO-specific
+
+ local interface MulticastObjectGroupFactory {
+
+ typedef octet ipaddr[4];
+ Object create_group (in CORBA::RepositoryId type_id,
+ in ipaddr class_d_address,
+ in unsigned short port);
+
+ };
+
+ // End TAO-specific
+};
+
+#endif
diff --git a/TAO/tao/PortableGroup/miopC.cpp b/TAO/tao/PortableGroup/miopC.cpp
new file mode 100644
index 00000000000..5822ae1b41a
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopC.cpp
@@ -0,0 +1,2124 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#include "miopC.h"
+
+#include "tao/Stub.h"
+#include "tao/Invocation.h"
+#include "tao/ClientRequestInfo.h"
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "miopC.i"
+#endif /* !defined INLINE */
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_BOUNDED_SEQUENCE_MIOP_UNIQUEID_252_CS_)
+#define __TAO_BOUNDED_SEQUENCE_MIOP_UNIQUEID_252_CS_
+
+ void
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::_allocate_buffer (CORBA::ULong /* length */)
+ // allocate a buffer of the requested length. The buffer is allocated for the
+ // right type
+ {
+ this->buffer_ = _TAO_Bounded_Sequence_MIOP_UniqueId_252::allocbuf (252U);
+ }
+
+ void
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::_deallocate_buffer (void)
+ // deallocate the buffer
+ {
+ if (this->buffer_ == 0 || this->release_ == 0)
+ return;
+ CORBA::Octet *tmp = ACE_reinterpret_cast (CORBA::Octet *, this->buffer_);
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252::freebuf (tmp);
+ this->buffer_ = 0;
+ }
+
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::~_TAO_Bounded_Sequence_MIOP_UniqueId_252 (void) // Dtor.
+ {
+ this->_deallocate_buffer ();
+ }
+
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_MIOP_UNIQUEID_CS_)
+#define _MIOP_UNIQUEID_CS_
+
+// *************************************************************
+// MIOP::UniqueId
+// *************************************************************
+
+MIOP::UniqueId::UniqueId (void)
+{}
+MIOP::UniqueId::UniqueId (CORBA::ULong length, CORBA::Octet *buffer, CORBA::Boolean release)
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Bounded_Sequence<CORBA::Octet, 252U>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (length, buffer, release)
+{}
+MIOP::UniqueId::UniqueId (const UniqueId &seq) // copy ctor
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Bounded_Sequence<CORBA::Octet, 252U>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (seq)
+{}
+MIOP::UniqueId::~UniqueId (void) // dtor
+{}
+void MIOP::UniqueId::_tao_any_destructor (void *x)
+{
+ UniqueId *tmp = ACE_static_cast (UniqueId*,x);
+ delete tmp;
+}
+
+
+#endif /* end #if !defined */
+
+static const CORBA::Long _oc_MIOP_UniqueId[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f556e69),
+ ACE_NTOHL (0x71756549),
+ ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/MIOP/UniqueId:1.0
+ 9,
+ ACE_NTOHL (0x556e6971),
+ ACE_NTOHL (0x75654964),
+ ACE_NTOHL (0x0), // name = UniqueId
+ CORBA::tk_sequence, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 252U,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_UniqueId (
+ CORBA::tk_alias,
+ sizeof (_oc_MIOP_UniqueId),
+ (char *) &_oc_MIOP_UniqueId,
+ 0,
+ sizeof (MIOP::UniqueId)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UniqueId, &_tc_TAO_tc_MIOP_UniqueId)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_MIOP_PacketHeader_1_0[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 38,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f506163),
+ ACE_NTOHL (0x6b657448),
+ ACE_NTOHL (0x65616465),
+ ACE_NTOHL (0x725f315f),
+ ACE_NTOHL (0x303a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/MIOP/PacketHeader_1_0:1.0
+ 17,
+ ACE_NTOHL (0x5061636b),
+ ACE_NTOHL (0x65744865),
+ ACE_NTOHL (0x61646572),
+ ACE_NTOHL (0x5f315f30),
+ ACE_NTOHL (0x0), // name = PacketHeader_1_0
+ 7, // member count
+ 6,
+ ACE_NTOHL (0x6d616769),
+ ACE_NTOHL (0x63000000), // name = magic
+ CORBA::tk_array, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_char,
+
+ 4U,
+
+ 12,
+ ACE_NTOHL (0x6864725f),
+ ACE_NTOHL (0x76657273),
+ ACE_NTOHL (0x696f6e00), // name = hdr_version
+ CORBA::tk_octet,
+
+ 6,
+ ACE_NTOHL (0x666c6167),
+ ACE_NTOHL (0x73000000), // name = flags
+ CORBA::tk_octet,
+
+ 14,
+ ACE_NTOHL (0x7061636b),
+ ACE_NTOHL (0x65745f6c),
+ ACE_NTOHL (0x656e6774),
+ ACE_NTOHL (0x68000000), // name = packet_length
+ CORBA::tk_ushort,
+
+ 14,
+ ACE_NTOHL (0x7061636b),
+ ACE_NTOHL (0x65745f6e),
+ ACE_NTOHL (0x756d6265),
+ ACE_NTOHL (0x72000000), // name = packet_number
+ CORBA::tk_ulong,
+
+ 18,
+ ACE_NTOHL (0x6e756d62),
+ ACE_NTOHL (0x65725f6f),
+ ACE_NTOHL (0x665f7061),
+ ACE_NTOHL (0x636b6574),
+ ACE_NTOHL (0x73000000), // name = number_of_packets
+ CORBA::tk_ulong,
+
+ 3,
+ ACE_NTOHL (0x49640000), // name = Id
+ CORBA::tk_alias, // typecode kind for typedefs
+ 76, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 30,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f556e69),
+ ACE_NTOHL (0x71756549),
+ ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/MIOP/UniqueId:1.0
+ 9,
+ ACE_NTOHL (0x556e6971),
+ ACE_NTOHL (0x75654964),
+ ACE_NTOHL (0x0), // name = UniqueId
+ CORBA::tk_sequence, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 252U,
+
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_PacketHeader_1_0 (
+ CORBA::tk_struct,
+ sizeof (_oc_MIOP_PacketHeader_1_0),
+ (char *) &_oc_MIOP_PacketHeader_1_0,
+ 0,
+ sizeof (MIOP::PacketHeader_1_0)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_PacketHeader_1_0, &_tc_TAO_tc_MIOP_PacketHeader_1_0)
+TAO_NAMESPACE_END
+
+void MIOP::PacketHeader_1_0::_tao_any_destructor (void *x)
+{
+ PacketHeader_1_0 *tmp = ACE_static_cast (PacketHeader_1_0*,x);
+ delete tmp;
+}
+
+void MIOP::PacketHeader_1_0::_magic_forany::_tao_any_destructor (void *x)
+{
+ _magic_slice *tmp = ACE_static_cast (_magic_slice*,x);
+ _magic_free (tmp);
+}
+
+MIOP::PacketHeader_1_0::_magic_slice *
+MIOP::PacketHeader_1_0::_magic_dup (const MIOP::PacketHeader_1_0::_magic_slice *_tao_src_array)
+{
+ MIOP::PacketHeader_1_0::_magic_slice *_tao_dup_array = MIOP::PacketHeader_1_0::_magic_alloc ();
+ if (!_tao_dup_array) return (MIOP::PacketHeader_1_0::_magic_slice *)0;
+ MIOP::PacketHeader_1_0::_magic_copy (_tao_dup_array, _tao_src_array);
+ return _tao_dup_array;
+}
+
+MIOP::PacketHeader_1_0::_magic_slice *
+MIOP::PacketHeader_1_0::_magic_alloc (void)
+{
+ MIOP::PacketHeader_1_0::_magic_slice *retval = 0;
+ ACE_NEW_RETURN (retval, CORBA::Char[4], 0);
+ return retval;
+}
+
+void
+MIOP::PacketHeader_1_0::_magic_free (MIOP::PacketHeader_1_0::_magic_slice *_tao_slice)
+{
+ delete [] _tao_slice;
+}
+
+void
+MIOP::PacketHeader_1_0::_magic_copy (MIOP::PacketHeader_1_0::_magic_slice * _tao_to, const MIOP::PacketHeader_1_0::_magic_slice *_tao_from)
+{
+ // copy each individual element
+ for (CORBA::ULong i0 = 0; i0 < 4; i0++)
+ _tao_to[i0] = _tao_from[i0];
+}
+
+static const CORBA::Long _oc_MIOP_Version[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 29,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f566572),
+ ACE_NTOHL (0x73696f6e),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/MIOP/Version:1.0
+ 8,
+ ACE_NTOHL (0x56657273),
+ ACE_NTOHL (0x696f6e00), // name = Version
+ 2, // member count
+ 6,
+ ACE_NTOHL (0x6d616a6f),
+ ACE_NTOHL (0x72000000), // name = major
+ CORBA::tk_octet,
+
+ 6,
+ ACE_NTOHL (0x6d696e6f),
+ ACE_NTOHL (0x72000000), // name = minor
+ CORBA::tk_octet,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_Version (
+ CORBA::tk_struct,
+ sizeof (_oc_MIOP_Version),
+ (char *) &_oc_MIOP_Version,
+ 0,
+ sizeof (MIOP::Version)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_Version, &_tc_TAO_tc_MIOP_Version)
+TAO_NAMESPACE_END
+
+void MIOP::Version::_tao_any_destructor (void *x)
+{
+ Version *tmp = ACE_static_cast (Version*,x);
+ delete tmp;
+}
+
+static const CORBA::Long _oc_MIOP_IPVersion[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f495056),
+ ACE_NTOHL (0x65727369),
+ ACE_NTOHL (0x6f6e3a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/IPVersion:1.0
+ 10,
+ ACE_NTOHL (0x49505665),
+ ACE_NTOHL (0x7273696f),
+ ACE_NTOHL (0x6e000000), // name = IPVersion
+ CORBA::tk_short,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_IPVersion (
+ CORBA::tk_alias,
+ sizeof (_oc_MIOP_IPVersion),
+ (char *) &_oc_MIOP_IPVersion,
+ 0,
+ sizeof (MIOP::IPVersion)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_IPVersion, &_tc_TAO_tc_MIOP_IPVersion)
+TAO_NAMESPACE_END
+
+TAO_NAMESPACE_TYPE (const CORBA::Short)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (const CORBA::Short, IPv4, 0)
+TAO_NAMESPACE_END
+TAO_NAMESPACE_TYPE (const CORBA::Short)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (const CORBA::Short, IPv6, 1)
+TAO_NAMESPACE_END
+static const CORBA::Long _oc_MIOP_UsingIpv4[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f557369),
+ ACE_NTOHL (0x6e674970),
+ ACE_NTOHL (0x76343a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/UsingIpv4:1.0
+ 10,
+ ACE_NTOHL (0x5573696e),
+ ACE_NTOHL (0x67497076),
+ ACE_NTOHL (0x34000000), // name = UsingIpv4
+ 2, // member count
+ 5,
+ ACE_NTOHL (0x706f7274),
+ ACE_NTOHL (0x0), // name = port
+ CORBA::tk_ushort,
+
+ 16,
+ ACE_NTOHL (0x636c6173),
+ ACE_NTOHL (0x735f645f),
+ ACE_NTOHL (0x61646472),
+ ACE_NTOHL (0x65737300), // name = class_d_address
+ CORBA::tk_array, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 4U,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_UsingIpv4 (
+ CORBA::tk_struct,
+ sizeof (_oc_MIOP_UsingIpv4),
+ (char *) &_oc_MIOP_UsingIpv4,
+ 0,
+ sizeof (MIOP::UsingIpv4)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UsingIpv4, &_tc_TAO_tc_MIOP_UsingIpv4)
+TAO_NAMESPACE_END
+
+void MIOP::UsingIpv4::_tao_any_destructor (void *x)
+{
+ UsingIpv4 *tmp = ACE_static_cast (UsingIpv4*,x);
+ delete tmp;
+}
+
+void MIOP::UsingIpv4::_class_d_address_forany::_tao_any_destructor (void *x)
+{
+ _class_d_address_slice *tmp = ACE_static_cast (_class_d_address_slice*,x);
+ _class_d_address_free (tmp);
+}
+
+MIOP::UsingIpv4::_class_d_address_slice *
+MIOP::UsingIpv4::_class_d_address_dup (const MIOP::UsingIpv4::_class_d_address_slice *_tao_src_array)
+{
+ MIOP::UsingIpv4::_class_d_address_slice *_tao_dup_array = MIOP::UsingIpv4::_class_d_address_alloc ();
+ if (!_tao_dup_array) return (MIOP::UsingIpv4::_class_d_address_slice *)0;
+ MIOP::UsingIpv4::_class_d_address_copy (_tao_dup_array, _tao_src_array);
+ return _tao_dup_array;
+}
+
+MIOP::UsingIpv4::_class_d_address_slice *
+MIOP::UsingIpv4::_class_d_address_alloc (void)
+{
+ MIOP::UsingIpv4::_class_d_address_slice *retval = 0;
+ ACE_NEW_RETURN (retval, CORBA::Octet[4], 0);
+ return retval;
+}
+
+void
+MIOP::UsingIpv4::_class_d_address_free (MIOP::UsingIpv4::_class_d_address_slice *_tao_slice)
+{
+ delete [] _tao_slice;
+}
+
+void
+MIOP::UsingIpv4::_class_d_address_copy (MIOP::UsingIpv4::_class_d_address_slice * _tao_to, const MIOP::UsingIpv4::_class_d_address_slice *_tao_from)
+{
+ // copy each individual element
+ for (CORBA::ULong i0 = 0; i0 < 4; i0++)
+ _tao_to[i0] = _tao_from[i0];
+}
+
+static const CORBA::Long _oc_MIOP_UsingIpv6[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f557369),
+ ACE_NTOHL (0x6e674970),
+ ACE_NTOHL (0x76363a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/UsingIpv6:1.0
+ 10,
+ ACE_NTOHL (0x5573696e),
+ ACE_NTOHL (0x67497076),
+ ACE_NTOHL (0x36000000), // name = UsingIpv6
+ 2, // member count
+ 5,
+ ACE_NTOHL (0x706f7274),
+ ACE_NTOHL (0x0), // name = port
+ CORBA::tk_ulong,
+
+ 8,
+ ACE_NTOHL (0x61646472),
+ ACE_NTOHL (0x65737300), // name = address
+ CORBA::tk_string,
+ 0U, // string length
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_UsingIpv6 (
+ CORBA::tk_struct,
+ sizeof (_oc_MIOP_UsingIpv6),
+ (char *) &_oc_MIOP_UsingIpv6,
+ 0,
+ sizeof (MIOP::UsingIpv6)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UsingIpv6, &_tc_TAO_tc_MIOP_UsingIpv6)
+TAO_NAMESPACE_END
+
+void MIOP::UsingIpv6::_tao_any_destructor (void *x)
+{
+ UsingIpv6 *tmp = ACE_static_cast (UsingIpv6*,x);
+ delete tmp;
+}
+
+// *************************************************************
+// Operations for union MIOP::IPEndpoints
+// *************************************************************
+
+// default constructor
+MIOP::IPEndpoints::IPEndpoints (void)
+{
+ ACE_OS::memset (&this->disc_, 0, sizeof (this->disc_));
+ ACE_OS::memset (&this->u_, 0, sizeof (this->u_));
+ this->disc_ = 0;
+}
+
+// copy constructor
+MIOP::IPEndpoints::IPEndpoints (const ::MIOP::IPEndpoints &u)
+{
+ this->disc_ = u.disc_;
+ switch (this->disc_)
+ {
+case 0:
+ {
+ this->u_.ipv4_endpoints_ = u.u_.ipv4_endpoints_;
+ }
+ break;
+ case 1:
+ {
+ if (u.u_.ipv6_endpoints_ == 0)
+ {
+ this->u_.ipv6_endpoints_ = 0;
+ }
+ else
+ {
+ ACE_NEW (
+ this->u_.ipv6_endpoints_,
+ MIOP::UsingIpv6 (*u.u_.ipv6_endpoints_)
+ );
+ }
+ }
+ break;
+ default:
+ break;
+ }
+}
+
+// destructor
+MIOP::IPEndpoints::~IPEndpoints (void)
+{
+ // finalize
+ this->_reset (this->disc_, 1);
+}
+
+void MIOP::IPEndpoints::_tao_any_destructor (void *x)
+{
+ IPEndpoints *tmp = ACE_static_cast (IPEndpoints*,x);
+ delete tmp;
+}
+
+// assignment operator
+MIOP::IPEndpoints &
+MIOP::IPEndpoints::operator= (const ::MIOP::IPEndpoints &u)
+{
+ if (&u == this)
+ {
+ return *this;
+ }
+
+ this->_reset (u.disc_, 0);
+ this->disc_ = u.disc_;
+
+ switch (this->disc_)
+ {
+ case 0:
+ {
+ this->u_.ipv4_endpoints_ = u.u_.ipv4_endpoints_;
+ }
+ break;
+ case 1:
+ {
+ if (u.u_.ipv6_endpoints_ == 0)
+ {
+ this->u_.ipv6_endpoints_ = 0;
+ }
+ else
+ {
+ ACE_NEW_RETURN (
+ this->u_.ipv6_endpoints_,
+ MIOP::UsingIpv6 (*u.u_.ipv6_endpoints_),
+ *this
+ );
+ }
+ }
+ break;
+ default:
+ break;
+ }
+
+ return *this;
+}
+
+// reset method to reset old values of a union
+void MIOP::IPEndpoints::_reset (CORBA::Short, CORBA::Boolean /*finalize*/)
+{
+ switch (this->disc_)
+ {
+ case 0:
+ break;
+ case 1:
+ delete this->u_.ipv6_endpoints_;
+ this->u_.ipv6_endpoints_ = 0;
+ break;
+ default:
+ break;
+ }
+}
+
+static const CORBA::Long _oc_MIOP_IPEndpoints[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 33,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f495045),
+ ACE_NTOHL (0x6e64706f),
+ ACE_NTOHL (0x696e7473),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/MIOP/IPEndpoints:1.0
+ 12,
+ ACE_NTOHL (0x4950456e),
+ ACE_NTOHL (0x64706f69),
+ ACE_NTOHL (0x6e747300), // name = IPEndpoints
+ CORBA::tk_short,
+
+ -1, // default used index
+ 2, // member count
+ ACE_IDL_NSTOHL (0x0000), // union case label (evaluated value)
+ 15,
+ ACE_NTOHL (0x69707634),
+ ACE_NTOHL (0x5f656e64),
+ ACE_NTOHL (0x706f696e),
+ ACE_NTOHL (0x74730000), // name = ipv4_endpoints
+ CORBA::tk_struct, // typecode kind
+ 116, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f557369),
+ ACE_NTOHL (0x6e674970),
+ ACE_NTOHL (0x76343a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/UsingIpv4:1.0
+ 10,
+ ACE_NTOHL (0x5573696e),
+ ACE_NTOHL (0x67497076),
+ ACE_NTOHL (0x34000000), // name = UsingIpv4
+ 2, // member count
+ 5,
+ ACE_NTOHL (0x706f7274),
+ ACE_NTOHL (0x0), // name = port
+ CORBA::tk_ushort,
+
+ 16,
+ ACE_NTOHL (0x636c6173),
+ ACE_NTOHL (0x735f645f),
+ ACE_NTOHL (0x61646472),
+ ACE_NTOHL (0x65737300), // name = class_d_address
+ CORBA::tk_array, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 4U,
+
+
+ ACE_IDL_NSTOHL (0x0001), // union case label (evaluated value)
+ 15,
+ ACE_NTOHL (0x69707636),
+ ACE_NTOHL (0x5f656e64),
+ ACE_NTOHL (0x706f696e),
+ ACE_NTOHL (0x74730000), // name = ipv6_endpoints
+ CORBA::tk_struct, // typecode kind
+ 96, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f557369),
+ ACE_NTOHL (0x6e674970),
+ ACE_NTOHL (0x76363a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/UsingIpv6:1.0
+ 10,
+ ACE_NTOHL (0x5573696e),
+ ACE_NTOHL (0x67497076),
+ ACE_NTOHL (0x36000000), // name = UsingIpv6
+ 2, // member count
+ 5,
+ ACE_NTOHL (0x706f7274),
+ ACE_NTOHL (0x0), // name = port
+ CORBA::tk_ulong,
+
+ 8,
+ ACE_NTOHL (0x61646472),
+ ACE_NTOHL (0x65737300), // name = address
+ CORBA::tk_string,
+ 0U, // string length
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_IPEndpoints (
+ CORBA::tk_union,
+ sizeof (_oc_MIOP_IPEndpoints),
+ (char *) &_oc_MIOP_IPEndpoints,
+ 0,
+ sizeof (MIOP::IPEndpoints)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_IPEndpoints, &_tc_TAO_tc_MIOP_IPEndpoints)
+TAO_NAMESPACE_END
+
+static const CORBA::Long _oc_MIOP_UIPMC_ProfileBody[] =
+{
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 39,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f554950),
+ ACE_NTOHL (0x4d435f50),
+ ACE_NTOHL (0x726f6669),
+ ACE_NTOHL (0x6c65426f),
+ ACE_NTOHL (0x64793a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/UIPMC_ProfileBody:1.0
+ 18,
+ ACE_NTOHL (0x5549504d),
+ ACE_NTOHL (0x435f5072),
+ ACE_NTOHL (0x6f66696c),
+ ACE_NTOHL (0x65426f64),
+ ACE_NTOHL (0x79000000), // name = UIPMC_ProfileBody
+ 3, // member count
+ 13,
+ ACE_NTOHL (0x6d696f70),
+ ACE_NTOHL (0x5f766572),
+ ACE_NTOHL (0x73696f6e),
+ ACE_NTOHL (0x0), // name = miop_version
+ CORBA::tk_struct, // typecode kind
+ 88, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 29,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f566572),
+ ACE_NTOHL (0x73696f6e),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/MIOP/Version:1.0
+ 8,
+ ACE_NTOHL (0x56657273),
+ ACE_NTOHL (0x696f6e00), // name = Version
+ 2, // member count
+ 6,
+ ACE_NTOHL (0x6d616a6f),
+ ACE_NTOHL (0x72000000), // name = major
+ CORBA::tk_octet,
+
+ 6,
+ ACE_NTOHL (0x6d696e6f),
+ ACE_NTOHL (0x72000000), // name = minor
+ CORBA::tk_octet,
+
+
+ 10,
+ ACE_NTOHL (0x656e6470),
+ ACE_NTOHL (0x6f696e74),
+ ACE_NTOHL (0x73000000), // name = endpoints
+ CORBA::tk_union, // typecode kind
+ 348, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 33,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f495045),
+ ACE_NTOHL (0x6e64706f),
+ ACE_NTOHL (0x696e7473),
+ ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x0), // repository ID = IDL:omg.org/MIOP/IPEndpoints:1.0
+ 12,
+ ACE_NTOHL (0x4950456e),
+ ACE_NTOHL (0x64706f69),
+ ACE_NTOHL (0x6e747300), // name = IPEndpoints
+ CORBA::tk_short,
+
+ -1, // default used index
+ 2, // member count
+ ACE_IDL_NSTOHL (0x0000), // union case label (evaluated value)
+ 15,
+ ACE_NTOHL (0x69707634),
+ ACE_NTOHL (0x5f656e64),
+ ACE_NTOHL (0x706f696e),
+ ACE_NTOHL (0x74730000), // name = ipv4_endpoints
+ CORBA::tk_struct, // typecode kind
+ 116, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f557369),
+ ACE_NTOHL (0x6e674970),
+ ACE_NTOHL (0x76343a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/UsingIpv4:1.0
+ 10,
+ ACE_NTOHL (0x5573696e),
+ ACE_NTOHL (0x67497076),
+ ACE_NTOHL (0x34000000), // name = UsingIpv4
+ 2, // member count
+ 5,
+ ACE_NTOHL (0x706f7274),
+ ACE_NTOHL (0x0), // name = port
+ CORBA::tk_ushort,
+
+ 16,
+ ACE_NTOHL (0x636c6173),
+ ACE_NTOHL (0x735f645f),
+ ACE_NTOHL (0x61646472),
+ ACE_NTOHL (0x65737300), // name = class_d_address
+ CORBA::tk_array, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 4U,
+
+
+ ACE_IDL_NSTOHL (0x0001), // union case label (evaluated value)
+ 15,
+ ACE_NTOHL (0x69707636),
+ ACE_NTOHL (0x5f656e64),
+ ACE_NTOHL (0x706f696e),
+ ACE_NTOHL (0x74730000), // name = ipv6_endpoints
+ CORBA::tk_struct, // typecode kind
+ 96, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ 31,
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x4d494f50),
+ ACE_NTOHL (0x2f557369),
+ ACE_NTOHL (0x6e674970),
+ ACE_NTOHL (0x76363a31),
+ ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/MIOP/UsingIpv6:1.0
+ 10,
+ ACE_NTOHL (0x5573696e),
+ ACE_NTOHL (0x67497076),
+ ACE_NTOHL (0x36000000), // name = UsingIpv6
+ 2, // member count
+ 5,
+ ACE_NTOHL (0x706f7274),
+ ACE_NTOHL (0x0), // name = port
+ CORBA::tk_ulong,
+
+ 8,
+ ACE_NTOHL (0x61646472),
+ ACE_NTOHL (0x65737300), // name = address
+ CORBA::tk_string,
+ 0U, // string length
+
+
+ 11,
+ ACE_NTOHL (0x636f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74730000), // name = components
+ 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 (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0
+ 16,
+ ACE_NTOHL (0x54616767),
+ ACE_NTOHL (0x6564436f),
+ ACE_NTOHL (0x6d706f6e),
+ ACE_NTOHL (0x656e7400), // name = TaggedComponent
+ 2, // member count
+ 4,
+ ACE_NTOHL (0x74616700), // name = tag
+ 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 (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0
+ 12,
+ ACE_NTOHL (0x436f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x74496400), // name = ComponentId
+ CORBA::tk_ulong,
+
+
+ 15,
+ ACE_NTOHL (0x636f6d70),
+ ACE_NTOHL (0x6f6e656e),
+ ACE_NTOHL (0x745f6461),
+ ACE_NTOHL (0x74610000), // name = component_data
+ CORBA::tk_sequence, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 0U,
+
+
+ 0U,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_MIOP_UIPMC_ProfileBody (
+ CORBA::tk_struct,
+ sizeof (_oc_MIOP_UIPMC_ProfileBody),
+ (char *) &_oc_MIOP_UIPMC_ProfileBody,
+ 0,
+ sizeof (MIOP::UIPMC_ProfileBody)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (MIOP)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_UIPMC_ProfileBody, &_tc_TAO_tc_MIOP_UIPMC_ProfileBody)
+TAO_NAMESPACE_END
+
+void MIOP::UIPMC_ProfileBody::_tao_any_destructor (void *x)
+{
+ UIPMC_ProfileBody *tmp = ACE_static_cast (UIPMC_ProfileBody*,x);
+ delete tmp;
+}
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CS_)
+#define __TAO_UNBOUNDED_SEQUENCE_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CS_
+
+ void
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::_allocate_buffer (CORBA::ULong length)
+ {
+ IOP::TaggedComponent* tmp = 0;
+ tmp = _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::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_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::freebuf (old);
+
+ }
+ this->buffer_ = tmp;
+ }
+
+ void
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::_deallocate_buffer (void)
+ {
+ if (this->buffer_ == 0 || this->release_ == 0)
+ return;
+
+ IOP::TaggedComponent *tmp = ACE_reinterpret_cast (IOP::TaggedComponent *,this->buffer_);
+
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::freebuf (tmp);
+ this->buffer_ = 0;
+ }
+
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::~_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (void) // Dtor.
+ {
+ this->_deallocate_buffer ();
+ }
+
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CS_)
+#define _MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CS_
+
+// *************************************************************
+// MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent
+// *************************************************************
+
+MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent::_tao_seq_TaggedComponent (void)
+{}
+MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent::_tao_seq_TaggedComponent (CORBA::ULong max) // uses max size
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<IOP::TaggedComponent>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max)
+{}
+MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent::_tao_seq_TaggedComponent (CORBA::ULong max, CORBA::ULong length, IOP::TaggedComponent *buffer, CORBA::Boolean release)
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<IOP::TaggedComponent>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (max, length, buffer, release)
+{}
+MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent::_tao_seq_TaggedComponent (const _tao_seq_TaggedComponent &seq) // copy ctor
+ :
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<IOP::TaggedComponent>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ (seq)
+{}
+MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent::~_tao_seq_TaggedComponent (void) // dtor
+{}
+void MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent::_tao_any_destructor (void *x)
+{
+ _tao_seq_TaggedComponent *tmp = ACE_static_cast (_tao_seq_TaggedComponent*,x);
+ delete tmp;
+}
+
+
+#endif /* end #if !defined */
+
+MIOP::MulticastObjectGroupFactory_ptr
+tao_MIOP_MulticastObjectGroupFactory_duplicate (
+ MIOP::MulticastObjectGroupFactory_ptr p
+ )
+{
+ return MIOP::MulticastObjectGroupFactory::_duplicate (p);
+}
+
+void
+tao_MIOP_MulticastObjectGroupFactory_release (
+ MIOP::MulticastObjectGroupFactory_ptr p
+ )
+{
+ CORBA::release (p);
+}
+
+MIOP::MulticastObjectGroupFactory_ptr
+tao_MIOP_MulticastObjectGroupFactory_nil (
+ void
+ )
+{
+ return MIOP::MulticastObjectGroupFactory::_nil ();
+}
+
+MIOP::MulticastObjectGroupFactory_ptr
+tao_MIOP_MulticastObjectGroupFactory_narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return MIOP::MulticastObjectGroupFactory::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+tao_MIOP_MulticastObjectGroupFactory_upcast (
+ void *src
+ )
+{
+ MIOP::MulticastObjectGroupFactory **tmp =
+ ACE_static_cast (MIOP::MulticastObjectGroupFactory **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class MIOP::MulticastObjectGroupFactory_var
+// *************************************************************
+
+MIOP::MulticastObjectGroupFactory_var::MulticastObjectGroupFactory_var (void) // default constructor
+ : ptr_ (MulticastObjectGroupFactory::_nil ())
+{}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+MIOP::MulticastObjectGroupFactory_var::MulticastObjectGroupFactory_var (const ::MIOP::MulticastObjectGroupFactory_var &p) // copy constructor
+ : TAO_Base_var (),
+ ptr_ (MulticastObjectGroupFactory::_duplicate (p.ptr ()))
+{}
+
+MIOP::MulticastObjectGroupFactory_var::~MulticastObjectGroupFactory_var (void) // destructor
+{
+ CORBA::release (this->ptr_);
+}
+
+MIOP::MulticastObjectGroupFactory_var &
+MIOP::MulticastObjectGroupFactory_var::operator= (MulticastObjectGroupFactory_ptr p)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = p;
+ return *this;
+}
+
+MIOP::MulticastObjectGroupFactory_var &
+MIOP::MulticastObjectGroupFactory_var::operator= (const ::MIOP::MulticastObjectGroupFactory_var &p)
+{
+ if (this != &p)
+ {
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::MIOP::MulticastObjectGroupFactory::_duplicate (p.ptr ());
+ }
+ return *this;
+}
+
+MIOP::MulticastObjectGroupFactory_var::operator const ::MIOP::MulticastObjectGroupFactory_ptr &() const // cast
+{
+ return this->ptr_;
+}
+
+MIOP::MulticastObjectGroupFactory_var::operator ::MIOP::MulticastObjectGroupFactory_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_var::in (void) const
+{
+ return this->ptr_;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr &
+MIOP::MulticastObjectGroupFactory_var::inout (void)
+{
+ return this->ptr_;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr &
+MIOP::MulticastObjectGroupFactory_var::out (void)
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::MIOP::MulticastObjectGroupFactory::_nil ();
+ return this->ptr_;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_var::_retn (void)
+{
+ // yield ownership of managed obj reference
+ ::MIOP::MulticastObjectGroupFactory_ptr val = this->ptr_;
+ this->ptr_ = ::MIOP::MulticastObjectGroupFactory::_nil ();
+ return val;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_var::duplicate (MulticastObjectGroupFactory_ptr p)
+{
+ return ::MIOP::MulticastObjectGroupFactory::_duplicate (p);
+}
+
+void
+MIOP::MulticastObjectGroupFactory_var::release (MulticastObjectGroupFactory_ptr p)
+{
+ CORBA::release (p);
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_var::nil (void)
+{
+ return ::MIOP::MulticastObjectGroupFactory::_nil ();
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_var::narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return ::MIOP::MulticastObjectGroupFactory::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+MIOP::MulticastObjectGroupFactory_var::upcast (void *src)
+{
+ MulticastObjectGroupFactory **tmp =
+ ACE_static_cast (MulticastObjectGroupFactory **, src);
+ return *tmp;
+}
+
+// *************************************************************
+// Operations for class MIOP::MulticastObjectGroupFactory_out
+// *************************************************************
+
+MIOP::MulticastObjectGroupFactory_out::MulticastObjectGroupFactory_out (MulticastObjectGroupFactory_ptr &p)
+ : ptr_ (p)
+{
+ this->ptr_ = ::MIOP::MulticastObjectGroupFactory::_nil ();
+}
+
+MIOP::MulticastObjectGroupFactory_out::MulticastObjectGroupFactory_out (MulticastObjectGroupFactory_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ CORBA::release (this->ptr_);
+ this->ptr_ = ::MIOP::MulticastObjectGroupFactory::_nil ();
+}
+
+MIOP::MulticastObjectGroupFactory_out::MulticastObjectGroupFactory_out (const ::MIOP::MulticastObjectGroupFactory_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (MulticastObjectGroupFactory_out &, p).ptr_)
+{}
+
+::MIOP::MulticastObjectGroupFactory_out &
+MIOP::MulticastObjectGroupFactory_out::operator= (const ::MIOP::MulticastObjectGroupFactory_out &p)
+{
+ this->ptr_ = ACE_const_cast (MulticastObjectGroupFactory_out&, p).ptr_;
+ return *this;
+}
+
+MIOP::MulticastObjectGroupFactory_out &
+MIOP::MulticastObjectGroupFactory_out::operator= (const ::MIOP::MulticastObjectGroupFactory_var &p)
+{
+ this->ptr_ = ::MIOP::MulticastObjectGroupFactory::_duplicate (p.ptr ());
+ return *this;
+}
+
+MIOP::MulticastObjectGroupFactory_out &
+MIOP::MulticastObjectGroupFactory_out::operator= (MulticastObjectGroupFactory_ptr p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+MIOP::MulticastObjectGroupFactory_out::operator ::MIOP::MulticastObjectGroupFactory_ptr &() // cast
+{
+ return this->ptr_;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr &
+MIOP::MulticastObjectGroupFactory_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+::MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+// default constructor
+MIOP::MulticastObjectGroupFactory::MulticastObjectGroupFactory ()
+{
+ }
+
+// destructor
+MIOP::MulticastObjectGroupFactory::~MulticastObjectGroupFactory (void)
+{}
+
+MIOP::MulticastObjectGroupFactory_ptr MIOP::MulticastObjectGroupFactory::_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return MulticastObjectGroupFactory::_unchecked_narrow (obj, ACE_TRY_ENV);
+}
+
+MIOP::MulticastObjectGroupFactory_ptr MIOP::MulticastObjectGroupFactory::_unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &
+ )
+{
+ if (CORBA::is_nil (obj))
+ return MulticastObjectGroupFactory::_nil ();
+ return
+ ACE_reinterpret_cast
+ (
+ MulticastObjectGroupFactory_ptr,
+ obj->_tao_QueryInterface
+ (
+ ACE_reinterpret_cast
+ (
+ ptr_arith_t,
+ &MulticastObjectGroupFactory::_narrow
+ )
+ )
+ );
+}
+
+MIOP::MulticastObjectGroupFactory_ptr
+MIOP::MulticastObjectGroupFactory::_duplicate (MulticastObjectGroupFactory_ptr obj)
+{
+ if (!CORBA::is_nil (obj))
+ obj->_add_ref ();
+ return obj;
+}
+
+void *MIOP::MulticastObjectGroupFactory::_tao_QueryInterface (ptr_arith_t type)
+{
+ void *retv = 0;
+ if (type == ACE_reinterpret_cast
+ (ptr_arith_t,
+ &ACE_NESTED_CLASS (::MIOP, MulticastObjectGroupFactory)::_narrow))
+ retv = ACE_reinterpret_cast (void*, this);
+ 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;
+}
+
+const char* MIOP::MulticastObjectGroupFactory::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/MIOP/MulticastObjectGroupFactory:1.0";
+}
+
+void MIOP::MulticastObjectGroupFactory::ipaddr_forany::_tao_any_destructor (void *x)
+{
+ ipaddr_slice *tmp = ACE_static_cast (ipaddr_slice*,x);
+ ipaddr_free (tmp);
+}
+
+MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_dup (const MIOP::MulticastObjectGroupFactory::ipaddr_slice *_tao_src_array)
+{
+ MIOP::MulticastObjectGroupFactory::ipaddr_slice *_tao_dup_array = MIOP::MulticastObjectGroupFactory::ipaddr_alloc ();
+ if (!_tao_dup_array) return (MIOP::MulticastObjectGroupFactory::ipaddr_slice *)0;
+ MIOP::MulticastObjectGroupFactory::ipaddr_copy (_tao_dup_array, _tao_src_array);
+ return _tao_dup_array;
+}
+
+MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_alloc (void)
+{
+ MIOP::MulticastObjectGroupFactory::ipaddr_slice *retval = 0;
+ ACE_NEW_RETURN (retval, CORBA::Octet[4], 0);
+ return retval;
+}
+
+void
+MIOP::MulticastObjectGroupFactory::ipaddr_free (MIOP::MulticastObjectGroupFactory::ipaddr_slice *_tao_slice)
+{
+ delete [] _tao_slice;
+}
+
+void
+MIOP::MulticastObjectGroupFactory::ipaddr_copy (MIOP::MulticastObjectGroupFactory::ipaddr_slice * _tao_to, const MIOP::MulticastObjectGroupFactory::ipaddr_slice *_tao_from)
+{
+ // copy each individual element
+ for (CORBA::ULong i0 = 0; i0 < 4; i0++)
+ _tao_to[i0] = _tao_from[i0];
+}
+
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const MIOP::UniqueId &_tao_elem
+ ) // copying
+{
+ TAO_OutputCDR stream;
+ if (stream << _tao_elem)
+ {
+ _tao_any._tao_replace (
+ MIOP::_tc_UniqueId,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+ }
+}
+
+void operator<<= (CORBA::Any &_tao_any, MIOP::UniqueId *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_UniqueId,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ MIOP::UniqueId::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, MIOP::UniqueId *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const MIOP::UniqueId*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const MIOP::UniqueId *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (MIOP::_tc_UniqueId, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const MIOP::UniqueId*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ MIOP::UniqueId *tmp;
+ ACE_NEW_RETURN (tmp, MIOP::UniqueId, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ MIOP::_tc_UniqueId,
+ 1,
+ ACE_static_cast (void *, tmp),
+ MIOP::UniqueId::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const MIOP::PacketHeader_1_0 &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_PacketHeader_1_0,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, MIOP::PacketHeader_1_0 *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_PacketHeader_1_0,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ MIOP::PacketHeader_1_0::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, MIOP::PacketHeader_1_0 *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(const MIOP::PacketHeader_1_0*&,_tao_elem);
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const MIOP::PacketHeader_1_0 *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (MIOP::_tc_PacketHeader_1_0, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const MIOP::PacketHeader_1_0*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ MIOP::PacketHeader_1_0 *tmp;
+ ACE_NEW_RETURN (tmp, MIOP::PacketHeader_1_0, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ MIOP::_tc_PacketHeader_1_0,
+ 1,
+ ACE_static_cast (void *, tmp),
+ MIOP::PacketHeader_1_0::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const MIOP::Version &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_Version,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, MIOP::Version *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_Version,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ MIOP::Version::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, MIOP::Version *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(const MIOP::Version*&,_tao_elem);
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const MIOP::Version *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (MIOP::_tc_Version, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const MIOP::Version*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ MIOP::Version *tmp;
+ ACE_NEW_RETURN (tmp, MIOP::Version, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ MIOP::_tc_Version,
+ 1,
+ ACE_static_cast (void *, tmp),
+ MIOP::Version::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const MIOP::UsingIpv4 &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_UsingIpv4,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, MIOP::UsingIpv4 *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_UsingIpv4,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ MIOP::UsingIpv4::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, MIOP::UsingIpv4 *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(const MIOP::UsingIpv4*&,_tao_elem);
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const MIOP::UsingIpv4 *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (MIOP::_tc_UsingIpv4, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const MIOP::UsingIpv4*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ MIOP::UsingIpv4 *tmp;
+ ACE_NEW_RETURN (tmp, MIOP::UsingIpv4, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ MIOP::_tc_UsingIpv4,
+ 1,
+ ACE_static_cast (void *, tmp),
+ MIOP::UsingIpv4::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const MIOP::UsingIpv6 &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_UsingIpv6,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, MIOP::UsingIpv6 *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_UsingIpv6,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ MIOP::UsingIpv6::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, MIOP::UsingIpv6 *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(const MIOP::UsingIpv6*&,_tao_elem);
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const MIOP::UsingIpv6 *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (MIOP::_tc_UsingIpv6, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const MIOP::UsingIpv6*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ MIOP::UsingIpv6 *tmp;
+ ACE_NEW_RETURN (tmp, MIOP::UsingIpv6, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ MIOP::_tc_UsingIpv6,
+ 1,
+ ACE_static_cast (void *, tmp),
+ MIOP::UsingIpv6::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const MIOP::IPEndpoints &_tao_elem
+ )
+{
+ TAO_OutputCDR stream;
+ if (stream << _tao_elem)
+ {
+ _tao_any._tao_replace (
+ MIOP::_tc_IPEndpoints,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+ }
+}
+
+void operator<<= (
+ CORBA::Any &_tao_any,
+ MIOP::IPEndpoints *_tao_elem
+ )
+{
+ TAO_OutputCDR stream;
+ if (stream << *_tao_elem)
+ {
+ _tao_any._tao_replace (
+ MIOP::_tc_IPEndpoints,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ MIOP::IPEndpoints::_tao_any_destructor
+ );
+ }
+}
+
+CORBA::Boolean operator>>= (
+ const CORBA::Any &_tao_any,
+ MIOP::IPEndpoints *&_tao_elem
+ )
+{
+ return _tao_any >>= ACE_const_cast(
+ const MIOP::IPEndpoints*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (
+ const CORBA::Any &_tao_any,
+ const MIOP::IPEndpoints *&_tao_elem
+ )
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (MIOP::_tc_IPEndpoints, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const MIOP::IPEndpoints*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ MIOP::IPEndpoints *tmp;
+ ACE_NEW_RETURN (tmp, MIOP::IPEndpoints, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ MIOP::_tc_IPEndpoints,
+ 1,
+ ACE_static_cast (void *, tmp),
+ MIOP::IPEndpoints::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+void operator<<= (CORBA::Any &_tao_any, const MIOP::UIPMC_ProfileBody &_tao_elem) // copying
+{
+ TAO_OutputCDR stream;
+ stream << _tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_UIPMC_ProfileBody,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+}
+
+void operator<<= (CORBA::Any &_tao_any, MIOP::UIPMC_ProfileBody *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ MIOP::_tc_UIPMC_ProfileBody,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ MIOP::UIPMC_ProfileBody::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, MIOP::UIPMC_ProfileBody *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(const MIOP::UIPMC_ProfileBody*&,_tao_elem);
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const MIOP::UIPMC_ProfileBody *&_tao_elem)
+{
+ _tao_elem = 0;
+ ACE_TRY_NEW_ENV
+ {
+ CORBA::TypeCode_var type = _tao_any.type ();
+
+ CORBA::Boolean result = type->equivalent (MIOP::_tc_UIPMC_ProfileBody, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ if (!result)
+ return 0; // not equivalent
+
+ if (_tao_any.any_owns_data ())
+ {
+ _tao_elem = ACE_static_cast(
+ const MIOP::UIPMC_ProfileBody*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ MIOP::UIPMC_ProfileBody *tmp;
+ ACE_NEW_RETURN (tmp, MIOP::UIPMC_ProfileBody, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ MIOP::_tc_UIPMC_ProfileBody,
+ 1,
+ ACE_static_cast (void *, tmp),
+ MIOP::UIPMC_ProfileBody::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
+ defined (ACE_HAS_GNU_REPO)
+ template class TAO_Object_Manager<MIOP::MulticastObjectGroupFactory,MIOP::MulticastObjectGroupFactory_var>;
+ #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+ # pragma instantiate TAO_Object_Manager<MIOP::MulticastObjectGroupFactory,MIOP::MulticastObjectGroupFactory_var>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const MIOP::UniqueId &_tao_sequence
+ )
+{
+ if (strm << _tao_sequence.length ())
+ {
+ // encode all elements
+ return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+ }
+ return 0; // error
+}
+
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ MIOP::UniqueId &_tao_sequence
+ )
+{
+ CORBA::ULong _tao_seq_len;
+ if (strm >> _tao_seq_len)
+ {
+ if (_tao_seq_len <= _tao_sequence.maximum ())
+ {
+ // 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;
+ // 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;
+ // retrieve all the elements
+ return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
+ }
+ }
+ return 0; // error
+}
+
+
+#if !defined _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_CPP_
+#define _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_CPP_
+
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent &_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++)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
+
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent &_tao_sequence
+ )
+{
+ CORBA::ULong _tao_seq_len;
+ if (strm >> _tao_seq_len)
+ {
+ // 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;
+ // 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;
+ // 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]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
+
+#endif /* _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_CPP_ */
+
diff --git a/TAO/tao/PortableGroup/miopC.h b/TAO/tao/PortableGroup/miopC.h
new file mode 100644
index 00000000000..7a4564d495d
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopC.h
@@ -0,0 +1,1101 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_MIOPC_H_
+#define _TAO_IDL_MIOPC_H_
+
+#include "ace/pre.h"
+#include "tao/corba.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "portablegroup_export.h"
+#include "tao/IOPC.h"
+
+#if defined (TAO_EXPORT_MACRO)
+#undef TAO_EXPORT_MACRO
+#endif
+#define TAO_EXPORT_MACRO TAO_PortableGroup_Export
+
+#if defined (TAO_EXPORT_NESTED_CLASSES)
+# if defined (TAO_EXPORT_NESTED_MACRO)
+# undef TAO_EXPORT_NESTED_MACRO
+# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
+# define TAO_EXPORT_NESTED_MACRO TAO_PortableGroup_Export
+#endif /* TAO_EXPORT_NESTED_CLASSES */
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE MIOP
+{
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_BOUNDED_SEQUENCE_MIOP_UNIQUEID_252_CH_)
+#define __TAO_BOUNDED_SEQUENCE_MIOP_UNIQUEID_252_CH_
+
+ class _TAO_Bounded_Sequence_MIOP_UniqueId_252 : public TAO_Bounded_Base_Sequence
+ {
+ public:
+ // = Initialization and termination methods.
+
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252 (void);
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252 (CORBA::ULong length,
+ CORBA::Octet *data,
+ CORBA::Boolean release = 0);
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252 (const _TAO_Bounded_Sequence_MIOP_UniqueId_252 &rhs);
+ // Copy constructor.
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252 &operator= (const _TAO_Bounded_Sequence_MIOP_UniqueId_252 &rhs);
+ // Assignment operator.
+ virtual ~_TAO_Bounded_Sequence_MIOP_UniqueId_252 (void); // Dtor.
+ // = Accessors.
+ CORBA::Octet &operator[] (CORBA::ULong i);// operator []
+ const CORBA::Octet &operator[] (CORBA::ULong i) const;
+ // = Static operations.
+ static CORBA::Octet *allocbuf (CORBA::ULong); // Allocate storage for the sequence.
+ static void freebuf (CORBA::Octet *buffer); // Free the sequence.
+ virtual void _allocate_buffer (CORBA::ULong length);
+ virtual void _deallocate_buffer (void);
+ CORBA::Octet *get_buffer (CORBA::Boolean orphan = 0);
+ const CORBA::Octet *get_buffer (void) const;
+ void replace (CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *data,
+ CORBA::Boolean release = 0);
+ };
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_MIOP_UNIQUEID_CH_)
+#define _MIOP_UNIQUEID_CH_
+
+ class UniqueId;
+ class UniqueId_var;
+
+ // *************************************************************
+ // UniqueId
+ // *************************************************************
+
+ class TAO_PortableGroup_Export UniqueId : public
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Bounded_Sequence<CORBA::Octet, 252U>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ {
+ public:
+ UniqueId (void); // default ctor
+ UniqueId (
+ CORBA::ULong length,
+ CORBA::Octet *buffer,
+ CORBA::Boolean release = 0
+ );
+ UniqueId (const UniqueId &); // copy ctor
+ ~UniqueId (void);
+ static void _tao_any_destructor (void*);
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef UniqueId_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ };
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_UNIQUEID___VAR_CH_)
+#define _MIOP_UNIQUEID___VAR_CH_
+
+ // *************************************************************
+ // class MIOP::UniqueId_var
+ // *************************************************************
+
+ class TAO_PortableGroup_Export UniqueId_var
+ {
+ public:
+ UniqueId_var (void); // default constructor
+ UniqueId_var (UniqueId *);
+ UniqueId_var (const UniqueId_var &); // copy constructor
+ UniqueId_var (const UniqueId &); // fixed-size base types only
+ ~UniqueId_var (void); // destructor
+
+ UniqueId_var &operator= (UniqueId *);
+ UniqueId_var &operator= (const UniqueId_var &);
+ UniqueId_var &operator= (const UniqueId &); // fixed-size base types only
+ UniqueId *operator-> (void);
+ const UniqueId *operator-> (void) const;
+
+ operator const UniqueId &() const;
+ operator UniqueId &();
+ operator UniqueId &() const;
+
+ CORBA::Octet & operator[] (CORBA::ULong index);
+ const CORBA::Octet & operator[] (CORBA::ULong index) const;
+
+ // in, inout, out, _retn
+ const UniqueId &in (void) const;
+ UniqueId &inout (void);
+ UniqueId *&out (void);
+ UniqueId *_retn (void);
+ UniqueId *ptr (void) const;
+
+ private:
+ UniqueId *ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_UNIQUEID___OUT_CH_)
+#define _MIOP_UNIQUEID___OUT_CH_
+
+ class TAO_PortableGroup_Export UniqueId_out
+ {
+ public:
+ UniqueId_out (UniqueId *&);
+ UniqueId_out (UniqueId_var &);
+ UniqueId_out (const UniqueId_out &);
+ UniqueId_out &operator= (const UniqueId_out &);
+ UniqueId_out &operator= (UniqueId *);
+ operator UniqueId *&();
+ UniqueId *&ptr (void);
+ UniqueId *operator-> (void);
+ CORBA::Octet & operator[] (CORBA::ULong index);
+
+ private:
+ UniqueId *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const UniqueId_var &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_UniqueId;
+
+ struct PacketHeader_1_0;
+ class PacketHeader_1_0_var;
+
+ struct TAO_PortableGroup_Export PacketHeader_1_0
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef PacketHeader_1_0_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ static void _tao_any_destructor (void*);
+
+
+#if !defined (_MIOP_PACKETHEADER_1_0_MAGIC_CH_)
+#define _MIOP_PACKETHEADER_1_0_MAGIC_CH_
+
+ typedef CORBA::Char _magic[4];
+ typedef CORBA::Char _magic_slice;
+ class TAO_PortableGroup_Export _magic_forany
+ {
+ public:
+ _magic_forany (void); // default constructor
+ _magic_forany (_magic_slice *, CORBA::Boolean nocopy=0);
+ _magic_forany (const _magic_forany &); // copy constructor
+ ~_magic_forany (void); // destructor
+ static void _tao_any_destructor (void*);
+ _magic_forany &operator= (_magic_slice *);
+ _magic_forany &operator= (const _magic_forany &);
+
+ _magic_slice &operator[] (CORBA::ULong index);
+ const _magic_slice &operator[] (CORBA::ULong index) const;
+ operator _magic_slice * const &() const;
+ operator _magic_slice *&();
+ // in, inout, out, _retn
+ const _magic_slice *in (void) const;
+ _magic_slice *inout (void);
+ _magic_slice *&out (void);
+ _magic_slice *_retn (void);
+ _magic_slice *ptr (void) const;
+ CORBA::Boolean nocopy (void) const;
+ private:
+ /* friend class CORBA_Any; */
+ _magic_slice *ptr_;
+ CORBA::Boolean nocopy_;
+ };
+
+ static _magic_slice *_magic_alloc (void);
+ static void _magic_free (_magic_slice *_tao_slice);
+ static _magic_slice *_magic_dup (const _magic_slice *_tao_slice);
+ static void _magic_copy (_magic_slice *_tao_to, const _magic_slice *_tao_from);
+
+
+#endif /* end #if !defined */
+
+ _magic magic;
+ CORBA::Octet hdr_version;
+ CORBA::Octet flags;
+ CORBA::UShort packet_length;
+ CORBA::ULong packet_number;
+ CORBA::ULong number_of_packets;
+ ACE_NESTED_CLASS (MIOP, UniqueId) Id;
+ };
+
+ class TAO_PortableGroup_Export PacketHeader_1_0_var
+ {
+ public:
+ PacketHeader_1_0_var (void); // default constructor
+ PacketHeader_1_0_var (PacketHeader_1_0 *);
+ PacketHeader_1_0_var (const PacketHeader_1_0_var &); // copy constructor
+ ~PacketHeader_1_0_var (void); // destructor
+
+ PacketHeader_1_0_var &operator= (PacketHeader_1_0 *);
+ PacketHeader_1_0_var &operator= (const PacketHeader_1_0_var &);
+ PacketHeader_1_0 *operator-> (void);
+ const PacketHeader_1_0 *operator-> (void) const;
+
+ operator const PacketHeader_1_0 &() const;
+ operator PacketHeader_1_0 &();
+ operator PacketHeader_1_0 &() const;
+ operator PacketHeader_1_0 *&(); // variable-size types only
+
+ // in, inout, out, _retn
+ const PacketHeader_1_0 &in (void) const;
+ PacketHeader_1_0 &inout (void);
+ PacketHeader_1_0 *&out (void);
+ PacketHeader_1_0 *_retn (void);
+ PacketHeader_1_0 *ptr (void) const;
+
+ private:
+ PacketHeader_1_0 *ptr_;
+ };
+
+ class TAO_PortableGroup_Export PacketHeader_1_0_out
+ {
+ public:
+ PacketHeader_1_0_out (PacketHeader_1_0 *&);
+ PacketHeader_1_0_out (PacketHeader_1_0_var &);
+ PacketHeader_1_0_out (const PacketHeader_1_0_out &);
+ PacketHeader_1_0_out &operator= (const PacketHeader_1_0_out &);
+ PacketHeader_1_0_out &operator= (PacketHeader_1_0 *);
+ operator PacketHeader_1_0 *&();
+ PacketHeader_1_0 *&ptr (void);
+ PacketHeader_1_0 *operator-> (void);
+
+ private:
+ PacketHeader_1_0 *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const PacketHeader_1_0_var &);
+ };
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_PacketHeader_1_0;
+
+ struct Version;
+ class Version_var;
+
+ struct TAO_PortableGroup_Export Version
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef Version_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ static void _tao_any_destructor (void*);
+
+ CORBA::Octet major;
+ CORBA::Octet minor;
+ };
+
+ class TAO_PortableGroup_Export Version_var
+ {
+ public:
+ Version_var (void); // default constructor
+ Version_var (Version *);
+ Version_var (const Version_var &); // copy constructor
+ Version_var (const Version &); // fixed-size types only
+ ~Version_var (void); // destructor
+
+ Version_var &operator= (Version *);
+ Version_var &operator= (const Version_var &);
+ Version_var &operator= (const Version &); // fixed-size types only
+ Version *operator-> (void);
+ const Version *operator-> (void) const;
+
+ operator const Version &() const;
+ operator Version &();
+ operator Version &() const;
+
+ // in, inout, out, _retn
+ const Version &in (void) const;
+ Version &inout (void);
+ Version &out (void);
+ Version _retn (void);
+ Version *ptr (void) const;
+
+ private:
+ Version *ptr_;
+ };
+
+ typedef Version &Version_out;
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Version;
+
+ typedef CORBA::Short IPVersion;
+ typedef CORBA::Short_out IPVersion_out;
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_IPVersion;
+
+ TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short IPv4;
+
+ TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short IPv6;
+
+ struct UsingIpv4;
+ class UsingIpv4_var;
+
+ struct TAO_PortableGroup_Export UsingIpv4
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef UsingIpv4_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ static void _tao_any_destructor (void*);
+
+ CORBA::UShort port;
+
+#if !defined (_MIOP_USINGIPV4_CLASS_D_ADDRESS_CH_)
+#define _MIOP_USINGIPV4_CLASS_D_ADDRESS_CH_
+
+ typedef CORBA::Octet _class_d_address[4];
+ typedef CORBA::Octet _class_d_address_slice;
+ class TAO_PortableGroup_Export _class_d_address_forany
+ {
+ public:
+ _class_d_address_forany (void); // default constructor
+ _class_d_address_forany (_class_d_address_slice *, CORBA::Boolean nocopy=0);
+ _class_d_address_forany (const _class_d_address_forany &); // copy constructor
+ ~_class_d_address_forany (void); // destructor
+ static void _tao_any_destructor (void*);
+ _class_d_address_forany &operator= (_class_d_address_slice *);
+ _class_d_address_forany &operator= (const _class_d_address_forany &);
+
+ _class_d_address_slice &operator[] (CORBA::ULong index);
+ const _class_d_address_slice &operator[] (CORBA::ULong index) const;
+ operator _class_d_address_slice * const &() const;
+ operator _class_d_address_slice *&();
+ // in, inout, out, _retn
+ const _class_d_address_slice *in (void) const;
+ _class_d_address_slice *inout (void);
+ _class_d_address_slice *&out (void);
+ _class_d_address_slice *_retn (void);
+ _class_d_address_slice *ptr (void) const;
+ CORBA::Boolean nocopy (void) const;
+ private:
+ /* friend class CORBA_Any; */
+ _class_d_address_slice *ptr_;
+ CORBA::Boolean nocopy_;
+ };
+
+ static _class_d_address_slice *_class_d_address_alloc (void);
+ static void _class_d_address_free (_class_d_address_slice *_tao_slice);
+ static _class_d_address_slice *_class_d_address_dup (const _class_d_address_slice *_tao_slice);
+ static void _class_d_address_copy (_class_d_address_slice *_tao_to, const _class_d_address_slice *_tao_from);
+
+
+#endif /* end #if !defined */
+
+ _class_d_address class_d_address;
+ };
+
+ class TAO_PortableGroup_Export UsingIpv4_var
+ {
+ public:
+ UsingIpv4_var (void); // default constructor
+ UsingIpv4_var (UsingIpv4 *);
+ UsingIpv4_var (const UsingIpv4_var &); // copy constructor
+ UsingIpv4_var (const UsingIpv4 &); // fixed-size types only
+ ~UsingIpv4_var (void); // destructor
+
+ UsingIpv4_var &operator= (UsingIpv4 *);
+ UsingIpv4_var &operator= (const UsingIpv4_var &);
+ UsingIpv4_var &operator= (const UsingIpv4 &); // fixed-size types only
+ UsingIpv4 *operator-> (void);
+ const UsingIpv4 *operator-> (void) const;
+
+ operator const UsingIpv4 &() const;
+ operator UsingIpv4 &();
+ operator UsingIpv4 &() const;
+
+ // in, inout, out, _retn
+ const UsingIpv4 &in (void) const;
+ UsingIpv4 &inout (void);
+ UsingIpv4 &out (void);
+ UsingIpv4 _retn (void);
+ UsingIpv4 *ptr (void) const;
+
+ private:
+ UsingIpv4 *ptr_;
+ };
+
+ typedef UsingIpv4 &UsingIpv4_out;
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_UsingIpv4;
+
+ struct UsingIpv6;
+ class UsingIpv6_var;
+
+ struct TAO_PortableGroup_Export UsingIpv6
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef UsingIpv6_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ static void _tao_any_destructor (void*);
+
+ CORBA::ULong port;
+ TAO_String_Manager address;
+ };
+
+ class TAO_PortableGroup_Export UsingIpv6_var
+ {
+ public:
+ UsingIpv6_var (void); // default constructor
+ UsingIpv6_var (UsingIpv6 *);
+ UsingIpv6_var (const UsingIpv6_var &); // copy constructor
+ ~UsingIpv6_var (void); // destructor
+
+ UsingIpv6_var &operator= (UsingIpv6 *);
+ UsingIpv6_var &operator= (const UsingIpv6_var &);
+ UsingIpv6 *operator-> (void);
+ const UsingIpv6 *operator-> (void) const;
+
+ operator const UsingIpv6 &() const;
+ operator UsingIpv6 &();
+ operator UsingIpv6 &() const;
+ operator UsingIpv6 *&(); // variable-size types only
+
+ // in, inout, out, _retn
+ const UsingIpv6 &in (void) const;
+ UsingIpv6 &inout (void);
+ UsingIpv6 *&out (void);
+ UsingIpv6 *_retn (void);
+ UsingIpv6 *ptr (void) const;
+
+ private:
+ UsingIpv6 *ptr_;
+ };
+
+ class TAO_PortableGroup_Export UsingIpv6_out
+ {
+ public:
+ UsingIpv6_out (UsingIpv6 *&);
+ UsingIpv6_out (UsingIpv6_var &);
+ UsingIpv6_out (const UsingIpv6_out &);
+ UsingIpv6_out &operator= (const UsingIpv6_out &);
+ UsingIpv6_out &operator= (UsingIpv6 *);
+ operator UsingIpv6 *&();
+ UsingIpv6 *&ptr (void);
+ UsingIpv6 *operator-> (void);
+
+ private:
+ UsingIpv6 *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const UsingIpv6_var &);
+ };
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_UsingIpv6;
+
+
+#if !defined (_MIOP_IPENDPOINTS_CH_)
+#define _MIOP_IPENDPOINTS_CH_
+
+ class IPEndpoints;
+ class IPEndpoints_var;
+
+ class TAO_PortableGroup_Export IPEndpoints
+ {
+ public:
+ IPEndpoints (void);
+ IPEndpoints (const IPEndpoints &);
+ ~IPEndpoints (void);
+ static void _tao_any_destructor (void*);
+
+ IPEndpoints &operator= (const IPEndpoints &);
+
+ void _d (CORBA::Short);
+ CORBA::Short _d (void) const;
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef IPEndpoints_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+ void ipv4_endpoints (const ACE_NESTED_CLASS (MIOP, UsingIpv4) &);// set
+ const ACE_NESTED_CLASS (MIOP, UsingIpv4) &ipv4_endpoints (void) const; // get method (read only)
+ ACE_NESTED_CLASS (MIOP, UsingIpv4) &ipv4_endpoints (void); // get method (read/write only)
+
+ void ipv6_endpoints (const ACE_NESTED_CLASS (MIOP, UsingIpv6) &);// set
+ const ACE_NESTED_CLASS (MIOP, UsingIpv6) &ipv6_endpoints (void) const; // get method (read only)
+ ACE_NESTED_CLASS (MIOP, UsingIpv6) &ipv6_endpoints (void); // get method (read/write only)
+
+ void _default ();
+ private:
+ CORBA::Short disc_;
+ CORBA::Short holder_;
+ union
+ {
+ ACE_NESTED_CLASS (MIOP, UsingIpv4) ipv4_endpoints_;
+ ACE_NESTED_CLASS (MIOP, UsingIpv6) *ipv6_endpoints_;
+ } u_; // end of union
+ // TAO extensions
+ void _reset (CORBA::Short, CORBA::Boolean);
+ // Frees any allocated storage
+
+ void _reset (void);
+ // calls the above reset with finalize=1
+
+ }; // MIOP::IPEndpoints
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_IPEndpoints;
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_IPENDPOINTS___VAR_CH_)
+#define _MIOP_IPENDPOINTS___VAR_CH_
+
+ class TAO_PortableGroup_Export IPEndpoints_var
+ {
+ public:
+ IPEndpoints_var (void); // default constructor
+ IPEndpoints_var (IPEndpoints *);
+ IPEndpoints_var (const IPEndpoints_var &); // copy constructor
+ ~IPEndpoints_var (void); // destructor
+
+ IPEndpoints_var &operator= (IPEndpoints *);
+ IPEndpoints_var &operator= (const IPEndpoints_var &);
+ IPEndpoints *operator-> (void);
+ const IPEndpoints *operator-> (void) const;
+
+ operator const IPEndpoints &() const;
+ operator IPEndpoints &();
+ operator IPEndpoints &() const;
+ operator IPEndpoints *&(); // variable-size types only
+
+ // in, inout, out, _retn
+ const IPEndpoints &in (void) const;
+ IPEndpoints &inout (void);
+ IPEndpoints *&out (void);
+ IPEndpoints *_retn (void);
+ IPEndpoints *ptr(void) const;
+
+ private:
+ IPEndpoints *ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_IPENDPOINTS___OUT_CH_)
+#define _MIOP_IPENDPOINTS___OUT_CH_
+
+ class TAO_PortableGroup_Export IPEndpoints_out
+ {
+ public:
+ IPEndpoints_out (IPEndpoints *&);
+ IPEndpoints_out (IPEndpoints_var &);
+ IPEndpoints_out (const IPEndpoints_out &);
+ IPEndpoints_out &operator= (const IPEndpoints_out &);
+ IPEndpoints_out &operator= (IPEndpoints *);
+ operator IPEndpoints *&();
+ IPEndpoints *&ptr (void);
+ IPEndpoints *operator-> (void);
+
+ private:
+ IPEndpoints *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const IPEndpoints_var &);
+ };
+
+
+#endif /* end #if !defined */
+
+ struct UIPMC_ProfileBody;
+ class UIPMC_ProfileBody_var;
+
+ struct TAO_PortableGroup_Export UIPMC_ProfileBody
+ {
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef UIPMC_ProfileBody_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ static void _tao_any_destructor (void*);
+
+ ACE_NESTED_CLASS (MIOP, Version) miop_version;
+ ACE_NESTED_CLASS (MIOP, IPEndpoints) endpoints;
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CH_)
+#define __TAO_UNBOUNDED_SEQUENCE_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CH_
+
+ class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent : public TAO_Unbounded_Base_Sequence
+ {
+ public:
+ // = Initialization and termination methods.
+
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (void); // Default constructor.
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (CORBA::ULong maximum,
+ CORBA::ULong length,
+ IOP::TaggedComponent *data,
+ CORBA::Boolean release = 0);
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (const _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent &rhs);
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent &operator= (const _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent &rhs);
+ virtual ~_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (void); // Dtor.
+ // = Accessors.
+ IOP::TaggedComponent &operator[] (CORBA::ULong i);
+ const IOP::TaggedComponent &operator[] (CORBA::ULong i) const;
+ // = Static operations.
+ static IOP::TaggedComponent *allocbuf (CORBA::ULong size);
+ static void freebuf (IOP::TaggedComponent *buffer);
+ virtual void _allocate_buffer (CORBA::ULong length);
+ virtual void _deallocate_buffer (void);
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ IOP::TaggedComponent *get_buffer (CORBA::Boolean orphan = 0);
+ const IOP::TaggedComponent *get_buffer (void) const;
+ void replace (CORBA::ULong max,
+ CORBA::ULong length,
+ IOP::TaggedComponent *data,
+ CORBA::Boolean release);
+ };
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CH_)
+#define _MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CH_
+
+ class _tao_seq_TaggedComponent;
+ class _tao_seq_TaggedComponent_var;
+
+ // *************************************************************
+ // _tao_seq_TaggedComponent
+ // *************************************************************
+
+ class TAO_PortableGroup_Export _tao_seq_TaggedComponent : public
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<IOP::TaggedComponent>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ {
+ public:
+ _tao_seq_TaggedComponent (void); // default ctor
+ _tao_seq_TaggedComponent (CORBA::ULong max); // uses max size
+ _tao_seq_TaggedComponent (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ IOP::TaggedComponent *buffer,
+ CORBA::Boolean release = 0
+ );
+ _tao_seq_TaggedComponent (const _tao_seq_TaggedComponent &); // copy ctor
+ ~_tao_seq_TaggedComponent (void);
+ static void _tao_any_destructor (void*);
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef _tao_seq_TaggedComponent_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ };
+
+#endif /* end #if !defined */
+
+#if !defined (__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef _tao_seq_TaggedComponent _components_seq;
+ #endif /* ! __GNUC__ || ACE_HAS_GNUG_PRE_2_8 */
+
+ _tao_seq_TaggedComponent components;
+ };
+
+ class TAO_PortableGroup_Export UIPMC_ProfileBody_var
+ {
+ public:
+ UIPMC_ProfileBody_var (void); // default constructor
+ UIPMC_ProfileBody_var (UIPMC_ProfileBody *);
+ UIPMC_ProfileBody_var (const UIPMC_ProfileBody_var &); // copy constructor
+ ~UIPMC_ProfileBody_var (void); // destructor
+
+ UIPMC_ProfileBody_var &operator= (UIPMC_ProfileBody *);
+ UIPMC_ProfileBody_var &operator= (const UIPMC_ProfileBody_var &);
+ UIPMC_ProfileBody *operator-> (void);
+ const UIPMC_ProfileBody *operator-> (void) const;
+
+ operator const UIPMC_ProfileBody &() const;
+ operator UIPMC_ProfileBody &();
+ operator UIPMC_ProfileBody &() const;
+ operator UIPMC_ProfileBody *&(); // variable-size types only
+
+ // in, inout, out, _retn
+ const UIPMC_ProfileBody &in (void) const;
+ UIPMC_ProfileBody &inout (void);
+ UIPMC_ProfileBody *&out (void);
+ UIPMC_ProfileBody *_retn (void);
+ UIPMC_ProfileBody *ptr (void) const;
+
+ private:
+ UIPMC_ProfileBody *ptr_;
+ };
+
+ class TAO_PortableGroup_Export UIPMC_ProfileBody_out
+ {
+ public:
+ UIPMC_ProfileBody_out (UIPMC_ProfileBody *&);
+ UIPMC_ProfileBody_out (UIPMC_ProfileBody_var &);
+ UIPMC_ProfileBody_out (const UIPMC_ProfileBody_out &);
+ UIPMC_ProfileBody_out &operator= (const UIPMC_ProfileBody_out &);
+ UIPMC_ProfileBody_out &operator= (UIPMC_ProfileBody *);
+ operator UIPMC_ProfileBody *&();
+ UIPMC_ProfileBody *&ptr (void);
+ UIPMC_ProfileBody *operator-> (void);
+
+ private:
+ UIPMC_ProfileBody *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const UIPMC_ProfileBody_var &);
+ };
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_UIPMC_ProfileBody;
+
+
+#if !defined (_MIOP_MULTICASTOBJECTGROUPFACTORY___PTR_CH_)
+#define _MIOP_MULTICASTOBJECTGROUPFACTORY___PTR_CH_
+
+ class MulticastObjectGroupFactory;
+ typedef MulticastObjectGroupFactory *MulticastObjectGroupFactory_ptr;
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_MULTICASTOBJECTGROUPFACTORY___VAR_CH_)
+#define _MIOP_MULTICASTOBJECTGROUPFACTORY___VAR_CH_
+
+ class TAO_PortableGroup_Export MulticastObjectGroupFactory_var : public TAO_Base_var
+ {
+ public:
+ MulticastObjectGroupFactory_var (void); // default constructor
+ MulticastObjectGroupFactory_var (MulticastObjectGroupFactory_ptr p) : ptr_ (p) {}
+ MulticastObjectGroupFactory_var (const MulticastObjectGroupFactory_var &); // copy constructor
+ ~MulticastObjectGroupFactory_var (void); // destructor
+
+ MulticastObjectGroupFactory_var &operator= (MulticastObjectGroupFactory_ptr);
+ MulticastObjectGroupFactory_var &operator= (const MulticastObjectGroupFactory_var &);
+ MulticastObjectGroupFactory_ptr operator-> (void) const;
+
+ operator const MulticastObjectGroupFactory_ptr &() const;
+ operator MulticastObjectGroupFactory_ptr &();
+ // in, inout, out, _retn
+ MulticastObjectGroupFactory_ptr in (void) const;
+ MulticastObjectGroupFactory_ptr &inout (void);
+ MulticastObjectGroupFactory_ptr &out (void);
+ MulticastObjectGroupFactory_ptr _retn (void);
+ MulticastObjectGroupFactory_ptr ptr (void) const;
+
+ // Hooks used by template sequence and object manager classes
+ // for non-defined forward declared interfaces.
+ static MulticastObjectGroupFactory_ptr duplicate (MulticastObjectGroupFactory_ptr);
+ static void release (MulticastObjectGroupFactory_ptr);
+ static MulticastObjectGroupFactory_ptr nil (void);
+ static MulticastObjectGroupFactory_ptr narrow (CORBA::Object *, CORBA::Environment &);
+ static CORBA::Object * upcast (void *);
+
+ private:
+ MulticastObjectGroupFactory_ptr ptr_;
+ // Unimplemented - prevents widening assignment.
+ MulticastObjectGroupFactory_var (const TAO_Base_var &rhs);
+ MulticastObjectGroupFactory_var &operator= (const TAO_Base_var &rhs);
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_MULTICASTOBJECTGROUPFACTORY___OUT_CH_)
+#define _MIOP_MULTICASTOBJECTGROUPFACTORY___OUT_CH_
+
+ class TAO_PortableGroup_Export MulticastObjectGroupFactory_out
+ {
+ public:
+ MulticastObjectGroupFactory_out (MulticastObjectGroupFactory_ptr &);
+ MulticastObjectGroupFactory_out (MulticastObjectGroupFactory_var &);
+ MulticastObjectGroupFactory_out (const MulticastObjectGroupFactory_out &);
+ MulticastObjectGroupFactory_out &operator= (const MulticastObjectGroupFactory_out &);
+ MulticastObjectGroupFactory_out &operator= (const MulticastObjectGroupFactory_var &);
+ MulticastObjectGroupFactory_out &operator= (MulticastObjectGroupFactory_ptr);
+ operator MulticastObjectGroupFactory_ptr &();
+ MulticastObjectGroupFactory_ptr &ptr (void);
+ MulticastObjectGroupFactory_ptr operator-> (void);
+
+ private:
+ MulticastObjectGroupFactory_ptr &ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_MULTICASTOBJECTGROUPFACTORY_CH_)
+#define _MIOP_MULTICASTOBJECTGROUPFACTORY_CH_
+
+ class TAO_PortableGroup_Export MulticastObjectGroupFactory : public virtual CORBA_Object
+ {
+ public:
+ #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef MulticastObjectGroupFactory_ptr _ptr_type;
+ typedef MulticastObjectGroupFactory_var _var_type;
+ #endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ // the static operations
+ static MulticastObjectGroupFactory_ptr _duplicate (MulticastObjectGroupFactory_ptr obj);
+ static MulticastObjectGroupFactory_ptr _narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static MulticastObjectGroupFactory_ptr _unchecked_narrow (
+ CORBA::Object_ptr obj,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ static MulticastObjectGroupFactory_ptr _nil (void)
+ {
+ return (MulticastObjectGroupFactory_ptr)0;
+ }
+
+
+#if !defined (_MIOP_MULTICASTOBJECTGROUPFACTORY_IPADDR_CH_)
+#define _MIOP_MULTICASTOBJECTGROUPFACTORY_IPADDR_CH_
+
+ typedef CORBA::Octet ipaddr[4];
+ typedef CORBA::Octet ipaddr_slice;
+ class TAO_PortableGroup_Export ipaddr_var
+ {
+ public:
+ ipaddr_var (void); // default constructor
+ ipaddr_var (ipaddr_slice *);
+ ipaddr_var (const ipaddr_var &); // copy constructor
+ ~ipaddr_var (void); // destructor
+
+ ipaddr_var &operator= (ipaddr_slice *);
+ ipaddr_var &operator= (const ipaddr_var &);
+
+ ipaddr_slice &operator[] (CORBA::ULong index);
+ const ipaddr_slice &operator[] (CORBA::ULong index) const;
+ operator ipaddr_slice * const &() const;
+ //Calls ipaddr_copy (used in sequences of ipaddr).
+ static void copy (ipaddr_slice *_tao_to, const ipaddr_slice *_tao_from);
+ // in, inout, out, _retn
+ const ipaddr_slice *in (void) const;
+ ipaddr_slice *inout (void);
+ ipaddr_slice *&out (void);
+ ipaddr_slice *_retn (void);
+ ipaddr_slice *ptr (void) const;
+ private:
+ ipaddr_slice *ptr_;
+ };
+
+ typedef ipaddr ipaddr_out;
+ class TAO_PortableGroup_Export ipaddr_forany
+ {
+ public:
+ ipaddr_forany (void); // default constructor
+ ipaddr_forany (ipaddr_slice *, CORBA::Boolean nocopy=0);
+ ipaddr_forany (const ipaddr_forany &); // copy constructor
+ ~ipaddr_forany (void); // destructor
+ static void _tao_any_destructor (void*);
+ ipaddr_forany &operator= (ipaddr_slice *);
+ ipaddr_forany &operator= (const ipaddr_forany &);
+
+ ipaddr_slice &operator[] (CORBA::ULong index);
+ const ipaddr_slice &operator[] (CORBA::ULong index) const;
+ operator ipaddr_slice * const &() const;
+ operator ipaddr_slice *&();
+ // in, inout, out, _retn
+ const ipaddr_slice *in (void) const;
+ ipaddr_slice *inout (void);
+ ipaddr_slice *&out (void);
+ ipaddr_slice *_retn (void);
+ ipaddr_slice *ptr (void) const;
+ CORBA::Boolean nocopy (void) const;
+ private:
+ /* friend class CORBA_Any; */
+ ipaddr_slice *ptr_;
+ CORBA::Boolean nocopy_;
+ };
+
+ static ipaddr_slice *ipaddr_alloc (void);
+ static void ipaddr_free (ipaddr_slice *_tao_slice);
+ static ipaddr_slice *ipaddr_dup (const ipaddr_slice *_tao_slice);
+ static void ipaddr_copy (ipaddr_slice *_tao_to, const ipaddr_slice *_tao_from);
+
+
+#endif /* end #if !defined */
+
+ virtual CORBA::Object_ptr create_group (
+ const char * type_id,
+ const MIOP::MulticastObjectGroupFactory::ipaddr class_d_address,
+ CORBA::UShort port,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ virtual void *_tao_QueryInterface (ptr_arith_t type);
+
+ virtual const char* _interface_repository_id (void) const;
+
+ protected:
+ MulticastObjectGroupFactory ();
+
+ virtual ~MulticastObjectGroupFactory (void);
+ private:
+ MulticastObjectGroupFactory (const MulticastObjectGroupFactory &);
+ void operator= (const MulticastObjectGroupFactory &);
+ };
+
+
+#endif /* end #if !defined */
+
+
+ }
+TAO_NAMESPACE_CLOSE // module MIOP
+
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const MIOP::UniqueId &); // copying version
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, MIOP::UniqueId*); // noncopying version
+ TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, MIOP::UniqueId *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const MIOP::UniqueId *&);
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const MIOP::PacketHeader_1_0 &); // copying version
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, MIOP::PacketHeader_1_0*); // noncopying version
+ TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, MIOP::PacketHeader_1_0 *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const MIOP::PacketHeader_1_0 *&);
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const MIOP::Version &); // copying version
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, MIOP::Version*); // noncopying version
+ TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, MIOP::Version *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const MIOP::Version *&);
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const MIOP::UsingIpv4 &); // copying version
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, MIOP::UsingIpv4*); // noncopying version
+ TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, MIOP::UsingIpv4 *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const MIOP::UsingIpv4 *&);
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const MIOP::UsingIpv6 &); // copying version
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, MIOP::UsingIpv6*); // noncopying version
+ TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, MIOP::UsingIpv6 *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const MIOP::UsingIpv6 *&);
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const MIOP::IPEndpoints &); // copying version
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, MIOP::IPEndpoints*); // noncopying version
+ TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, MIOP::IPEndpoints *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const MIOP::IPEndpoints *&);
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, const MIOP::UIPMC_ProfileBody &); // copying version
+ TAO_PortableGroup_Export void operator<<= (CORBA::Any &, MIOP::UIPMC_ProfileBody*); // noncopying version
+ TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, MIOP::UIPMC_ProfileBody *&); // deprecated
+TAO_PortableGroup_Export CORBA::Boolean operator>>= (const CORBA::Any &, const MIOP::UIPMC_ProfileBody *&);
+
+ #ifndef __ACE_INLINE__
+
+
+#if !defined _TAO_CDR_OP_MIOP_UniqueId_H_
+ #define _TAO_CDR_OP_MIOP_UniqueId_H_
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (
+ TAO_OutputCDR &,
+ const MIOP::UniqueId &
+ );
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (
+ TAO_InputCDR &,
+ MIOP::UniqueId &
+ );
+
+#endif /* _TAO_CDR_OP_MIOP_UniqueId_H_ */
+
+ TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::PacketHeader_1_0 &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::PacketHeader_1_0 &);
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::PacketHeader_1_0::_magic_forany &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::PacketHeader_1_0::_magic_forany &);
+ TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::Version &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::Version &);
+ TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::UsingIpv4 &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::UsingIpv4 &);
+TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::UsingIpv4::_class_d_address_forany &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::UsingIpv4::_class_d_address_forany &);
+ TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::UsingIpv6 &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::UsingIpv6 &);
+ TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::IPEndpoints &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::IPEndpoints &);
+ TAO_PortableGroup_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const MIOP::UIPMC_ProfileBody &);
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (TAO_InputCDR &, MIOP::UIPMC_ProfileBody &);
+
+#if !defined _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_H_
+ #define _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_H_
+
+TAO_PortableGroup_Export CORBA::Boolean operator<< (
+ TAO_OutputCDR &,
+ const MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent &
+ );
+ TAO_PortableGroup_Export CORBA::Boolean operator>> (
+ TAO_InputCDR &,
+ MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent &
+ );
+
+#endif /* _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_H_ */
+
+
+ #endif /* __ACE_INLINE__ */
+
+
+#if defined (__ACE_INLINE__)
+#include "miopC.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/miopC.i b/TAO/tao/PortableGroup/miopC.i
new file mode 100644
index 00000000000..30efff8800b
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopC.i
@@ -0,0 +1,2500 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_BOUNDED_SEQUENCE_MIOP_UNIQUEID_252_CI_)
+#define __TAO_BOUNDED_SEQUENCE_MIOP_UNIQUEID_252_CI_
+
+ // = Static operations.
+ ACE_INLINE CORBA::Octet *
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::allocbuf (CORBA::ULong) // Allocate storage for the sequence.
+ {
+ CORBA::Octet *retval = 0;
+ ACE_NEW_RETURN (retval, CORBA::Octet[252U], 0);
+ return retval;
+ }
+
+ ACE_INLINE void
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::freebuf (CORBA::Octet *buffer) // Free the sequence.
+ {
+ delete [] buffer;
+ }
+
+ ACE_INLINE
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::_TAO_Bounded_Sequence_MIOP_UniqueId_252 (void)
+ // Default constructor.
+ : TAO_Bounded_Base_Sequence (252U, 0)
+ {
+ }
+
+ ACE_INLINE
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::_TAO_Bounded_Sequence_MIOP_UniqueId_252 (CORBA::ULong length,
+ CORBA::Octet *data,
+ CORBA::Boolean release)
+ // Constructor using the data and memory management flag.
+ : TAO_Bounded_Base_Sequence (252U, length, data, release)
+ {
+ }
+
+ ACE_INLINE
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::_TAO_Bounded_Sequence_MIOP_UniqueId_252 (const _TAO_Bounded_Sequence_MIOP_UniqueId_252 &rhs)
+ // Copy constructor.
+ : TAO_Bounded_Base_Sequence (rhs)
+ {
+ if (rhs.buffer_ != 0)
+ {
+ CORBA::Octet *tmp1 = _TAO_Bounded_Sequence_MIOP_UniqueId_252::allocbuf (252U);
+
+ CORBA::Octet * const tmp2 = ACE_reinterpret_cast (CORBA::Octet * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ this->buffer_ = tmp1;
+ }
+ else
+ {
+ this->buffer_ = 0;
+ }
+ }
+
+ ACE_INLINE MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252 &
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::operator= (const _TAO_Bounded_Sequence_MIOP_UniqueId_252 &rhs)
+ // Assignment operator.
+ {
+ if (this == &rhs)
+ return *this;
+
+ if (this->release_ && this->buffer_ != 0)
+ {
+ }
+ else
+ this->buffer_ = _TAO_Bounded_Sequence_MIOP_UniqueId_252::allocbuf (rhs.maximum_);
+
+ TAO_Bounded_Base_Sequence::operator= (rhs);
+
+ CORBA::Octet* tmp1 = ACE_reinterpret_cast (CORBA::Octet *, this->buffer_);
+ CORBA::Octet* const tmp2 = ACE_reinterpret_cast (CORBA::Octet * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ return *this;
+ }
+
+ // = Accessors.
+ ACE_INLINE CORBA::Octet &
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::operator[] (CORBA::ULong i)// operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ CORBA::Octet *tmp = ACE_reinterpret_cast (CORBA::Octet*,this->buffer_);
+ return tmp[i];
+ }
+ ACE_INLINE const CORBA::Octet &
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::operator[] (CORBA::ULong i) const// operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ const CORBA::Octet* tmp = ACE_reinterpret_cast (const CORBA::Octet* ACE_CAST_CONST,this->buffer_);
+ return tmp[i];
+ }
+
+ ACE_INLINE CORBA::Octet *
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::get_buffer (CORBA::Boolean orphan)
+ {
+ CORBA::Octet *result = 0;
+ if (orphan == 0)
+ {
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result = _TAO_Bounded_Sequence_MIOP_UniqueId_252::allocbuf (this->maximum_);
+ this->buffer_ = result;
+ this->release_ = 1;
+ }
+ else
+ {
+ result = ACE_reinterpret_cast (CORBA::Octet*, 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::Octet*,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
+ }
+ return result;
+ }
+
+ ACE_INLINE const CORBA::Octet *
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::get_buffer (void) const
+ {
+ return ACE_reinterpret_cast(const CORBA::Octet * ACE_CAST_CONST, this->buffer_);
+ }
+
+ ACE_INLINE void
+ MIOP::_TAO_Bounded_Sequence_MIOP_UniqueId_252::replace (CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *data,
+ CORBA::Boolean release)
+ {
+ this->maximum_ = max;
+ this->length_ = length;
+ if (this->buffer_ && this->release_ == 1)
+ {
+ CORBA::Octet* tmp = ACE_reinterpret_cast(CORBA::Octet* ACE_CAST_CONST, this->buffer_);
+ _TAO_Bounded_Sequence_MIOP_UniqueId_252::freebuf (tmp);
+ }
+ this->buffer_ = data;
+ this->release_ = release;
+ }
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_MIOP_UNIQUEID_CI_)
+#define _MIOP_UNIQUEID_CI_
+
+// *************************************************************
+// Inline operations for class MIOP::UniqueId_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::UniqueId_var::UniqueId_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::UniqueId_var::UniqueId_var (UniqueId *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::UniqueId_var::UniqueId_var (const ::MIOP::UniqueId_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::MIOP::UniqueId (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+// fixed-size base types only
+ACE_INLINE
+MIOP::UniqueId_var::UniqueId_var (const ::MIOP::UniqueId &p)
+{
+ ACE_NEW (this->ptr_, ::MIOP::UniqueId (p));
+}
+
+ACE_INLINE
+MIOP::UniqueId_var::~UniqueId_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE MIOP::UniqueId_var &
+MIOP::UniqueId_var::operator= (UniqueId *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::UniqueId_var &
+MIOP::UniqueId_var::operator= (const ::MIOP::UniqueId_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ UniqueId *deep_copy =
+ new UniqueId (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ UniqueId *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+// fixed-size types only
+ACE_INLINE ::MIOP::UniqueId_var &
+MIOP::UniqueId_var::operator= (const ::MIOP::UniqueId &p)
+{
+ if (this->ptr_ != &p)
+ {
+ delete this->ptr_;
+ ACE_NEW_RETURN (this->ptr_, ::MIOP::UniqueId (p), *this);
+ }
+ return *this;
+}
+
+ACE_INLINE const ::MIOP::UniqueId *
+MIOP::UniqueId_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UniqueId *
+MIOP::UniqueId_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UniqueId_var::operator const ::MIOP::UniqueId &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UniqueId_var::operator ::MIOP::UniqueId &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UniqueId_var::operator ::MIOP::UniqueId &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE CORBA::Octet &
+MIOP::UniqueId_var::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+ACE_INLINE const CORBA::Octet &
+MIOP::UniqueId_var::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const CORBA::Octet &, this->ptr_->operator[] (index));
+}
+
+ACE_INLINE const ::MIOP::UniqueId &
+MIOP::UniqueId_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UniqueId &
+MIOP::UniqueId_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::MIOP::UniqueId *&
+MIOP::UniqueId_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UniqueId *
+MIOP::UniqueId_var::_retn (void)
+{
+ ::MIOP::UniqueId *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::MIOP::UniqueId *
+MIOP::UniqueId_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::UniqueId_out
+// *************************************************************
+
+ACE_INLINE
+MIOP::UniqueId_out::UniqueId_out (UniqueId *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UniqueId_out::UniqueId_out (UniqueId_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UniqueId_out::UniqueId_out (const ::MIOP::UniqueId_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (UniqueId_out&, p).ptr_)
+{}
+
+ACE_INLINE ::MIOP::UniqueId_out &
+MIOP::UniqueId_out::operator= (const ::MIOP::UniqueId_out &p)
+{
+ this->ptr_ = ACE_const_cast (UniqueId_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::UniqueId_out &
+MIOP::UniqueId_out::operator= (UniqueId *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+MIOP::UniqueId_out::operator ::MIOP::UniqueId *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UniqueId *&
+MIOP::UniqueId_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UniqueId *
+MIOP::UniqueId_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE CORBA::Octet &
+MIOP::UniqueId_out::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+
+#endif /* end #if !defined */
+
+// *************************************************************
+// Inline operations for class MIOP::PacketHeader_1_0_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::PacketHeader_1_0_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::PacketHeader_1_0_var (PacketHeader_1_0 *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::PacketHeader_1_0_var (const ::MIOP::PacketHeader_1_0_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::MIOP::PacketHeader_1_0 (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::~PacketHeader_1_0_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0_var &
+MIOP::PacketHeader_1_0_var::operator= (PacketHeader_1_0 *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::PacketHeader_1_0_var &
+MIOP::PacketHeader_1_0_var::operator= (const ::MIOP::PacketHeader_1_0_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ PacketHeader_1_0 *deep_copy =
+ new PacketHeader_1_0 (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ PacketHeader_1_0 *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::MIOP::PacketHeader_1_0 *
+MIOP::PacketHeader_1_0_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::PacketHeader_1_0 *
+MIOP::PacketHeader_1_0_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::operator const ::MIOP::PacketHeader_1_0 &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::operator ::MIOP::PacketHeader_1_0 &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::operator ::MIOP::PacketHeader_1_0 &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+MIOP::PacketHeader_1_0_var::operator ::MIOP::PacketHeader_1_0 *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE const ::MIOP::PacketHeader_1_0 &
+MIOP::PacketHeader_1_0_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::PacketHeader_1_0 &
+MIOP::PacketHeader_1_0_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::MIOP::PacketHeader_1_0 *&
+MIOP::PacketHeader_1_0_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::PacketHeader_1_0 *
+MIOP::PacketHeader_1_0_var::_retn (void)
+{
+ ::MIOP::PacketHeader_1_0 *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::MIOP::PacketHeader_1_0 *
+MIOP::PacketHeader_1_0_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::PacketHeader_1_0_out
+// *************************************************************
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_out::PacketHeader_1_0_out (::MIOP::PacketHeader_1_0 *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_out::PacketHeader_1_0_out (PacketHeader_1_0_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_out::PacketHeader_1_0_out (const ::MIOP::PacketHeader_1_0_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (PacketHeader_1_0_out&, p).ptr_)
+{}
+
+ACE_INLINE MIOP::PacketHeader_1_0_out &
+MIOP::PacketHeader_1_0_out::operator= (const ::MIOP::PacketHeader_1_0_out &p)
+{
+ this->ptr_ = ACE_const_cast (PacketHeader_1_0_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0_out &
+MIOP::PacketHeader_1_0_out::operator= (PacketHeader_1_0 *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0_out::operator ::MIOP::PacketHeader_1_0 *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::PacketHeader_1_0 *&
+MIOP::PacketHeader_1_0_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::PacketHeader_1_0 *
+MIOP::PacketHeader_1_0_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::PacketHeader_1_0::_magic_forany
+// *************************************************************
+
+ACE_INLINE
+MIOP::PacketHeader_1_0::_magic_forany::_magic_forany (void) // default constructor
+ : ptr_ (0),
+ nocopy_ (0)
+{}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0::_magic_forany::_magic_forany (MIOP::PacketHeader_1_0::_magic_slice *p, CORBA::Boolean nocopy)
+ : ptr_ (p),
+ nocopy_ (nocopy)
+{}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0::_magic_forany::_magic_forany (const MIOP::PacketHeader_1_0::_magic_forany &p) // copy constructor
+{
+ this->ptr_ = MIOP::PacketHeader_1_0::_magic_dup (ACE_const_cast (const MIOP::PacketHeader_1_0::_magic_slice *, p.ptr_));
+ this->nocopy_ = p.nocopy_;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0::_magic_forany::~_magic_forany (void) // destructor
+{
+ // don't do anything
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0::_magic_forany &
+MIOP::PacketHeader_1_0::_magic_forany::operator= (MIOP::PacketHeader_1_0::_magic_slice *p)
+{
+ // is what we own the same that is being assigned to us?
+ if (this->ptr_ != p)
+ {
+ // delete our stuff and assume ownership of p
+ MIOP::PacketHeader_1_0::_magic_free (this->ptr_);
+ this->ptr_ = p;
+ }
+ return *this;
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0::_magic_forany &
+MIOP::PacketHeader_1_0::_magic_forany::operator= (const MIOP::PacketHeader_1_0::_magic_forany &p)
+{
+ if (this != &p)
+ {
+ // not assigning to ourselves
+ MIOP::PacketHeader_1_0::_magic_free (this->ptr_); // free old stuff
+ // deep copy
+ this->ptr_ = MIOP::PacketHeader_1_0::_magic_dup (ACE_const_cast (const MIOP::PacketHeader_1_0::_magic_slice *, p.ptr_));
+ this->nocopy_ = p.nocopy_;
+ }
+ return *this;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0::_magic_forany::operator MIOP::PacketHeader_1_0::_magic_slice * const &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0::_magic_forany::operator MIOP::PacketHeader_1_0::_magic_slice *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+const MIOP::PacketHeader_1_0::_magic_slice &
+MIOP::PacketHeader_1_0::_magic_forany::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const MIOP::PacketHeader_1_0::_magic_slice &, this->ptr_[index]);
+}
+
+ACE_INLINE
+MIOP::PacketHeader_1_0::_magic_slice &
+MIOP::PacketHeader_1_0::_magic_forany::operator[] (CORBA::ULong index)
+{
+ return this->ptr_[index];
+}
+
+ACE_INLINE const MIOP::PacketHeader_1_0::_magic_slice *
+MIOP::PacketHeader_1_0::_magic_forany::in (void) const
+{
+ return ACE_const_cast (const MIOP::PacketHeader_1_0::_magic_slice *, this->ptr_);
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0::_magic_slice *
+MIOP::PacketHeader_1_0::_magic_forany::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0::_magic_slice * &
+MIOP::PacketHeader_1_0::_magic_forany::out (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0::_magic_slice *
+MIOP::PacketHeader_1_0::_magic_forany::_retn (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::PacketHeader_1_0::_magic_slice *
+MIOP::PacketHeader_1_0::_magic_forany::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE CORBA::Boolean
+MIOP::PacketHeader_1_0::_magic_forany::nocopy (void) const
+{
+ return this->nocopy_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::Version_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::Version_var::Version_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::Version_var::Version_var (Version *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::Version_var::Version_var (const ::MIOP::Version_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::MIOP::Version (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+// fixed-size types only
+ACE_INLINE
+MIOP::Version_var::Version_var (const ::MIOP::Version &p)
+{
+ ACE_NEW (this->ptr_, ::MIOP::Version (p));
+}
+
+ACE_INLINE
+MIOP::Version_var::~Version_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE MIOP::Version_var &
+MIOP::Version_var::operator= (Version *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::Version_var &
+MIOP::Version_var::operator= (const ::MIOP::Version_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ Version *deep_copy =
+ new Version (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ Version *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+// fixed-size types only
+ACE_INLINE MIOP::Version_var &
+MIOP::Version_var::operator= (const ::MIOP::Version &p)
+{
+ if (this->ptr_ != &p)
+ {
+ delete this->ptr_;
+ ACE_NEW_RETURN (this->ptr_, ::MIOP::Version (p), *this);
+ }
+ return *this;
+}
+
+ACE_INLINE const ::MIOP::Version *
+MIOP::Version_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::Version *
+MIOP::Version_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::Version_var::operator const ::MIOP::Version &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::Version_var::operator ::MIOP::Version &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::Version_var::operator ::MIOP::Version &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE const ::MIOP::Version &
+MIOP::Version_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::Version &
+MIOP::Version_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for fixed size
+ACE_INLINE ::MIOP::Version &
+MIOP::Version_var::out (void)
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::Version
+MIOP::Version_var::_retn (void)
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::Version *
+MIOP::Version_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::UsingIpv4_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::UsingIpv4_var::UsingIpv4_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::UsingIpv4_var::UsingIpv4_var (UsingIpv4 *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::UsingIpv4_var::UsingIpv4_var (const ::MIOP::UsingIpv4_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::MIOP::UsingIpv4 (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+// fixed-size types only
+ACE_INLINE
+MIOP::UsingIpv4_var::UsingIpv4_var (const ::MIOP::UsingIpv4 &p)
+{
+ ACE_NEW (this->ptr_, ::MIOP::UsingIpv4 (p));
+}
+
+ACE_INLINE
+MIOP::UsingIpv4_var::~UsingIpv4_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE MIOP::UsingIpv4_var &
+MIOP::UsingIpv4_var::operator= (UsingIpv4 *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::UsingIpv4_var &
+MIOP::UsingIpv4_var::operator= (const ::MIOP::UsingIpv4_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ UsingIpv4 *deep_copy =
+ new UsingIpv4 (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ UsingIpv4 *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+// fixed-size types only
+ACE_INLINE MIOP::UsingIpv4_var &
+MIOP::UsingIpv4_var::operator= (const ::MIOP::UsingIpv4 &p)
+{
+ if (this->ptr_ != &p)
+ {
+ delete this->ptr_;
+ ACE_NEW_RETURN (this->ptr_, ::MIOP::UsingIpv4 (p), *this);
+ }
+ return *this;
+}
+
+ACE_INLINE const ::MIOP::UsingIpv4 *
+MIOP::UsingIpv4_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv4 *
+MIOP::UsingIpv4_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv4_var::operator const ::MIOP::UsingIpv4 &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv4_var::operator ::MIOP::UsingIpv4 &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv4_var::operator ::MIOP::UsingIpv4 &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE const ::MIOP::UsingIpv4 &
+MIOP::UsingIpv4_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv4 &
+MIOP::UsingIpv4_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for fixed size
+ACE_INLINE ::MIOP::UsingIpv4 &
+MIOP::UsingIpv4_var::out (void)
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv4
+MIOP::UsingIpv4_var::_retn (void)
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv4 *
+MIOP::UsingIpv4_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::UsingIpv4::_class_d_address_forany
+// *************************************************************
+
+ACE_INLINE
+MIOP::UsingIpv4::_class_d_address_forany::_class_d_address_forany (void) // default constructor
+ : ptr_ (0),
+ nocopy_ (0)
+{}
+
+ACE_INLINE
+MIOP::UsingIpv4::_class_d_address_forany::_class_d_address_forany (MIOP::UsingIpv4::_class_d_address_slice *p, CORBA::Boolean nocopy)
+ : ptr_ (p),
+ nocopy_ (nocopy)
+{}
+
+ACE_INLINE
+MIOP::UsingIpv4::_class_d_address_forany::_class_d_address_forany (const MIOP::UsingIpv4::_class_d_address_forany &p) // copy constructor
+{
+ this->ptr_ = MIOP::UsingIpv4::_class_d_address_dup (ACE_const_cast (const MIOP::UsingIpv4::_class_d_address_slice *, p.ptr_));
+ this->nocopy_ = p.nocopy_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv4::_class_d_address_forany::~_class_d_address_forany (void) // destructor
+{
+ // don't do anything
+}
+
+ACE_INLINE MIOP::UsingIpv4::_class_d_address_forany &
+MIOP::UsingIpv4::_class_d_address_forany::operator= (MIOP::UsingIpv4::_class_d_address_slice *p)
+{
+ // is what we own the same that is being assigned to us?
+ if (this->ptr_ != p)
+ {
+ // delete our stuff and assume ownership of p
+ MIOP::UsingIpv4::_class_d_address_free (this->ptr_);
+ this->ptr_ = p;
+ }
+ return *this;
+}
+
+ACE_INLINE MIOP::UsingIpv4::_class_d_address_forany &
+MIOP::UsingIpv4::_class_d_address_forany::operator= (const MIOP::UsingIpv4::_class_d_address_forany &p)
+{
+ if (this != &p)
+ {
+ // not assigning to ourselves
+ MIOP::UsingIpv4::_class_d_address_free (this->ptr_); // free old stuff
+ // deep copy
+ this->ptr_ = MIOP::UsingIpv4::_class_d_address_dup (ACE_const_cast (const MIOP::UsingIpv4::_class_d_address_slice *, p.ptr_));
+ this->nocopy_ = p.nocopy_;
+ }
+ return *this;
+}
+
+ACE_INLINE
+MIOP::UsingIpv4::_class_d_address_forany::operator MIOP::UsingIpv4::_class_d_address_slice * const &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv4::_class_d_address_forany::operator MIOP::UsingIpv4::_class_d_address_slice *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+const MIOP::UsingIpv4::_class_d_address_slice &
+MIOP::UsingIpv4::_class_d_address_forany::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const MIOP::UsingIpv4::_class_d_address_slice &, this->ptr_[index]);
+}
+
+ACE_INLINE
+MIOP::UsingIpv4::_class_d_address_slice &
+MIOP::UsingIpv4::_class_d_address_forany::operator[] (CORBA::ULong index)
+{
+ return this->ptr_[index];
+}
+
+ACE_INLINE const MIOP::UsingIpv4::_class_d_address_slice *
+MIOP::UsingIpv4::_class_d_address_forany::in (void) const
+{
+ return ACE_const_cast (const MIOP::UsingIpv4::_class_d_address_slice *, this->ptr_);
+}
+
+ACE_INLINE MIOP::UsingIpv4::_class_d_address_slice *
+MIOP::UsingIpv4::_class_d_address_forany::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::UsingIpv4::_class_d_address_slice * &
+MIOP::UsingIpv4::_class_d_address_forany::out (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::UsingIpv4::_class_d_address_slice *
+MIOP::UsingIpv4::_class_d_address_forany::_retn (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::UsingIpv4::_class_d_address_slice *
+MIOP::UsingIpv4::_class_d_address_forany::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE CORBA::Boolean
+MIOP::UsingIpv4::_class_d_address_forany::nocopy (void) const
+{
+ return this->nocopy_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::UsingIpv6_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::UsingIpv6_var::UsingIpv6_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::UsingIpv6_var::UsingIpv6_var (UsingIpv6 *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::UsingIpv6_var::UsingIpv6_var (const ::MIOP::UsingIpv6_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::MIOP::UsingIpv6 (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UsingIpv6_var::~UsingIpv6_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE MIOP::UsingIpv6_var &
+MIOP::UsingIpv6_var::operator= (UsingIpv6 *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::UsingIpv6_var &
+MIOP::UsingIpv6_var::operator= (const ::MIOP::UsingIpv6_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ UsingIpv6 *deep_copy =
+ new UsingIpv6 (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ UsingIpv6 *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::MIOP::UsingIpv6 *
+MIOP::UsingIpv6_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv6 *
+MIOP::UsingIpv6_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv6_var::operator const ::MIOP::UsingIpv6 &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv6_var::operator ::MIOP::UsingIpv6 &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UsingIpv6_var::operator ::MIOP::UsingIpv6 &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+MIOP::UsingIpv6_var::operator ::MIOP::UsingIpv6 *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE const ::MIOP::UsingIpv6 &
+MIOP::UsingIpv6_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv6 &
+MIOP::UsingIpv6_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::MIOP::UsingIpv6 *&
+MIOP::UsingIpv6_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv6 *
+MIOP::UsingIpv6_var::_retn (void)
+{
+ ::MIOP::UsingIpv6 *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::MIOP::UsingIpv6 *
+MIOP::UsingIpv6_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::UsingIpv6_out
+// *************************************************************
+
+ACE_INLINE
+MIOP::UsingIpv6_out::UsingIpv6_out (::MIOP::UsingIpv6 *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UsingIpv6_out::UsingIpv6_out (UsingIpv6_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UsingIpv6_out::UsingIpv6_out (const ::MIOP::UsingIpv6_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (UsingIpv6_out&, p).ptr_)
+{}
+
+ACE_INLINE MIOP::UsingIpv6_out &
+MIOP::UsingIpv6_out::operator= (const ::MIOP::UsingIpv6_out &p)
+{
+ this->ptr_ = ACE_const_cast (UsingIpv6_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE MIOP::UsingIpv6_out &
+MIOP::UsingIpv6_out::operator= (UsingIpv6 *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+MIOP::UsingIpv6_out::operator ::MIOP::UsingIpv6 *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv6 *&
+MIOP::UsingIpv6_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UsingIpv6 *
+MIOP::UsingIpv6_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for union MIOP::IPEndpoints
+// *************************************************************
+
+// this reset method is used by the decoding engine
+ACE_INLINE void
+MIOP::IPEndpoints::_reset (void)
+{
+ this->_reset (this->disc_, 1);
+ ACE_OS::memcpy (&this->u_, 0, sizeof (this->u_));
+}
+
+// the implicit _default () method
+ACE_INLINE void
+MIOP::IPEndpoints::_default ()
+{
+ this->disc_ = -32768;
+}
+
+// accessor to set the discriminant
+ACE_INLINE void
+MIOP::IPEndpoints::_d (CORBA::Short discval)
+{
+ this->disc_ = discval;
+}
+// accessor to get the discriminant
+ACE_INLINE CORBA::Short
+MIOP::IPEndpoints::_d (void) const
+{
+ return this->disc_;
+}
+
+// accessor to set the member
+ACE_INLINE void
+MIOP::IPEndpoints::ipv4_endpoints (const MIOP::UsingIpv4 &val)
+{
+ // set the discriminant val
+ this->_reset (0, 0);
+ this->disc_ = 0;
+ this->u_.ipv4_endpoints_ = val;
+}
+
+// readonly get method
+ACE_INLINE const MIOP::UsingIpv4 &
+MIOP::IPEndpoints::ipv4_endpoints (void) const
+{
+ return this->u_.ipv4_endpoints_;
+}
+
+// read/write get method
+ACE_INLINE MIOP::UsingIpv4 &
+MIOP::IPEndpoints::ipv4_endpoints (void)
+{
+ return this->u_.ipv4_endpoints_;
+}
+
+// accessor to set the member
+ACE_INLINE void
+MIOP::IPEndpoints::ipv6_endpoints (const MIOP::UsingIpv6 &val)
+{
+ // set the discriminant val
+ this->_reset (1, 0);
+ this->disc_ = 1;
+ ACE_NEW (
+ this->u_.ipv6_endpoints_,
+ MIOP::UsingIpv6 (val)
+ );
+}
+
+// readonly get method
+ACE_INLINE const MIOP::UsingIpv6 &
+MIOP::IPEndpoints::ipv6_endpoints (void) const
+{
+ return *this->u_.ipv6_endpoints_;
+}
+
+// read/write get method
+ACE_INLINE MIOP::UsingIpv6 &
+MIOP::IPEndpoints::ipv6_endpoints (void)
+{
+ return *this->u_.ipv6_endpoints_;
+}
+
+
+#if !defined (_MIOP_IPENDPOINTS___VAR_CI_)
+#define _MIOP_IPENDPOINTS___VAR_CI_
+
+// *************************************************************
+// Inline operations for class MIOP::IPEndpoints_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::IPEndpoints_var::IPEndpoints_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::IPEndpoints_var::IPEndpoints_var (IPEndpoints *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::IPEndpoints_var::IPEndpoints_var (const ::MIOP::IPEndpoints_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::MIOP::IPEndpoints (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::IPEndpoints_var::~IPEndpoints_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints_var &
+MIOP::IPEndpoints_var::operator= (IPEndpoints *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints_var &
+MIOP::IPEndpoints_var::operator= (const ::MIOP::IPEndpoints_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ IPEndpoints *deep_copy =
+ new IPEndpoints (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ IPEndpoints *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::MIOP::IPEndpoints *
+MIOP::IPEndpoints_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints *
+MIOP::IPEndpoints_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::IPEndpoints_var::operator const ::MIOP::IPEndpoints &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::IPEndpoints_var::operator ::MIOP::IPEndpoints &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::IPEndpoints_var::operator ::MIOP::IPEndpoints &() const// cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+MIOP::IPEndpoints_var::operator ::MIOP::IPEndpoints *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE const ::MIOP::IPEndpoints &
+MIOP::IPEndpoints_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints &
+MIOP::IPEndpoints_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::MIOP::IPEndpoints *&
+MIOP::IPEndpoints_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints *
+MIOP::IPEndpoints_var::_retn (void)
+{
+ ::MIOP::IPEndpoints *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints *
+MIOP::IPEndpoints_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_MIOP_IPENDPOINTS___OUT_CI_)
+#define _MIOP_IPENDPOINTS___OUT_CI_
+
+// *************************************************************
+// Inline operations for class MIOP::IPEndpoints_out
+// *************************************************************
+
+ACE_INLINE
+MIOP::IPEndpoints_out::IPEndpoints_out (IPEndpoints *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::IPEndpoints_out::IPEndpoints_out (IPEndpoints_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::IPEndpoints_out::IPEndpoints_out (const ::MIOP::IPEndpoints_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (IPEndpoints_out&, p).ptr_)
+{}
+
+ACE_INLINE ::MIOP::IPEndpoints_out &
+MIOP::IPEndpoints_out::operator= (const ::MIOP::IPEndpoints_out &p)
+{
+ this->ptr_ = ACE_const_cast (IPEndpoints_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints_out &
+MIOP::IPEndpoints_out::operator= (IPEndpoints *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+MIOP::IPEndpoints_out::operator ::MIOP::IPEndpoints *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints *&
+MIOP::IPEndpoints_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::IPEndpoints *
+MIOP::IPEndpoints_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#endif /* end #if !defined */
+
+// *************************************************************
+// Inline operations for class MIOP::UIPMC_ProfileBody_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::UIPMC_ProfileBody_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::UIPMC_ProfileBody_var (UIPMC_ProfileBody *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::UIPMC_ProfileBody_var (const ::MIOP::UIPMC_ProfileBody_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::MIOP::UIPMC_ProfileBody (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::~UIPMC_ProfileBody_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE MIOP::UIPMC_ProfileBody_var &
+MIOP::UIPMC_ProfileBody_var::operator= (UIPMC_ProfileBody *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::MIOP::UIPMC_ProfileBody_var &
+MIOP::UIPMC_ProfileBody_var::operator= (const ::MIOP::UIPMC_ProfileBody_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ UIPMC_ProfileBody *deep_copy =
+ new UIPMC_ProfileBody (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ UIPMC_ProfileBody *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::MIOP::UIPMC_ProfileBody *
+MIOP::UIPMC_ProfileBody_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UIPMC_ProfileBody *
+MIOP::UIPMC_ProfileBody_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::operator const ::MIOP::UIPMC_ProfileBody &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::operator ::MIOP::UIPMC_ProfileBody &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::operator ::MIOP::UIPMC_ProfileBody &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_var::operator ::MIOP::UIPMC_ProfileBody *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE const ::MIOP::UIPMC_ProfileBody &
+MIOP::UIPMC_ProfileBody_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UIPMC_ProfileBody &
+MIOP::UIPMC_ProfileBody_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::MIOP::UIPMC_ProfileBody *&
+MIOP::UIPMC_ProfileBody_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UIPMC_ProfileBody *
+MIOP::UIPMC_ProfileBody_var::_retn (void)
+{
+ ::MIOP::UIPMC_ProfileBody *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::MIOP::UIPMC_ProfileBody *
+MIOP::UIPMC_ProfileBody_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::UIPMC_ProfileBody_out
+// *************************************************************
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_out::UIPMC_ProfileBody_out (::MIOP::UIPMC_ProfileBody *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_out::UIPMC_ProfileBody_out (UIPMC_ProfileBody_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_out::UIPMC_ProfileBody_out (const ::MIOP::UIPMC_ProfileBody_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (UIPMC_ProfileBody_out&, p).ptr_)
+{}
+
+ACE_INLINE MIOP::UIPMC_ProfileBody_out &
+MIOP::UIPMC_ProfileBody_out::operator= (const ::MIOP::UIPMC_ProfileBody_out &p)
+{
+ this->ptr_ = ACE_const_cast (UIPMC_ProfileBody_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE MIOP::UIPMC_ProfileBody_out &
+MIOP::UIPMC_ProfileBody_out::operator= (UIPMC_ProfileBody *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+MIOP::UIPMC_ProfileBody_out::operator ::MIOP::UIPMC_ProfileBody *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UIPMC_ProfileBody *&
+MIOP::UIPMC_ProfileBody_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::MIOP::UIPMC_ProfileBody *
+MIOP::UIPMC_ProfileBody_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CI_)
+#define __TAO_UNBOUNDED_SEQUENCE_MIOP_UIPMC_PROFILEBODY__TAO_SEQ_TAGGEDCOMPONENT_CI_
+
+ // = Static operations.
+ ACE_INLINE IOP::TaggedComponent *
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::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 MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::freebuf (IOP::TaggedComponent *buffer)
+ // Free the sequence.
+ {
+ delete [] buffer;
+ }
+
+ ACE_INLINE
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (void) // Default constructor.
+ {
+ }
+
+ ACE_INLINE
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (CORBA::ULong maximum) // Constructor using a maximum length value.
+ : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::allocbuf (maximum))
+ {
+ }
+
+ ACE_INLINE
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (CORBA::ULong maximum,
+ CORBA::ULong length,
+ IOP::TaggedComponent *data,
+ CORBA::Boolean release)
+ : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
+ {
+ }
+
+ ACE_INLINE
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent (const _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent &rhs)
+ // Copy constructor.
+ : TAO_Unbounded_Base_Sequence (rhs)
+ {
+ if (rhs.buffer_ != 0)
+ {
+ IOP::TaggedComponent *tmp1 = _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::allocbuf (this->maximum_);
+ IOP::TaggedComponent * const tmp2 = ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ this->buffer_ = tmp1;
+ }
+ else
+ {
+ this->buffer_ = 0;
+ }
+ }
+
+ ACE_INLINE MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent &
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::operator= (const _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent &rhs)
+ // Assignment operator.
+ {
+ if (this == &rhs)
+ return *this;
+
+ if (this->release_)
+ {
+ if (this->maximum_ < rhs.maximum_)
+ {
+ // free the old buffer
+ IOP::TaggedComponent *tmp = ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
+ _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::freebuf (tmp);
+ this->buffer_ = _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::allocbuf (rhs.maximum_);
+ }
+ }
+ else
+ this->buffer_ = _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::allocbuf (rhs.maximum_);
+
+ TAO_Unbounded_Base_Sequence::operator= (rhs);
+
+ IOP::TaggedComponent *tmp1 = ACE_reinterpret_cast (IOP::TaggedComponent *, this->buffer_);
+ IOP::TaggedComponent * const tmp2 = ACE_reinterpret_cast (IOP::TaggedComponent * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ return *this;
+ }
+
+ // = Accessors.
+ ACE_INLINE IOP::TaggedComponent &
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::operator[] (CORBA::ULong i)
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ IOP::TaggedComponent* tmp = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
+ return tmp[i];
+ }
+
+ ACE_INLINE const IOP::TaggedComponent &
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::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_);
+ return tmp[i];
+ }
+
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ ACE_INLINE IOP::TaggedComponent *
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::get_buffer (CORBA::Boolean orphan)
+ {
+ IOP::TaggedComponent *result = 0;
+ if (orphan == 0)
+ {
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result = _TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::allocbuf (this->length_);
+ this->buffer_ = result;
+ this->release_ = 1;
+ }
+ else
+ {
+ result = ACE_reinterpret_cast (IOP::TaggedComponent*, this->buffer_);
+ }
+ }
+ else // if (orphan == 1)
+ {
+ if (this->release_ != 0)
+ {
+ // We set the state back to default and relinquish
+ // ownership.
+ result = ACE_reinterpret_cast(IOP::TaggedComponent*,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
+ }
+ return result;
+ }
+
+ ACE_INLINE const IOP::TaggedComponent *
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::get_buffer (void) const
+ {
+ return ACE_reinterpret_cast(const IOP::TaggedComponent * ACE_CAST_CONST, this->buffer_);
+ }
+
+ ACE_INLINE void
+ MIOP::UIPMC_ProfileBody::_TAO_Unbounded_Sequence_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::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_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent::freebuf (tmp);
+ }
+ this->buffer_ = data;
+ this->release_ = release;
+ }
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+// *************************************************************
+// Inline operations for class MIOP::MulticastObjectGroupFactory::ipaddr_var
+// *************************************************************
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_var::ipaddr_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_var::ipaddr_var (MIOP::MulticastObjectGroupFactory::ipaddr_slice *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_var::ipaddr_var (const MIOP::MulticastObjectGroupFactory::ipaddr_var &p) // copy constructor
+{
+ this->ptr_ = MIOP::MulticastObjectGroupFactory::ipaddr_dup (ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice *, p.ptr_));
+}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_var::~ipaddr_var (void) // destructor
+{
+ MIOP::MulticastObjectGroupFactory::ipaddr_free (this->ptr_);
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_var &
+MIOP::MulticastObjectGroupFactory::ipaddr_var::operator= (MIOP::MulticastObjectGroupFactory::ipaddr_slice *p)
+{
+ // is what we own the same that is being assigned to us?
+ if (this->ptr_ != p)
+ {
+ // delete our stuff and assume ownership of p
+ MIOP::MulticastObjectGroupFactory::ipaddr_free (this->ptr_);
+ this->ptr_ = p;
+ }
+ return *this;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_var &
+MIOP::MulticastObjectGroupFactory::ipaddr_var::operator= (const MIOP::MulticastObjectGroupFactory::ipaddr_var &p)
+{
+ if (this != &p)
+ {
+ // not assigning to ourselves
+ MIOP::MulticastObjectGroupFactory::ipaddr_free (this->ptr_); // free old stuff
+ // deep copy
+ this->ptr_ = MIOP::MulticastObjectGroupFactory::ipaddr_dup (ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice *, p.ptr_));
+ }
+ return *this;
+}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_var::operator MIOP::MulticastObjectGroupFactory::ipaddr_slice * const &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+const MIOP::MulticastObjectGroupFactory::ipaddr_slice &
+MIOP::MulticastObjectGroupFactory::ipaddr_var::operator[] (CORBA::ULong index) const
+{
+#if defined (ACE_HAS_BROKEN_IMPLICIT_CONST_CAST)
+ return ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice &, this->ptr_[index]);
+#else
+ const MIOP::MulticastObjectGroupFactory::ipaddr_slice &tmp = this->ptr_[index];
+ return tmp;
+#endif /* ACE_HAS_BROKEN_IMPLICIT_CONST_CAST */
+}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_slice &
+MIOP::MulticastObjectGroupFactory::ipaddr_var::operator[] (CORBA::ULong index)
+{
+ return this->ptr_[index];
+}
+
+ACE_INLINE void
+MIOP::MulticastObjectGroupFactory::ipaddr_var::copy (MIOP::MulticastObjectGroupFactory::ipaddr_slice *_tao_to, const MIOP::MulticastObjectGroupFactory::ipaddr_slice *_tao_from)
+{
+ MIOP::MulticastObjectGroupFactory::ipaddr_copy (_tao_to, _tao_from);
+}
+
+ACE_INLINE const MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_var::in (void) const
+{
+ return ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice *, this->ptr_);
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_var::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice * &
+MIOP::MulticastObjectGroupFactory::ipaddr_var::out (void)
+{
+ MIOP::MulticastObjectGroupFactory::ipaddr_free (this->ptr_);
+ this->ptr_ = (MIOP::MulticastObjectGroupFactory::ipaddr_slice *)0;
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_var::_retn (void)
+{
+ MIOP::MulticastObjectGroupFactory::ipaddr_slice *tmp = this->ptr_;
+ this->ptr_ = (MIOP::MulticastObjectGroupFactory::ipaddr_slice *)0;
+ return tmp;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class MIOP::MulticastObjectGroupFactory::ipaddr_forany
+// *************************************************************
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::ipaddr_forany (void) // default constructor
+ : ptr_ (0),
+ nocopy_ (0)
+{}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::ipaddr_forany (MIOP::MulticastObjectGroupFactory::ipaddr_slice *p, CORBA::Boolean nocopy)
+ : ptr_ (p),
+ nocopy_ (nocopy)
+{}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::ipaddr_forany (const MIOP::MulticastObjectGroupFactory::ipaddr_forany &p) // copy constructor
+{
+ this->ptr_ = MIOP::MulticastObjectGroupFactory::ipaddr_dup (ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice *, p.ptr_));
+ this->nocopy_ = p.nocopy_;
+}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::~ipaddr_forany (void) // destructor
+{
+ // don't do anything
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_forany &
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::operator= (MIOP::MulticastObjectGroupFactory::ipaddr_slice *p)
+{
+ // is what we own the same that is being assigned to us?
+ if (this->ptr_ != p)
+ {
+ // delete our stuff and assume ownership of p
+ MIOP::MulticastObjectGroupFactory::ipaddr_free (this->ptr_);
+ this->ptr_ = p;
+ }
+ return *this;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_forany &
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::operator= (const MIOP::MulticastObjectGroupFactory::ipaddr_forany &p)
+{
+ if (this != &p)
+ {
+ // not assigning to ourselves
+ MIOP::MulticastObjectGroupFactory::ipaddr_free (this->ptr_); // free old stuff
+ // deep copy
+ this->ptr_ = MIOP::MulticastObjectGroupFactory::ipaddr_dup (ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice *, p.ptr_));
+ this->nocopy_ = p.nocopy_;
+ }
+ return *this;
+}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::operator MIOP::MulticastObjectGroupFactory::ipaddr_slice * const &() const // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::operator MIOP::MulticastObjectGroupFactory::ipaddr_slice *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+const MIOP::MulticastObjectGroupFactory::ipaddr_slice &
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice &, this->ptr_[index]);
+}
+
+ACE_INLINE
+MIOP::MulticastObjectGroupFactory::ipaddr_slice &
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::operator[] (CORBA::ULong index)
+{
+ return this->ptr_[index];
+}
+
+ACE_INLINE const MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::in (void) const
+{
+ return ACE_const_cast (const MIOP::MulticastObjectGroupFactory::ipaddr_slice *, this->ptr_);
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::inout (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice * &
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::out (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::_retn (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE MIOP::MulticastObjectGroupFactory::ipaddr_slice *
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::ptr (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE CORBA::Boolean
+MIOP::MulticastObjectGroupFactory::ipaddr_forany::nocopy (void) const
+{
+ return this->nocopy_;
+}
+
+
+#if !defined (_MIOP_MULTICASTOBJECTGROUPFACTORY___CI_)
+#define _MIOP_MULTICASTOBJECTGROUPFACTORY___CI_
+
+
+#endif /* end #if !defined */
+
+
+#if !defined _TAO_CDR_OP_MIOP_UniqueId_I_
+#define _TAO_CDR_OP_MIOP_UniqueId_I_
+
+CORBA::Boolean TAO_PortableGroup_Export operator<< (
+ TAO_OutputCDR &,
+ const MIOP::UniqueId &
+ );
+CORBA::Boolean TAO_PortableGroup_Export operator>> (
+ TAO_InputCDR &,
+ MIOP::UniqueId &
+ );
+
+#endif /* _TAO_CDR_OP_MIOP_UniqueId_I_ */
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const MIOP::PacketHeader_1_0::_magic_forany &_tao_array)
+{
+ return strm.write_char_array ((const ACE_CDR::Char *)_tao_array.in (), 4);
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, MIOP::PacketHeader_1_0::_magic_forany &_tao_array)
+{
+ return strm.read_char_array ((ACE_CDR::Char *) _tao_array.out (), 4);
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const MIOP::PacketHeader_1_0 &_tao_aggregate)
+{
+ MIOP::PacketHeader_1_0::_magic_forany _tao_aggregate_magic
+ (ACE_const_cast (
+ MIOP::PacketHeader_1_0::_magic_slice*,
+ _tao_aggregate.magic
+ )
+ );
+ if (
+ (strm << _tao_aggregate_magic) &&
+ (strm << CORBA::Any::from_octet (_tao_aggregate.hdr_version)) &&
+ (strm << CORBA::Any::from_octet (_tao_aggregate.flags)) &&
+ (strm << _tao_aggregate.packet_length) &&
+ (strm << _tao_aggregate.packet_number) &&
+ (strm << _tao_aggregate.number_of_packets) &&
+ (strm << _tao_aggregate.Id)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, MIOP::PacketHeader_1_0 &_tao_aggregate)
+{
+ MIOP::PacketHeader_1_0::_magic_forany _tao_aggregate_magic
+ (ACE_const_cast (
+ MIOP::PacketHeader_1_0::_magic_slice*,
+ _tao_aggregate.magic
+ )
+ );
+ if (
+ (strm >> _tao_aggregate_magic) &&
+ (strm >> CORBA::Any::to_octet (_tao_aggregate.hdr_version)) &&
+ (strm >> CORBA::Any::to_octet (_tao_aggregate.flags)) &&
+ (strm >> _tao_aggregate.packet_length) &&
+ (strm >> _tao_aggregate.packet_number) &&
+ (strm >> _tao_aggregate.number_of_packets) &&
+ (strm >> _tao_aggregate.Id)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const MIOP::Version &_tao_aggregate)
+{
+ if (
+ (strm << CORBA::Any::from_octet (_tao_aggregate.major)) &&
+ (strm << CORBA::Any::from_octet (_tao_aggregate.minor))
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, MIOP::Version &_tao_aggregate)
+{
+ if (
+ (strm >> CORBA::Any::to_octet (_tao_aggregate.major)) &&
+ (strm >> CORBA::Any::to_octet (_tao_aggregate.minor))
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const MIOP::UsingIpv4::_class_d_address_forany &_tao_array)
+{
+ return strm.write_octet_array ((const ACE_CDR::Octet *)_tao_array.in (), 4);
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, MIOP::UsingIpv4::_class_d_address_forany &_tao_array)
+{
+ return strm.read_octet_array ((ACE_CDR::Octet *) _tao_array.out (), 4);
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const MIOP::UsingIpv4 &_tao_aggregate)
+{
+ MIOP::UsingIpv4::_class_d_address_forany _tao_aggregate_class_d_address
+ (ACE_const_cast (
+ MIOP::UsingIpv4::_class_d_address_slice*,
+ _tao_aggregate.class_d_address
+ )
+ );
+ if (
+ (strm << _tao_aggregate.port) &&
+ (strm << _tao_aggregate_class_d_address)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, MIOP::UsingIpv4 &_tao_aggregate)
+{
+ MIOP::UsingIpv4::_class_d_address_forany _tao_aggregate_class_d_address
+ (ACE_const_cast (
+ MIOP::UsingIpv4::_class_d_address_slice*,
+ _tao_aggregate.class_d_address
+ )
+ );
+ if (
+ (strm >> _tao_aggregate.port) &&
+ (strm >> _tao_aggregate_class_d_address)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const MIOP::UsingIpv6 &_tao_aggregate)
+{
+ if (
+ (strm << _tao_aggregate.port) &&
+ (strm << _tao_aggregate.address.in ())
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, MIOP::UsingIpv6 &_tao_aggregate)
+{
+ if (
+ (strm >> _tao_aggregate.port) &&
+ (strm >> _tao_aggregate.address.out ())
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const MIOP::IPEndpoints &_tao_union
+ )
+{
+ if ( !(strm << _tao_union._d ()) )
+ {
+ return 0;
+ }
+ CORBA::Boolean result = 1;
+ switch (_tao_union._d ())
+ {
+ case 0:
+ {
+ result = strm << _tao_union.ipv4_endpoints ();
+ }
+ break;
+ case 1:
+ {
+ result = strm << _tao_union.ipv6_endpoints ();
+ }
+ break;
+ default:
+ break;
+ }
+ return result;
+}
+
+ACE_INLINE CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ MIOP::IPEndpoints &_tao_union
+ )
+{
+ CORBA::Short _tao_discriminant;
+ if ( !(strm >> _tao_discriminant) )
+ {
+ return 0;
+ }
+ CORBA::Boolean result = 1;
+ switch (_tao_discriminant)
+ {
+ case 0:
+ {
+ MIOP::UsingIpv4 _tao_union_tmp;
+ result = strm >> _tao_union_tmp;
+ if (result)
+ {
+ _tao_union.ipv4_endpoints (_tao_union_tmp);
+ _tao_union._d (_tao_discriminant);
+ }
+ }
+ break;
+ case 1:
+ {
+ MIOP::UsingIpv6 _tao_union_tmp;
+ result = strm >> _tao_union_tmp;
+ if (result)
+ {
+ _tao_union.ipv6_endpoints (_tao_union_tmp);
+ _tao_union._d (_tao_discriminant);
+ }
+ }
+ break;
+ default:
+ _tao_union._d (_tao_discriminant);
+ break;
+ }
+ return result;
+}
+
+
+#if !defined _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_I_
+#define _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_I_
+
+CORBA::Boolean TAO_PortableGroup_Export operator<< (
+ TAO_OutputCDR &,
+ const MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent &
+ );
+CORBA::Boolean TAO_PortableGroup_Export operator>> (
+ TAO_InputCDR &,
+ MIOP::UIPMC_ProfileBody::_tao_seq_TaggedComponent &
+ );
+
+#endif /* _TAO_CDR_OP_MIOP_UIPMC_ProfileBody__tao_seq_TaggedComponent_I_ */
+
+ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const MIOP::UIPMC_ProfileBody &_tao_aggregate)
+{
+ if (
+ (strm << _tao_aggregate.miop_version) &&
+ (strm << _tao_aggregate.endpoints) &&
+ (strm << _tao_aggregate.components)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
+ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, MIOP::UIPMC_ProfileBody &_tao_aggregate)
+{
+ if (
+ (strm >> _tao_aggregate.miop_version) &&
+ (strm >> _tao_aggregate.endpoints) &&
+ (strm >> _tao_aggregate.components)
+ )
+ return 1;
+ else
+ return 0;
+
+}
+
diff --git a/TAO/tao/PortableGroup/miopS.cpp b/TAO/tao/PortableGroup/miopS.cpp
new file mode 100644
index 00000000000..ae1e70a4804
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopS.cpp
@@ -0,0 +1,48 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_MIOPS_CPP_
+#define _TAO_IDL_MIOPS_CPP_
+
+#include "miopS.h"
+
+#include "tao/PortableServer/Object_Adapter.h"
+#include "tao/PortableServer/Operation_Table.h"
+#include "tao/TAO_Server_Request.h"
+#include "tao/ORB_Core.h"
+#include "tao/Stub.h"
+#include "tao/IFR_Client_Adapter.h"
+#include "tao/PortableServer/ServerRequestInfo.h"
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#include "ace/Dynamic_Service.h"
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "miopS.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/miopS.h b/TAO/tao/PortableGroup/miopS.h
new file mode 100644
index 00000000000..67da382d880
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopS.h
@@ -0,0 +1,70 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_MIOPS_H_
+#define _TAO_IDL_MIOPS_H_
+
+#include "ace/pre.h"
+#include "IOPS.h"
+#include "miopC.h"
+
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/PortableServer/PortableServer.h"
+#include "tao/PortableServer/Servant_Base.h"
+#include "tao/PortableServer/Collocated_Object.h"
+#include "tao/PortableServer/ThruPOA_Object_Proxy_Impl.h"
+#include "tao/PortableServer/Direct_Object_Proxy_Impl.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE POA_MIOP
+{
+}
+TAO_NAMESPACE_CLOSE // module MIOP
+
+#include "miopS_T.h"
+
+#if defined (__ACE_INLINE__)
+#include "miopS.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/miopS.i b/TAO/tao/PortableGroup/miopS.i
new file mode 100644
index 00000000000..f455a06b8f0
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopS.i
@@ -0,0 +1,21 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
diff --git a/TAO/tao/PortableGroup/miopS_T.cpp b/TAO/tao/PortableGroup/miopS_T.cpp
new file mode 100644
index 00000000000..7676a613cad
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopS_T.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_MIOPS_T_CPP_
+#define _TAO_IDL_MIOPS_T_CPP_
+
+#include "miopS_T.h"
+
+#if !defined (__ACE_INLINE__)
+#include "miopS_T.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/miopS_T.h b/TAO/tao/PortableGroup/miopS_T.h
new file mode 100644
index 00000000000..1f547b4b115
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopS_T.h
@@ -0,0 +1,61 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef _TAO_IDL_MIOPS_T_H_
+#define _TAO_IDL_MIOPS_T_H_
+
+#include "ace/pre.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+
+TAO_NAMESPACE POA_MIOP
+{
+}
+TAO_NAMESPACE_CLOSE // module MIOP
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (__ACE_INLINE__)
+#include "miopS_T.i"
+#endif /* defined INLINE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
+#include "miopS_T.cpp"
+#endif /* defined REQUIRED SOURCE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
+#pragma implementation ("miopS_T.cpp")
+#endif /* defined REQUIRED PRAGMA */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/tao/PortableGroup/miopS_T.i b/TAO/tao/PortableGroup/miopS_T.i
new file mode 100644
index 00000000000..42c2288533f
--- /dev/null
+++ b/TAO/tao/PortableGroup/miopS_T.i
@@ -0,0 +1,24 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#if defined (ACE_HAS_USING_KEYWORD)
+
+#endif /* ACE_HAS_USING_KEYWORD */
diff --git a/TAO/tao/PortableGroup/portablegroup_export.h b/TAO/tao/PortableGroup/portablegroup_export.h
new file mode 100644
index 00000000000..15494956536
--- /dev/null
+++ b/TAO/tao/PortableGroup/portablegroup_export.h
@@ -0,0 +1,40 @@
+
+// -*- C++ -*-
+// $Id$
+// Definition for Win32 Export directives.
+// This file is generated automatically by generate_export_file.pl
+// ------------------------------
+#ifndef TAO_PORTABLEGROUP_EXPORT_H
+#define TAO_PORTABLEGROUP_EXPORT_H
+
+#include "ace/config-all.h"
+
+#if defined (TAO_AS_STATIC_LIBS)
+# if !defined (TAO_PORTABLEGROUP_HAS_DLL)
+# define TAO_PORTABLEGROUP_HAS_DLL 0
+# endif /* ! TAO_PORTABLEGROUP_HAS_DLL */
+#else
+# if !defined (TAO_PORTABLEGROUP_HAS_DLL)
+# define TAO_PORTABLEGROUP_HAS_DLL 1
+# endif /* ! TAO_PORTABLEGROUP_HAS_DLL */
+#endif
+
+#if defined (TAO_PORTABLEGROUP_HAS_DLL) && (TAO_PORTABLEGROUP_HAS_DLL == 1)
+# if defined (TAO_PORTABLEGROUP_BUILD_DLL)
+# define TAO_PortableGroup_Export ACE_Proper_Export_Flag
+# define TAO_PORTABLEGROUP_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
+# define TAO_PORTABLEGROUP_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# else /* TAO_PORTABLEGROUP_BUILD_DLL */
+# define TAO_PortableGroup_Export ACE_Proper_Import_Flag
+# define TAO_PORTABLEGROUP_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
+# define TAO_PORTABLEGROUP_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+# endif /* TAO_PORTABLEGROUP_BUILD_DLL */
+#else /* TAO_PORTABLEGROUP_HAS_DLL == 1 */
+# define TAO_PortableGroup_Export
+# define TAO_PORTABLEGROUP_SINGLETON_DECLARATION(T)
+# define TAO_PORTABLEGROUP_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
+#endif /* TAO_PORTABLEGROUP_HAS_DLL == 1 */
+
+#endif /* TAO_PORTABLEGROUP_EXPORT_H */
+
+// End of auto generated file.
diff --git a/TAO/tao/PortableGroup_Adapter.cpp b/TAO/tao/PortableGroup_Adapter.cpp
new file mode 100644
index 00000000000..556c83688d6
--- /dev/null
+++ b/TAO/tao/PortableGroup_Adapter.cpp
@@ -0,0 +1,50 @@
+// @(#) $Id$
+
+#include "tao/PortableGroup_Adapter.h"
+#include "ace/Dynamic_Service.h"
+#include "tao/Object.h"
+#include "tao/Environment.h"
+
+ACE_RCSID(tao, PortableGroup_Adapter, "$Id$")
+
+
+TAO_PortableGroup_Adapter::~TAO_PortableGroup_Adapter (void)
+{
+}
+
+void
+TAO_PortableGroup_Adapter::activate (CORBA::ORB_ptr,
+ int,
+ char *[],
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+}
+
+CORBA::Object_ptr
+TAO_PortableGroup_Adapter::miop (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC (())
+{
+ ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (),
+ CORBA::Object::_nil ());
+}
+
+TAO_POA_PortableGroup_Hooks *
+TAO_PortableGroup_Adapter::poa_hooks (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (),
+ 0);
+}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class ACE_Dynamic_Service<TAO_PortableGroup_Adapter>;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+#pragma instantiate ACE_Dynamic_Service<TAO_PortableGroup_Adapter>
+
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+
diff --git a/TAO/tao/PortableGroup_Adapter.h b/TAO/tao/PortableGroup_Adapter.h
new file mode 100644
index 00000000000..e784fd63470
--- /dev/null
+++ b/TAO/tao/PortableGroup_Adapter.h
@@ -0,0 +1,61 @@
+// This may look like C, but it's really -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file PortableGroup_Adapter.h
+ *
+ * $Id$
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+#ifndef TAO_PORTABLEGROUP_ADAPTER_H
+#define TAO_PORTABLEGROUP_ADAPTER_H
+#include "ace/pre.h"
+
+#include "tao/Exception.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "ace/Service_Object.h"
+
+class TAO_ORB_Core;
+class TAO_POA_PortableGroup_Hooks;
+
+/**
+ * @class TAO_PortableGroup_Adapter
+ *
+ * @brief TAO_PortableGroup_Adapter.
+ *
+ * Class that offers an interface to the ORB to load and manipulate
+ * PortableGroup library.
+ */
+
+class TAO_Export TAO_PortableGroup_Adapter : public ACE_Service_Object
+{
+public:
+
+ /// The virtual destructor
+ virtual ~TAO_PortableGroup_Adapter (void);
+
+ /// Activate the PortableGroup library
+ virtual void activate (CORBA::ORB_ptr,
+ int argc,
+ char *argv [],
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ /// Create a Miop object and return it.
+ virtual CORBA::Object_ptr miop (CORBA::Environment &)
+ ACE_THROW_SPEC (());
+
+ /// Retrieve the hooks for interfacing with the POA.
+ virtual TAO_POA_PortableGroup_Hooks *poa_hooks (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+};
+
+#include "ace/post.h"
+#endif /* TAO_PORTABLEGROUP_ADAPTER_H */
diff --git a/TAO/tao/PortableInterceptorC.cpp b/TAO/tao/PortableInterceptorC.cpp
index a16cd6a5497..5a2d19eaee4 100644
--- a/TAO/tao/PortableInterceptorC.cpp
+++ b/TAO/tao/PortableInterceptorC.cpp
@@ -79,7 +79,7 @@ PortableInterceptor::Interceptor_var::operator const ::PortableInterceptor::Inte
return this->ptr_;
}
-PortableInterceptor::Interceptor_var::operator ::PortableInterceptor::Interceptor_ptr &() // cast
+PortableInterceptor::Interceptor_var::operator ::PortableInterceptor::Interceptor_ptr &() // cast
{
return this->ptr_;
}
@@ -383,45 +383,45 @@ static const CORBA::Long _oc_PortableInterceptor_ForwardRequest[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
43,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x496e7465),
- ACE_NTOHL (0x72636570),
- ACE_NTOHL (0x746f722f),
- ACE_NTOHL (0x466f7277),
- ACE_NTOHL (0x61726452),
- ACE_NTOHL (0x65717565),
- ACE_NTOHL (0x73743a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x496e7465),
+ ACE_NTOHL (0x72636570),
+ ACE_NTOHL (0x746f722f),
+ ACE_NTOHL (0x466f7277),
+ ACE_NTOHL (0x61726452),
+ ACE_NTOHL (0x65717565),
+ ACE_NTOHL (0x73743a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableInterceptor/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
2, // member count
8,
- ACE_NTOHL (0x666f7277),
+ ACE_NTOHL (0x666f7277),
ACE_NTOHL (0x61726400), // name = forward
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
10,
- ACE_NTOHL (0x7065726d),
- ACE_NTOHL (0x616e656e),
+ ACE_NTOHL (0x7065726d),
+ ACE_NTOHL (0x616e656e),
ACE_NTOHL (0x74000000), // name = permanent
CORBA::tk_boolean,
@@ -450,19 +450,19 @@ static const CORBA::Long _oc_PortableInterceptor_ReplyStatus[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
40,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x496e7465),
- ACE_NTOHL (0x72636570),
- ACE_NTOHL (0x746f722f),
- ACE_NTOHL (0x5265706c),
- ACE_NTOHL (0x79537461),
- ACE_NTOHL (0x7475733a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x496e7465),
+ ACE_NTOHL (0x72636570),
+ ACE_NTOHL (0x746f722f),
+ ACE_NTOHL (0x5265706c),
+ ACE_NTOHL (0x79537461),
+ ACE_NTOHL (0x7475733a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:PortableInterceptor/ReplyStatus:1.0
12,
- ACE_NTOHL (0x5265706c),
- ACE_NTOHL (0x79537461),
+ ACE_NTOHL (0x5265706c),
+ ACE_NTOHL (0x79537461),
ACE_NTOHL (0x74757300), // name = ReplyStatus
CORBA::tk_short,
@@ -509,17 +509,17 @@ static const CORBA::Long _oc_PortableInterceptor_SlotId[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x496e7465),
- ACE_NTOHL (0x72636570),
- ACE_NTOHL (0x746f722f),
- ACE_NTOHL (0x536c6f74),
- ACE_NTOHL (0x49643a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x496e7465),
+ ACE_NTOHL (0x72636570),
+ ACE_NTOHL (0x746f722f),
+ ACE_NTOHL (0x536c6f74),
+ ACE_NTOHL (0x49643a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:PortableInterceptor/SlotId:1.0
7,
- ACE_NTOHL (0x536c6f74),
+ ACE_NTOHL (0x536c6f74),
ACE_NTOHL (0x49640000), // name = SlotId
CORBA::tk_ulong,
@@ -626,19 +626,19 @@ static const CORBA::Long _oc_PortableInterceptor_InvalidSlot[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
40,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x506f7274),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x496e7465),
- ACE_NTOHL (0x72636570),
- ACE_NTOHL (0x746f722f),
- ACE_NTOHL (0x496e7661),
- ACE_NTOHL (0x6c696453),
- ACE_NTOHL (0x6c6f743a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x506f7274),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x496e7465),
+ ACE_NTOHL (0x72636570),
+ ACE_NTOHL (0x746f722f),
+ ACE_NTOHL (0x496e7661),
+ ACE_NTOHL (0x6c696453),
+ ACE_NTOHL (0x6c6f743a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:PortableInterceptor/InvalidSlot:1.0
12,
- ACE_NTOHL (0x496e7661),
- ACE_NTOHL (0x6c696453),
+ ACE_NTOHL (0x496e7661),
+ ACE_NTOHL (0x6c696453),
ACE_NTOHL (0x6c6f7400), // name = InvalidSlot
0, // member count
};
@@ -710,7 +710,7 @@ PortableInterceptor::Current_var::operator const ::PortableInterceptor::Current_
return this->ptr_;
}
-PortableInterceptor::Current_var::operator ::PortableInterceptor::Current_ptr &() // cast
+PortableInterceptor::Current_var::operator ::PortableInterceptor::Current_ptr &() // cast
{
return this->ptr_;
}
@@ -973,7 +973,7 @@ PortableInterceptor::RequestInfo_var::operator const ::PortableInterceptor::Requ
return this->ptr_;
}
-PortableInterceptor::RequestInfo_var::operator ::PortableInterceptor::RequestInfo_ptr &() // cast
+PortableInterceptor::RequestInfo_var::operator ::PortableInterceptor::RequestInfo_ptr &() // cast
{
return this->ptr_;
}
@@ -1224,7 +1224,7 @@ PortableInterceptor::ClientRequestInfo_var::operator const ::PortableInterceptor
return this->ptr_;
}
-PortableInterceptor::ClientRequestInfo_var::operator ::PortableInterceptor::ClientRequestInfo_ptr &() // cast
+PortableInterceptor::ClientRequestInfo_var::operator ::PortableInterceptor::ClientRequestInfo_ptr &() // cast
{
return this->ptr_;
}
@@ -1487,7 +1487,7 @@ PortableInterceptor::ServerRequestInfo_var::operator const ::PortableInterceptor
return this->ptr_;
}
-PortableInterceptor::ServerRequestInfo_var::operator ::PortableInterceptor::ServerRequestInfo_ptr &() // cast
+PortableInterceptor::ServerRequestInfo_var::operator ::PortableInterceptor::ServerRequestInfo_ptr &() // cast
{
return this->ptr_;
}
@@ -1750,7 +1750,7 @@ PortableInterceptor::ClientRequestInterceptor_var::operator const ::PortableInte
return this->ptr_;
}
-PortableInterceptor::ClientRequestInterceptor_var::operator ::PortableInterceptor::ClientRequestInterceptor_ptr &() // cast
+PortableInterceptor::ClientRequestInterceptor_var::operator ::PortableInterceptor::ClientRequestInterceptor_ptr &() // cast
{
return this->ptr_;
}
@@ -2013,7 +2013,7 @@ PortableInterceptor::ServerRequestInterceptor_var::operator const ::PortableInte
return this->ptr_;
}
-PortableInterceptor::ServerRequestInterceptor_var::operator ::PortableInterceptor::ServerRequestInterceptor_ptr &() // cast
+PortableInterceptor::ServerRequestInterceptor_var::operator ::PortableInterceptor::ServerRequestInterceptor_ptr &() // cast
{
return this->ptr_;
}
@@ -2276,7 +2276,7 @@ PortableInterceptor::IORInfo_var::operator const ::PortableInterceptor::IORInfo_
return this->ptr_;
}
-PortableInterceptor::IORInfo_var::operator ::PortableInterceptor::IORInfo_ptr &() // cast
+PortableInterceptor::IORInfo_var::operator ::PortableInterceptor::IORInfo_ptr &() // cast
{
return this->ptr_;
}
@@ -2527,7 +2527,7 @@ PortableInterceptor::IORInterceptor_var::operator const ::PortableInterceptor::I
return this->ptr_;
}
-PortableInterceptor::IORInterceptor_var::operator ::PortableInterceptor::IORInterceptor_ptr &() // cast
+PortableInterceptor::IORInterceptor_var::operator ::PortableInterceptor::IORInterceptor_ptr &() // cast
{
return this->ptr_;
}
@@ -2790,7 +2790,7 @@ PortableInterceptor::PolicyFactory_var::operator const ::PortableInterceptor::Po
return this->ptr_;
}
-PortableInterceptor::PolicyFactory_var::operator ::PortableInterceptor::PolicyFactory_ptr &() // cast
+PortableInterceptor::PolicyFactory_var::operator ::PortableInterceptor::PolicyFactory_ptr &() // cast
{
return this->ptr_;
}
@@ -3041,7 +3041,7 @@ PortableInterceptor::ORBInitInfo_var::operator const ::PortableInterceptor::ORBI
return this->ptr_;
}
-PortableInterceptor::ORBInitInfo_var::operator ::PortableInterceptor::ORBInitInfo_ptr &() // cast
+PortableInterceptor::ORBInitInfo_var::operator ::PortableInterceptor::ORBInitInfo_ptr &() // cast
{
return this->ptr_;
}
@@ -3438,7 +3438,7 @@ PortableInterceptor::ORBInitializer_var::operator const ::PortableInterceptor::O
return this->ptr_;
}
-PortableInterceptor::ORBInitializer_var::operator ::PortableInterceptor::ORBInitializer_ptr &() // cast
+PortableInterceptor::ORBInitializer_var::operator ::PortableInterceptor::ORBInitializer_ptr &() // cast
{
return this->ptr_;
}
diff --git a/TAO/tao/PortableInterceptorC.h b/TAO/tao/PortableInterceptorC.h
index a8f2dd5dc12..e7f9a4095c3 100644
--- a/TAO/tao/PortableInterceptorC.h
+++ b/TAO/tao/PortableInterceptorC.h
@@ -101,7 +101,7 @@ TAO_NAMESPACE PortableInterceptor
static Interceptor_ptr nil (void);
static Interceptor_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
Interceptor_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -354,7 +354,7 @@ class TAO_Export Interceptor : public virtual CORBA_Object
static Current_ptr nil (void);
static Current_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
Current_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -496,7 +496,7 @@ class TAO_Export Current: public virtual CORBA::Current
static RequestInfo_ptr nil (void);
static RequestInfo_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RequestInfo_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -737,7 +737,7 @@ class TAO_Export RequestInfo : public virtual CORBA_Object
static ClientRequestInfo_ptr nil (void);
static ClientRequestInfo_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ClientRequestInfo_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -935,7 +935,7 @@ class TAO_Export ClientRequestInfo: public virtual RequestInfo
static ServerRequestInfo_ptr nil (void);
static ServerRequestInfo_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServerRequestInfo_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1127,7 +1127,7 @@ class TAO_Export ServerRequestInfo: public virtual RequestInfo
static ClientRequestInterceptor_ptr nil (void);
static ClientRequestInterceptor_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ClientRequestInterceptor_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1291,7 +1291,7 @@ class TAO_Export ClientRequestInterceptor: public virtual Interceptor
static ServerRequestInterceptor_ptr nil (void);
static ServerRequestInterceptor_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServerRequestInterceptor_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1456,7 +1456,7 @@ class TAO_Export ServerRequestInterceptor: public virtual Interceptor
static IORInfo_ptr nil (void);
static IORInfo_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
IORInfo_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1605,7 +1605,7 @@ class TAO_Export IORInfo : public virtual CORBA_Object
static IORInterceptor_ptr nil (void);
static IORInterceptor_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
IORInterceptor_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1734,7 +1734,7 @@ class TAO_Export IORInterceptor: public virtual Interceptor
static PolicyFactory_ptr nil (void);
static PolicyFactory_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
PolicyFactory_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1865,7 +1865,7 @@ class TAO_Export PolicyFactory : public virtual CORBA_Object
static ORBInitInfo_ptr nil (void);
static ORBInitInfo_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ORBInitInfo_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2168,7 +2168,7 @@ class TAO_Export ORBInitInfo : public virtual CORBA_Object
static ORBInitializer_ptr nil (void);
static ORBInitializer_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ORBInitializer_ptr ptr_;
// Unimplemented - prevents widening assignment.
diff --git a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h
index c8bd14f1a39..8f96985335d 100644
--- a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h
+++ b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h
@@ -34,7 +34,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-class TAO_PortableServer_Export TAO_Direct_Object_Proxy_Impl :
+class TAO_PortableServer_Export TAO_Direct_Object_Proxy_Impl :
public virtual TAO_Object_Proxy_Impl
{
// = TITLE
diff --git a/TAO/tao/PortableServer/ImplRepoC.cpp b/TAO/tao/PortableServer/ImplRepoC.cpp
index 6bd3f0fc192..5a8fb70ed70 100644
--- a/TAO/tao/PortableServer/ImplRepoC.cpp
+++ b/TAO/tao/PortableServer/ImplRepoC.cpp
@@ -84,7 +84,7 @@ ImplementationRepository::ServerObject_var::operator const ::ImplementationRepos
return this->ptr_;
}
-ImplementationRepository::ServerObject_var::operator ::ImplementationRepository::ServerObject_ptr &() // cast
+ImplementationRepository::ServerObject_var::operator ::ImplementationRepository::ServerObject_ptr &() // cast
{
return this->ptr_;
}
@@ -225,24 +225,24 @@ public:
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -251,13 +251,13 @@ private:
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping &);
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping &);
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target)
{}
@@ -270,7 +270,7 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::arguments (COR
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -282,12 +282,12 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::exceptions (CO
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -296,7 +296,7 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping::result (CORBA:
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -306,24 +306,24 @@ public:
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -332,13 +332,13 @@ private:
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown &);
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown &);
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target)
{}
@@ -351,7 +351,7 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::arguments
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -363,12 +363,12 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::exceptions
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -377,14 +377,14 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown::result (CO
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
#endif /* TAO_HAS_INTERCEPTORS */
///////////////////////////////////////////////////////////////////////
-// Base & Remote Proxy Implementation.
+// Base & Remote Proxy Implementation.
//
ImplementationRepository::_TAO_ServerObject_Proxy_Impl::_TAO_ServerObject_Proxy_Impl (void)
@@ -403,15 +403,15 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
CORBA::SystemException
))
{
-
-
-
+
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"ping",
@@ -424,13 +424,13 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_ping ri (
&_tao_call,
@@ -438,17 +438,17 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -456,7 +456,7 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
@@ -465,16 +465,16 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -491,10 +491,10 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -502,8 +502,8 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -522,7 +522,7 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -530,10 +530,10 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::ping (
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
@@ -544,15 +544,15 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
CORBA::SystemException
))
{
-
-
-
+
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"shutdown",
@@ -565,13 +565,13 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_ServerObject_shutdown ri (
&_tao_call,
@@ -579,17 +579,17 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -597,7 +597,7 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
@@ -606,16 +606,16 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -632,10 +632,10 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -643,8 +643,8 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -663,7 +663,7 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -671,15 +671,15 @@ void ImplementationRepository::_TAO_ServerObject_Remote_Proxy_Impl::shutdown (
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
//
-// End Base & Remote Proxy Implemeentation.
+// End Base & Remote Proxy Implemeentation.
///////////////////////////////////////////////////////////////////////
@@ -800,14 +800,14 @@ ImplementationRepository::ServerObject_ptr ImplementationRepository::ServerObjec
stub,
1,
obj->_servant ()),
-
+
ServerObject::_nil ());
}
if (CORBA::is_nil (default_proxy))
ACE_NEW_RETURN (default_proxy, ::ImplementationRepository::ServerObject (stub, 0, obj->_servant ()), ServerObject::_nil ());
return default_proxy;
}
- else
+ else
return
ACE_reinterpret_cast
(
@@ -851,7 +851,7 @@ void *ImplementationRepository::ServerObject::_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;
@@ -869,10 +869,10 @@ void ImplementationRepository::ServerObject::ping (
CORBA::SystemException
))
{
- _TAO_ServerObject_Proxy_Impl &proxy =
+ _TAO_ServerObject_Proxy_Impl &proxy =
this->the_TAO_ServerObject_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.ping (
this,
ACE_TRY_ENV
@@ -886,10 +886,10 @@ void ImplementationRepository::ServerObject::shutdown (
CORBA::SystemException
))
{
- _TAO_ServerObject_Proxy_Impl &proxy =
+ _TAO_ServerObject_Proxy_Impl &proxy =
this->the_TAO_ServerObject_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.shutdown (
this,
ACE_TRY_ENV
@@ -900,22 +900,22 @@ static const CORBA::Long _oc_ImplementationRepository_ServerObject[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
46,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f536572),
- ACE_NTOHL (0x7665724f),
- ACE_NTOHL (0x626a6563),
- ACE_NTOHL (0x743a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f536572),
+ ACE_NTOHL (0x7665724f),
+ ACE_NTOHL (0x626a6563),
+ ACE_NTOHL (0x743a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:ImplementationRepository/ServerObject:1.0
13,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x65724f62),
- ACE_NTOHL (0x6a656374),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x65724f62),
+ ACE_NTOHL (0x6a656374),
ACE_NTOHL (0x0), // name = ServerObject
};
@@ -936,36 +936,36 @@ static const CORBA::Long _oc_ImplementationRepository_EnvironmentVariable[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
53,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x56617269),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x56617269),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0
20,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e7456),
- ACE_NTOHL (0x61726961),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7456),
+ ACE_NTOHL (0x61726961),
ACE_NTOHL (0x626c6500), // name = EnvironmentVariable
2, // member count
5,
- ACE_NTOHL (0x6e616d65),
+ ACE_NTOHL (0x6e616d65),
ACE_NTOHL (0x0), // name = name
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
6,
- ACE_NTOHL (0x76616c75),
+ ACE_NTOHL (0x76616c75),
ACE_NTOHL (0x65000000), // name = value
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
};
@@ -992,21 +992,21 @@ static const CORBA::Long _oc_ImplementationRepository_Address[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
41,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f416464),
- ACE_NTOHL (0x72657373),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f416464),
+ ACE_NTOHL (0x72657373),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/Address:1.0
8,
- ACE_NTOHL (0x41646472),
+ ACE_NTOHL (0x41646472),
ACE_NTOHL (0x65737300), // name = Address
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
};
@@ -1025,7 +1025,7 @@ TAO_NAMESPACE_END
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CS_
@@ -1034,43 +1034,43 @@ TAO_NAMESPACE_END
{
ImplementationRepository::EnvironmentVariable* tmp = 0;
tmp = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
ImplementationRepository::EnvironmentVariable *old = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
ImplementationRepository::EnvironmentVariable *tmp = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::~_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CS_)
#define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CS_
@@ -1082,30 +1082,30 @@ TAO_NAMESPACE_END
ImplementationRepository::EnvironmentList::EnvironmentList (void)
{}
ImplementationRepository::EnvironmentList::EnvironmentList (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<ImplementationRepository::EnvironmentVariable>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
ImplementationRepository::EnvironmentList::EnvironmentList (CORBA::ULong max, CORBA::ULong length, ImplementationRepository::EnvironmentVariable *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<ImplementationRepository::EnvironmentVariable>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
ImplementationRepository::EnvironmentList::EnvironmentList (const EnvironmentList &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<ImplementationRepository::EnvironmentVariable>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
ImplementationRepository::EnvironmentList::~EnvironmentList (void) // dtor
@@ -1123,23 +1123,23 @@ static const CORBA::Long _oc_ImplementationRepository_EnvironmentList[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0
16,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e744c),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e744c),
ACE_NTOHL (0x69737400), // name = EnvironmentList
CORBA::tk_sequence, // typecode kind
148, // encapsulation length
@@ -1148,36 +1148,36 @@ static const CORBA::Long _oc_ImplementationRepository_EnvironmentList[] =
132, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
53,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x56617269),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x56617269),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0
20,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e7456),
- ACE_NTOHL (0x61726961),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7456),
+ ACE_NTOHL (0x61726961),
ACE_NTOHL (0x626c6500), // name = EnvironmentVariable
2, // member count
5,
- ACE_NTOHL (0x6e616d65),
+ ACE_NTOHL (0x6e616d65),
ACE_NTOHL (0x0), // name = name
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
6,
- ACE_NTOHL (0x76616c75),
+ ACE_NTOHL (0x76616c75),
ACE_NTOHL (0x65000000), // name = value
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
0U,
@@ -1201,37 +1201,37 @@ static const CORBA::Long _oc_ImplementationRepository_ActivationMode[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f416374),
- ACE_NTOHL (0x69766174),
- ACE_NTOHL (0x696f6e4d),
- ACE_NTOHL (0x6f64653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f416374),
+ ACE_NTOHL (0x69766174),
+ ACE_NTOHL (0x696f6e4d),
+ ACE_NTOHL (0x6f64653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0
15,
- ACE_NTOHL (0x41637469),
- ACE_NTOHL (0x76617469),
- ACE_NTOHL (0x6f6e4d6f),
+ ACE_NTOHL (0x41637469),
+ ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x6f6e4d6f),
ACE_NTOHL (0x64650000), // name = ActivationMode
4, // member count
7,
- ACE_NTOHL (0x4e4f524d),
+ ACE_NTOHL (0x4e4f524d),
ACE_NTOHL (0x414c0000), // name = NORMAL
7,
- ACE_NTOHL (0x4d414e55),
+ ACE_NTOHL (0x4d414e55),
ACE_NTOHL (0x414c0000), // name = MANUAL
11,
- ACE_NTOHL (0x5045525f),
- ACE_NTOHL (0x434c4945),
+ ACE_NTOHL (0x5045525f),
+ ACE_NTOHL (0x434c4945),
ACE_NTOHL (0x4e540000), // name = PER_CLIENT
11,
- ACE_NTOHL (0x4155544f),
- ACE_NTOHL (0x5f535441),
+ ACE_NTOHL (0x4155544f),
+ ACE_NTOHL (0x5f535441),
ACE_NTOHL (0x52540000), // name = AUTO_START
};
@@ -1252,56 +1252,56 @@ static const CORBA::Long _oc_ImplementationRepository_StartupOptions[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f537461),
- ACE_NTOHL (0x72747570),
- ACE_NTOHL (0x4f707469),
- ACE_NTOHL (0x6f6e733a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f537461),
+ ACE_NTOHL (0x72747570),
+ ACE_NTOHL (0x4f707469),
+ ACE_NTOHL (0x6f6e733a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/StartupOptions:1.0
15,
- ACE_NTOHL (0x53746172),
- ACE_NTOHL (0x7475704f),
- ACE_NTOHL (0x7074696f),
+ ACE_NTOHL (0x53746172),
+ ACE_NTOHL (0x7475704f),
+ ACE_NTOHL (0x7074696f),
ACE_NTOHL (0x6e730000), // name = StartupOptions
4, // member count
13,
- ACE_NTOHL (0x636f6d6d),
- ACE_NTOHL (0x616e645f),
- ACE_NTOHL (0x6c696e65),
+ ACE_NTOHL (0x636f6d6d),
+ ACE_NTOHL (0x616e645f),
+ ACE_NTOHL (0x6c696e65),
ACE_NTOHL (0x0), // name = command_line
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
12,
- ACE_NTOHL (0x656e7669),
- ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7669),
+ ACE_NTOHL (0x726f6e6d),
ACE_NTOHL (0x656e7400), // name = environment
CORBA::tk_alias, // typecode kind for typedefs
236, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0
16,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e744c),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e744c),
ACE_NTOHL (0x69737400), // name = EnvironmentList
CORBA::tk_sequence, // typecode kind
148, // encapsulation length
@@ -1310,88 +1310,88 @@ static const CORBA::Long _oc_ImplementationRepository_StartupOptions[] =
132, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
53,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x56617269),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x56617269),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0
20,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e7456),
- ACE_NTOHL (0x61726961),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7456),
+ ACE_NTOHL (0x61726961),
ACE_NTOHL (0x626c6500), // name = EnvironmentVariable
2, // member count
5,
- ACE_NTOHL (0x6e616d65),
+ ACE_NTOHL (0x6e616d65),
ACE_NTOHL (0x0), // name = name
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
6,
- ACE_NTOHL (0x76616c75),
+ ACE_NTOHL (0x76616c75),
ACE_NTOHL (0x65000000), // name = value
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
0U,
18,
- ACE_NTOHL (0x776f726b),
- ACE_NTOHL (0x696e675f),
- ACE_NTOHL (0x64697265),
- ACE_NTOHL (0x63746f72),
+ ACE_NTOHL (0x776f726b),
+ ACE_NTOHL (0x696e675f),
+ ACE_NTOHL (0x64697265),
+ ACE_NTOHL (0x63746f72),
ACE_NTOHL (0x79000000), // name = working_directory
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
11,
- ACE_NTOHL (0x61637469),
- ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x61637469),
+ ACE_NTOHL (0x76617469),
ACE_NTOHL (0x6f6e0000), // name = activation
CORBA::tk_enum, // typecode kind
136, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f416374),
- ACE_NTOHL (0x69766174),
- ACE_NTOHL (0x696f6e4d),
- ACE_NTOHL (0x6f64653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f416374),
+ ACE_NTOHL (0x69766174),
+ ACE_NTOHL (0x696f6e4d),
+ ACE_NTOHL (0x6f64653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0
15,
- ACE_NTOHL (0x41637469),
- ACE_NTOHL (0x76617469),
- ACE_NTOHL (0x6f6e4d6f),
+ ACE_NTOHL (0x41637469),
+ ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x6f6e4d6f),
ACE_NTOHL (0x64650000), // name = ActivationMode
4, // member count
7,
- ACE_NTOHL (0x4e4f524d),
+ ACE_NTOHL (0x4e4f524d),
ACE_NTOHL (0x414c0000), // name = NORMAL
7,
- ACE_NTOHL (0x4d414e55),
+ ACE_NTOHL (0x4d414e55),
ACE_NTOHL (0x414c0000), // name = MANUAL
11,
- ACE_NTOHL (0x5045525f),
- ACE_NTOHL (0x434c4945),
+ ACE_NTOHL (0x5045525f),
+ ACE_NTOHL (0x434c4945),
ACE_NTOHL (0x4e540000), // name = PER_CLIENT
11,
- ACE_NTOHL (0x4155544f),
- ACE_NTOHL (0x5f535441),
+ ACE_NTOHL (0x4155544f),
+ ACE_NTOHL (0x5f535441),
ACE_NTOHL (0x52540000), // name = AUTO_START
};
@@ -1419,95 +1419,95 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformation[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
51,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f536572),
- ACE_NTOHL (0x76657249),
- ACE_NTOHL (0x6e666f72),
- ACE_NTOHL (0x6d617469),
- ACE_NTOHL (0x6f6e3a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f536572),
+ ACE_NTOHL (0x76657249),
+ ACE_NTOHL (0x6e666f72),
+ ACE_NTOHL (0x6d617469),
+ ACE_NTOHL (0x6f6e3a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformation:1.0
18,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x6572496e),
- ACE_NTOHL (0x666f726d),
- ACE_NTOHL (0x6174696f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x6572496e),
+ ACE_NTOHL (0x666f726d),
+ ACE_NTOHL (0x6174696f),
ACE_NTOHL (0x6e000000), // name = ServerInformation
4, // member count
15,
- ACE_NTOHL (0x6c6f6769),
- ACE_NTOHL (0x63616c5f),
- ACE_NTOHL (0x73657276),
+ ACE_NTOHL (0x6c6f6769),
+ ACE_NTOHL (0x63616c5f),
+ ACE_NTOHL (0x73657276),
ACE_NTOHL (0x65720000), // name = logical_server
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
7,
- ACE_NTOHL (0x73657276),
+ ACE_NTOHL (0x73657276),
ACE_NTOHL (0x65720000), // name = server
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
8,
- ACE_NTOHL (0x73746172),
+ ACE_NTOHL (0x73746172),
ACE_NTOHL (0x74757000), // name = startup
CORBA::tk_struct, // typecode kind
560, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f537461),
- ACE_NTOHL (0x72747570),
- ACE_NTOHL (0x4f707469),
- ACE_NTOHL (0x6f6e733a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f537461),
+ ACE_NTOHL (0x72747570),
+ ACE_NTOHL (0x4f707469),
+ ACE_NTOHL (0x6f6e733a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/StartupOptions:1.0
15,
- ACE_NTOHL (0x53746172),
- ACE_NTOHL (0x7475704f),
- ACE_NTOHL (0x7074696f),
+ ACE_NTOHL (0x53746172),
+ ACE_NTOHL (0x7475704f),
+ ACE_NTOHL (0x7074696f),
ACE_NTOHL (0x6e730000), // name = StartupOptions
4, // member count
13,
- ACE_NTOHL (0x636f6d6d),
- ACE_NTOHL (0x616e645f),
- ACE_NTOHL (0x6c696e65),
+ ACE_NTOHL (0x636f6d6d),
+ ACE_NTOHL (0x616e645f),
+ ACE_NTOHL (0x6c696e65),
ACE_NTOHL (0x0), // name = command_line
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
12,
- ACE_NTOHL (0x656e7669),
- ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7669),
+ ACE_NTOHL (0x726f6e6d),
ACE_NTOHL (0x656e7400), // name = environment
CORBA::tk_alias, // typecode kind for typedefs
236, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0
16,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e744c),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e744c),
ACE_NTOHL (0x69737400), // name = EnvironmentList
CORBA::tk_sequence, // typecode kind
148, // encapsulation length
@@ -1516,114 +1516,114 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformation[] =
132, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
53,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x56617269),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x56617269),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0
20,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e7456),
- ACE_NTOHL (0x61726961),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7456),
+ ACE_NTOHL (0x61726961),
ACE_NTOHL (0x626c6500), // name = EnvironmentVariable
2, // member count
5,
- ACE_NTOHL (0x6e616d65),
+ ACE_NTOHL (0x6e616d65),
ACE_NTOHL (0x0), // name = name
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
6,
- ACE_NTOHL (0x76616c75),
+ ACE_NTOHL (0x76616c75),
ACE_NTOHL (0x65000000), // name = value
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
0U,
18,
- ACE_NTOHL (0x776f726b),
- ACE_NTOHL (0x696e675f),
- ACE_NTOHL (0x64697265),
- ACE_NTOHL (0x63746f72),
+ ACE_NTOHL (0x776f726b),
+ ACE_NTOHL (0x696e675f),
+ ACE_NTOHL (0x64697265),
+ ACE_NTOHL (0x63746f72),
ACE_NTOHL (0x79000000), // name = working_directory
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
11,
- ACE_NTOHL (0x61637469),
- ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x61637469),
+ ACE_NTOHL (0x76617469),
ACE_NTOHL (0x6f6e0000), // name = activation
CORBA::tk_enum, // typecode kind
136, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f416374),
- ACE_NTOHL (0x69766174),
- ACE_NTOHL (0x696f6e4d),
- ACE_NTOHL (0x6f64653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f416374),
+ ACE_NTOHL (0x69766174),
+ ACE_NTOHL (0x696f6e4d),
+ ACE_NTOHL (0x6f64653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0
15,
- ACE_NTOHL (0x41637469),
- ACE_NTOHL (0x76617469),
- ACE_NTOHL (0x6f6e4d6f),
+ ACE_NTOHL (0x41637469),
+ ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x6f6e4d6f),
ACE_NTOHL (0x64650000), // name = ActivationMode
4, // member count
7,
- ACE_NTOHL (0x4e4f524d),
+ ACE_NTOHL (0x4e4f524d),
ACE_NTOHL (0x414c0000), // name = NORMAL
7,
- ACE_NTOHL (0x4d414e55),
+ ACE_NTOHL (0x4d414e55),
ACE_NTOHL (0x414c0000), // name = MANUAL
11,
- ACE_NTOHL (0x5045525f),
- ACE_NTOHL (0x434c4945),
+ ACE_NTOHL (0x5045525f),
+ ACE_NTOHL (0x434c4945),
ACE_NTOHL (0x4e540000), // name = PER_CLIENT
11,
- ACE_NTOHL (0x4155544f),
- ACE_NTOHL (0x5f535441),
+ ACE_NTOHL (0x4155544f),
+ ACE_NTOHL (0x5f535441),
ACE_NTOHL (0x52540000), // name = AUTO_START
9,
- ACE_NTOHL (0x6c6f6361),
- ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x6c6f6361),
+ ACE_NTOHL (0x74696f6e),
ACE_NTOHL (0x0), // name = location
CORBA::tk_alias, // typecode kind for typedefs
72, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
41,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f416464),
- ACE_NTOHL (0x72657373),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f416464),
+ ACE_NTOHL (0x72657373),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/Address:1.0
8,
- ACE_NTOHL (0x41646472),
+ ACE_NTOHL (0x41646472),
ACE_NTOHL (0x65737300), // name = Address
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
};
@@ -1649,7 +1649,7 @@ void ImplementationRepository::ServerInformation::_tao_any_destructor (void *x)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CS_
@@ -1658,43 +1658,43 @@ void ImplementationRepository::ServerInformation::_tao_any_destructor (void *x)
{
ImplementationRepository::ServerInformation* tmp = 0;
tmp = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
ImplementationRepository::ServerInformation *old = ACE_reinterpret_cast (ImplementationRepository::ServerInformation *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
ImplementationRepository::ServerInformation *tmp = ACE_reinterpret_cast (ImplementationRepository::ServerInformation *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::~_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CS_)
#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CS_
@@ -1706,30 +1706,30 @@ void ImplementationRepository::ServerInformation::_tao_any_destructor (void *x)
ImplementationRepository::ServerInformationList::ServerInformationList (void)
{}
ImplementationRepository::ServerInformationList::ServerInformationList (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<ImplementationRepository::ServerInformation>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
ImplementationRepository::ServerInformationList::ServerInformationList (CORBA::ULong max, CORBA::ULong length, ImplementationRepository::ServerInformation *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<ImplementationRepository::ServerInformation>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
ImplementationRepository::ServerInformationList::ServerInformationList (const ServerInformationList &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<ImplementationRepository::ServerInformation>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
ImplementationRepository::ServerInformationList::~ServerInformationList (void) // dtor
@@ -1747,26 +1747,26 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformationList[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
55,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f536572),
- ACE_NTOHL (0x76657249),
- ACE_NTOHL (0x6e666f72),
- ACE_NTOHL (0x6d617469),
- ACE_NTOHL (0x6f6e4c69),
- ACE_NTOHL (0x73743a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f536572),
+ ACE_NTOHL (0x76657249),
+ ACE_NTOHL (0x6e666f72),
+ ACE_NTOHL (0x6d617469),
+ ACE_NTOHL (0x6f6e4c69),
+ ACE_NTOHL (0x73743a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformationList:1.0
22,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x6572496e),
- ACE_NTOHL (0x666f726d),
- ACE_NTOHL (0x6174696f),
- ACE_NTOHL (0x6e4c6973),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x6572496e),
+ ACE_NTOHL (0x666f726d),
+ ACE_NTOHL (0x6174696f),
+ ACE_NTOHL (0x6e4c6973),
ACE_NTOHL (0x74000000), // name = ServerInformationList
CORBA::tk_sequence, // typecode kind
828, // encapsulation length
@@ -1775,95 +1775,95 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformationList[] =
812, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
51,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f536572),
- ACE_NTOHL (0x76657249),
- ACE_NTOHL (0x6e666f72),
- ACE_NTOHL (0x6d617469),
- ACE_NTOHL (0x6f6e3a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f536572),
+ ACE_NTOHL (0x76657249),
+ ACE_NTOHL (0x6e666f72),
+ ACE_NTOHL (0x6d617469),
+ ACE_NTOHL (0x6f6e3a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformation:1.0
18,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x6572496e),
- ACE_NTOHL (0x666f726d),
- ACE_NTOHL (0x6174696f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x6572496e),
+ ACE_NTOHL (0x666f726d),
+ ACE_NTOHL (0x6174696f),
ACE_NTOHL (0x6e000000), // name = ServerInformation
4, // member count
15,
- ACE_NTOHL (0x6c6f6769),
- ACE_NTOHL (0x63616c5f),
- ACE_NTOHL (0x73657276),
+ ACE_NTOHL (0x6c6f6769),
+ ACE_NTOHL (0x63616c5f),
+ ACE_NTOHL (0x73657276),
ACE_NTOHL (0x65720000), // name = logical_server
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
7,
- ACE_NTOHL (0x73657276),
+ ACE_NTOHL (0x73657276),
ACE_NTOHL (0x65720000), // name = server
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
8,
- ACE_NTOHL (0x73746172),
+ ACE_NTOHL (0x73746172),
ACE_NTOHL (0x74757000), // name = startup
CORBA::tk_struct, // typecode kind
560, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f537461),
- ACE_NTOHL (0x72747570),
- ACE_NTOHL (0x4f707469),
- ACE_NTOHL (0x6f6e733a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f537461),
+ ACE_NTOHL (0x72747570),
+ ACE_NTOHL (0x4f707469),
+ ACE_NTOHL (0x6f6e733a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/StartupOptions:1.0
15,
- ACE_NTOHL (0x53746172),
- ACE_NTOHL (0x7475704f),
- ACE_NTOHL (0x7074696f),
+ ACE_NTOHL (0x53746172),
+ ACE_NTOHL (0x7475704f),
+ ACE_NTOHL (0x7074696f),
ACE_NTOHL (0x6e730000), // name = StartupOptions
4, // member count
13,
- ACE_NTOHL (0x636f6d6d),
- ACE_NTOHL (0x616e645f),
- ACE_NTOHL (0x6c696e65),
+ ACE_NTOHL (0x636f6d6d),
+ ACE_NTOHL (0x616e645f),
+ ACE_NTOHL (0x6c696e65),
ACE_NTOHL (0x0), // name = command_line
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
12,
- ACE_NTOHL (0x656e7669),
- ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7669),
+ ACE_NTOHL (0x726f6e6d),
ACE_NTOHL (0x656e7400), // name = environment
CORBA::tk_alias, // typecode kind for typedefs
236, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
49,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentList:1.0
16,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e744c),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e744c),
ACE_NTOHL (0x69737400), // name = EnvironmentList
CORBA::tk_sequence, // typecode kind
148, // encapsulation length
@@ -1872,114 +1872,114 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformationList[] =
132, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
53,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f456e76),
- ACE_NTOHL (0x69726f6e),
- ACE_NTOHL (0x6d656e74),
- ACE_NTOHL (0x56617269),
- ACE_NTOHL (0x61626c65),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f456e76),
+ ACE_NTOHL (0x69726f6e),
+ ACE_NTOHL (0x6d656e74),
+ ACE_NTOHL (0x56617269),
+ ACE_NTOHL (0x61626c65),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/EnvironmentVariable:1.0
20,
- ACE_NTOHL (0x456e7669),
- ACE_NTOHL (0x726f6e6d),
- ACE_NTOHL (0x656e7456),
- ACE_NTOHL (0x61726961),
+ ACE_NTOHL (0x456e7669),
+ ACE_NTOHL (0x726f6e6d),
+ ACE_NTOHL (0x656e7456),
+ ACE_NTOHL (0x61726961),
ACE_NTOHL (0x626c6500), // name = EnvironmentVariable
2, // member count
5,
- ACE_NTOHL (0x6e616d65),
+ ACE_NTOHL (0x6e616d65),
ACE_NTOHL (0x0), // name = name
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
6,
- ACE_NTOHL (0x76616c75),
+ ACE_NTOHL (0x76616c75),
ACE_NTOHL (0x65000000), // name = value
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
0U,
18,
- ACE_NTOHL (0x776f726b),
- ACE_NTOHL (0x696e675f),
- ACE_NTOHL (0x64697265),
- ACE_NTOHL (0x63746f72),
+ ACE_NTOHL (0x776f726b),
+ ACE_NTOHL (0x696e675f),
+ ACE_NTOHL (0x64697265),
+ ACE_NTOHL (0x63746f72),
ACE_NTOHL (0x79000000), // name = working_directory
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
11,
- ACE_NTOHL (0x61637469),
- ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x61637469),
+ ACE_NTOHL (0x76617469),
ACE_NTOHL (0x6f6e0000), // name = activation
CORBA::tk_enum, // typecode kind
136, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f416374),
- ACE_NTOHL (0x69766174),
- ACE_NTOHL (0x696f6e4d),
- ACE_NTOHL (0x6f64653a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f416374),
+ ACE_NTOHL (0x69766174),
+ ACE_NTOHL (0x696f6e4d),
+ ACE_NTOHL (0x6f64653a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/ActivationMode:1.0
15,
- ACE_NTOHL (0x41637469),
- ACE_NTOHL (0x76617469),
- ACE_NTOHL (0x6f6e4d6f),
+ ACE_NTOHL (0x41637469),
+ ACE_NTOHL (0x76617469),
+ ACE_NTOHL (0x6f6e4d6f),
ACE_NTOHL (0x64650000), // name = ActivationMode
4, // member count
7,
- ACE_NTOHL (0x4e4f524d),
+ ACE_NTOHL (0x4e4f524d),
ACE_NTOHL (0x414c0000), // name = NORMAL
7,
- ACE_NTOHL (0x4d414e55),
+ ACE_NTOHL (0x4d414e55),
ACE_NTOHL (0x414c0000), // name = MANUAL
11,
- ACE_NTOHL (0x5045525f),
- ACE_NTOHL (0x434c4945),
+ ACE_NTOHL (0x5045525f),
+ ACE_NTOHL (0x434c4945),
ACE_NTOHL (0x4e540000), // name = PER_CLIENT
11,
- ACE_NTOHL (0x4155544f),
- ACE_NTOHL (0x5f535441),
+ ACE_NTOHL (0x4155544f),
+ ACE_NTOHL (0x5f535441),
ACE_NTOHL (0x52540000), // name = AUTO_START
9,
- ACE_NTOHL (0x6c6f6361),
- ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x6c6f6361),
+ ACE_NTOHL (0x74696f6e),
ACE_NTOHL (0x0), // name = location
CORBA::tk_alias, // typecode kind for typedefs
72, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
41,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f416464),
- ACE_NTOHL (0x72657373),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f416464),
+ ACE_NTOHL (0x72657373),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/Address:1.0
8,
- ACE_NTOHL (0x41646472),
+ ACE_NTOHL (0x41646472),
ACE_NTOHL (0x65737300), // name = Address
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
@@ -2048,7 +2048,7 @@ ImplementationRepository::Administration_var::operator const ::ImplementationRep
return this->ptr_;
}
-ImplementationRepository::Administration_var::operator ::ImplementationRepository::Administration_ptr &() // cast
+ImplementationRepository::Administration_var::operator ::ImplementationRepository::Administration_ptr &() // cast
{
return this->ptr_;
}
@@ -2190,24 +2190,24 @@ public:
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -2217,14 +2217,14 @@ private:
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server &);
const char * server_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server)
@@ -2238,14 +2238,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::a
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -2257,15 +2257,15 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::e
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_exceptiondata[] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc},
{ImplementationRepository::Administration::_tc_CannotActivate, ImplementationRepository::Administration::CannotActivate::_alloc}
};
-
+
exception_list->length (2);
for (CORBA::ULong i = 0; i < 2; ++i)
{
@@ -2278,7 +2278,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::e
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -2287,7 +2287,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server::r
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2299,24 +2299,24 @@ public:
CORBA::Object_ptr _tao_target,
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -2327,7 +2327,7 @@ private:
const char * server_;
const ImplementationRepository::StartupOptions & options_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server (
@@ -2335,7 +2335,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::T
CORBA::Object_ptr _tao_target,
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server),
@@ -2350,20 +2350,20 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::a
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
CORBA::ULong length_options = parameter_list->length ();
parameter_list->length (length_options + 1);
(*parameter_list)[length_options].argument <<= this->options_;
-
+
(*parameter_list)[length_options].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -2375,14 +2375,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::e
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_register_server_exceptiondata[] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_register_server_exceptiondata[] =
{
{ImplementationRepository::Administration::_tc_AlreadyRegistered, ImplementationRepository::Administration::AlreadyRegistered::_alloc}
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2395,7 +2395,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::e
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -2404,7 +2404,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server::r
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2416,24 +2416,24 @@ public:
CORBA::Object_ptr _tao_target,
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -2444,7 +2444,7 @@ private:
const char * server_;
const ImplementationRepository::StartupOptions & options_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server (
@@ -2452,7 +2452,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server:
CORBA::Object_ptr _tao_target,
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server),
@@ -2467,20 +2467,20 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server:
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
CORBA::ULong length_options = parameter_list->length ();
parameter_list->length (length_options + 1);
(*parameter_list)[length_options].argument <<= this->options_;
-
+
(*parameter_list)[length_options].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -2492,12 +2492,12 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server:
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -2506,7 +2506,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server:
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2517,24 +2517,24 @@ public:
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -2544,14 +2544,14 @@ private:
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server &);
const char * server_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server)
@@ -2565,14 +2565,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::arg
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -2584,14 +2584,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::exc
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_remove_server_exceptiondata[] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2604,7 +2604,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::exc
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -2613,7 +2613,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server::res
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2624,24 +2624,24 @@ public:
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -2651,14 +2651,14 @@ private:
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server &);
const char * server_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server)
@@ -2672,14 +2672,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::a
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -2691,14 +2691,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::e
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata[] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2711,7 +2711,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::e
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -2720,7 +2720,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server::r
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2733,24 +2733,24 @@ public:
const char * server,
const char * addr,
ImplementationRepository::ServerObject_ptr server_object,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -2773,7 +2773,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running:
const char * server,
const char * addr,
ImplementationRepository::ServerObject_ptr server_object,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server),
@@ -2789,25 +2789,25 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running:
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
CORBA::ULong length_addr = parameter_list->length ();
parameter_list->length (length_addr + 1);
(*parameter_list)[length_addr].argument <<= addr_;
(*parameter_list)[length_addr].mode = Dynamic::PARAM_IN;
-
+
CORBA::ULong length_server_object = parameter_list->length ();
parameter_list->length (length_server_object + 1);
(*parameter_list)[length_server_object].argument <<= this->server_object_;
-
+
(*parameter_list)[length_server_object].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -2819,14 +2819,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running:
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_running_exceptiondata[] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2839,7 +2839,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running:
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -2848,17 +2848,17 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running:
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
return safe_result_any._retn ();
}
-void
+void
TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running::result (char * result)
{
- // update the result
+ // update the result
this->_result = result;
}
@@ -2869,24 +2869,24 @@ public:
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -2896,14 +2896,14 @@ private:
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &);
const char * server_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server)
@@ -2917,14 +2917,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -2936,14 +2936,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata[] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -2956,7 +2956,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -2965,7 +2965,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -2976,24 +2976,24 @@ public:
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -3003,14 +3003,14 @@ private:
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_find &);
const char * server_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_find::TAO_ClientRequestInfo_ImplementationRepository_Administration_find (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const char * server,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
server_ (server)
@@ -3024,14 +3024,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::arguments (C
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_server = parameter_list->length ();
parameter_list->length (length_server + 1);
(*parameter_list)[length_server].argument <<= server_;
(*parameter_list)[length_server].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -3043,14 +3043,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ExceptionList_var safe_exception_list = exception_list;
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_find_exceptiondata[] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_find_exceptiondata[] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
+
exception_list->length (1);
for (CORBA::ULong i = 0; i < 1; ++i)
{
@@ -3063,7 +3063,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::exceptions (
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_find::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -3072,7 +3072,7 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_find::result (CORB
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -3082,26 +3082,26 @@ public:
TAO_ClientRequestInfo_ImplementationRepository_Administration_list (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- const CORBA::ULong & how_many
+ const CORBA::ULong & how_many
,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -3111,16 +3111,16 @@ private:
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_Administration_list &);
const CORBA::ULong & how_many_;
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_Administration_list::TAO_ClientRequestInfo_ImplementationRepository_Administration_list (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- const CORBA::ULong & how_many
+ const CORBA::ULong & how_many
,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
how_many_ (how_many)
@@ -3135,14 +3135,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_list::arguments (C
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_how_many = parameter_list->length ();
parameter_list->length (length_how_many + 1);
(*parameter_list)[length_how_many].argument <<= how_many_;
(*parameter_list)[length_how_many].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -3155,12 +3155,12 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_list::exceptions (
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_Administration_list::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -3169,14 +3169,14 @@ TAO_ClientRequestInfo_ImplementationRepository_Administration_list::result (CORB
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
#endif /* TAO_HAS_INTERCEPTORS */
///////////////////////////////////////////////////////////////////////
-// Base & Remote Proxy Implementation.
+// Base & Remote Proxy Implementation.
//
ImplementationRepository::_TAO_Administration_Proxy_Impl::_TAO_Administration_Proxy_Impl (void)
@@ -3198,21 +3198,21 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
ImplementationRepository::Administration::CannotActivate
))
{
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_exceptiondata [] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_activate_server_exceptiondata [] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc},
{ImplementationRepository::Administration::_tc_CannotActivate, ImplementationRepository::Administration::CannotActivate::_alloc}
};
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"activate_server",
@@ -3225,13 +3225,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_activate_server ri (
&_tao_call,
@@ -3240,17 +3240,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -3258,13 +3258,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
(_tao_out << server)
@@ -3272,20 +3272,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (_tao_ImplementationRepository_Administration_activate_server_exceptiondata, 2, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -3302,10 +3302,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -3313,8 +3313,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -3333,7 +3333,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -3341,10 +3341,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::activate_s
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_server (
@@ -3358,20 +3358,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
ImplementationRepository::Administration::AlreadyRegistered
))
{
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_register_server_exceptiondata [] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_register_server_exceptiondata [] =
{
{ImplementationRepository::Administration::_tc_AlreadyRegistered, ImplementationRepository::Administration::AlreadyRegistered::_alloc}
};
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"register_server",
@@ -3384,13 +3384,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_register_server ri (
&_tao_call,
@@ -3400,17 +3400,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -3418,13 +3418,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
(_tao_out << server) &&
@@ -3433,20 +3433,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (_tao_ImplementationRepository_Administration_register_server_exceptiondata, 1, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -3463,10 +3463,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -3474,8 +3474,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -3494,7 +3494,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -3502,10 +3502,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::register_s
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister_server (
@@ -3518,15 +3518,15 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
CORBA::SystemException
))
{
-
-
-
+
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"reregister_server",
@@ -3539,13 +3539,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_reregister_server ri (
&_tao_call,
@@ -3555,17 +3555,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -3573,13 +3573,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
(_tao_out << server) &&
@@ -3588,20 +3588,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -3618,10 +3618,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -3629,8 +3629,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -3649,7 +3649,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -3657,10 +3657,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::reregister
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_server (
@@ -3673,20 +3673,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
ImplementationRepository::Administration::NotFound
))
{
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_remove_server_exceptiondata [] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_remove_server_exceptiondata [] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"remove_server",
@@ -3699,13 +3699,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_remove_server ri (
&_tao_call,
@@ -3714,17 +3714,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -3732,13 +3732,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
(_tao_out << server)
@@ -3746,20 +3746,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (_tao_ImplementationRepository_Administration_remove_server_exceptiondata, 1, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -3776,10 +3776,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -3787,8 +3787,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -3807,7 +3807,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -3815,10 +3815,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::remove_ser
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_server (
@@ -3831,20 +3831,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
ImplementationRepository::Administration::NotFound
))
{
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata [] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_shutdown_server_exceptiondata [] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"shutdown_server",
@@ -3857,13 +3857,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_shutdown_server ri (
&_tao_call,
@@ -3872,17 +3872,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -3890,13 +3890,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
(_tao_out << server)
@@ -3904,20 +3904,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (_tao_ImplementationRepository_Administration_shutdown_server_exceptiondata, 1, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -3934,10 +3934,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -3945,8 +3945,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -3965,7 +3965,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -3973,10 +3973,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::shutdown_s
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_running (
@@ -3991,20 +3991,20 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
ImplementationRepository::Administration::NotFound
))
{
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_running_exceptiondata [] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_running_exceptiondata [] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
CORBA::String_var _tao_safe_retval;
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW_RETURN (CORBA::INTERNAL (), 0);
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"server_is_running",
@@ -4017,13 +4017,13 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_running ri (
&_tao_call,
@@ -4034,17 +4034,17 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
ACE_TRY_ENV
);
ACE_CHECK_RETURN (0);
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -4052,13 +4052,13 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
)
);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
(_tao_out << server) &&
@@ -4069,20 +4069,20 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
CORBA::MARSHAL (),
0
);
-
+
_invoke_status =
_tao_call.invoke (_tao_ImplementationRepository_Administration_server_is_running_exceptiondata, 1, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW_RETURN (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
0
);
-
+
}
-
+
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
if (!(
(_tao_in >> _tao_safe_retval.inout ())
@@ -4092,15 +4092,15 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
0
);
-
+
}
-
+
TAO_INTERCEPTOR (
char * _tao_retval_info = _tao_safe_retval._retn ();
ri.result (_tao_retval_info);
_tao_safe_retval = _tao_retval_info;
);
-
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -4117,10 +4117,10 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK_RETURN (0);
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -4128,8 +4128,8 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -4148,7 +4148,7 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
}
ACE_ENDTRY;
ACE_CHECK_RETURN (0);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -4156,7 +4156,7 @@ char * ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_i
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
return _tao_safe_retval._retn ();
@@ -4172,20 +4172,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
ImplementationRepository::Administration::NotFound
))
{
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata [] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata [] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"server_is_shutting_down",
@@ -4198,13 +4198,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_server_is_shutting_down ri (
&_tao_call,
@@ -4213,17 +4213,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -4231,13 +4231,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
(_tao_out << server)
@@ -4245,20 +4245,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (_tao_ImplementationRepository_Administration_server_is_shutting_down_exceptiondata, 1, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -4275,10 +4275,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -4286,8 +4286,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -4306,7 +4306,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -4314,10 +4314,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::server_is_
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
@@ -4331,20 +4331,20 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
ImplementationRepository::Administration::NotFound
))
{
-
- static TAO_Exception_Data _tao_ImplementationRepository_Administration_find_exceptiondata [] =
+
+ static TAO_Exception_Data _tao_ImplementationRepository_Administration_find_exceptiondata [] =
{
{ImplementationRepository::Administration::_tc_NotFound, ImplementationRepository::Administration::NotFound::_alloc}
};
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
ACE_NEW (info.ptr (), ImplementationRepository::ServerInformation);
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
@@ -4358,13 +4358,13 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_find ri (
&_tao_call,
@@ -4373,17 +4373,17 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -4391,33 +4391,33 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
- (_tao_out << server)
+ (_tao_out << server)
))
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (_tao_ImplementationRepository_Administration_find_exceptiondata, 1, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
+
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
if (!(
(_tao_in >> *info.ptr ())
@@ -4426,9 +4426,9 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -4445,10 +4445,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -4456,8 +4456,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -4476,7 +4476,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -4484,10 +4484,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::find (
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
@@ -4501,15 +4501,15 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
CORBA::SystemException
))
{
-
-
-
+
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
ACE_NEW (server_list.ptr (), ImplementationRepository::ServerInformationList);
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
@@ -4523,33 +4523,33 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_Administration_list ri (
&_tao_call,
_collocated_tao_target_,
- how_many
+ how_many
,
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -4557,33 +4557,33 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
- (_tao_out << how_many)
+ (_tao_out << how_many)
))
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL ()
);
-
+
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
+
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
if (!(
(_tao_in >> *server_list.ptr ()) &&
@@ -4593,9 +4593,9 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
TAO_INTERCEPTOR_THROW (
CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -4612,10 +4612,10 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -4623,8 +4623,8 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -4643,7 +4643,7 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -4651,15 +4651,15 @@ void ImplementationRepository::_TAO_Administration_Remote_Proxy_Impl::list (
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
//
-// End Base & Remote Proxy Implemeentation.
+// End Base & Remote Proxy Implemeentation.
///////////////////////////////////////////////////////////////////////
@@ -4780,14 +4780,14 @@ ImplementationRepository::Administration_ptr ImplementationRepository::Administr
stub,
1,
obj->_servant ()),
-
+
Administration::_nil ());
}
if (CORBA::is_nil (default_proxy))
ACE_NEW_RETURN (default_proxy, ::ImplementationRepository::Administration (stub, 0, obj->_servant ()), Administration::_nil ());
return default_proxy;
}
- else
+ else
return
ACE_reinterpret_cast
(
@@ -4831,7 +4831,7 @@ void *ImplementationRepository::Administration::_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;
@@ -4901,7 +4901,7 @@ void ImplementationRepository::Administration::AlreadyRegistered::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -4914,7 +4914,7 @@ void ImplementationRepository::Administration::AlreadyRegistered::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -4930,28 +4930,28 @@ static const CORBA::Long _oc_ImplementationRepository_Administration_AlreadyRegi
{
TAO_ENCAP_BYTE_ORDER, // byte order
66,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f41646d),
- ACE_NTOHL (0x696e6973),
- ACE_NTOHL (0x74726174),
- ACE_NTOHL (0x696f6e2f),
- ACE_NTOHL (0x416c7265),
- ACE_NTOHL (0x61647952),
- ACE_NTOHL (0x65676973),
- ACE_NTOHL (0x74657265),
- ACE_NTOHL (0x643a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f41646d),
+ ACE_NTOHL (0x696e6973),
+ ACE_NTOHL (0x74726174),
+ ACE_NTOHL (0x696f6e2f),
+ ACE_NTOHL (0x416c7265),
+ ACE_NTOHL (0x61647952),
+ ACE_NTOHL (0x65676973),
+ ACE_NTOHL (0x74657265),
+ ACE_NTOHL (0x643a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:ImplementationRepository/Administration/AlreadyRegistered:1.0
18,
- ACE_NTOHL (0x416c7265),
- ACE_NTOHL (0x61647952),
- ACE_NTOHL (0x65676973),
- ACE_NTOHL (0x74657265),
+ ACE_NTOHL (0x416c7265),
+ ACE_NTOHL (0x61647952),
+ ACE_NTOHL (0x65676973),
+ ACE_NTOHL (0x74657265),
ACE_NTOHL (0x64000000), // name = AlreadyRegistered
0, // member count
};
@@ -5035,7 +5035,7 @@ void ImplementationRepository::Administration::CannotActivate::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -5048,7 +5048,7 @@ void ImplementationRepository::Administration::CannotActivate::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -5072,32 +5072,32 @@ static const CORBA::Long _oc_ImplementationRepository_Administration_CannotActiv
{
TAO_ENCAP_BYTE_ORDER, // byte order
63,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f41646d),
- ACE_NTOHL (0x696e6973),
- ACE_NTOHL (0x74726174),
- ACE_NTOHL (0x696f6e2f),
- ACE_NTOHL (0x43616e6e),
- ACE_NTOHL (0x6f744163),
- ACE_NTOHL (0x74697661),
- ACE_NTOHL (0x74653a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f41646d),
+ ACE_NTOHL (0x696e6973),
+ ACE_NTOHL (0x74726174),
+ ACE_NTOHL (0x696f6e2f),
+ ACE_NTOHL (0x43616e6e),
+ ACE_NTOHL (0x6f744163),
+ ACE_NTOHL (0x74697661),
+ ACE_NTOHL (0x74653a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/Administration/CannotActivate:1.0
15,
- ACE_NTOHL (0x43616e6e),
- ACE_NTOHL (0x6f744163),
- ACE_NTOHL (0x74697661),
+ ACE_NTOHL (0x43616e6e),
+ ACE_NTOHL (0x6f744163),
+ ACE_NTOHL (0x74697661),
ACE_NTOHL (0x74650000), // name = CannotActivate
1, // member count
7,
- ACE_NTOHL (0x72656173),
+ ACE_NTOHL (0x72656173),
ACE_NTOHL (0x6f6e0000), // name = reason
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
};
@@ -5178,7 +5178,7 @@ void ImplementationRepository::Administration::NotFound::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -5191,7 +5191,7 @@ void ImplementationRepository::Administration::NotFound::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -5207,24 +5207,24 @@ static const CORBA::Long _oc_ImplementationRepository_Administration_NotFound[]
{
TAO_ENCAP_BYTE_ORDER, // byte order
57,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f41646d),
- ACE_NTOHL (0x696e6973),
- ACE_NTOHL (0x74726174),
- ACE_NTOHL (0x696f6e2f),
- ACE_NTOHL (0x4e6f7446),
- ACE_NTOHL (0x6f756e64),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f41646d),
+ ACE_NTOHL (0x696e6973),
+ ACE_NTOHL (0x74726174),
+ ACE_NTOHL (0x696f6e2f),
+ ACE_NTOHL (0x4e6f7446),
+ ACE_NTOHL (0x6f756e64),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:ImplementationRepository/Administration/NotFound:1.0
9,
- ACE_NTOHL (0x4e6f7446),
- ACE_NTOHL (0x6f756e64),
+ ACE_NTOHL (0x4e6f7446),
+ ACE_NTOHL (0x6f756e64),
ACE_NTOHL (0x0), // name = NotFound
0, // member count
};
@@ -5257,10 +5257,10 @@ void ImplementationRepository::Administration::activate_server (
ImplementationRepository::Administration::CannotActivate
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.activate_server (
this,
server,
@@ -5278,10 +5278,10 @@ void ImplementationRepository::Administration::register_server (
ImplementationRepository::Administration::AlreadyRegistered
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.register_server (
this,
server,
@@ -5299,10 +5299,10 @@ void ImplementationRepository::Administration::reregister_server (
CORBA::SystemException
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.reregister_server (
this,
server,
@@ -5320,10 +5320,10 @@ void ImplementationRepository::Administration::remove_server (
ImplementationRepository::Administration::NotFound
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.remove_server (
this,
server,
@@ -5340,10 +5340,10 @@ void ImplementationRepository::Administration::shutdown_server (
ImplementationRepository::Administration::NotFound
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.shutdown_server (
this,
server,
@@ -5362,10 +5362,10 @@ char * ImplementationRepository::Administration::server_is_running (
ImplementationRepository::Administration::NotFound
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return proxy.server_is_running (
this,
server,
@@ -5384,10 +5384,10 @@ void ImplementationRepository::Administration::server_is_shutting_down (
ImplementationRepository::Administration::NotFound
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.server_is_shutting_down (
this,
server,
@@ -5405,10 +5405,10 @@ void ImplementationRepository::Administration::find (
ImplementationRepository::Administration::NotFound
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.find (
this,
server,
@@ -5427,10 +5427,10 @@ void ImplementationRepository::Administration::list (
CORBA::SystemException
))
{
- _TAO_Administration_Proxy_Impl &proxy =
+ _TAO_Administration_Proxy_Impl &proxy =
this->the_TAO_Administration_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.list (
this,
how_many,
@@ -5444,22 +5444,22 @@ static const CORBA::Long _oc_ImplementationRepository_Administration[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
48,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f41646d),
- ACE_NTOHL (0x696e6973),
- ACE_NTOHL (0x74726174),
- ACE_NTOHL (0x696f6e3a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f41646d),
+ ACE_NTOHL (0x696e6973),
+ ACE_NTOHL (0x74726174),
+ ACE_NTOHL (0x696f6e3a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:ImplementationRepository/Administration:1.0
15,
- ACE_NTOHL (0x41646d69),
- ACE_NTOHL (0x6e697374),
- ACE_NTOHL (0x72617469),
+ ACE_NTOHL (0x41646d69),
+ ACE_NTOHL (0x6e697374),
+ ACE_NTOHL (0x72617469),
ACE_NTOHL (0x6f6e0000), // name = Administration
};
@@ -5524,7 +5524,7 @@ ImplementationRepository::ServerInformationIterator_var::operator const ::Implem
return this->ptr_;
}
-ImplementationRepository::ServerInformationIterator_var::operator ::ImplementationRepository::ServerInformationIterator_ptr &() // cast
+ImplementationRepository::ServerInformationIterator_var::operator ::ImplementationRepository::ServerInformationIterator_ptr &() // cast
{
return this->ptr_;
}
@@ -5666,24 +5666,24 @@ public:
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const CORBA::ULong & how_many,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -5702,7 +5702,7 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
const CORBA::ULong & how_many,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target),
how_many_ (how_many)
@@ -5716,14 +5716,14 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
+
CORBA::ULong length_how_many = parameter_list->length ();
parameter_list->length (length_how_many + 1);
(*parameter_list)[length_how_many].argument <<= how_many_;
(*parameter_list)[length_how_many].mode = Dynamic::PARAM_IN;
-
+
return safe_parameter_list._retn ();
}
@@ -5735,12 +5735,12 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -5749,17 +5749,17 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n:
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= CORBA::Any::from_boolean (this->_result);
return safe_result_any._retn ();
}
-void
+void
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n::result (CORBA::Boolean result)
{
- // update the result
+ // update the result
this->_result = result;
}
@@ -5769,24 +5769,24 @@ public:
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
@@ -5795,13 +5795,13 @@ private:
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &);
void operator= (const TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &);
-
+
};
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (
TAO_GIOP_Invocation *_tao_invocation,
CORBA::Object_ptr _tao_target,
- CORBA::Environment &
+ CORBA::Environment &
)
: TAO_ClientRequestInfo (_tao_invocation, _tao_target)
{}
@@ -5814,7 +5814,7 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -5826,12 +5826,12 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -5840,14 +5840,14 @@ TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
#endif /* TAO_HAS_INTERCEPTORS */
///////////////////////////////////////////////////////////////////////
-// Base & Remote Proxy Implementation.
+// Base & Remote Proxy Implementation.
//
ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl::_TAO_ServerInformationIterator_Proxy_Impl (void)
@@ -5868,15 +5868,15 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
CORBA::SystemException
))
{
-
+
CORBA::Boolean _tao_retval = 0;
-
-
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW_RETURN (CORBA::INTERNAL (), _tao_retval);
-
+
ACE_NEW_RETURN (server_list.ptr (), ImplementationRepository::ServerInformationList, 0);
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
@@ -5890,13 +5890,13 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_next_n ri (
&_tao_call,
@@ -5905,17 +5905,17 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
ACE_TRY_ENV
);
ACE_CHECK_RETURN (_tao_retval);
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -5923,35 +5923,35 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
)
);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
TAO_OutputCDR &_tao_out = _tao_call.out_stream ();
if (!(
- (_tao_out << how_many)
+ (_tao_out << how_many)
))
TAO_INTERCEPTOR_THROW_RETURN (
CORBA::MARSHAL (),
_tao_retval
);
-
+
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW_RETURN (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
_tao_retval
);
-
+
}
-
+
TAO_InputCDR &_tao_in = _tao_call.inp_stream ();
if (!(
(_tao_in >> CORBA::Any::to_boolean (_tao_retval)) &&
@@ -5962,14 +5962,14 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES),
_tao_retval
);
-
+
}
-
+
TAO_INTERCEPTOR (
CORBA::Boolean _tao_retval_info = _tao_retval;
ri.result (_tao_retval_info);
);
-
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -5986,10 +5986,10 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK_RETURN (_tao_retval);
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -5997,8 +5997,8 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -6017,7 +6017,7 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
}
ACE_ENDTRY;
ACE_CHECK_RETURN (_tao_retval);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -6025,7 +6025,7 @@ CORBA::Boolean ImplementationRepository::_TAO_ServerInformationIterator_Remote_P
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
return _tao_retval;
@@ -6039,15 +6039,15 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
CORBA::SystemException
))
{
-
-
-
+
+
+
TAO_Stub *istub = _collocated_tao_target_->_stubobj ();
if (istub == 0)
ACE_THROW (CORBA::INTERNAL ());
-
+
TAO_GIOP_Twoway_Invocation _tao_call (
istub,
"destroy",
@@ -6060,13 +6060,13 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
TAO_ClientRequestInterceptor_Adapter _tao_vfr (
istub->orb_core ()->client_request_interceptors ()
);
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
for (;;)
{
int _invoke_status = TAO_INVOKE_EXCEPTION;
-
+
#if TAO_HAS_INTERCEPTORS == 1
TAO_ClientRequestInfo_ImplementationRepository_ServerInformationIterator_destroy ri (
&_tao_call,
@@ -6074,17 +6074,17 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
ACE_TRY_ENV
);
ACE_CHECK;
-
+
ACE_TRY
{
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_call.start (ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
CORBA::Short _tao_response_flag = TAO_TWOWAY_RESPONSE_FLAG;
TAO_INTERCEPTOR (ri.response_expected (1));
-
+
TAO_INTERCEPTOR (
_tao_vfr.send_request (
&ri,
@@ -6092,7 +6092,7 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
)
);
TAO_INTERCEPTOR_CHECK;
-
+
_tao_call.prepare_header (
ACE_static_cast (CORBA::Octet, _tao_response_flag),
ACE_TRY_ENV
@@ -6101,16 +6101,16 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
_invoke_status =
_tao_call.invoke (0, 0, ACE_TRY_ENV);
TAO_INTERCEPTOR_CHECK;
-
+
if (_invoke_status == TAO_INVOKE_EXCEPTION)
{
TAO_INTERCEPTOR_THROW (
CORBA::UNKNOWN (TAO_DEFAULT_MINOR_CODE, CORBA::COMPLETED_YES)
);
-
+
}
-
-
+
+
TAO_INTERCEPTOR (
ri.reply_status (_invoke_status);
if (_invoke_status == TAO_INVOKE_OK)
@@ -6127,10 +6127,10 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
ACE_TRY_ENV
);
}
-
+
);
TAO_INTERCEPTOR_CHECK;
-
+
#if TAO_HAS_INTERCEPTORS == 1
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
@@ -6138,8 +6138,8 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
_invoke_status =
_tao_call.location_forward (exc.forward.in (), ACE_TRY_ENV);
ACE_TRY_CHECK;
-
- ri.forward_reference (exc);
+
+ ri.forward_reference (exc);
_tao_vfr.receive_other (
&ri,
ACE_TRY_ENV
@@ -6158,7 +6158,7 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
}
ACE_ENDTRY;
ACE_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
if (_invoke_status == TAO_INVOKE_RESTART)
@@ -6166,15 +6166,15 @@ void ImplementationRepository::_TAO_ServerInformationIterator_Remote_Proxy_Impl:
_tao_call.restart_flag (1);
continue;
}
-
+
break;
}
-
+
}
//
-// End Base & Remote Proxy Implemeentation.
+// End Base & Remote Proxy Implemeentation.
///////////////////////////////////////////////////////////////////////
@@ -6295,14 +6295,14 @@ ImplementationRepository::ServerInformationIterator_ptr ImplementationRepository
stub,
1,
obj->_servant ()),
-
+
ServerInformationIterator::_nil ());
}
if (CORBA::is_nil (default_proxy))
ACE_NEW_RETURN (default_proxy, ::ImplementationRepository::ServerInformationIterator (stub, 0, obj->_servant ()), ServerInformationIterator::_nil ());
return default_proxy;
}
- else
+ else
return
ACE_reinterpret_cast
(
@@ -6346,7 +6346,7 @@ void *ImplementationRepository::ServerInformationIterator::_tao_QueryInterface (
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;
@@ -6366,10 +6366,10 @@ CORBA::Boolean ImplementationRepository::ServerInformationIterator::next_n (
CORBA::SystemException
))
{
- _TAO_ServerInformationIterator_Proxy_Impl &proxy =
+ _TAO_ServerInformationIterator_Proxy_Impl &proxy =
this->the_TAO_ServerInformationIterator_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return proxy.next_n (
this,
how_many,
@@ -6385,10 +6385,10 @@ void ImplementationRepository::ServerInformationIterator::destroy (
CORBA::SystemException
))
{
- _TAO_ServerInformationIterator_Proxy_Impl &proxy =
+ _TAO_ServerInformationIterator_Proxy_Impl &proxy =
this->the_TAO_ServerInformationIterator_Proxy_Broker_->select_proxy (this, ACE_TRY_ENV);
ACE_CHECK;
-
+
proxy.destroy (
this,
ACE_TRY_ENV
@@ -6399,28 +6399,28 @@ static const CORBA::Long _oc_ImplementationRepository_ServerInformationIterator[
{
TAO_ENCAP_BYTE_ORDER, // byte order
59,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x496d706c),
- ACE_NTOHL (0x656d656e),
- ACE_NTOHL (0x74617469),
- ACE_NTOHL (0x6f6e5265),
- ACE_NTOHL (0x706f7369),
- ACE_NTOHL (0x746f7279),
- ACE_NTOHL (0x2f536572),
- ACE_NTOHL (0x76657249),
- ACE_NTOHL (0x6e666f72),
- ACE_NTOHL (0x6d617469),
- ACE_NTOHL (0x6f6e4974),
- ACE_NTOHL (0x65726174),
- ACE_NTOHL (0x6f723a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x496d706c),
+ ACE_NTOHL (0x656d656e),
+ ACE_NTOHL (0x74617469),
+ ACE_NTOHL (0x6f6e5265),
+ ACE_NTOHL (0x706f7369),
+ ACE_NTOHL (0x746f7279),
+ ACE_NTOHL (0x2f536572),
+ ACE_NTOHL (0x76657249),
+ ACE_NTOHL (0x6e666f72),
+ ACE_NTOHL (0x6d617469),
+ ACE_NTOHL (0x6f6e4974),
+ ACE_NTOHL (0x65726174),
+ ACE_NTOHL (0x6f723a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:ImplementationRepository/ServerInformationIterator:1.0
26,
- ACE_NTOHL (0x53657276),
- ACE_NTOHL (0x6572496e),
- ACE_NTOHL (0x666f726d),
- ACE_NTOHL (0x6174696f),
- ACE_NTOHL (0x6e497465),
- ACE_NTOHL (0x7261746f),
+ ACE_NTOHL (0x53657276),
+ ACE_NTOHL (0x6572496e),
+ ACE_NTOHL (0x666f726d),
+ ACE_NTOHL (0x6174696f),
+ ACE_NTOHL (0x6e497465),
+ ACE_NTOHL (0x7261746f),
ACE_NTOHL (0x72000000), // name = ServerInformationIterator
};
@@ -6443,7 +6443,7 @@ void operator<<= (CORBA::Any &_tao_any, ImplementationRepository::ServerObject_p
if (stream << _tao_elem)
{
_tao_any._tao_replace (
- ImplementationRepository::_tc_ServerObject,
+ ImplementationRepository::_tc_ServerObject,
TAO_ENCAP_BYTE_ORDER,
stream.begin (),
1,
@@ -6459,13 +6459,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, ImplementationRepository
{
_tao_elem = ImplementationRepository::ServerObject::_nil ();
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_ServerObject, 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 ()
@@ -6534,13 +6534,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_EnvironmentVariable, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -6625,13 +6625,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_EnvironmentList, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -6688,13 +6688,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, ImplementationRepository
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_ActivationMode, 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 ()
@@ -6748,13 +6748,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_StartupOptions, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -6831,13 +6831,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_ServerInformation, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -6922,13 +6922,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_ServerInformationList, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -6975,7 +6975,7 @@ void operator<<= (CORBA::Any &_tao_any, ImplementationRepository::Administration
if (stream << _tao_elem)
{
_tao_any._tao_replace (
- ImplementationRepository::_tc_Administration,
+ ImplementationRepository::_tc_Administration,
TAO_ENCAP_BYTE_ORDER,
stream.begin (),
1,
@@ -6991,13 +6991,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, ImplementationRepository
{
_tao_elem = ImplementationRepository::Administration::_nil ();
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_Administration, 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 ()
@@ -7069,13 +7069,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::Administration::_tc_AlreadyRegistered, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = (ImplementationRepository::Administration::AlreadyRegistered *)_tao_any.value ();
@@ -7159,13 +7159,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::Administration::_tc_CannotActivate, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = (ImplementationRepository::Administration::CannotActivate *)_tao_any.value ();
@@ -7249,13 +7249,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const ImplementationRepo
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::Administration::_tc_NotFound, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = (ImplementationRepository::Administration::NotFound *)_tao_any.value ();
@@ -7306,7 +7306,7 @@ void operator<<= (CORBA::Any &_tao_any, ImplementationRepository::ServerInformat
if (stream << _tao_elem)
{
_tao_any._tao_replace (
- ImplementationRepository::_tc_ServerInformationIterator,
+ ImplementationRepository::_tc_ServerInformationIterator,
TAO_ENCAP_BYTE_ORDER,
stream.begin (),
1,
@@ -7322,13 +7322,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, ImplementationRepository
{
_tao_elem = ImplementationRepository::ServerInformationIterator::_nil ();
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (ImplementationRepository::_tc_ServerInformationIterator, 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 ()
@@ -7426,7 +7426,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
@@ -7468,7 +7468,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
diff --git a/TAO/tao/PortableServer/ImplRepoC.h b/TAO/tao/PortableServer/ImplRepoC.h
index 8c3c2514cef..d21cea9c2c9 100644
--- a/TAO/tao/PortableServer/ImplRepoC.h
+++ b/TAO/tao/PortableServer/ImplRepoC.h
@@ -69,7 +69,7 @@ TAO_NAMESPACE ImplementationRepository
class ServerObject;
typedef ServerObject *ServerObject_ptr;
-
+
#endif /* end #if !defined */
@@ -80,23 +80,23 @@ TAO_NAMESPACE ImplementationRepository
{
public:
ServerObject_var (void); // default constructor
- ServerObject_var (ServerObject_ptr p) : ptr_ (p) {}
+ ServerObject_var (ServerObject_ptr p) : ptr_ (p) {}
ServerObject_var (const ServerObject_var &); // copy constructor
~ServerObject_var (void); // destructor
-
+
ServerObject_var &operator= (ServerObject_ptr);
ServerObject_var &operator= (const ServerObject_var &);
ServerObject_ptr operator-> (void) const;
-
+
operator const ServerObject_ptr &() const;
operator ServerObject_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ServerObject_ptr in (void) const;
ServerObject_ptr &inout (void);
ServerObject_ptr &out (void);
ServerObject_ptr _retn (void);
ServerObject_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ServerObject_ptr duplicate (ServerObject_ptr);
@@ -104,7 +104,7 @@ TAO_NAMESPACE ImplementationRepository
static ServerObject_ptr nil (void);
static ServerObject_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServerObject_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -131,7 +131,7 @@ TAO_NAMESPACE ImplementationRepository
operator ServerObject_ptr &();
ServerObject_ptr &ptr (void);
ServerObject_ptr operator-> (void);
-
+
private:
ServerObject_ptr &ptr_;
};
@@ -148,7 +148,7 @@ TAO_NAMESPACE ImplementationRepository
class _TAO_ServerObject_Remote_Proxy_Impl;
class _TAO_ServerObject_Proxy_Broker;
class _TAO_ServerObject_Remote_Proxy_Broker;
-
+
class TAO_PortableServer_Export ServerObject : public virtual CORBA_Object
{
public:
@@ -161,12 +161,12 @@ TAO_NAMESPACE ImplementationRepository
static ServerObject_ptr _duplicate (ServerObject_ptr obj);
static ServerObject_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServerObject_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServerObject_ptr _nil (void)
@@ -177,7 +177,7 @@ TAO_NAMESPACE ImplementationRepository
static void _tao_any_destructor (void*);
virtual void ping (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -185,7 +185,7 @@ TAO_NAMESPACE ImplementationRepository
));
virtual void shutdown (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -193,42 +193,42 @@ TAO_NAMESPACE ImplementationRepository
));
virtual CORBA::Boolean _is_a (
- const CORBA::Char *type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ const CORBA::Char *type_id,
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
private:
_TAO_ServerObject_Proxy_Broker *the_TAO_ServerObject_Proxy_Broker_;
-
+
protected:
ServerObject (int collocated = 0);
-
+
protected:
// This methods travese the inheritance tree and set the
// parents piece of the given class in the right mode
virtual void ImplementationRepository_ServerObject_setup_collocation (int collocated);
-
+
ServerObject (
- TAO_Stub *objref,
+ TAO_Stub *objref,
CORBA::Boolean _tao_collocated = 0,
TAO_Abstract_ServantBase *servant = 0
);
-
+
friend class _TAO_ServerObject_Remote_Proxy_Impl;
friend class _TAO_ServerObject_ThruPOA_Proxy_Impl;
friend class _TAO_ServerObject_Direct_Proxy_Impl;
-
+
virtual ~ServerObject (void);
private:
ServerObject (const ServerObject &);
void operator= (const ServerObject &);
};
-
+
// The Proxy Implementations are used by each interface to
// perform a call. Each different implementation encapsulate
// an invocation logics.
@@ -237,12 +237,12 @@ TAO_NAMESPACE ImplementationRepository
///////////////////////////////////////////////////////////////////////
// Base Impl. Declaration
//
-
+
class TAO_PortableServer_Export _TAO_ServerObject_Proxy_Impl : public virtual TAO_Object_Proxy_Impl
{
public:
virtual ~_TAO_ServerObject_Proxy_Impl (void) { }
-
+
virtual void ping (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
@@ -261,26 +261,26 @@ TAO_NAMESPACE ImplementationRepository
protected:
_TAO_ServerObject_Proxy_Impl (void);
-
+
};
//
// Base Proxy Impl. Declaration
///////////////////////////////////////////////////////////////////////
-
-
+
+
///////////////////////////////////////////////////////////////////////
// Remote Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_ServerObject_Remote_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_ServerObject_Remote_Proxy_Impl :
public virtual _TAO_ServerObject_Proxy_Impl,
public virtual TAO_Remote_Object_Proxy_Impl
{
public:
_TAO_ServerObject_Remote_Proxy_Impl (void);
-
+
virtual ~_TAO_ServerObject_Remote_Proxy_Impl (void) { }
-
+
virtual void ping (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
@@ -305,14 +305,14 @@ public:
// The Proxy Brokers are used by each interface to get
-// the right proxy for performing a call. In the new
+// the right proxy for performing a call. In the new
// collocation scheme, the proxy to be used can vary on
-// a call by call basis.
+// a call by call basis.
///////////////////////////////////////////////////////////////////////
-// Base Proxy Broker Declaration
+// Base Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_ServerObject_Proxy_Broker
@@ -326,25 +326,25 @@ public:
protected:
_TAO_ServerObject_Proxy_Broker (void);
-
+
};
//
-// End Base Proxy Broker Declaration
+// End Base Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
-// Remote Proxy Broker Declaration
+// Remote Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_ServerObject_Remote_Proxy_Broker : public virtual _TAO_ServerObject_Proxy_Broker
{
-public:
+public:
_TAO_ServerObject_Remote_Proxy_Broker (void);
-
+
virtual ~_TAO_ServerObject_Remote_Proxy_Broker (void);
-
+
virtual _TAO_ServerObject_Proxy_Impl &select_proxy (
ServerObject *object,
CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
@@ -362,7 +362,7 @@ public:
//
-// End Remote Proxy Broker Declaration
+// End Remote Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
@@ -393,18 +393,18 @@ public:
EnvironmentVariable_var (EnvironmentVariable *);
EnvironmentVariable_var (const EnvironmentVariable_var &); // copy constructor
~EnvironmentVariable_var (void); // destructor
-
+
EnvironmentVariable_var &operator= (EnvironmentVariable *);
EnvironmentVariable_var &operator= (const EnvironmentVariable_var &);
EnvironmentVariable *operator-> (void);
const EnvironmentVariable *operator-> (void) const;
-
+
operator const EnvironmentVariable &() const;
operator EnvironmentVariable &();
operator EnvironmentVariable &() const;
operator EnvironmentVariable *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const EnvironmentVariable &in (void) const;
EnvironmentVariable &inout (void);
EnvironmentVariable *&out (void);
@@ -426,7 +426,7 @@ public:
operator EnvironmentVariable *&();
EnvironmentVariable *&ptr (void);
EnvironmentVariable *operator-> (void);
-
+
private:
EnvironmentVariable *&ptr_;
// assignment from T_var not allowed
@@ -442,7 +442,7 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Address;
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_
@@ -450,9 +450,9 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Address;
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void); // Default constructor.
- _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum,
CORBA::ULong length,
EnvironmentVariable *data,
@@ -469,7 +469,7 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Address;
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
EnvironmentVariable *get_buffer (CORBA::Boolean orphan = 0);
const EnvironmentVariable *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -481,7 +481,7 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_Address;
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_)
#define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CH_
@@ -493,20 +493,20 @@ class EnvironmentList_var;
// EnvironmentList
// *************************************************************
-class TAO_PortableServer_Export EnvironmentList : public
+class TAO_PortableServer_Export EnvironmentList : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<EnvironmentVariable>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
EnvironmentList (void); // default ctor
EnvironmentList (CORBA::ULong max); // uses max size
EnvironmentList (
- CORBA::ULong max,
- CORBA::ULong length,
- EnvironmentVariable *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ EnvironmentVariable *buffer,
CORBA::Boolean release = 0
);
EnvironmentList (const EnvironmentList &); // copy ctor
@@ -536,21 +536,21 @@ public:
EnvironmentList_var (EnvironmentList *);
EnvironmentList_var (const EnvironmentList_var &); // copy constructor
~EnvironmentList_var (void); // destructor
-
+
EnvironmentList_var &operator= (EnvironmentList *);
EnvironmentList_var &operator= (const EnvironmentList_var &);
EnvironmentList *operator-> (void);
const EnvironmentList *operator-> (void) const;
-
+
operator const EnvironmentList &() const;
operator EnvironmentList &();
operator EnvironmentList &() const;
operator EnvironmentList *&(); // variable-size base types only
-
+
EnvironmentVariable & operator[] (CORBA::ULong index);
const EnvironmentVariable & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const EnvironmentList &in (void) const;
EnvironmentList &inout (void);
EnvironmentList *&out (void);
@@ -580,7 +580,7 @@ public:
EnvironmentList *&ptr (void);
EnvironmentList *operator-> (void);
EnvironmentVariable & operator[] (CORBA::ULong index);
-
+
private:
EnvironmentList *&ptr_;
// assignment from T_var not allowed
@@ -597,7 +597,7 @@ enum ActivationMode
NORMAL,
MANUAL,
PER_CLIENT,
- AUTO_START
+ AUTO_START
};
typedef ActivationMode &ActivationMode_out;
TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ActivationMode;
@@ -627,18 +627,18 @@ public:
StartupOptions_var (StartupOptions *);
StartupOptions_var (const StartupOptions_var &); // copy constructor
~StartupOptions_var (void); // destructor
-
+
StartupOptions_var &operator= (StartupOptions *);
StartupOptions_var &operator= (const StartupOptions_var &);
StartupOptions *operator-> (void);
const StartupOptions *operator-> (void) const;
-
+
operator const StartupOptions &() const;
operator StartupOptions &();
operator StartupOptions &() const;
operator StartupOptions *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const StartupOptions &in (void) const;
StartupOptions &inout (void);
StartupOptions *&out (void);
@@ -660,7 +660,7 @@ public:
operator StartupOptions *&();
StartupOptions *&ptr (void);
StartupOptions *operator-> (void);
-
+
private:
StartupOptions *&ptr_;
// assignment from T_var not allowed
@@ -694,18 +694,18 @@ public:
ServerInformation_var (ServerInformation *);
ServerInformation_var (const ServerInformation_var &); // copy constructor
~ServerInformation_var (void); // destructor
-
+
ServerInformation_var &operator= (ServerInformation *);
ServerInformation_var &operator= (const ServerInformation_var &);
ServerInformation *operator-> (void);
const ServerInformation *operator-> (void) const;
-
+
operator const ServerInformation &() const;
operator ServerInformation &();
operator ServerInformation &() const;
operator ServerInformation *&(); // variable-size types only
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const ServerInformation &in (void) const;
ServerInformation &inout (void);
ServerInformation *&out (void);
@@ -727,7 +727,7 @@ public:
operator ServerInformation *&();
ServerInformation *&ptr (void);
ServerInformation *operator-> (void);
-
+
private:
ServerInformation *&ptr_;
// assignment from T_var not allowed
@@ -738,7 +738,7 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServerInformation;
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_)
#define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_
@@ -746,9 +746,9 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServerInformation;
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void); // Default constructor.
- _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum);
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum,
CORBA::ULong length,
ServerInformation *data,
@@ -765,7 +765,7 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServerInformation;
virtual void _allocate_buffer (CORBA::ULong length);
virtual void _deallocate_buffer (void);
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ServerInformation *get_buffer (CORBA::Boolean orphan = 0);
const ServerInformation *get_buffer (void) const;
void replace (CORBA::ULong max,
@@ -777,7 +777,7 @@ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_ServerInformation;
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_)
#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CH_
@@ -789,20 +789,20 @@ class ServerInformationList_var;
// ServerInformationList
// *************************************************************
-class TAO_PortableServer_Export ServerInformationList : public
+class TAO_PortableServer_Export ServerInformationList : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<ServerInformation>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
ServerInformationList (void); // default ctor
ServerInformationList (CORBA::ULong max); // uses max size
ServerInformationList (
- CORBA::ULong max,
- CORBA::ULong length,
- ServerInformation *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ ServerInformation *buffer,
CORBA::Boolean release = 0
);
ServerInformationList (const ServerInformationList &); // copy ctor
@@ -832,21 +832,21 @@ public:
ServerInformationList_var (ServerInformationList *);
ServerInformationList_var (const ServerInformationList_var &); // copy constructor
~ServerInformationList_var (void); // destructor
-
+
ServerInformationList_var &operator= (ServerInformationList *);
ServerInformationList_var &operator= (const ServerInformationList_var &);
ServerInformationList *operator-> (void);
const ServerInformationList *operator-> (void) const;
-
+
operator const ServerInformationList &() const;
operator ServerInformationList &();
operator ServerInformationList &() const;
operator ServerInformationList *&(); // variable-size base types only
-
+
ServerInformation & operator[] (CORBA::ULong index);
const ServerInformation & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const ServerInformationList &in (void) const;
ServerInformationList &inout (void);
ServerInformationList *&out (void);
@@ -876,7 +876,7 @@ public:
ServerInformationList *&ptr (void);
ServerInformationList *operator-> (void);
ServerInformation & operator[] (CORBA::ULong index);
-
+
private:
ServerInformationList *&ptr_;
// assignment from T_var not allowed
@@ -905,23 +905,23 @@ class TAO_PortableServer_Export ServerInformationIterator_var : public TAO_Base_
{
public:
ServerInformationIterator_var (void); // default constructor
- ServerInformationIterator_var (ServerInformationIterator_ptr p) : ptr_ (p) {}
+ ServerInformationIterator_var (ServerInformationIterator_ptr p) : ptr_ (p) {}
ServerInformationIterator_var (const ServerInformationIterator_var &); // copy constructor
~ServerInformationIterator_var (void); // destructor
-
+
ServerInformationIterator_var &operator= (ServerInformationIterator_ptr);
ServerInformationIterator_var &operator= (const ServerInformationIterator_var &);
ServerInformationIterator_ptr operator-> (void) const;
-
+
operator const ServerInformationIterator_ptr &() const;
operator ServerInformationIterator_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ServerInformationIterator_ptr in (void) const;
ServerInformationIterator_ptr &inout (void);
ServerInformationIterator_ptr &out (void);
ServerInformationIterator_ptr _retn (void);
ServerInformationIterator_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ServerInformationIterator_ptr duplicate (ServerInformationIterator_ptr);
@@ -981,23 +981,23 @@ class TAO_PortableServer_Export Administration_var : public TAO_Base_var
{
public:
Administration_var (void); // default constructor
- Administration_var (Administration_ptr p) : ptr_ (p) {}
+ Administration_var (Administration_ptr p) : ptr_ (p) {}
Administration_var (const Administration_var &); // copy constructor
~Administration_var (void); // destructor
-
+
Administration_var &operator= (Administration_ptr);
Administration_var &operator= (const Administration_var &);
Administration_ptr operator-> (void) const;
-
+
operator const Administration_ptr &() const;
operator Administration_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
Administration_ptr in (void) const;
Administration_ptr &inout (void);
Administration_ptr &out (void);
Administration_ptr _retn (void);
Administration_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static Administration_ptr duplicate (Administration_ptr);
@@ -1062,12 +1062,12 @@ public:
static Administration_ptr _duplicate (Administration_ptr obj);
static Administration_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static Administration_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static Administration_ptr _nil (void)
@@ -1087,29 +1087,29 @@ public:
AlreadyRegistered (void);
// Default constructor.
-
+
AlreadyRegistered (const AlreadyRegistered &);
// Copy constructor.
-
+
~AlreadyRegistered (void);
// Destructor.
-
+
static void _tao_any_destructor (void*);
-
+
AlreadyRegistered &operator= (const AlreadyRegistered &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static AlreadyRegistered *_downcast (CORBA::Exception *);
@@ -1134,35 +1134,35 @@ public:
CannotActivate (void);
// Default constructor.
-
+
CannotActivate (const CannotActivate &);
// Copy constructor.
-
+
~CannotActivate (void);
// Destructor.
-
+
static void _tao_any_destructor (void*);
-
+
CannotActivate &operator= (const CannotActivate &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static CannotActivate *_downcast (CORBA::Exception *);
CannotActivate (
const char * _tao_reason
);
-
+
// = TAO extension.
static CORBA::Exception *_alloc (void);
virtual CORBA::TypeCode_ptr _type (void) const;
@@ -1183,29 +1183,29 @@ public:
NotFound (void);
// Default constructor.
-
+
NotFound (const NotFound &);
// Copy constructor.
-
+
~NotFound (void);
// Destructor.
-
+
static void _tao_any_destructor (void*);
-
+
NotFound &operator= (const NotFound &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static NotFound *_downcast (CORBA::Exception *);
@@ -1221,7 +1221,7 @@ public:
virtual void activate_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1233,7 +1233,7 @@ public:
virtual void register_server (
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1244,7 +1244,7 @@ public:
virtual void reregister_server (
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1253,7 +1253,7 @@ public:
virtual void remove_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1263,7 +1263,7 @@ public:
virtual void shutdown_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1275,7 +1275,7 @@ public:
const char * server,
const char * addr,
ImplementationRepository::ServerObject_ptr server_object,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1285,7 +1285,7 @@ public:
virtual void server_is_shutting_down (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1296,7 +1296,7 @@ public:
virtual void find (
const char * server,
ImplementationRepository::ServerInformation_out info,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1308,7 +1308,7 @@ public:
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
ImplementationRepository::ServerInformationIterator_out server_iterator,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1316,35 +1316,35 @@ public:
));
virtual CORBA::Boolean _is_a (
- const CORBA::Char *type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ const CORBA::Char *type_id,
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
private:
_TAO_Administration_Proxy_Broker *the_TAO_Administration_Proxy_Broker_;
-
+
protected:
Administration (int collocated = 0);
-
+
protected:
// This methods travese the inheritance tree and set the
// parents piece of the given class in the right mode
virtual void ImplementationRepository_Administration_setup_collocation (int collocated);
-
+
Administration (
- TAO_Stub *objref,
+ TAO_Stub *objref,
CORBA::Boolean _tao_collocated = 0,
TAO_Abstract_ServantBase *servant = 0
);
-
+
friend class _TAO_Administration_Remote_Proxy_Impl;
friend class _TAO_Administration_ThruPOA_Proxy_Impl;
friend class _TAO_Administration_Direct_Proxy_Impl;
-
+
virtual ~Administration (void);
private:
Administration (const Administration &);
@@ -1365,7 +1365,7 @@ class TAO_PortableServer_Export _TAO_Administration_Proxy_Impl : public virtual
{
public:
virtual ~_TAO_Administration_Proxy_Impl (void) { }
-
+
virtual void activate_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1475,15 +1475,15 @@ protected:
// Remote Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_Administration_Remote_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_Administration_Remote_Proxy_Impl :
public virtual _TAO_Administration_Proxy_Impl,
public virtual TAO_Remote_Object_Proxy_Impl
{
public:
_TAO_Administration_Remote_Proxy_Impl (void);
-
+
virtual ~_TAO_Administration_Remote_Proxy_Impl (void) { }
-
+
virtual void activate_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1588,14 +1588,14 @@ public:
// The Proxy Brokers are used by each interface to get
-// the right proxy for performing a call. In the new
+// the right proxy for performing a call. In the new
// collocation scheme, the proxy to be used can vary on
-// a call by call basis.
+// a call by call basis.
///////////////////////////////////////////////////////////////////////
-// Base Proxy Broker Declaration
+// Base Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_Administration_Proxy_Broker
@@ -1609,25 +1609,25 @@ public:
protected:
_TAO_Administration_Proxy_Broker (void);
-
+
};
//
-// End Base Proxy Broker Declaration
+// End Base Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
-// Remote Proxy Broker Declaration
+// Remote Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_Administration_Remote_Proxy_Broker : public virtual _TAO_Administration_Proxy_Broker
{
-public:
+public:
_TAO_Administration_Remote_Proxy_Broker (void);
-
+
virtual ~_TAO_Administration_Remote_Proxy_Broker (void);
-
+
virtual _TAO_Administration_Proxy_Impl &select_proxy (
Administration *object,
CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
@@ -1645,7 +1645,7 @@ public:
//
-// End Remote Proxy Broker Declaration
+// End Remote Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
@@ -1675,12 +1675,12 @@ public:
static ServerInformationIterator_ptr _duplicate (ServerInformationIterator_ptr obj);
static ServerInformationIterator_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServerInformationIterator_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServerInformationIterator_ptr _nil (void)
@@ -1693,7 +1693,7 @@ public:
virtual CORBA::Boolean next_n (
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1701,7 +1701,7 @@ public:
));
virtual void destroy (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1709,35 +1709,35 @@ public:
));
virtual CORBA::Boolean _is_a (
- const CORBA::Char *type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ const CORBA::Char *type_id,
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
private:
_TAO_ServerInformationIterator_Proxy_Broker *the_TAO_ServerInformationIterator_Proxy_Broker_;
-
+
protected:
ServerInformationIterator (int collocated = 0);
-
+
protected:
// This methods travese the inheritance tree and set the
// parents piece of the given class in the right mode
virtual void ImplementationRepository_ServerInformationIterator_setup_collocation (int collocated);
-
+
ServerInformationIterator (
- TAO_Stub *objref,
+ TAO_Stub *objref,
CORBA::Boolean _tao_collocated = 0,
TAO_Abstract_ServantBase *servant = 0
);
-
+
friend class _TAO_ServerInformationIterator_Remote_Proxy_Impl;
friend class _TAO_ServerInformationIterator_ThruPOA_Proxy_Impl;
friend class _TAO_ServerInformationIterator_Direct_Proxy_Impl;
-
+
virtual ~ServerInformationIterator (void);
private:
ServerInformationIterator (const ServerInformationIterator &);
@@ -1758,7 +1758,7 @@ class TAO_PortableServer_Export _TAO_ServerInformationIterator_Proxy_Impl : publ
{
public:
virtual ~_TAO_ServerInformationIterator_Proxy_Impl (void) { }
-
+
virtual CORBA::Boolean next_n (
CORBA_Object *_collocated_tao_target_,
CORBA::ULong how_many,
@@ -1790,15 +1790,15 @@ protected:
// Remote Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_ServerInformationIterator_Remote_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_ServerInformationIterator_Remote_Proxy_Impl :
public virtual _TAO_ServerInformationIterator_Proxy_Impl,
public virtual TAO_Remote_Object_Proxy_Impl
{
public:
_TAO_ServerInformationIterator_Remote_Proxy_Impl (void);
-
+
virtual ~_TAO_ServerInformationIterator_Remote_Proxy_Impl (void) { }
-
+
virtual CORBA::Boolean next_n (
CORBA_Object *_collocated_tao_target_,
CORBA::ULong how_many,
@@ -1825,14 +1825,14 @@ public:
// The Proxy Brokers are used by each interface to get
-// the right proxy for performing a call. In the new
+// the right proxy for performing a call. In the new
// collocation scheme, the proxy to be used can vary on
-// a call by call basis.
+// a call by call basis.
///////////////////////////////////////////////////////////////////////
-// Base Proxy Broker Declaration
+// Base Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_ServerInformationIterator_Proxy_Broker
@@ -1846,25 +1846,25 @@ public:
protected:
_TAO_ServerInformationIterator_Proxy_Broker (void);
-
+
};
//
-// End Base Proxy Broker Declaration
+// End Base Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
-// Remote Proxy Broker Declaration
+// Remote Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_ServerInformationIterator_Remote_Proxy_Broker : public virtual _TAO_ServerInformationIterator_Proxy_Broker
{
-public:
+public:
_TAO_ServerInformationIterator_Remote_Proxy_Broker (void);
-
+
virtual ~_TAO_ServerInformationIterator_Remote_Proxy_Broker (void);
-
+
virtual _TAO_ServerInformationIterator_Proxy_Impl &select_proxy (
ServerInformationIterator *object,
CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
@@ -1882,7 +1882,7 @@ public:
//
-// End Remote Proxy Broker Declaration
+// End Remote Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
@@ -1979,7 +1979,7 @@ TAO_PortableServer_Export CORBA::Boolean operator>> (
#endif /* _TAO_CDR_OP_ImplementationRepository_EnvironmentList_H_ */
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::ActivationMode &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::ActivationMode &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::ActivationMode &);
TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const ImplementationRepository::StartupOptions &);
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, ImplementationRepository::StartupOptions &);
diff --git a/TAO/tao/PortableServer/ImplRepoC.i b/TAO/tao/PortableServer/ImplRepoC.i
index 5c61c8c9abd..f1d1e236682 100644
--- a/TAO/tao/PortableServer/ImplRepoC.i
+++ b/TAO/tao/PortableServer/ImplRepoC.i
@@ -131,7 +131,7 @@ ImplementationRepository::EnvironmentVariable_var::operator= (const ::Implementa
{
EnvironmentVariable *deep_copy =
new EnvironmentVariable (*p.ptr_);
-
+
if (deep_copy != 0)
{
EnvironmentVariable *tmp = deep_copy;
@@ -141,7 +141,7 @@ ImplementationRepository::EnvironmentVariable_var::operator= (const ::Implementa
}
}
}
-
+
return *this;
}
@@ -164,20 +164,20 @@ ImplementationRepository::EnvironmentVariable_var::operator const ::Implementati
}
ACE_INLINE
-ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepository::EnvironmentVariable &() // cast
+ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepository::EnvironmentVariable &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepository::EnvironmentVariable &() const // cast
+ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepository::EnvironmentVariable &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepository::EnvironmentVariable *&() // cast
+ImplementationRepository::EnvironmentVariable_var::operator ::ImplementationRepository::EnvironmentVariable *&() // cast
{
return this->ptr_;
}
@@ -194,7 +194,7 @@ ImplementationRepository::EnvironmentVariable_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::ImplementationRepository::EnvironmentVariable *&
ImplementationRepository::EnvironmentVariable_var::out (void)
{
@@ -255,7 +255,7 @@ ImplementationRepository::EnvironmentVariable_out::operator= (EnvironmentVariabl
return *this;
}
-ACE_INLINE
+ACE_INLINE
ImplementationRepository::EnvironmentVariable_out::operator ::ImplementationRepository::EnvironmentVariable *&() // cast
{
return this->ptr_;
@@ -275,7 +275,7 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_
@@ -288,24 +288,24 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
ACE_NEW_RETURN (retval, ImplementationRepository::EnvironmentVariable[size], 0);
return retval;
}
-
+
ACE_INLINE void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::freebuf (ImplementationRepository::EnvironmentVariable *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (void) // Default constructor.
{
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (maximum))
{
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (CORBA::ULong maximum,
CORBA::ULong length,
@@ -314,7 +314,7 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList (const _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &rhs)
// Copy constructor.
@@ -324,10 +324,10 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
{
ImplementationRepository::EnvironmentVariable *tmp1 = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (this->maximum_);
ImplementationRepository::EnvironmentVariable * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
else
@@ -335,14 +335,14 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
this->buffer_ = 0;
}
}
-
+
ACE_INLINE ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::operator= (const _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -355,18 +355,18 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
ImplementationRepository::EnvironmentVariable *tmp1 = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable *, this->buffer_);
ImplementationRepository::EnvironmentVariable * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE ImplementationRepository::EnvironmentVariable &
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::operator[] (CORBA::ULong i)
@@ -376,7 +376,7 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
ImplementationRepository::EnvironmentVariable* tmp = ACE_reinterpret_cast(ImplementationRepository::EnvironmentVariable*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const ImplementationRepository::EnvironmentVariable &
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::operator[] (CORBA::ULong i) const
// operator []
@@ -385,9 +385,9 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
ImplementationRepository::EnvironmentVariable * const tmp = ACE_reinterpret_cast (ImplementationRepository::EnvironmentVariable* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE ImplementationRepository::EnvironmentVariable *
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::get_buffer (CORBA::Boolean orphan)
{
@@ -421,13 +421,13 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const ImplementationRepository::EnvironmentVariable *
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::get_buffer (void) const
{
return ACE_reinterpret_cast(const ImplementationRepository::EnvironmentVariable * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_EnvironmentList::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -444,11 +444,11 @@ ImplementationRepository::EnvironmentVariable_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_)
#define _IMPLEMENTATIONREPOSITORY_ENVIRONMENTLIST_CI_
@@ -504,7 +504,7 @@ ImplementationRepository::EnvironmentList_var::operator= (const ::Implementation
{
EnvironmentList *deep_copy =
new EnvironmentList (*p.ptr_);
-
+
if (deep_copy != 0)
{
EnvironmentList *tmp = deep_copy;
@@ -514,7 +514,7 @@ ImplementationRepository::EnvironmentList_var::operator= (const ::Implementation
}
}
}
-
+
return *this;
}
@@ -530,27 +530,27 @@ ImplementationRepository::EnvironmentList_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
ImplementationRepository::EnvironmentList_var::operator const ::ImplementationRepository::EnvironmentList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList &() // cast
+ACE_INLINE
+ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList &() const // cast
+ACE_INLINE
+ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList *&() // cast
+ImplementationRepository::EnvironmentList_var::operator ::ImplementationRepository::EnvironmentList *&() // cast
{
return this->ptr_;
}
@@ -579,7 +579,7 @@ ImplementationRepository::EnvironmentList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::ImplementationRepository::EnvironmentList *&
ImplementationRepository::EnvironmentList_var::out (void)
{
@@ -640,7 +640,7 @@ ImplementationRepository::EnvironmentList_out::operator= (EnvironmentList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
ImplementationRepository::EnvironmentList_out::operator ::ImplementationRepository::EnvironmentList *&() // cast
{
return this->ptr_;
@@ -718,7 +718,7 @@ ImplementationRepository::StartupOptions_var::operator= (const ::ImplementationR
{
StartupOptions *deep_copy =
new StartupOptions (*p.ptr_);
-
+
if (deep_copy != 0)
{
StartupOptions *tmp = deep_copy;
@@ -728,7 +728,7 @@ ImplementationRepository::StartupOptions_var::operator= (const ::ImplementationR
}
}
}
-
+
return *this;
}
@@ -751,20 +751,20 @@ ImplementationRepository::StartupOptions_var::operator const ::ImplementationRep
}
ACE_INLINE
-ImplementationRepository::StartupOptions_var::operator ::ImplementationRepository::StartupOptions &() // cast
+ImplementationRepository::StartupOptions_var::operator ::ImplementationRepository::StartupOptions &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-ImplementationRepository::StartupOptions_var::operator ::ImplementationRepository::StartupOptions &() const // cast
+ImplementationRepository::StartupOptions_var::operator ::ImplementationRepository::StartupOptions &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-ImplementationRepository::StartupOptions_var::operator ::ImplementationRepository::StartupOptions *&() // cast
+ImplementationRepository::StartupOptions_var::operator ::ImplementationRepository::StartupOptions *&() // cast
{
return this->ptr_;
}
@@ -781,7 +781,7 @@ ImplementationRepository::StartupOptions_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::ImplementationRepository::StartupOptions *&
ImplementationRepository::StartupOptions_var::out (void)
{
@@ -842,7 +842,7 @@ ImplementationRepository::StartupOptions_out::operator= (StartupOptions *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
ImplementationRepository::StartupOptions_out::operator ::ImplementationRepository::StartupOptions *&() // cast
{
return this->ptr_;
@@ -911,7 +911,7 @@ ImplementationRepository::ServerInformation_var::operator= (const ::Implementati
{
ServerInformation *deep_copy =
new ServerInformation (*p.ptr_);
-
+
if (deep_copy != 0)
{
ServerInformation *tmp = deep_copy;
@@ -921,7 +921,7 @@ ImplementationRepository::ServerInformation_var::operator= (const ::Implementati
}
}
}
-
+
return *this;
}
@@ -944,20 +944,20 @@ ImplementationRepository::ServerInformation_var::operator const ::Implementation
}
ACE_INLINE
-ImplementationRepository::ServerInformation_var::operator ::ImplementationRepository::ServerInformation &() // cast
+ImplementationRepository::ServerInformation_var::operator ::ImplementationRepository::ServerInformation &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-ImplementationRepository::ServerInformation_var::operator ::ImplementationRepository::ServerInformation &() const // cast
+ImplementationRepository::ServerInformation_var::operator ::ImplementationRepository::ServerInformation &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-ImplementationRepository::ServerInformation_var::operator ::ImplementationRepository::ServerInformation *&() // cast
+ImplementationRepository::ServerInformation_var::operator ::ImplementationRepository::ServerInformation *&() // cast
{
return this->ptr_;
}
@@ -974,7 +974,7 @@ ImplementationRepository::ServerInformation_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::ImplementationRepository::ServerInformation *&
ImplementationRepository::ServerInformation_var::out (void)
{
@@ -1035,7 +1035,7 @@ ImplementationRepository::ServerInformation_out::operator= (ServerInformation *p
return *this;
}
-ACE_INLINE
+ACE_INLINE
ImplementationRepository::ServerInformation_out::operator ::ImplementationRepository::ServerInformation *&() // cast
{
return this->ptr_;
@@ -1055,7 +1055,7 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_
@@ -1068,24 +1068,24 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
ACE_NEW_RETURN (retval, ImplementationRepository::ServerInformation[size], 0);
return retval;
}
-
+
ACE_INLINE void ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::freebuf (ImplementationRepository::ServerInformation *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (void) // Default constructor.
{
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (maximum))
{
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (CORBA::ULong maximum,
CORBA::ULong length,
@@ -1094,7 +1094,7 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList (const _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &rhs)
// Copy constructor.
@@ -1104,10 +1104,10 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
{
ImplementationRepository::ServerInformation *tmp1 = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (this->maximum_);
ImplementationRepository::ServerInformation * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::ServerInformation * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
else
@@ -1115,14 +1115,14 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
this->buffer_ = 0;
}
}
-
+
ACE_INLINE ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::operator= (const _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -1135,18 +1135,18 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
}
else
this->buffer_ = _TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
ImplementationRepository::ServerInformation *tmp1 = ACE_reinterpret_cast (ImplementationRepository::ServerInformation *, this->buffer_);
ImplementationRepository::ServerInformation * const tmp2 = ACE_reinterpret_cast (ImplementationRepository::ServerInformation * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE ImplementationRepository::ServerInformation &
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::operator[] (CORBA::ULong i)
@@ -1156,7 +1156,7 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
ImplementationRepository::ServerInformation* tmp = ACE_reinterpret_cast(ImplementationRepository::ServerInformation*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const ImplementationRepository::ServerInformation &
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::operator[] (CORBA::ULong i) const
// operator []
@@ -1165,9 +1165,9 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
ImplementationRepository::ServerInformation * const tmp = ACE_reinterpret_cast (ImplementationRepository::ServerInformation* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE ImplementationRepository::ServerInformation *
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::get_buffer (CORBA::Boolean orphan)
{
@@ -1201,13 +1201,13 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const ImplementationRepository::ServerInformation *
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::get_buffer (void) const
{
return ACE_reinterpret_cast(const ImplementationRepository::ServerInformation * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
ImplementationRepository::_TAO_Unbounded_Sequence_ImplementationRepository_ServerInformationList::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -1224,11 +1224,11 @@ ImplementationRepository::ServerInformation_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_)
#define _IMPLEMENTATIONREPOSITORY_SERVERINFORMATIONLIST_CI_
@@ -1284,7 +1284,7 @@ ImplementationRepository::ServerInformationList_var::operator= (const ::Implemen
{
ServerInformationList *deep_copy =
new ServerInformationList (*p.ptr_);
-
+
if (deep_copy != 0)
{
ServerInformationList *tmp = deep_copy;
@@ -1294,7 +1294,7 @@ ImplementationRepository::ServerInformationList_var::operator= (const ::Implemen
}
}
}
-
+
return *this;
}
@@ -1310,27 +1310,27 @@ ImplementationRepository::ServerInformationList_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
ImplementationRepository::ServerInformationList_var::operator const ::ImplementationRepository::ServerInformationList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList &() // cast
+ACE_INLINE
+ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList &() const // cast
+ACE_INLINE
+ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList *&() // cast
+ImplementationRepository::ServerInformationList_var::operator ::ImplementationRepository::ServerInformationList *&() // cast
{
return this->ptr_;
}
@@ -1359,7 +1359,7 @@ ImplementationRepository::ServerInformationList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::ImplementationRepository::ServerInformationList *&
ImplementationRepository::ServerInformationList_var::out (void)
{
@@ -1420,7 +1420,7 @@ ImplementationRepository::ServerInformationList_out::operator= (ServerInformatio
return *this;
}
-ACE_INLINE
+ACE_INLINE
ImplementationRepository::ServerInformationList_out::operator ::ImplementationRepository::ServerInformationList *&() // cast
{
return this->ptr_;
@@ -1600,7 +1600,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationR
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::EnvironmentVariable &_tao_aggregate)
@@ -1612,7 +1612,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationReposito
return 1;
else
return 0;
-
+
}
@@ -1640,12 +1640,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationReposito
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (ImplementationRepository::ActivationMode, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1660,7 +1660,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationR
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::StartupOptions &_tao_aggregate)
@@ -1674,7 +1674,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationReposito
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationRepository::ServerInformation &_tao_aggregate)
@@ -1688,7 +1688,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const ImplementationR
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationRepository::ServerInformation &_tao_aggregate)
@@ -1702,7 +1702,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, ImplementationReposito
return 1;
else
return 0;
-
+
}
diff --git a/TAO/tao/PortableServer/ImplRepoS_T.h b/TAO/tao/PortableServer/ImplRepoS_T.h
index da800daa397..adc77fb587a 100644
--- a/TAO/tao/PortableServer/ImplRepoS_T.h
+++ b/TAO/tao/PortableServer/ImplRepoS_T.h
@@ -49,7 +49,7 @@ TAO_NAMESPACE POA_ImplementationRepository
// ctor with T*, ownership flag and a POA
~ServerObject_tie (void);
// dtor
-
+
// TIE specific functions
T *_tied_object (void);
// return the underlying object
@@ -61,14 +61,14 @@ TAO_NAMESPACE POA_ImplementationRepository
// do we own it
void _is_owner (CORBA::Boolean b);
// set the ownership
-
+
// overridden ServantBase operations
PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
void ping (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -76,7 +76,7 @@ TAO_NAMESPACE POA_ImplementationRepository
));
void shutdown (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -87,7 +87,7 @@ TAO_NAMESPACE POA_ImplementationRepository
T *ptr_;
PortableServer::POA_var poa_;
CORBA::Boolean rel_;
-
+
// copy and assignment are not allowed
ServerObject_tie (const ServerObject_tie &);
void operator= (const ServerObject_tie &);
@@ -108,7 +108,7 @@ TAO_NAMESPACE POA_ImplementationRepository
// ctor with T*, ownership flag and a POA
~Administration_tie (void);
// dtor
-
+
// TIE specific functions
T *_tied_object (void);
// return the underlying object
@@ -120,15 +120,15 @@ TAO_NAMESPACE POA_ImplementationRepository
// do we own it
void _is_owner (CORBA::Boolean b);
// set the ownership
-
+
// overridden ServantBase operations
PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
void activate_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -140,7 +140,7 @@ TAO_NAMESPACE POA_ImplementationRepository
void register_server (
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -151,7 +151,7 @@ TAO_NAMESPACE POA_ImplementationRepository
void reregister_server (
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -160,7 +160,7 @@ TAO_NAMESPACE POA_ImplementationRepository
void remove_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -170,7 +170,7 @@ TAO_NAMESPACE POA_ImplementationRepository
void shutdown_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -182,7 +182,7 @@ TAO_NAMESPACE POA_ImplementationRepository
const char * server,
const char * addr,
ImplementationRepository::ServerObject_ptr server_object,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -192,7 +192,7 @@ TAO_NAMESPACE POA_ImplementationRepository
void server_is_shutting_down (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -203,7 +203,7 @@ TAO_NAMESPACE POA_ImplementationRepository
void find (
const char * server,
ImplementationRepository::ServerInformation_out info,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -215,7 +215,7 @@ TAO_NAMESPACE POA_ImplementationRepository
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
ImplementationRepository::ServerInformationIterator_out server_iterator,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -226,7 +226,7 @@ TAO_NAMESPACE POA_ImplementationRepository
T *ptr_;
PortableServer::POA_var poa_;
CORBA::Boolean rel_;
-
+
// copy and assignment are not allowed
Administration_tie (const Administration_tie &);
void operator= (const Administration_tie &);
@@ -247,7 +247,7 @@ TAO_NAMESPACE POA_ImplementationRepository
// ctor with T*, ownership flag and a POA
~ServerInformationIterator_tie (void);
// dtor
-
+
// TIE specific functions
T *_tied_object (void);
// return the underlying object
@@ -259,16 +259,16 @@ TAO_NAMESPACE POA_ImplementationRepository
// do we own it
void _is_owner (CORBA::Boolean b);
// set the ownership
-
+
// overridden ServantBase operations
PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
CORBA::Boolean next_n (
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -276,7 +276,7 @@ TAO_NAMESPACE POA_ImplementationRepository
));
void destroy (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -287,7 +287,7 @@ TAO_NAMESPACE POA_ImplementationRepository
T *ptr_;
PortableServer::POA_var poa_;
CORBA::Boolean rel_;
-
+
// copy and assignment are not allowed
ServerInformationIterator_tie (const ServerInformationIterator_tie &);
void operator= (const ServerInformationIterator_tie &);
diff --git a/TAO/tao/PortableServer/MessagingS.cpp b/TAO/tao/PortableServer/MessagingS.cpp
index 6fcbe7f35e0..ac9faa62ad7 100644
--- a/TAO/tao/PortableServer/MessagingS.cpp
+++ b/TAO/tao/PortableServer/MessagingS.cpp
@@ -458,7 +458,7 @@ POA_Messaging::ReplyHandler::_this (CORBA_Environment &ACE_TRY_ENV)
}
#endif /* TAO_HAS_AMI_CALLBACK == 1 || TAO_HAS_AMI_POLLER == 1 */
-
+
#endif /* TAO_HAS_CORBA_MESSAGING == 1 */
#endif /* ifndef */
diff --git a/TAO/tao/PortableServer/MessagingS.h b/TAO/tao/PortableServer/MessagingS.h
index 4d00d8c1256..b44bccf0495 100644
--- a/TAO/tao/PortableServer/MessagingS.h
+++ b/TAO/tao/PortableServer/MessagingS.h
@@ -104,19 +104,19 @@ TAO_NAMESPACE POA_Messaging
TAO_ServerRequest &req,
void *obj,
void *context,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual void _dispatch (
TAO_ServerRequest &_tao_req,
void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
::Messaging::ReplyHandler *_this (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
diff --git a/TAO/tao/PortableServer/MessagingS_T.h b/TAO/tao/PortableServer/MessagingS_T.h
index b9e6c8f3c1b..c84eeb5e39b 100644
--- a/TAO/tao/PortableServer/MessagingS_T.h
+++ b/TAO/tao/PortableServer/MessagingS_T.h
@@ -49,7 +49,7 @@ TAO_NAMESPACE POA_Messaging
// ctor with T*, ownership flag and a POA
~ReplyHandler_tie (void);
// dtor
-
+
// TIE specific functions
T *_tied_object (void);
// return the underlying object
@@ -61,17 +61,17 @@ TAO_NAMESPACE POA_Messaging
// do we own it
void _is_owner (CORBA::Boolean b);
// set the ownership
-
+
// overridden ServantBase operations
PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
private:
T *ptr_;
PortableServer::POA_var poa_;
CORBA::Boolean rel_;
-
+
// copy and assignment are not allowed
ReplyHandler_tie (const ReplyHandler_tie &);
void operator= (const ReplyHandler_tie &);
diff --git a/TAO/tao/PortableServer/MessagingS_T.i b/TAO/tao/PortableServer/MessagingS_T.i
index a395d523643..05a3e7dfd57 100644
--- a/TAO/tao/PortableServer/MessagingS_T.i
+++ b/TAO/tao/PortableServer/MessagingS_T.i
@@ -23,30 +23,30 @@
template <class T> ACE_INLINE
POA_Messaging::ReplyHandler_tie<T>::ReplyHandler_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
{}
template <class T> ACE_INLINE
POA_Messaging::ReplyHandler_tie<T>::ReplyHandler_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
{}
template <class T> ACE_INLINE
POA_Messaging::ReplyHandler_tie<T>::ReplyHandler_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
{}
template <class T> ACE_INLINE
POA_Messaging::ReplyHandler_tie<T>::ReplyHandler_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
{}
template <class T> ACE_INLINE
diff --git a/TAO/tao/PortableServer/POA.cpp b/TAO/tao/PortableServer/POA.cpp
index fad35c1640a..4996eed5b6f 100644
--- a/TAO/tao/PortableServer/POA.cpp
+++ b/TAO/tao/PortableServer/POA.cpp
@@ -25,6 +25,9 @@
#include "Default_Acceptor_Filter.h"
#include "RT_Acceptor_Filters.h"
+#include "tao/PortableGroup_Adapter.h"
+#include "PortableGroup_Hooks.h"
+
// auto_ptr class
#include "ace/Auto_Ptr.h"
@@ -3079,6 +3082,48 @@ TAO_POA::create_request_processing_policy (PortableServer::RequestProcessingPoli
#endif /* TAO_HAS_MINIMUM_POA == 0 */
+#if (TAO_HAS_MIOP == 1)
+
+PortableServer::ObjectId *
+TAO_POA::create_id_for_reference (CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ))
+{
+ TAO_POA_PortableGroup_Hooks *hooks =
+ orb_core_.portable_group ()->poa_hooks (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableServer::ObjectId::_nil ());
+
+ PortableServer::ObjectId *obj_id =
+ hooks->create_id_for_reference (*this, the_ref, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableServer::ObjectId::_nil ());
+
+ return obj_id;
+}
+
+PortableServer::IDs *
+TAO_POA::reference_to_ids (CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ))
+{
+ TAO_POA_PortableGroup_Hooks *hooks =
+ orb_core_.portable_group ()->poa_hooks (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableServer::IDs::_nil ());
+
+ PortableServer::IDs *id_list =
+ hooks->reference_to_ids (*this, the_ref, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (PortableServer::IDs::_nil ());
+
+ return id_list;
+}
+
+#endif /* TAO_HAS_MIOP == 1 */
+
#if (TAO_HAS_MINIMUM_POA == 0)
TAO_Thread_Policy::TAO_Thread_Policy (PortableServer::ThreadPolicyValue value)
diff --git a/TAO/tao/PortableServer/POA.h b/TAO/tao/PortableServer/POA.h
index 16e97f2eaea..07883522215 100644
--- a/TAO/tao/PortableServer/POA.h
+++ b/TAO/tao/PortableServer/POA.h
@@ -624,6 +624,28 @@ public:
#endif /* TAO_HAS_RT_CORBA == 1 */
+#if (TAO_HAS_MIOP == 1)
+ virtual PortableServer::ObjectId * create_id_for_reference (
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ));
+
+ virtual PortableServer::IDs * reference_to_ids (
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ ));
+#endif /* TAO_HAS_MIOP == 1 */
+
TAO_POA_Policies &policies (void);
// Accessor for POA policies.
diff --git a/TAO/tao/PortableServer/PolicyS.cpp b/TAO/tao/PortableServer/PolicyS.cpp
index f337d48d922..0dbb9b50d68 100644
--- a/TAO/tao/PortableServer/PolicyS.cpp
+++ b/TAO/tao/PortableServer/PolicyS.cpp
@@ -122,16 +122,16 @@ TAO_CORBA_Policy_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len
static const class TAO_operation_db_entry wordlist[] =
{
{"",0},{"",0},{"",0},{"",0},
- {"copy", &POA_CORBA_Policy::copy_skel},
+ {"copy", &POA_CORBA_Policy::copy_skel},
{"_is_a", &POA_CORBA_Policy::_is_a_skel},
{"",0},
- {"destroy", &POA_CORBA_Policy::destroy_skel},
+ {"destroy", &POA_CORBA_Policy::destroy_skel},
{"",0},{"",0},
{"_interface", &POA_CORBA_Policy::_interface_skel},
{"",0},{"",0},
{"_non_existent", &POA_CORBA_Policy::_non_existent_skel},
{"",0},{"",0},
- {"_get_policy_type", &POA_CORBA_Policy::_get_policy_type_skel},
+ {"_get_policy_type", &POA_CORBA_Policy::_get_policy_type_skel},
};
if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
@@ -158,7 +158,7 @@ public:
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get (
TAO_ServerRequest &_tao_server_request,
POA_CORBA_Policy *tao_impl,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -167,23 +167,23 @@ public:
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id,
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
@@ -194,7 +194,7 @@ public:
private:
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get (const TAO_ServerRequestInfo_CORBA_Policy_policy_type_get &);
void operator= (const TAO_ServerRequestInfo_CORBA_Policy_policy_type_get &);
-
+
private:
POA_CORBA_Policy *_tao_impl;
CORBA::PolicyType _result;
@@ -217,7 +217,7 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::arguments (CORBA::Environmen
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -229,11 +229,11 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::exceptions (CORBA::Environme
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -242,11 +242,11 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::Environment &
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -268,7 +268,7 @@ TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::target_is_a (
return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
}
-void
+void
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get::result (CORBA::PolicyType result)
{
// Update the result.
@@ -281,7 +281,7 @@ public:
TAO_ServerRequestInfo_CORBA_Policy_copy (
TAO_ServerRequest &_tao_server_request,
POA_CORBA_Policy *tao_impl,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -290,23 +290,23 @@ public:
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id,
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
@@ -317,7 +317,7 @@ public:
private:
TAO_ServerRequestInfo_CORBA_Policy_copy (const TAO_ServerRequestInfo_CORBA_Policy_copy &);
void operator= (const TAO_ServerRequestInfo_CORBA_Policy_copy &);
-
+
private:
POA_CORBA_Policy *_tao_impl;
CORBA_Policy_ptr _result;
@@ -340,7 +340,7 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::arguments (CORBA::Environment &ACE_TRY_
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -352,11 +352,11 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::exceptions (CORBA::Environment &ACE_TRY
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_CORBA_Policy_copy::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -365,11 +365,11 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::result (CORBA::Environment &ACE_TRY_ENV
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
CORBA::Any_var safe_result_any = result_any;
-
+
(*result_any) <<= this->_result;
-
+
return safe_result_any._retn ();
}
@@ -391,7 +391,7 @@ TAO_ServerRequestInfo_CORBA_Policy_copy::target_is_a (
return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
}
-void
+void
TAO_ServerRequestInfo_CORBA_Policy_copy::result (CORBA_Policy_ptr result)
{
// Update the result.
@@ -404,7 +404,7 @@ public:
TAO_ServerRequestInfo_CORBA_Policy_destroy (
TAO_ServerRequest &_tao_server_request,
POA_CORBA_Policy *tao_impl,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -413,36 +413,36 @@ public:
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual Dynamic::ExceptionList * exceptions (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Any * result (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual char * target_most_derived_interface (
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
virtual CORBA::Boolean target_is_a (
const char * id,
CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
ACE_THROW_SPEC ((CORBA::SystemException));
-
+
private:
TAO_ServerRequestInfo_CORBA_Policy_destroy (const TAO_ServerRequestInfo_CORBA_Policy_destroy &);
void operator= (const TAO_ServerRequestInfo_CORBA_Policy_destroy &);
-
+
private:
POA_CORBA_Policy *_tao_impl;
-
+
};
TAO_ServerRequestInfo_CORBA_Policy_destroy::TAO_ServerRequestInfo_CORBA_Policy_destroy (
@@ -462,7 +462,7 @@ TAO_ServerRequestInfo_CORBA_Policy_destroy::arguments (CORBA::Environment &ACE_T
Dynamic::ParameterList *parameter_list =
TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return parameter_list;
}
@@ -474,11 +474,11 @@ TAO_ServerRequestInfo_CORBA_Policy_destroy::exceptions (CORBA::Environment &ACE_
Dynamic::ExceptionList *exception_list =
TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return exception_list;
}
-CORBA::Any *
+CORBA::Any *
TAO_ServerRequestInfo_CORBA_Policy_destroy::result (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -487,7 +487,7 @@ TAO_ServerRequestInfo_CORBA_Policy_destroy::result (CORBA::Environment &ACE_TRY_
CORBA::Any *result_any =
TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
return result_any;
}
@@ -526,14 +526,14 @@ _TAO_CORBA_Policy_Strategized_Proxy_Broker::_TAO_CORBA_Policy_Strategized_Proxy_
{
for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
this->proxy_cache_[i] = 0;
-
+
}
_TAO_CORBA_Policy_Strategized_Proxy_Broker::~_TAO_CORBA_Policy_Strategized_Proxy_Broker (void)
{
for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
delete this->proxy_cache_[i];
-
+
}
_TAO_CORBA_Policy_Proxy_Impl&
@@ -544,25 +544,25 @@ _TAO_CORBA_Policy_Strategized_Proxy_Broker::select_proxy (
{
int strategy =
TAO_ORB_Core::collocation_strategy (object);
-
+
if (this->proxy_cache_[strategy] != 0)
return *this->proxy_cache_[strategy];
-
+
this->create_proxy (strategy, ACE_TRY_ENV);
ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
+
return *this->proxy_cache_[strategy];
-
+
}
-void
+void
_TAO_CORBA_Policy_Strategized_Proxy_Broker::create_proxy (
int strategy,
CORBA::Environment &ACE_TRY_ENV
)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
+
if (this->proxy_cache_[strategy] == 0)
{
switch (strategy)
@@ -575,7 +575,7 @@ _TAO_CORBA_Policy_Strategized_Proxy_Broker::create_proxy (
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_DIRECT_STRATEGY:
ACE_NEW_THROW_EX (
this->proxy_cache_[strategy],
@@ -584,7 +584,7 @@ _TAO_CORBA_Policy_Strategized_Proxy_Broker::create_proxy (
);
ACE_CHECK;
break;
-
+
case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
default:
ACE_NEW_THROW_EX (
@@ -594,9 +594,9 @@ _TAO_CORBA_Policy_Strategized_Proxy_Broker::create_proxy (
);
ACE_CHECK;
break;
-
+
}
-
+
}
}
@@ -617,14 +617,14 @@ int
_TAO_CORBA_Policy_Proxy_Broker_Factory_Initializer (long _dummy_)
{
ACE_UNUSED_ARG (_dummy_);
-
- _TAO_CORBA_Policy_Proxy_Broker_Factory_function_pointer =
+
+ _TAO_CORBA_Policy_Proxy_Broker_Factory_function_pointer =
_TAO_CORBA_Policy_Proxy_Broker_Factory_function;
-
+
return 0;
}
-static int _TAO_CORBA_Policy_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+static int _TAO_CORBA_Policy_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
_TAO_CORBA_Policy_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_CORBA_Policy_Proxy_Broker_Factory_Initializer));
@@ -755,7 +755,7 @@ CORBA::PolicyType _TAO_CORBA_Policy_Direct_Proxy_Impl::policy_type (
)->policy_type (
ACE_TRY_ENV
);
-
+
}
CORBA_Policy_ptr _TAO_CORBA_Policy_Direct_Proxy_Impl::copy (
@@ -772,7 +772,7 @@ CORBA_Policy_ptr _TAO_CORBA_Policy_Direct_Proxy_Impl::copy (
)->copy (
ACE_TRY_ENV
);
-
+
}
void _TAO_CORBA_Policy_Direct_Proxy_Impl::destroy (
@@ -789,7 +789,7 @@ void _TAO_CORBA_Policy_Direct_Proxy_Impl::destroy (
)->destroy (
ACE_TRY_ENV
);
-
+
}
@@ -814,13 +814,13 @@ POA_CORBA_Policy::~POA_CORBA_Policy (void)
void POA_CORBA_Policy::_get_policy_type_skel (
TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
+ void *_tao_object_reference,
+ void * /* context */,
CORBA::Environment &ACE_TRY_ENV
)
{
POA_CORBA_Policy *_tao_impl = (POA_CORBA_Policy *)_tao_object_reference;
-
+
CORBA::PolicyType _tao_retval = 0;
#if (TAO_HAS_INTERCEPTORS == 1)
@@ -828,25 +828,25 @@ void POA_CORBA_Policy::_get_policy_type_skel (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_CORBA_Policy_policy_type_get ri (
_tao_server_request,
_tao_impl,
ACE_TRY_ENV
);
-
+
ACE_TRY
{
_tao_vfr.receive_request (&ri, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->policy_type (
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
CORBA::PolicyType _tao_retval_info = _tao_retval;
ri.result (_tao_retval_info);
@@ -856,7 +856,7 @@ void POA_CORBA_Policy::_get_policy_type_skel (
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
{
- ri.forward_reference (exc);
+ ri.forward_reference (exc);
_tao_vfr.send_other (
&ri,
ACE_TRY_ENV
@@ -877,11 +877,11 @@ void POA_CORBA_Policy::_get_policy_type_skel (
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval)
))
@@ -893,13 +893,13 @@ void POA_CORBA_Policy::_get_policy_type_skel (
void POA_CORBA_Policy::copy_skel (
TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
+ void *_tao_object_reference,
+ void * /* context */,
CORBA::Environment &ACE_TRY_ENV
)
{
POA_CORBA_Policy *_tao_impl = (POA_CORBA_Policy *)_tao_object_reference;
-
+
CORBA_Policy_var _tao_retval;
#if (TAO_HAS_INTERCEPTORS == 1)
@@ -907,25 +907,25 @@ void POA_CORBA_Policy::copy_skel (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_CORBA_Policy_copy ri (
_tao_server_request,
_tao_impl,
ACE_TRY_ENV
);
-
+
ACE_TRY
{
_tao_vfr.receive_request (&ri, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
+ _tao_retval =
_tao_impl->copy (
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
CORBA_Policy_ptr _tao_retval_info = _tao_retval._retn ();
ri.result (_tao_retval_info);
@@ -936,7 +936,7 @@ void POA_CORBA_Policy::copy_skel (
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
{
- ri.forward_reference (exc);
+ ri.forward_reference (exc);
_tao_vfr.send_other (
&ri,
ACE_TRY_ENV
@@ -957,11 +957,11 @@ void POA_CORBA_Policy::copy_skel (
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
if (!(
(_tao_out << _tao_retval.in ())
))
@@ -973,39 +973,39 @@ void POA_CORBA_Policy::copy_skel (
void POA_CORBA_Policy::destroy_skel (
TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
+ void *_tao_object_reference,
+ void * /* context */,
CORBA::Environment &ACE_TRY_ENV
)
{
POA_CORBA_Policy *_tao_impl = (POA_CORBA_Policy *)_tao_object_reference;
-
+
_tao_server_request.argument_flag (0);
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
TAO_ServerRequestInterceptor_Adapter _tao_vfr (
_tao_server_request.orb_core ()->server_request_interceptors (),
_tao_server_request.interceptor_count ()
);
-
+
TAO_ServerRequestInfo_CORBA_Policy_destroy ri (
_tao_server_request,
_tao_impl,
ACE_TRY_ENV
);
-
+
ACE_TRY
{
_tao_vfr.receive_request (&ri, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_impl->destroy (
ACE_TRY_ENV
);
TAO_INTERCEPTOR_CHECK;
-
+
#if (TAO_HAS_INTERCEPTORS == 1)
ri.reply_status (PortableInterceptor::SUCCESSFUL);
_tao_vfr.send_reply (&ri, ACE_TRY_ENV);
@@ -1013,7 +1013,7 @@ void POA_CORBA_Policy::destroy_skel (
}
ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
{
- ri.forward_reference (exc);
+ ri.forward_reference (exc);
_tao_vfr.send_other (
&ri,
ACE_TRY_ENV
@@ -1034,15 +1034,15 @@ void POA_CORBA_Policy::destroy_skel (
ACE_ENDTRY;
ACE_CHECK;
#endif /* TAO_HAS_INTERCEPTORS */
-
+
_tao_server_request.init_reply ();
-
+
// In case ACE_TRY_ENV is not used in this function
ACE_UNUSED_ARG (ACE_TRY_ENV);
}
void POA_CORBA_Policy::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* context */,
CORBA::Environment &ACE_TRY_ENV
@@ -1054,10 +1054,10 @@ void POA_CORBA_Policy::_is_a_skel (
CORBA::String_var value;
if (!(_tao_in >> value.out ()))
ACE_THROW (CORBA::MARSHAL ());
-
+
_tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
@@ -1065,7 +1065,7 @@ void POA_CORBA_Policy::_is_a_skel (
}
void POA_CORBA_Policy::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* context */,
CORBA::Environment &ACE_TRY_ENV
@@ -1074,7 +1074,7 @@ void POA_CORBA_Policy::_non_existent_skel (
POA_CORBA_Policy *_tao_impl = (POA_CORBA_Policy *) _tao_object_reference;
CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
ACE_CHECK;
-
+
_tao_server_request.init_reply ();
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
@@ -1082,7 +1082,7 @@ void POA_CORBA_Policy::_non_existent_skel (
}
void POA_CORBA_Policy::_interface_skel (
- TAO_ServerRequest &_tao_server_request,
+ TAO_ServerRequest &_tao_server_request,
void * _tao_object_reference,
void * /* context */,
CORBA::Environment &ACE_TRY_ENV
@@ -1091,26 +1091,26 @@ void POA_CORBA_Policy::_interface_skel (
POA_CORBA_Policy *_tao_impl = (POA_CORBA_Policy *) _tao_object_reference;
CORBA_InterfaceDef_ptr _tao_retval = 0;
CORBA::Boolean _tao_result = 0;
-
+
TAO_IFR_Client_Adapter *_tao_adapter =
ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
TAO_ORB_Core::ifr_client_adapter_name ()
);
-
+
if (_tao_adapter == 0)
{
ACE_THROW (CORBA::INTF_REPOS ());
}
-
+
ACE_TRY
{
_tao_retval = _tao_impl->_get_interface (ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
_tao_server_request.init_reply ();
-
+
TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
+
_tao_result =
_tao_adapter->interfacedef_cdr_insert (
_tao_out,
@@ -1122,7 +1122,7 @@ void POA_CORBA_Policy::_interface_skel (
_tao_adapter->dispose (_tao_retval);
}
ACE_ENDTRY;
-
+
if (_tao_result == 0)
{
ACE_THROW (CORBA::MARSHAL ());
@@ -1136,7 +1136,7 @@ CORBA::Boolean POA_CORBA_Policy::_is_a (
{
const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
if (
(!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA_Policy:1.0")) ||
(!ACE_OS::strcmp ((char *)value, base_id)))
@@ -1171,14 +1171,14 @@ POA_CORBA_Policy::_this (CORBA_Environment &ACE_TRY_ENV)
{
TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
-
+
CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
+
if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
else
ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
+
CORBA::Object_var obj = tmp;
return ::CORBA_Policy::_unchecked_narrow (obj.in ());
}
diff --git a/TAO/tao/PortableServer/PolicyS_T.h b/TAO/tao/PortableServer/PolicyS_T.h
index 3122b415c4b..11fa1bb492b 100644
--- a/TAO/tao/PortableServer/PolicyS_T.h
+++ b/TAO/tao/PortableServer/PolicyS_T.h
@@ -52,7 +52,7 @@ public:
// ctor with T*, ownership flag and a POA
~POA_CORBA_Policy_tie (void);
// dtor
-
+
// TIE specific functions
T *_tied_object (void);
// return the underlying object
@@ -64,14 +64,14 @@ public:
// do we own it
void _is_owner (CORBA::Boolean b);
// set the ownership
-
+
// overridden ServantBase operations
PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
CORBA::PolicyType policy_type (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -79,7 +79,7 @@ public:
));
CORBA_Policy_ptr copy (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -87,7 +87,7 @@ public:
));
void destroy (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -98,7 +98,7 @@ private:
T *ptr_;
PortableServer::POA_var poa_;
CORBA::Boolean rel_;
-
+
// copy and assignment are not allowed
POA_CORBA_Policy_tie (const POA_CORBA_Policy_tie &);
void operator= (const POA_CORBA_Policy_tie &);
diff --git a/TAO/tao/PortableServer/PolicyS_T.i b/TAO/tao/PortableServer/PolicyS_T.i
index c79cbc73651..51bfcf0fe6d 100644
--- a/TAO/tao/PortableServer/PolicyS_T.i
+++ b/TAO/tao/PortableServer/PolicyS_T.i
@@ -23,30 +23,30 @@
template <class T> ACE_INLINE
POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
{}
template <class T> ACE_INLINE
POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
{}
template <class T> ACE_INLINE
POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
{}
template <class T> ACE_INLINE
POA_CORBA_Policy_tie<T>::POA_CORBA_Policy_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
{}
template <class T> ACE_INLINE
diff --git a/TAO/tao/PortableServer/PortableServer.pidl b/TAO/tao/PortableServer/PortableServer.pidl
index 88429b22ad8..f4ee6e81523 100644
--- a/TAO/tao/PortableServer/PortableServer.pidl
+++ b/TAO/tao/PortableServer/PortableServer.pidl
@@ -71,6 +71,12 @@ module PortableServer {
Object forward_reference;
};
+ // @@ Frank - MIOP specific calls
+
+ typedef sequence <ObjectId> IDs;
+
+ // @@ Frank - End MIOP
+
// Policy interfaces
const CORBA::PolicyType THREAD_POLICY_ID = 16;
const CORBA::PolicyType LIFESPAN_POLICY_ID = 17;
@@ -280,6 +286,16 @@ module PortableServer {
raises (ObjectNotActive, WrongPolicy);
Object id_to_reference( in ObjectId oid)
raises (ObjectNotActive, WrongPolicy);
+
+ // @@ Frank - MIOP specific calls
+
+ ObjectId create_id_for_reference(in CORBA::Object the_ref)
+ raises (WrongAdapter);
+
+ IDs reference_to_ids(in CORBA::Object the_ref)
+ raises (WrongAdapter);
+
+ // @@ Frank - End MIOP
};
// Current interface
diff --git a/TAO/tao/PortableServer/PortableServerC.cpp b/TAO/tao/PortableServer/PortableServerC.cpp
index b1ed9a4e9ba..14e9b4a9ea4 100644
--- a/TAO/tao/PortableServer/PortableServerC.cpp
+++ b/TAO/tao/PortableServer/PortableServerC.cpp
@@ -419,6 +419,159 @@ CORBA::TypeCode_ptr PortableServer::ForwardRequest::_type (void) const
return ::PortableServer::_tc_ForwardRequest;
}
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CS_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CS_
+
+ void
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_allocate_buffer (CORBA::ULong length)
+ {
+ 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 */
+
+#if !defined (_PORTABLESERVER_IDS_CS_)
+#define _PORTABLESERVER_IDS_CS_
+
+// *************************************************************
+// PortableServer::IDs
+// *************************************************************
+
+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 */
+ (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 */
+ (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 */
+ (seq)
+{}
+PortableServer::IDs::~IDs (void) // dtor
+{}
+void PortableServer::IDs::_tao_any_destructor (void *x)
+{
+ IDs *tmp = ACE_static_cast (IDs*,x);
+ delete tmp;
+}
+
+
+#endif /* end #if !defined */
+
+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 (0x2e300000), // repository ID = IDL:PortableServer/IDs:1.0
+ 4,
+ ACE_NTOHL (0x49447300), // name = IDs
+ CORBA::tk_sequence, // typecode kind
+ 92, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_alias, // typecode kind for typedefs
+ 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 (0x312e3000), // repository ID = IDL:PortableServer/ObjectId:1.0
+ 9,
+ ACE_NTOHL (0x4f626a65),
+ ACE_NTOHL (0x63744964),
+ ACE_NTOHL (0x0), // name = ObjectId
+ CORBA::tk_sequence, // typecode kind
+ 12, // encapsulation length
+ TAO_ENCAP_BYTE_ORDER, // byte order
+ CORBA::tk_octet,
+
+ 0U,
+
+
+ 0U,
+
+};
+
+static CORBA::TypeCode _tc_TAO_tc_PortableServer_IDs (
+ CORBA::tk_alias,
+ sizeof (_oc_PortableServer_IDs),
+ (char *) &_oc_PortableServer_IDs,
+ 0,
+ sizeof (PortableServer::IDs)
+ );
+
+TAO_NAMESPACE_TYPE (CORBA::TypeCode_ptr)
+TAO_NAMESPACE_BEGIN (PortableServer)
+TAO_NAMESPACE_DEFINE (CORBA::TypeCode_ptr, _tc_IDs, &_tc_TAO_tc_PortableServer_IDs)
+TAO_NAMESPACE_END
+
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
TAO_NAMESPACE_TYPE (const CORBA::ULong)
@@ -5485,6 +5638,97 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableServer::Fo
return 0;
}
+void operator<<= (
+ CORBA::Any &_tao_any,
+ const PortableServer::IDs &_tao_elem
+ ) // copying
+{
+ TAO_OutputCDR stream;
+ if (stream << _tao_elem)
+ {
+ _tao_any._tao_replace (
+ PortableServer::_tc_IDs,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin ()
+ );
+ }
+}
+
+void operator<<= (CORBA::Any &_tao_any, PortableServer::IDs *_tao_elem) // non copying
+{
+ TAO_OutputCDR stream;
+ stream << *_tao_elem;
+ _tao_any._tao_replace (
+ PortableServer::_tc_IDs,
+ TAO_ENCAP_BYTE_ORDER,
+ stream.begin (),
+ 1,
+ _tao_elem,
+ PortableServer::IDs::_tao_any_destructor
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, PortableServer::IDs *&_tao_elem)
+{
+ return _tao_any >>= ACE_const_cast(
+ const PortableServer::IDs*&,
+ _tao_elem
+ );
+}
+
+CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const PortableServer::IDs *&_tao_elem)
+{
+ _tao_elem = 0;
+ 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(
+ const PortableServer::IDs*,
+ _tao_any.value ()
+ );
+ return 1;
+ }
+ else
+ {
+ PortableServer::IDs *tmp;
+ ACE_NEW_RETURN (tmp, PortableServer::IDs, 0);
+ TAO_InputCDR stream (
+ _tao_any._tao_get_cdr (),
+ _tao_any._tao_byte_order ()
+ );
+ if (stream >> *tmp)
+ {
+ ((CORBA::Any *)&_tao_any)->_tao_replace (
+ PortableServer::_tc_IDs,
+ 1,
+ ACE_static_cast (void *, tmp),
+ PortableServer::IDs::_tao_any_destructor
+ );
+ _tao_elem = tmp;
+ return 1;
+ }
+ else
+ {
+ delete tmp;
+ }
+ }
+ }
+ ACE_CATCHANY
+ {
+ }
+ ACE_ENDTRY;
+ return 0;
+}
+
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
#if (TAO_HAS_MINIMUM_POA == 0)
@@ -5939,8 +6183,54 @@ 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
}
+
+CORBA::Boolean operator<< (
+ TAO_OutputCDR &strm,
+ const PortableServer::IDs &_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++)
+ {
+ _tao_marshal_flag = (strm << _tao_sequence[i]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
+
+CORBA::Boolean operator>> (
+ TAO_InputCDR &strm,
+ PortableServer::IDs &_tao_sequence
+ )
+{
+ CORBA::ULong _tao_seq_len;
+ if (strm >> _tao_seq_len)
+ {
+ // 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;
+ // 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;
+ // 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]);
+ }
+ return _tao_marshal_flag;
+ }
+ return 0; // error
+}
diff --git a/TAO/tao/PortableServer/PortableServerC.h b/TAO/tao/PortableServer/PortableServerC.h
index 8da3bdba971..3bb6d3cb147 100644
--- a/TAO/tao/PortableServer/PortableServerC.h
+++ b/TAO/tao/PortableServer/PortableServerC.h
@@ -19,8 +19,8 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef _TAO_IDL_ORIG_PORTABLESERVERC_H_
-#define _TAO_IDL_ORIG_PORTABLESERVERC_H_
+#ifndef _TAO_IDL_PORTABLESERVERC_H_
+#define _TAO_IDL_PORTABLESERVERC_H_
#include "ace/pre.h"
#include "portableserver_export.h"
@@ -75,7 +75,7 @@ TAO_NAMESPACE PortableServer
typedef TAO_DynamicImplementation DynamicImplementation;
class POA;
-
+
#if !defined (_PORTABLESERVER_POA___PTR_CH_)
#define _PORTABLESERVER_POA___PTR_CH_
@@ -91,23 +91,23 @@ TAO_NAMESPACE PortableServer
{
public:
POA_var (void); // default constructor
- POA_var (POA_ptr p) : ptr_ (p) {}
+ POA_var (POA_ptr p) : ptr_ (p) {}
POA_var (const POA_var &); // copy constructor
~POA_var (void); // destructor
-
+
POA_var &operator= (POA_ptr);
POA_var &operator= (const POA_var &);
POA_ptr operator-> (void) const;
-
+
operator const POA_ptr &() const;
operator POA_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
POA_ptr in (void) const;
POA_ptr &inout (void);
POA_ptr &out (void);
POA_ptr _retn (void);
POA_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static POA_ptr duplicate (POA_ptr);
@@ -115,7 +115,7 @@ TAO_NAMESPACE PortableServer
static POA_ptr nil (void);
static POA_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
POA_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -142,7 +142,7 @@ TAO_NAMESPACE PortableServer
operator POA_ptr &();
POA_ptr &ptr (void);
POA_ptr operator-> (void);
-
+
private:
POA_ptr &ptr_;
};
@@ -152,7 +152,7 @@ TAO_NAMESPACE PortableServer
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CH_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CH_
@@ -160,7 +160,7 @@ TAO_NAMESPACE PortableServer
{
public:
// = Initialization and termination methods.
-
+
_TAO_Unbounded_Object_Sequence_PortableServer_POAList (void);
_TAO_Unbounded_Object_Sequence_PortableServer_POAList (CORBA::ULong maximum);
_TAO_Unbounded_Object_Sequence_PortableServer_POAList (CORBA::ULong maximum,
@@ -182,42 +182,42 @@ TAO_NAMESPACE PortableServer
virtual void _downcast (
void* target,
CORBA_Object *src,
- CORBA_Environment &ACE_TRY_ENV =
+ CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual CORBA_Object* _upcast (void *src) const;
-
+
};
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
-
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
#if !defined (_PORTABLESERVER_POALIST_CH_)
#define _PORTABLESERVER_POALIST_CH_
class POAList;
class POAList_var;
-
+
// *************************************************************
// POAList
// *************************************************************
-
- class TAO_PortableServer_Export POAList : public
+
+ class TAO_PortableServer_Export POAList : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Object_Sequence_PortableServer_POAList
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Object_Sequence<POA,POA_var>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
POAList (void); // default ctor
POAList (CORBA::ULong max); // uses max size
POAList (
- CORBA::ULong max,
- CORBA::ULong length,
- POA_ptr *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ POA_ptr *buffer,
CORBA::Boolean release = 0
);
POAList (const POAList &); // copy ctor
@@ -229,7 +229,7 @@ TAO_NAMESPACE PortableServer
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -247,20 +247,20 @@ TAO_NAMESPACE PortableServer
POAList_var (POAList *);
POAList_var (const POAList_var &); // copy constructor
~POAList_var (void); // destructor
-
+
POAList_var &operator= (POAList *);
POAList_var &operator= (const POAList_var &);
POAList *operator-> (void);
const POAList *operator-> (void) const;
-
+
operator const POAList &() const;
operator POAList &();
operator POAList &() const;
operator POAList *&(); // variable-size base types only
-
+
TAO_Object_Manager<POA, POA_var> operator[] (CORBA::ULong index);
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const POAList &in (void) const;
POAList &inout (void);
POAList *&out (void);
@@ -290,7 +290,7 @@ TAO_NAMESPACE PortableServer
POAList *&ptr (void);
POAList *operator-> (void);
TAO_Object_Manager<POA, POA_var> operator[] (CORBA::ULong index);
-
+
private:
POAList *&ptr_;
// assignment from T_var not allowed
@@ -306,25 +306,25 @@ TAO_NAMESPACE PortableServer
class ObjectId;
class ObjectId_var;
-
+
// *************************************************************
// ObjectId
// *************************************************************
-
- class TAO_PortableServer_Export ObjectId : public
+
+ class TAO_PortableServer_Export ObjectId : public
#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 */
{
public:
ObjectId (void); // default ctor
ObjectId (CORBA::ULong max); // uses max size
ObjectId (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::Octet *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::Octet *buffer,
CORBA::Boolean release = 0
);
ObjectId (const ObjectId &); // copy ctor
@@ -345,7 +345,7 @@ TAO_NAMESPACE PortableServer
#endif /* TAO_NO_COPY_OCTET_SEQUENCE == 1 */
};
-
+
#endif /* end #if !defined */
@@ -364,21 +364,21 @@ TAO_NAMESPACE PortableServer
ObjectId_var (const ObjectId_var &); // copy constructor
ObjectId_var (const ObjectId &); // fixed-size base types only
~ObjectId_var (void); // destructor
-
+
ObjectId_var &operator= (ObjectId *);
ObjectId_var &operator= (const ObjectId_var &);
ObjectId_var &operator= (const ObjectId &); // fixed-size base types only
ObjectId *operator-> (void);
const ObjectId *operator-> (void) const;
-
+
operator const ObjectId &() const;
operator ObjectId &();
operator ObjectId &() const;
-
+
CORBA::Octet & operator[] (CORBA::ULong index);
const CORBA::Octet & operator[] (CORBA::ULong index) const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const ObjectId &in (void) const;
ObjectId &inout (void);
ObjectId *&out (void);
@@ -408,7 +408,7 @@ TAO_NAMESPACE PortableServer
ObjectId *&ptr (void);
ObjectId *operator-> (void);
CORBA::Octet & operator[] (CORBA::ULong index);
-
+
private:
ObjectId *&ptr_;
// assignment from T_var not allowed
@@ -433,35 +433,35 @@ TAO_NAMESPACE PortableServer
ForwardRequest (void);
// Default constructor.
-
+
ForwardRequest (const ForwardRequest &);
// Copy constructor.
-
+
~ForwardRequest (void);
// Destructor.
-
+
static void _tao_any_destructor (void*);
-
+
ForwardRequest &operator= (const ForwardRequest &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static ForwardRequest *_downcast (CORBA::Exception *);
ForwardRequest (
const CORBA::Object_ptr _tao_forward_reference
);
-
+
// = TAO extension.
static CORBA::Exception *_alloc (void);
virtual CORBA::TypeCode_ptr _type (void) const;
@@ -472,6 +472,158 @@ TAO_NAMESPACE PortableServer
#endif /* end #if !defined */
+
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CH_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CH_
+
+ class TAO_EXPORT_NESTED_MACRO _TAO_Unbounded_Sequence_PortableServer_IDs : public TAO_Unbounded_Base_Sequence
+ {
+ public:
+ // = Initialization and termination methods.
+
+ _TAO_Unbounded_Sequence_PortableServer_IDs (void); // Default constructor.
+ _TAO_Unbounded_Sequence_PortableServer_IDs (CORBA::ULong maximum);
+ _TAO_Unbounded_Sequence_PortableServer_IDs (CORBA::ULong maximum,
+ CORBA::ULong length,
+ ObjectId *data,
+ CORBA::Boolean release = 0);
+ _TAO_Unbounded_Sequence_PortableServer_IDs (const _TAO_Unbounded_Sequence_PortableServer_IDs &rhs);
+ _TAO_Unbounded_Sequence_PortableServer_IDs &operator= (const _TAO_Unbounded_Sequence_PortableServer_IDs &rhs);
+ virtual ~_TAO_Unbounded_Sequence_PortableServer_IDs (void); // Dtor.
+ // = Accessors.
+ ObjectId &operator[] (CORBA::ULong i);
+ const ObjectId &operator[] (CORBA::ULong i) const;
+ // = Static operations.
+ static ObjectId *allocbuf (CORBA::ULong size);
+ static void freebuf (ObjectId *buffer);
+ virtual void _allocate_buffer (CORBA::ULong length);
+ virtual void _deallocate_buffer (void);
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ ObjectId *get_buffer (CORBA::Boolean orphan = 0);
+ const ObjectId *get_buffer (void) const;
+ void replace (CORBA::ULong max,
+ CORBA::ULong length,
+ ObjectId *data,
+ CORBA::Boolean release);
+ };
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLESERVER_IDS_CH_)
+#define _PORTABLESERVER_IDS_CH_
+
+ class IDs;
+ class IDs_var;
+
+ // *************************************************************
+ // IDs
+ // *************************************************************
+
+ class TAO_PortableServer_Export IDs : public
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+ _TAO_Unbounded_Sequence_PortableServer_IDs
+#else /* TAO_USE_SEQUENCE_TEMPLATES */
+ TAO_Unbounded_Sequence<ObjectId>
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+ {
+ public:
+ IDs (void); // default ctor
+ IDs (CORBA::ULong max); // uses max size
+ IDs (
+ CORBA::ULong max,
+ CORBA::ULong length,
+ ObjectId *buffer,
+ CORBA::Boolean release = 0
+ );
+ IDs (const IDs &); // copy ctor
+ ~IDs (void);
+ static void _tao_any_destructor (void*);
+
+#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
+ typedef IDs_var _var_type;
+#endif /* ! __GNUC__ || g++ >= 2.8 */
+
+ };
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLESERVER_IDS___VAR_CH_)
+#define _PORTABLESERVER_IDS___VAR_CH_
+
+ // *************************************************************
+ // class PortableServer::IDs_var
+ // *************************************************************
+
+ class TAO_PortableServer_Export IDs_var
+ {
+ public:
+ IDs_var (void); // default constructor
+ IDs_var (IDs *);
+ IDs_var (const IDs_var &); // copy constructor
+ ~IDs_var (void); // destructor
+
+ IDs_var &operator= (IDs *);
+ IDs_var &operator= (const IDs_var &);
+ IDs *operator-> (void);
+ const IDs *operator-> (void) const;
+
+ operator const IDs &() const;
+ operator IDs &();
+ operator IDs &() const;
+ operator IDs *&(); // variable-size base types only
+
+ ObjectId & operator[] (CORBA::ULong index);
+ const ObjectId & operator[] (CORBA::ULong index) const;
+
+ // in, inout, out, _retn
+ const IDs &in (void) const;
+ IDs &inout (void);
+ IDs *&out (void);
+ IDs *_retn (void);
+ IDs *ptr (void) const;
+
+ private:
+ IDs *ptr_;
+ };
+
+
+#endif /* end #if !defined */
+
+
+#if !defined (_PORTABLESERVER_IDS___OUT_CH_)
+#define _PORTABLESERVER_IDS___OUT_CH_
+
+ class TAO_PortableServer_Export IDs_out
+ {
+ public:
+ IDs_out (IDs *&);
+ IDs_out (IDs_var &);
+ IDs_out (const IDs_out &);
+ IDs_out &operator= (const IDs_out &);
+ IDs_out &operator= (IDs *);
+ operator IDs *&();
+ IDs *&ptr (void);
+ IDs *operator-> (void);
+ ObjectId & operator[] (CORBA::ULong index);
+
+ private:
+ IDs *&ptr_;
+ // assignment from T_var not allowed
+ void operator= (const IDs_var &);
+ };
+
+
+#endif /* end #if !defined */
+
+ TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_IDs;
+
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
TAO_NAMESPACE_STORAGE_CLASS const CORBA::ULong THREAD_POLICY_ID;
@@ -491,7 +643,7 @@ TAO_NAMESPACE PortableServer
enum ThreadPolicyValue
{
ORB_CTRL_MODEL,
- SINGLE_THREAD_MODEL
+ SINGLE_THREAD_MODEL
};
#if (TAO_HAS_MINIMUM_POA == 0)
@@ -505,7 +657,7 @@ TAO_NAMESPACE PortableServer
class ThreadPolicy;
typedef ThreadPolicy *ThreadPolicy_ptr;
-
+
#endif /* end #if !defined */
@@ -516,23 +668,23 @@ TAO_NAMESPACE PortableServer
{
public:
ThreadPolicy_var (void); // default constructor
- ThreadPolicy_var (ThreadPolicy_ptr p) : ptr_ (p) {}
+ ThreadPolicy_var (ThreadPolicy_ptr p) : ptr_ (p) {}
ThreadPolicy_var (const ThreadPolicy_var &); // copy constructor
~ThreadPolicy_var (void); // destructor
-
+
ThreadPolicy_var &operator= (ThreadPolicy_ptr);
ThreadPolicy_var &operator= (const ThreadPolicy_var &);
ThreadPolicy_ptr operator-> (void) const;
-
+
operator const ThreadPolicy_ptr &() const;
operator ThreadPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ThreadPolicy_ptr in (void) const;
ThreadPolicy_ptr &inout (void);
ThreadPolicy_ptr &out (void);
ThreadPolicy_ptr _retn (void);
ThreadPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ThreadPolicy_ptr duplicate (ThreadPolicy_ptr);
@@ -540,7 +692,7 @@ TAO_NAMESPACE PortableServer
static ThreadPolicy_ptr nil (void);
static ThreadPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ThreadPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -567,7 +719,7 @@ TAO_NAMESPACE PortableServer
operator ThreadPolicy_ptr &();
ThreadPolicy_ptr &ptr (void);
ThreadPolicy_ptr operator-> (void);
-
+
private:
ThreadPolicy_ptr &ptr_;
};
@@ -579,7 +731,7 @@ TAO_NAMESPACE PortableServer
#if !defined (_PORTABLESERVER_THREADPOLICY_CH_)
#define _PORTABLESERVER_THREADPOLICY_CH_
-class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
+ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -591,12 +743,12 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
static ThreadPolicy_ptr _duplicate (ThreadPolicy_ptr obj);
static ThreadPolicy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ThreadPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ThreadPolicy_ptr _nil (void)
@@ -605,7 +757,7 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
}
virtual PortableServer::ThreadPolicyValue value (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -613,12 +765,12 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
ThreadPolicy ();
-
+
virtual ~ThreadPolicy (void);
private:
ThreadPolicy (const ThreadPolicy &);
@@ -633,7 +785,7 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
enum LifespanPolicyValue
{
TRANSIENT,
- PERSISTENT
+ PERSISTENT
};
typedef LifespanPolicyValue &LifespanPolicyValue_out;
TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_LifespanPolicyValue;
@@ -644,7 +796,7 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
class LifespanPolicy;
typedef LifespanPolicy *LifespanPolicy_ptr;
-
+
#endif /* end #if !defined */
@@ -655,23 +807,23 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
{
public:
LifespanPolicy_var (void); // default constructor
- LifespanPolicy_var (LifespanPolicy_ptr p) : ptr_ (p) {}
+ LifespanPolicy_var (LifespanPolicy_ptr p) : ptr_ (p) {}
LifespanPolicy_var (const LifespanPolicy_var &); // copy constructor
~LifespanPolicy_var (void); // destructor
-
+
LifespanPolicy_var &operator= (LifespanPolicy_ptr);
LifespanPolicy_var &operator= (const LifespanPolicy_var &);
LifespanPolicy_ptr operator-> (void) const;
-
+
operator const LifespanPolicy_ptr &() const;
operator LifespanPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
LifespanPolicy_ptr in (void) const;
LifespanPolicy_ptr &inout (void);
LifespanPolicy_ptr &out (void);
LifespanPolicy_ptr _retn (void);
LifespanPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static LifespanPolicy_ptr duplicate (LifespanPolicy_ptr);
@@ -679,7 +831,7 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
static LifespanPolicy_ptr nil (void);
static LifespanPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
LifespanPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -706,7 +858,7 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
operator LifespanPolicy_ptr &();
LifespanPolicy_ptr &ptr (void);
LifespanPolicy_ptr operator-> (void);
-
+
private:
LifespanPolicy_ptr &ptr_;
};
@@ -718,7 +870,7 @@ class TAO_PortableServer_Export ThreadPolicy: public virtual CORBA::Policy
#if !defined (_PORTABLESERVER_LIFESPANPOLICY_CH_)
#define _PORTABLESERVER_LIFESPANPOLICY_CH_
-class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
+ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -730,12 +882,12 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
static LifespanPolicy_ptr _duplicate (LifespanPolicy_ptr obj);
static LifespanPolicy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static LifespanPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static LifespanPolicy_ptr _nil (void)
@@ -744,7 +896,7 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
}
virtual PortableServer::LifespanPolicyValue value (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -752,12 +904,12 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
LifespanPolicy ();
-
+
virtual ~LifespanPolicy (void);
private:
LifespanPolicy (const LifespanPolicy &);
@@ -770,7 +922,7 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
enum IdUniquenessPolicyValue
{
UNIQUE_ID,
- MULTIPLE_ID
+ MULTIPLE_ID
};
typedef IdUniquenessPolicyValue &IdUniquenessPolicyValue_out;
TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_IdUniquenessPolicyValue;
@@ -781,7 +933,7 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
class IdUniquenessPolicy;
typedef IdUniquenessPolicy *IdUniquenessPolicy_ptr;
-
+
#endif /* end #if !defined */
@@ -792,23 +944,23 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
{
public:
IdUniquenessPolicy_var (void); // default constructor
- IdUniquenessPolicy_var (IdUniquenessPolicy_ptr p) : ptr_ (p) {}
+ IdUniquenessPolicy_var (IdUniquenessPolicy_ptr p) : ptr_ (p) {}
IdUniquenessPolicy_var (const IdUniquenessPolicy_var &); // copy constructor
~IdUniquenessPolicy_var (void); // destructor
-
+
IdUniquenessPolicy_var &operator= (IdUniquenessPolicy_ptr);
IdUniquenessPolicy_var &operator= (const IdUniquenessPolicy_var &);
IdUniquenessPolicy_ptr operator-> (void) const;
-
+
operator const IdUniquenessPolicy_ptr &() const;
operator IdUniquenessPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
IdUniquenessPolicy_ptr in (void) const;
IdUniquenessPolicy_ptr &inout (void);
IdUniquenessPolicy_ptr &out (void);
IdUniquenessPolicy_ptr _retn (void);
IdUniquenessPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static IdUniquenessPolicy_ptr duplicate (IdUniquenessPolicy_ptr);
@@ -816,7 +968,7 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
static IdUniquenessPolicy_ptr nil (void);
static IdUniquenessPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
IdUniquenessPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -843,7 +995,7 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
operator IdUniquenessPolicy_ptr &();
IdUniquenessPolicy_ptr &ptr (void);
IdUniquenessPolicy_ptr operator-> (void);
-
+
private:
IdUniquenessPolicy_ptr &ptr_;
};
@@ -855,7 +1007,7 @@ class TAO_PortableServer_Export LifespanPolicy: public virtual CORBA::Policy
#if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY_CH_)
#define _PORTABLESERVER_IDUNIQUENESSPOLICY_CH_
-class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
+ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -867,12 +1019,12 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
static IdUniquenessPolicy_ptr _duplicate (IdUniquenessPolicy_ptr obj);
static IdUniquenessPolicy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static IdUniquenessPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static IdUniquenessPolicy_ptr _nil (void)
@@ -881,7 +1033,7 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
}
virtual PortableServer::IdUniquenessPolicyValue value (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -889,12 +1041,12 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
IdUniquenessPolicy ();
-
+
virtual ~IdUniquenessPolicy (void);
private:
IdUniquenessPolicy (const IdUniquenessPolicy &);
@@ -907,7 +1059,7 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
enum IdAssignmentPolicyValue
{
USER_ID,
- SYSTEM_ID
+ SYSTEM_ID
};
typedef IdAssignmentPolicyValue &IdAssignmentPolicyValue_out;
TAO_NAMESPACE_STORAGE_CLASS CORBA::TypeCode_ptr _tc_IdAssignmentPolicyValue;
@@ -918,7 +1070,7 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
class IdAssignmentPolicy;
typedef IdAssignmentPolicy *IdAssignmentPolicy_ptr;
-
+
#endif /* end #if !defined */
@@ -929,23 +1081,23 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
{
public:
IdAssignmentPolicy_var (void); // default constructor
- IdAssignmentPolicy_var (IdAssignmentPolicy_ptr p) : ptr_ (p) {}
+ IdAssignmentPolicy_var (IdAssignmentPolicy_ptr p) : ptr_ (p) {}
IdAssignmentPolicy_var (const IdAssignmentPolicy_var &); // copy constructor
~IdAssignmentPolicy_var (void); // destructor
-
+
IdAssignmentPolicy_var &operator= (IdAssignmentPolicy_ptr);
IdAssignmentPolicy_var &operator= (const IdAssignmentPolicy_var &);
IdAssignmentPolicy_ptr operator-> (void) const;
-
+
operator const IdAssignmentPolicy_ptr &() const;
operator IdAssignmentPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
IdAssignmentPolicy_ptr in (void) const;
IdAssignmentPolicy_ptr &inout (void);
IdAssignmentPolicy_ptr &out (void);
IdAssignmentPolicy_ptr _retn (void);
IdAssignmentPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static IdAssignmentPolicy_ptr duplicate (IdAssignmentPolicy_ptr);
@@ -953,7 +1105,7 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
static IdAssignmentPolicy_ptr nil (void);
static IdAssignmentPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
IdAssignmentPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -980,7 +1132,7 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
operator IdAssignmentPolicy_ptr &();
IdAssignmentPolicy_ptr &ptr (void);
IdAssignmentPolicy_ptr operator-> (void);
-
+
private:
IdAssignmentPolicy_ptr &ptr_;
};
@@ -992,7 +1144,7 @@ class TAO_PortableServer_Export IdUniquenessPolicy: public virtual CORBA::Policy
#if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY_CH_)
#define _PORTABLESERVER_IDASSIGNMENTPOLICY_CH_
-class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
+ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1004,12 +1156,12 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
static IdAssignmentPolicy_ptr _duplicate (IdAssignmentPolicy_ptr obj);
static IdAssignmentPolicy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static IdAssignmentPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static IdAssignmentPolicy_ptr _nil (void)
@@ -1018,7 +1170,7 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
}
virtual PortableServer::IdAssignmentPolicyValue value (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1026,12 +1178,12 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
IdAssignmentPolicy ();
-
+
virtual ~IdAssignmentPolicy (void);
private:
IdAssignmentPolicy (const IdAssignmentPolicy &);
@@ -1044,7 +1196,7 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
enum ImplicitActivationPolicyValue
{
IMPLICIT_ACTIVATION,
- NO_IMPLICIT_ACTIVATION
+ NO_IMPLICIT_ACTIVATION
};
#if (TAO_HAS_MINIMUM_POA == 0)
@@ -1058,7 +1210,7 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
class ImplicitActivationPolicy;
typedef ImplicitActivationPolicy *ImplicitActivationPolicy_ptr;
-
+
#endif /* end #if !defined */
@@ -1069,23 +1221,23 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
{
public:
ImplicitActivationPolicy_var (void); // default constructor
- ImplicitActivationPolicy_var (ImplicitActivationPolicy_ptr p) : ptr_ (p) {}
+ ImplicitActivationPolicy_var (ImplicitActivationPolicy_ptr p) : ptr_ (p) {}
ImplicitActivationPolicy_var (const ImplicitActivationPolicy_var &); // copy constructor
~ImplicitActivationPolicy_var (void); // destructor
-
+
ImplicitActivationPolicy_var &operator= (ImplicitActivationPolicy_ptr);
ImplicitActivationPolicy_var &operator= (const ImplicitActivationPolicy_var &);
ImplicitActivationPolicy_ptr operator-> (void) const;
-
+
operator const ImplicitActivationPolicy_ptr &() const;
operator ImplicitActivationPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ImplicitActivationPolicy_ptr in (void) const;
ImplicitActivationPolicy_ptr &inout (void);
ImplicitActivationPolicy_ptr &out (void);
ImplicitActivationPolicy_ptr _retn (void);
ImplicitActivationPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ImplicitActivationPolicy_ptr duplicate (ImplicitActivationPolicy_ptr);
@@ -1093,7 +1245,7 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
static ImplicitActivationPolicy_ptr nil (void);
static ImplicitActivationPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ImplicitActivationPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1120,7 +1272,7 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
operator ImplicitActivationPolicy_ptr &();
ImplicitActivationPolicy_ptr &ptr (void);
ImplicitActivationPolicy_ptr operator-> (void);
-
+
private:
ImplicitActivationPolicy_ptr &ptr_;
};
@@ -1132,7 +1284,7 @@ class TAO_PortableServer_Export IdAssignmentPolicy: public virtual CORBA::Policy
#if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY_CH_)
#define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY_CH_
-class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::Policy
+ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::Policy
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1144,12 +1296,12 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
static ImplicitActivationPolicy_ptr _duplicate (ImplicitActivationPolicy_ptr obj);
static ImplicitActivationPolicy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ImplicitActivationPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ImplicitActivationPolicy_ptr _nil (void)
@@ -1158,7 +1310,7 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
}
virtual PortableServer::ImplicitActivationPolicyValue value (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1166,12 +1318,12 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
ImplicitActivationPolicy ();
-
+
virtual ~ImplicitActivationPolicy (void);
private:
ImplicitActivationPolicy (const ImplicitActivationPolicy &);
@@ -1186,7 +1338,7 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
enum ServantRetentionPolicyValue
{
RETAIN,
- NON_RETAIN
+ NON_RETAIN
};
#if (TAO_HAS_MINIMUM_POA == 0)
@@ -1200,7 +1352,7 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
class ServantRetentionPolicy;
typedef ServantRetentionPolicy *ServantRetentionPolicy_ptr;
-
+
#endif /* end #if !defined */
@@ -1211,23 +1363,23 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
{
public:
ServantRetentionPolicy_var (void); // default constructor
- ServantRetentionPolicy_var (ServantRetentionPolicy_ptr p) : ptr_ (p) {}
+ ServantRetentionPolicy_var (ServantRetentionPolicy_ptr p) : ptr_ (p) {}
ServantRetentionPolicy_var (const ServantRetentionPolicy_var &); // copy constructor
~ServantRetentionPolicy_var (void); // destructor
-
+
ServantRetentionPolicy_var &operator= (ServantRetentionPolicy_ptr);
ServantRetentionPolicy_var &operator= (const ServantRetentionPolicy_var &);
ServantRetentionPolicy_ptr operator-> (void) const;
-
+
operator const ServantRetentionPolicy_ptr &() const;
operator ServantRetentionPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ServantRetentionPolicy_ptr in (void) const;
ServantRetentionPolicy_ptr &inout (void);
ServantRetentionPolicy_ptr &out (void);
ServantRetentionPolicy_ptr _retn (void);
ServantRetentionPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ServantRetentionPolicy_ptr duplicate (ServantRetentionPolicy_ptr);
@@ -1235,7 +1387,7 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
static ServantRetentionPolicy_ptr nil (void);
static ServantRetentionPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServantRetentionPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1262,7 +1414,7 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
operator ServantRetentionPolicy_ptr &();
ServantRetentionPolicy_ptr &ptr (void);
ServantRetentionPolicy_ptr operator-> (void);
-
+
private:
ServantRetentionPolicy_ptr &ptr_;
};
@@ -1274,7 +1426,7 @@ class TAO_PortableServer_Export ImplicitActivationPolicy: public virtual CORBA::
#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY_CH_)
#define _PORTABLESERVER_SERVANTRETENTIONPOLICY_CH_
-class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Policy
+ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Policy
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1286,12 +1438,12 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
static ServantRetentionPolicy_ptr _duplicate (ServantRetentionPolicy_ptr obj);
static ServantRetentionPolicy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantRetentionPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantRetentionPolicy_ptr _nil (void)
@@ -1300,7 +1452,7 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
}
virtual PortableServer::ServantRetentionPolicyValue value (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1308,12 +1460,12 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
ServantRetentionPolicy ();
-
+
virtual ~ServantRetentionPolicy (void);
private:
ServantRetentionPolicy (const ServantRetentionPolicy &);
@@ -1329,7 +1481,7 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
{
USE_ACTIVE_OBJECT_MAP_ONLY,
USE_DEFAULT_SERVANT,
- USE_SERVANT_MANAGER
+ USE_SERVANT_MANAGER
};
#if (TAO_HAS_MINIMUM_POA == 0)
@@ -1343,7 +1495,7 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
class RequestProcessingPolicy;
typedef RequestProcessingPolicy *RequestProcessingPolicy_ptr;
-
+
#endif /* end #if !defined */
@@ -1354,23 +1506,23 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
{
public:
RequestProcessingPolicy_var (void); // default constructor
- RequestProcessingPolicy_var (RequestProcessingPolicy_ptr p) : ptr_ (p) {}
+ RequestProcessingPolicy_var (RequestProcessingPolicy_ptr p) : ptr_ (p) {}
RequestProcessingPolicy_var (const RequestProcessingPolicy_var &); // copy constructor
~RequestProcessingPolicy_var (void); // destructor
-
+
RequestProcessingPolicy_var &operator= (RequestProcessingPolicy_ptr);
RequestProcessingPolicy_var &operator= (const RequestProcessingPolicy_var &);
RequestProcessingPolicy_ptr operator-> (void) const;
-
+
operator const RequestProcessingPolicy_ptr &() const;
operator RequestProcessingPolicy_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
RequestProcessingPolicy_ptr in (void) const;
RequestProcessingPolicy_ptr &inout (void);
RequestProcessingPolicy_ptr &out (void);
RequestProcessingPolicy_ptr _retn (void);
RequestProcessingPolicy_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static RequestProcessingPolicy_ptr duplicate (RequestProcessingPolicy_ptr);
@@ -1378,7 +1530,7 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
static RequestProcessingPolicy_ptr nil (void);
static RequestProcessingPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RequestProcessingPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1405,7 +1557,7 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
operator RequestProcessingPolicy_ptr &();
RequestProcessingPolicy_ptr &ptr (void);
RequestProcessingPolicy_ptr operator-> (void);
-
+
private:
RequestProcessingPolicy_ptr &ptr_;
};
@@ -1417,7 +1569,7 @@ class TAO_PortableServer_Export ServantRetentionPolicy: public virtual CORBA::Po
#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY_CH_)
#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY_CH_
-class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::Policy
+ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::Policy
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1429,12 +1581,12 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
static RequestProcessingPolicy_ptr _duplicate (RequestProcessingPolicy_ptr obj);
static RequestProcessingPolicy_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static RequestProcessingPolicy_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static RequestProcessingPolicy_ptr _nil (void)
@@ -1443,7 +1595,7 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
}
virtual PortableServer::RequestProcessingPolicyValue value (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1451,12 +1603,12 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
RequestProcessingPolicy ();
-
+
virtual ~RequestProcessingPolicy (void);
private:
RequestProcessingPolicy (const RequestProcessingPolicy &);
@@ -1474,7 +1626,7 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
class POAManager;
typedef POAManager *POAManager_ptr;
-
+
#endif /* end #if !defined */
@@ -1485,23 +1637,23 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
{
public:
POAManager_var (void); // default constructor
- POAManager_var (POAManager_ptr p) : ptr_ (p) {}
+ POAManager_var (POAManager_ptr p) : ptr_ (p) {}
POAManager_var (const POAManager_var &); // copy constructor
~POAManager_var (void); // destructor
-
+
POAManager_var &operator= (POAManager_ptr);
POAManager_var &operator= (const POAManager_var &);
POAManager_ptr operator-> (void) const;
-
+
operator const POAManager_ptr &() const;
operator POAManager_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
POAManager_ptr in (void) const;
POAManager_ptr &inout (void);
POAManager_ptr &out (void);
POAManager_ptr _retn (void);
POAManager_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static POAManager_ptr duplicate (POAManager_ptr);
@@ -1509,7 +1661,7 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
static POAManager_ptr nil (void);
static POAManager_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
POAManager_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1536,7 +1688,7 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
operator POAManager_ptr &();
POAManager_ptr &ptr (void);
POAManager_ptr operator-> (void);
-
+
private:
POAManager_ptr &ptr_;
};
@@ -1548,7 +1700,7 @@ class TAO_PortableServer_Export RequestProcessingPolicy: public virtual CORBA::P
#if !defined (_PORTABLESERVER_POAMANAGER_CH_)
#define _PORTABLESERVER_POAMANAGER_CH_
-class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
+ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1560,12 +1712,12 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
static POAManager_ptr _duplicate (POAManager_ptr obj);
static POAManager_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static POAManager_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static POAManager_ptr _nil (void)
@@ -1583,27 +1735,27 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
AdapterInactive (void);
// Default constructor.
-
+
AdapterInactive (const AdapterInactive &);
// Copy constructor.
-
+
~AdapterInactive (void);
// Destructor.
-
+
AdapterInactive &operator= (const AdapterInactive &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static AdapterInactive *_downcast (CORBA::Exception *);
@@ -1619,11 +1771,11 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
HOLDING,
ACTIVE,
DISCARDING,
- INACTIVE
+ INACTIVE
};
typedef State &State_out;
virtual void activate (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1635,7 +1787,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
virtual void hold_requests (
CORBA::Boolean wait_for_completion,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1645,7 +1797,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
virtual void discard_requests (
CORBA::Boolean wait_for_completion,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1656,7 +1808,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
virtual void deactivate (
CORBA::Boolean etherealize_objects,
CORBA::Boolean wait_for_completion,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1667,7 +1819,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
#endif /* TAO_HAS_MINIMUM_POA == 0 */
virtual PortableServer::POAManager::State get_state (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1675,12 +1827,12 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
POAManager ();
-
+
virtual ~POAManager (void);
private:
POAManager (const POAManager &);
@@ -1698,7 +1850,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
class AdapterActivator;
typedef AdapterActivator *AdapterActivator_ptr;
-
+
#endif /* end #if !defined */
@@ -1709,23 +1861,23 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
{
public:
AdapterActivator_var (void); // default constructor
- AdapterActivator_var (AdapterActivator_ptr p) : ptr_ (p) {}
+ AdapterActivator_var (AdapterActivator_ptr p) : ptr_ (p) {}
AdapterActivator_var (const AdapterActivator_var &); // copy constructor
~AdapterActivator_var (void); // destructor
-
+
AdapterActivator_var &operator= (AdapterActivator_ptr);
AdapterActivator_var &operator= (const AdapterActivator_var &);
AdapterActivator_ptr operator-> (void) const;
-
+
operator const AdapterActivator_ptr &() const;
operator AdapterActivator_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
AdapterActivator_ptr in (void) const;
AdapterActivator_ptr &inout (void);
AdapterActivator_ptr &out (void);
AdapterActivator_ptr _retn (void);
AdapterActivator_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static AdapterActivator_ptr duplicate (AdapterActivator_ptr);
@@ -1733,7 +1885,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
static AdapterActivator_ptr nil (void);
static AdapterActivator_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
AdapterActivator_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1760,7 +1912,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
operator AdapterActivator_ptr &();
AdapterActivator_ptr &ptr (void);
AdapterActivator_ptr operator-> (void);
-
+
private:
AdapterActivator_ptr &ptr_;
};
@@ -1772,7 +1924,7 @@ class TAO_PortableServer_Export POAManager : public virtual CORBA_Object
#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR_CH_)
#define _PORTABLESERVER_ADAPTERACTIVATOR_CH_
-class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
+ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1784,12 +1936,12 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
static AdapterActivator_ptr _duplicate (AdapterActivator_ptr obj);
static AdapterActivator_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static AdapterActivator_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static AdapterActivator_ptr _nil (void)
@@ -1800,7 +1952,7 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
virtual CORBA::Boolean unknown_adapter (
PortableServer::POA_ptr parent,
const char * name,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -1808,12 +1960,12 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
AdapterActivator ();
-
+
virtual ~AdapterActivator (void);
private:
AdapterActivator (const AdapterActivator &);
@@ -1829,7 +1981,7 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
class ServantManager;
typedef ServantManager *ServantManager_ptr;
-
+
#endif /* end #if !defined */
@@ -1840,23 +1992,23 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
{
public:
ServantManager_var (void); // default constructor
- ServantManager_var (ServantManager_ptr p) : ptr_ (p) {}
+ ServantManager_var (ServantManager_ptr p) : ptr_ (p) {}
ServantManager_var (const ServantManager_var &); // copy constructor
~ServantManager_var (void); // destructor
-
+
ServantManager_var &operator= (ServantManager_ptr);
ServantManager_var &operator= (const ServantManager_var &);
ServantManager_ptr operator-> (void) const;
-
+
operator const ServantManager_ptr &() const;
operator ServantManager_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ServantManager_ptr in (void) const;
ServantManager_ptr &inout (void);
ServantManager_ptr &out (void);
ServantManager_ptr _retn (void);
ServantManager_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ServantManager_ptr duplicate (ServantManager_ptr);
@@ -1864,7 +2016,7 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
static ServantManager_ptr nil (void);
static ServantManager_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServantManager_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1891,7 +2043,7 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
operator ServantManager_ptr &();
ServantManager_ptr &ptr (void);
ServantManager_ptr operator-> (void);
-
+
private:
ServantManager_ptr &ptr_;
};
@@ -1903,7 +2055,7 @@ class TAO_PortableServer_Export AdapterActivator : public virtual CORBA_Object
#if !defined (_PORTABLESERVER_SERVANTMANAGER_CH_)
#define _PORTABLESERVER_SERVANTMANAGER_CH_
-class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
+ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -1915,12 +2067,12 @@ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
static ServantManager_ptr _duplicate (ServantManager_ptr obj);
static ServantManager_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantManager_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantManager_ptr _nil (void)
@@ -1929,12 +2081,12 @@ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
}
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
ServantManager ();
-
+
virtual ~ServantManager (void);
private:
ServantManager (const ServantManager &);
@@ -1950,7 +2102,7 @@ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
class ServantActivator;
typedef ServantActivator *ServantActivator_ptr;
-
+
#endif /* end #if !defined */
@@ -1961,23 +2113,23 @@ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
{
public:
ServantActivator_var (void); // default constructor
- ServantActivator_var (ServantActivator_ptr p) : ptr_ (p) {}
+ ServantActivator_var (ServantActivator_ptr p) : ptr_ (p) {}
ServantActivator_var (const ServantActivator_var &); // copy constructor
~ServantActivator_var (void); // destructor
-
+
ServantActivator_var &operator= (ServantActivator_ptr);
ServantActivator_var &operator= (const ServantActivator_var &);
ServantActivator_ptr operator-> (void) const;
-
+
operator const ServantActivator_ptr &() const;
operator ServantActivator_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ServantActivator_ptr in (void) const;
ServantActivator_ptr &inout (void);
ServantActivator_ptr &out (void);
ServantActivator_ptr _retn (void);
ServantActivator_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ServantActivator_ptr duplicate (ServantActivator_ptr);
@@ -1985,7 +2137,7 @@ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
static ServantActivator_ptr nil (void);
static ServantActivator_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServantActivator_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2012,7 +2164,7 @@ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
operator ServantActivator_ptr &();
ServantActivator_ptr &ptr (void);
ServantActivator_ptr operator-> (void);
-
+
private:
ServantActivator_ptr &ptr_;
};
@@ -2024,7 +2176,7 @@ class TAO_PortableServer_Export ServantManager : public virtual CORBA_Object
#if !defined (_PORTABLESERVER_SERVANTACTIVATOR_CH_)
#define _PORTABLESERVER_SERVANTACTIVATOR_CH_
-class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
+ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -2036,12 +2188,12 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
static ServantActivator_ptr _duplicate (ServantActivator_ptr obj);
static ServantActivator_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantActivator_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantActivator_ptr _nil (void)
@@ -2055,10 +2207,10 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
TAO_ENV_ARG_DECL_WITH_DEFAULTS
)
#if (TAO_HAS_MINIMUM_CORBA == 0)
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- PortableServer::ForwardRequest
- )) = 0;
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::ForwardRequest
+ )) = 0;
#else
ACE_THROW_SPEC ((
CORBA::SystemException
@@ -2078,12 +2230,12 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
ServantActivator ();
-
+
virtual ~ServantActivator (void);
private:
ServantActivator (const ServantActivator &);
@@ -2099,7 +2251,7 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
class ServantLocator;
typedef ServantLocator *ServantLocator_ptr;
-
+
#endif /* end #if !defined */
@@ -2110,23 +2262,23 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
{
public:
ServantLocator_var (void); // default constructor
- ServantLocator_var (ServantLocator_ptr p) : ptr_ (p) {}
+ ServantLocator_var (ServantLocator_ptr p) : ptr_ (p) {}
ServantLocator_var (const ServantLocator_var &); // copy constructor
~ServantLocator_var (void); // destructor
-
+
ServantLocator_var &operator= (ServantLocator_ptr);
ServantLocator_var &operator= (const ServantLocator_var &);
ServantLocator_ptr operator-> (void) const;
-
+
operator const ServantLocator_ptr &() const;
operator ServantLocator_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
ServantLocator_ptr in (void) const;
ServantLocator_ptr &inout (void);
ServantLocator_ptr &out (void);
ServantLocator_ptr _retn (void);
ServantLocator_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static ServantLocator_ptr duplicate (ServantLocator_ptr);
@@ -2134,7 +2286,7 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
static ServantLocator_ptr nil (void);
static ServantLocator_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServantLocator_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2161,7 +2313,7 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
operator ServantLocator_ptr &();
ServantLocator_ptr &ptr (void);
ServantLocator_ptr operator-> (void);
-
+
private:
ServantLocator_ptr &ptr_;
};
@@ -2173,7 +2325,7 @@ class TAO_PortableServer_Export ServantActivator: public virtual ServantManager
#if !defined (_PORTABLESERVER_SERVANTLOCATOR_CH_)
#define _PORTABLESERVER_SERVANTLOCATOR_CH_
-class TAO_PortableServer_Export ServantLocator: public virtual ServantManager
+ class TAO_PortableServer_Export ServantLocator: public virtual ServantManager
{
public:
@@ -2188,12 +2340,12 @@ class TAO_PortableServer_Export ServantLocator: public virtual ServantManager
static ServantLocator_ptr _duplicate (ServantLocator_ptr obj);
static ServantLocator_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantLocator_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static ServantLocator_ptr _nil (void)
@@ -2232,12 +2384,12 @@ class TAO_PortableServer_Export ServantLocator: public virtual ServantManager
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
ServantLocator ();
-
+
virtual ~ServantLocator (void);
private:
ServantLocator (const ServantLocator &);
@@ -2253,7 +2405,7 @@ class TAO_PortableServer_Export ServantLocator: public virtual ServantManager
#if !defined (_PORTABLESERVER_POA_CH_)
#define _PORTABLESERVER_POA_CH_
-class TAO_PortableServer_Export POA : public virtual CORBA_Object
+ class TAO_PortableServer_Export POA : public virtual CORBA_Object
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -2265,12 +2417,12 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
static POA_ptr _duplicate (POA_ptr obj);
static POA_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static POA_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static POA_ptr _nil (void)
@@ -2288,27 +2440,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
AdapterAlreadyExists (void);
// Default constructor.
-
+
AdapterAlreadyExists (const AdapterAlreadyExists &);
// Copy constructor.
-
+
~AdapterAlreadyExists (void);
// Destructor.
-
+
AdapterAlreadyExists &operator= (const AdapterAlreadyExists &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static AdapterAlreadyExists *_downcast (CORBA::Exception *);
@@ -2329,27 +2481,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
AdapterNonExistent (void);
// Default constructor.
-
+
AdapterNonExistent (const AdapterNonExistent &);
// Copy constructor.
-
+
~AdapterNonExistent (void);
// Destructor.
-
+
AdapterNonExistent &operator= (const AdapterNonExistent &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static AdapterNonExistent *_downcast (CORBA::Exception *);
@@ -2371,33 +2523,33 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
InvalidPolicy (void);
// Default constructor.
-
+
InvalidPolicy (const InvalidPolicy &);
// Copy constructor.
-
+
~InvalidPolicy (void);
// Destructor.
-
+
InvalidPolicy &operator= (const InvalidPolicy &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static InvalidPolicy *_downcast (CORBA::Exception *);
InvalidPolicy (
CORBA::UShort _tao_index
);
-
+
// = TAO extension.
static CORBA::Exception *_alloc (void);
}; // Exception PortableServer::POA::InvalidPolicy.
@@ -2417,27 +2569,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
NoServant (void);
// Default constructor.
-
+
NoServant (const NoServant &);
// Copy constructor.
-
+
~NoServant (void);
// Destructor.
-
+
NoServant &operator= (const NoServant &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static NoServant *_downcast (CORBA::Exception *);
@@ -2460,27 +2612,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
ObjectAlreadyActive (void);
// Default constructor.
-
+
ObjectAlreadyActive (const ObjectAlreadyActive &);
// Copy constructor.
-
+
~ObjectAlreadyActive (void);
// Destructor.
-
+
ObjectAlreadyActive &operator= (const ObjectAlreadyActive &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static ObjectAlreadyActive *_downcast (CORBA::Exception *);
@@ -2501,27 +2653,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
ObjectNotActive (void);
// Default constructor.
-
+
ObjectNotActive (const ObjectNotActive &);
// Copy constructor.
-
+
~ObjectNotActive (void);
// Destructor.
-
+
ObjectNotActive &operator= (const ObjectNotActive &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static ObjectNotActive *_downcast (CORBA::Exception *);
@@ -2542,27 +2694,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
ServantAlreadyActive (void);
// Default constructor.
-
+
ServantAlreadyActive (const ServantAlreadyActive &);
// Copy constructor.
-
+
~ServantAlreadyActive (void);
// Destructor.
-
+
ServantAlreadyActive &operator= (const ServantAlreadyActive &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static ServantAlreadyActive *_downcast (CORBA::Exception *);
@@ -2583,27 +2735,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
ServantNotActive (void);
// Default constructor.
-
+
ServantNotActive (const ServantNotActive &);
// Copy constructor.
-
+
~ServantNotActive (void);
// Destructor.
-
+
ServantNotActive &operator= (const ServantNotActive &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static ServantNotActive *_downcast (CORBA::Exception *);
@@ -2624,27 +2776,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
WrongAdapter (void);
// Default constructor.
-
+
WrongAdapter (const WrongAdapter &);
// Copy constructor.
-
+
~WrongAdapter (void);
// Destructor.
-
+
WrongAdapter &operator= (const WrongAdapter &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static WrongAdapter *_downcast (CORBA::Exception *);
@@ -2665,27 +2817,27 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
WrongPolicy (void);
// Default constructor.
-
+
WrongPolicy (const WrongPolicy &);
// Copy constructor.
-
+
~WrongPolicy (void);
// Destructor.
-
+
WrongPolicy &operator= (const WrongPolicy &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static WrongPolicy *_downcast (CORBA::Exception *);
@@ -2700,7 +2852,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
const char * adapter_name,
PortableServer::POAManager_ptr a_POAManager,
const CORBA::PolicyList & policies,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2712,7 +2864,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::POA_ptr find_POA (
const char * adapter_name,
CORBA::Boolean activate_it,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2723,7 +2875,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual void destroy (
CORBA::Boolean etherealize_objects,
CORBA::Boolean wait_for_completion,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2734,7 +2886,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::ThreadPolicy_ptr create_thread_policy (
PortableServer::ThreadPolicyValue value,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2745,7 +2897,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::LifespanPolicy_ptr create_lifespan_policy (
PortableServer::LifespanPolicyValue value,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2754,7 +2906,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::IdUniquenessPolicy_ptr create_id_uniqueness_policy (
PortableServer::IdUniquenessPolicyValue value,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2763,7 +2915,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::IdAssignmentPolicy_ptr create_id_assignment_policy (
PortableServer::IdAssignmentPolicyValue value,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2774,7 +2926,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::ImplicitActivationPolicy_ptr create_implicit_activation_policy (
PortableServer::ImplicitActivationPolicyValue value,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2783,7 +2935,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::ServantRetentionPolicy_ptr create_servant_retention_policy (
PortableServer::ServantRetentionPolicyValue value,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2792,7 +2944,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::RequestProcessingPolicy_ptr create_request_processing_policy (
PortableServer::RequestProcessingPolicyValue value,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2802,7 +2954,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
#endif /* TAO_HAS_MINIMUM_POA == 0 */
virtual char * the_name (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2810,7 +2962,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
)) = 0;
virtual PortableServer::POA_ptr the_parent (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2818,7 +2970,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
)) = 0;
virtual PortableServer::POAList * the_children (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2826,7 +2978,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
)) = 0;
virtual PortableServer::POAManager_ptr the_POAManager (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2836,7 +2988,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
#if (TAO_HAS_MINIMUM_POA == 0)
virtual PortableServer::AdapterActivator_ptr the_activator (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2845,7 +2997,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual void the_activator (
PortableServer::AdapterActivator_ptr the_activator,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2853,7 +3005,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
)) = 0;
virtual PortableServer::ServantManager_ptr get_servant_manager (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2863,7 +3015,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual void set_servant_manager (
PortableServer::ServantManager_ptr imgr,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2872,7 +3024,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
)) = 0;
virtual PortableServer::Servant get_servant (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2883,7 +3035,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual void set_servant (
PortableServer::Servant p_servant,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2895,7 +3047,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::ObjectId * activate_object (
PortableServer::Servant p_servant,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2907,7 +3059,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual void activate_object_with_id (
const PortableServer::ObjectId & id,
PortableServer::Servant p_servant,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2919,7 +3071,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual void deactivate_object (
const PortableServer::ObjectId & oid,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2930,7 +3082,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual CORBA::Object_ptr create_reference (
const char * intf,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2941,7 +3093,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual CORBA::Object_ptr create_reference_with_id (
const PortableServer::ObjectId & oid,
const char * intf,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2951,7 +3103,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::ObjectId * servant_to_id (
PortableServer::Servant p_servant,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2962,7 +3114,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual CORBA::Object_ptr servant_to_reference (
PortableServer::Servant p_servant,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2973,7 +3125,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::Servant reference_to_servant (
CORBA::Object_ptr reference,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2985,7 +3137,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::ObjectId * reference_to_id (
CORBA::Object_ptr reference,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -2996,7 +3148,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual PortableServer::Servant id_to_servant (
const PortableServer::ObjectId & oid,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -3007,7 +3159,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
virtual CORBA::Object_ptr id_to_reference (
const PortableServer::ObjectId & oid,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -3016,13 +3168,33 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
PortableServer::POA::WrongPolicy
)) = 0;
+ virtual PortableServer::ObjectId * create_id_for_reference (
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ )) = 0;
+
+ virtual PortableServer::IDs * reference_to_ids (
+ CORBA::Object_ptr the_ref,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException,
+ PortableServer::POA::WrongAdapter
+ )) = 0;
+
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
POA ();
-
+
virtual ~POA (void);
private:
POA (const POA &);
@@ -3038,7 +3210,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
class Current;
typedef Current *Current_ptr;
-
+
#endif /* end #if !defined */
@@ -3049,23 +3221,23 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
{
public:
Current_var (void); // default constructor
- Current_var (Current_ptr p) : ptr_ (p) {}
+ Current_var (Current_ptr p) : ptr_ (p) {}
Current_var (const Current_var &); // copy constructor
~Current_var (void); // destructor
-
+
Current_var &operator= (Current_ptr);
Current_var &operator= (const Current_var &);
Current_ptr operator-> (void) const;
-
+
operator const Current_ptr &() const;
operator Current_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
Current_ptr in (void) const;
Current_ptr &inout (void);
Current_ptr &out (void);
Current_ptr _retn (void);
Current_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static Current_ptr duplicate (Current_ptr);
@@ -3073,7 +3245,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
static Current_ptr nil (void);
static Current_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
Current_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -3100,7 +3272,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
operator Current_ptr &();
Current_ptr &ptr (void);
Current_ptr operator-> (void);
-
+
private:
Current_ptr &ptr_;
};
@@ -3112,7 +3284,7 @@ class TAO_PortableServer_Export POA : public virtual CORBA_Object
#if !defined (_PORTABLESERVER_CURRENT_CH_)
#define _PORTABLESERVER_CURRENT_CH_
-class TAO_PortableServer_Export Current: public virtual CORBA::Current
+ class TAO_PortableServer_Export Current: public virtual CORBA::Current
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -3124,12 +3296,12 @@ class TAO_PortableServer_Export Current: public virtual CORBA::Current
static Current_ptr _duplicate (Current_ptr obj);
static Current_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static Current_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static Current_ptr _nil (void)
@@ -3147,27 +3319,27 @@ class TAO_PortableServer_Export Current: public virtual CORBA::Current
NoContext (void);
// Default constructor.
-
+
NoContext (const NoContext &);
// Copy constructor.
-
+
~NoContext (void);
// Destructor.
-
+
NoContext &operator= (const NoContext &);
-
+
virtual void _raise (void);
virtual void _tao_encode (
TAO_OutputCDR &,
CORBA::Environment &
) const;
-
+
virtual void _tao_decode (
TAO_InputCDR &,
CORBA::Environment &
);
-
+
static NoContext *_downcast (CORBA::Exception *);
@@ -3179,7 +3351,7 @@ class TAO_PortableServer_Export Current: public virtual CORBA::Current
#endif /* end #if !defined */
virtual PortableServer::POA_ptr get_POA (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -3188,7 +3360,7 @@ class TAO_PortableServer_Export Current: public virtual CORBA::Current
)) = 0;
virtual PortableServer::ObjectId * get_object_id (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -3197,12 +3369,12 @@ class TAO_PortableServer_Export Current: public virtual CORBA::Current
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
Current ();
-
+
virtual ~Current (void);
private:
Current (const Current &);
@@ -3226,7 +3398,7 @@ TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::Object
TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::ObjectId *&); // deprecated
TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableServer::ObjectId *&);
-#if (TAO_HAS_MINIMUM_CORBA == 0)
+#if (TAO_HAS_MINIMAL_CORBA == 0)
TAO_PortableServer_Export void operator<<= (CORBA::Any &, const PortableServer::ForwardRequest &); // copying version
TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ForwardRequest*); // noncopying version
@@ -3235,6 +3407,11 @@ TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
+TAO_PortableServer_Export void operator<<= (CORBA::Any &, const PortableServer::IDs &); // copying version
+TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::IDs*); // noncopying version
+TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::IDs *&); // deprecated
+TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableServer::IDs *&);
+
#if (TAO_HAS_MINIMUM_POA == 0)
TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::ThreadPolicyValue);
@@ -3284,27 +3461,41 @@ TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableSer
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
+#if !defined _TAO_CDR_OP_PortableServer_IDs_H_
+#define _TAO_CDR_OP_PortableServer_IDs_H_
+
+TAO_PortableServer_Export CORBA::Boolean operator<< (
+ TAO_OutputCDR &,
+ const PortableServer::IDs &
+ );
+TAO_PortableServer_Export CORBA::Boolean operator>> (
+ TAO_InputCDR &,
+ PortableServer::IDs &
+ );
+
+#endif /* _TAO_CDR_OP_PortableServer_IDs_H_ */
+
#if (TAO_HAS_MINIMUM_POA == 0)
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::ThreadPolicyValue &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::ThreadPolicyValue &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::ThreadPolicyValue &);
#endif /* TAO_HAS_MINIMUM_POA == 0 */
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::LifespanPolicyValue &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::LifespanPolicyValue &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::LifespanPolicyValue &);
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::IdUniquenessPolicyValue &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::IdUniquenessPolicyValue &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::IdUniquenessPolicyValue &);
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::IdAssignmentPolicyValue &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::IdAssignmentPolicyValue &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::IdAssignmentPolicyValue &);
#if (TAO_HAS_MINIMUM_POA == 0)
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::ImplicitActivationPolicyValue &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::ImplicitActivationPolicyValue &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::ImplicitActivationPolicyValue &);
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::ServantRetentionPolicyValue &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::ServantRetentionPolicyValue &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::ServantRetentionPolicyValue &);
-TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::RequestProcessingPolicyValue &); //
+TAO_PortableServer_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const PortableServer::RequestProcessingPolicyValue &); //
TAO_PortableServer_Export CORBA::Boolean operator>> (TAO_InputCDR &, PortableServer::RequestProcessingPolicyValue &);
#endif /* TAO_HAS_MINIMUM_POA == 0 */
diff --git a/TAO/tao/PortableServer/PortableServerC.i b/TAO/tao/PortableServer/PortableServerC.i
index 9ba403e65a1..beddce7b123 100644
--- a/TAO/tao/PortableServer/PortableServerC.i
+++ b/TAO/tao/PortableServer/PortableServerC.i
@@ -21,7 +21,7 @@
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CI_)
#define __TAO_UNBOUNDED_OBJECT_SEQUENCE_PORTABLESERVER_POALIST_CI_
@@ -29,36 +29,36 @@
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (CORBA::ULong nelems)
{
PortableServer::POA **buf = 0;
-
+
ACE_NEW_RETURN (buf, PortableServer::POA*[nelems], 0);
-
+
for (CORBA::ULong i = 0; i < nelems; i++)
{
buf[i] = PortableServer::POA::_nil ();
}
-
+
return buf;
}
-
- ACE_INLINE void
+
+ ACE_INLINE void
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::freebuf (PortableServer::POA **buffer)
{
if (buffer == 0)
return;
delete[] buffer;
}
-
+
ACE_INLINE
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList (void)
{
}
-
+
ACE_INLINE
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList (CORBA::ULong maximum)
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (maximum))
{
}
-
+
ACE_INLINE
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList (CORBA::ULong maximum,
CORBA::ULong length,
@@ -67,7 +67,7 @@
: TAO_Unbounded_Base_Sequence (maximum, length, value, release)
{
}
-
+
ACE_INLINE
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::_TAO_Unbounded_Object_Sequence_PortableServer_POAList(const _TAO_Unbounded_Object_Sequence_PortableServer_POAList &rhs)
: TAO_Unbounded_Base_Sequence (rhs)
@@ -76,12 +76,12 @@
{
PortableServer::POA **tmp1 = _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (this->maximum_);
PortableServer::POA ** const tmp2 = ACE_reinterpret_cast (PortableServer::POA ** ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < rhs.length_; ++i)
{
tmp1[i] = PortableServer::POA::_duplicate (tmp2[i]);
}
-
+
this->buffer_ = tmp1;
}
else
@@ -89,17 +89,17 @@
this->buffer_ = 0;
}
}
-
+
ACE_INLINE PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList &
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::operator= (const _TAO_Unbounded_Object_Sequence_PortableServer_POAList &rhs)
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
PortableServer::POA **tmp = ACE_reinterpret_cast (PortableServer::POA **, this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
{
CORBA::release (tmp[i]);
@@ -113,20 +113,20 @@
}
else
this->buffer_ = _TAO_Unbounded_Object_Sequence_PortableServer_POAList::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
PortableServer::POA **tmp1 = ACE_reinterpret_cast (PortableServer::POA **, this->buffer_);
PortableServer::POA ** const tmp2 = ACE_reinterpret_cast (PortableServer::POA ** ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < rhs.length_; ++i)
{
tmp1[i] = PortableServer::POA::_duplicate (tmp2[i]);
}
-
+
return *this;
}
-
+
ACE_INLINE TAO_Object_Manager<PortableServer::POA,PortableServer::POA_var>
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::operator[] (CORBA::ULong index) const
// read-write accessor
@@ -135,7 +135,7 @@
PortableServer::POA ** const tmp = ACE_reinterpret_cast (PortableServer::POA ** ACE_CAST_CONST, this->buffer_);
return TAO_Object_Manager<PortableServer::POA,PortableServer::POA_var> (tmp + index, this->release_);
}
-
+
ACE_INLINE PortableServer::POA* *
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::get_buffer (CORBA::Boolean orphan)
{
@@ -169,18 +169,18 @@
}
return result;
}
-
+
ACE_INLINE const PortableServer::POA* *
PortableServer::_TAO_Unbounded_Object_Sequence_PortableServer_POAList::get_buffer (void) const
{
return ACE_reinterpret_cast(const PortableServer::POA ** ACE_CAST_CONST, this->buffer_);
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_PORTABLESERVER_POALIST_CI_)
#define _PORTABLESERVER_POALIST_CI_
@@ -236,7 +236,7 @@ PortableServer::POAList_var::operator= (const ::PortableServer::POAList_var &p)
{
POAList *deep_copy =
new POAList (*p.ptr_);
-
+
if (deep_copy != 0)
{
POAList *tmp = deep_copy;
@@ -246,7 +246,7 @@ PortableServer::POAList_var::operator= (const ::PortableServer::POAList_var &p)
}
}
}
-
+
return *this;
}
@@ -262,27 +262,27 @@ PortableServer::POAList_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
PortableServer::POAList_var::operator const ::PortableServer::POAList &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-PortableServer::POAList_var::operator ::PortableServer::POAList &() // cast
+ACE_INLINE
+PortableServer::POAList_var::operator ::PortableServer::POAList &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-PortableServer::POAList_var::operator ::PortableServer::POAList &() const // cast
+ACE_INLINE
+PortableServer::POAList_var::operator ::PortableServer::POAList &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-PortableServer::POAList_var::operator ::PortableServer::POAList *&() // cast
+PortableServer::POAList_var::operator ::PortableServer::POAList *&() // cast
{
return this->ptr_;
}
@@ -305,7 +305,7 @@ PortableServer::POAList_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::PortableServer::POAList *&
PortableServer::POAList_var::out (void)
{
@@ -366,7 +366,7 @@ PortableServer::POAList_out::operator= (POAList *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
PortableServer::POAList_out::operator ::PortableServer::POAList *&() // cast
{
return this->ptr_;
@@ -455,7 +455,7 @@ PortableServer::ObjectId_var::operator= (const ::PortableServer::ObjectId_var &p
{
ObjectId *deep_copy =
new ObjectId (*p.ptr_);
-
+
if (deep_copy != 0)
{
ObjectId *tmp = deep_copy;
@@ -465,7 +465,7 @@ PortableServer::ObjectId_var::operator= (const ::PortableServer::ObjectId_var &p
}
}
}
-
+
return *this;
}
@@ -493,20 +493,20 @@ PortableServer::ObjectId_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
PortableServer::ObjectId_var::operator const ::PortableServer::ObjectId &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-PortableServer::ObjectId_var::operator ::PortableServer::ObjectId &() // cast
+ACE_INLINE
+PortableServer::ObjectId_var::operator ::PortableServer::ObjectId &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-PortableServer::ObjectId_var::operator ::PortableServer::ObjectId &() const // cast
+ACE_INLINE
+PortableServer::ObjectId_var::operator ::PortableServer::ObjectId &() const // cast
{
return *this->ptr_;
}
@@ -535,7 +535,7 @@ PortableServer::ObjectId_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::PortableServer::ObjectId *&
PortableServer::ObjectId_var::out (void)
{
@@ -596,7 +596,7 @@ PortableServer::ObjectId_out::operator= (ObjectId *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
PortableServer::ObjectId_out::operator ::PortableServer::ObjectId *&() // cast
{
return this->ptr_;
@@ -628,6 +628,400 @@ PortableServer::ObjectId_out::operator[] (CORBA::ULong index)
// *************************************************************
+#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
+
+#if !defined (__TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CI_)
+#define __TAO_UNBOUNDED_SEQUENCE_PORTABLESERVER_IDS_CI_
+
+ // = Static operations.
+ ACE_INLINE PortableServer::ObjectId *
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (CORBA::ULong size)
+ // Allocate storage for the sequence.
+ {
+ PortableServer::ObjectId *retval = 0;
+ ACE_NEW_RETURN (retval, PortableServer::ObjectId[size], 0);
+ return retval;
+ }
+
+ ACE_INLINE void PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (PortableServer::ObjectId *buffer)
+ // Free the sequence.
+ {
+ delete [] buffer;
+ }
+
+ ACE_INLINE
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (void) // Default constructor.
+ {
+ }
+
+ ACE_INLINE
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (CORBA::ULong maximum) // Constructor using a maximum length value.
+ : TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (maximum))
+ {
+ }
+
+ ACE_INLINE
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (CORBA::ULong maximum,
+ CORBA::ULong length,
+ PortableServer::ObjectId *data,
+ CORBA::Boolean release)
+ : TAO_Unbounded_Base_Sequence (maximum, length, data, release)
+ {
+ }
+
+ ACE_INLINE
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::_TAO_Unbounded_Sequence_PortableServer_IDs (const _TAO_Unbounded_Sequence_PortableServer_IDs &rhs)
+ // Copy constructor.
+ : TAO_Unbounded_Base_Sequence (rhs)
+ {
+ if (rhs.buffer_ != 0)
+ {
+ PortableServer::ObjectId *tmp1 = _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (this->maximum_);
+ PortableServer::ObjectId * const tmp2 = ACE_reinterpret_cast (PortableServer::ObjectId * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ this->buffer_ = tmp1;
+ }
+ else
+ {
+ this->buffer_ = 0;
+ }
+ }
+
+ ACE_INLINE PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs &
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::operator= (const _TAO_Unbounded_Sequence_PortableServer_IDs &rhs)
+ // Assignment operator.
+ {
+ if (this == &rhs)
+ return *this;
+
+ if (this->release_)
+ {
+ if (this->maximum_ < rhs.maximum_)
+ {
+ // free the old buffer
+ PortableServer::ObjectId *tmp = ACE_reinterpret_cast (PortableServer::ObjectId *, this->buffer_);
+ _TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (tmp);
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (rhs.maximum_);
+ }
+ }
+ else
+ this->buffer_ = _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (rhs.maximum_);
+
+ TAO_Unbounded_Base_Sequence::operator= (rhs);
+
+ PortableServer::ObjectId *tmp1 = ACE_reinterpret_cast (PortableServer::ObjectId *, this->buffer_);
+ PortableServer::ObjectId * const tmp2 = ACE_reinterpret_cast (PortableServer::ObjectId * ACE_CAST_CONST, rhs.buffer_);
+
+ for (CORBA::ULong i = 0; i < this->length_; ++i)
+ tmp1[i] = tmp2[i];
+
+ return *this;
+ }
+
+ // = Accessors.
+ ACE_INLINE PortableServer::ObjectId &
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::operator[] (CORBA::ULong i)
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableServer::ObjectId* tmp = ACE_reinterpret_cast(PortableServer::ObjectId*,this->buffer_);
+ return tmp[i];
+ }
+
+ ACE_INLINE const PortableServer::ObjectId &
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::operator[] (CORBA::ULong i) const
+ // operator []
+ {
+ ACE_ASSERT (i < this->maximum_);
+ PortableServer::ObjectId * const tmp = ACE_reinterpret_cast (PortableServer::ObjectId* ACE_CAST_CONST, this->buffer_);
+ return tmp[i];
+ }
+
+ // Implement the TAO_Base_Sequence methods (see Sequence.h)
+
+ ACE_INLINE PortableServer::ObjectId *
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::get_buffer (CORBA::Boolean orphan)
+ {
+ PortableServer::ObjectId *result = 0;
+ if (orphan == 0)
+ {
+ // We retain ownership.
+ if (this->buffer_ == 0)
+ {
+ result = _TAO_Unbounded_Sequence_PortableServer_IDs::allocbuf (this->length_);
+ this->buffer_ = result;
+ this->release_ = 1;
+ }
+ else
+ {
+ result = ACE_reinterpret_cast (PortableServer::ObjectId*, this->buffer_);
+ }
+ }
+ else // if (orphan == 1)
+ {
+ if (this->release_ != 0)
+ {
+ // We set the state back to default and relinquish
+ // ownership.
+ result = ACE_reinterpret_cast(PortableServer::ObjectId*,this->buffer_);
+ this->maximum_ = 0;
+ this->length_ = 0;
+ this->buffer_ = 0;
+ this->release_ = 0;
+ }
+ }
+ return result;
+ }
+
+ ACE_INLINE const PortableServer::ObjectId *
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::get_buffer (void) const
+ {
+ return ACE_reinterpret_cast(const PortableServer::ObjectId * ACE_CAST_CONST, this->buffer_);
+ }
+
+ ACE_INLINE void
+ PortableServer::_TAO_Unbounded_Sequence_PortableServer_IDs::replace (CORBA::ULong max,
+ CORBA::ULong length,
+ PortableServer::ObjectId *data,
+ CORBA::Boolean release)
+ {
+ this->maximum_ = max;
+ this->length_ = length;
+ if (this->buffer_ && this->release_ == 1)
+ {
+ PortableServer::ObjectId *tmp = ACE_reinterpret_cast(PortableServer::ObjectId*,this->buffer_);
+ _TAO_Unbounded_Sequence_PortableServer_IDs::freebuf (tmp);
+ }
+ this->buffer_ = data;
+ this->release_ = release;
+ }
+
+#endif /* end #if !defined */
+
+
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+
+#if !defined (_PORTABLESERVER_IDS_CI_)
+#define _PORTABLESERVER_IDS_CI_
+
+// *************************************************************
+// Inline operations for class PortableServer::IDs_var
+// *************************************************************
+
+ACE_INLINE
+PortableServer::IDs_var::IDs_var (void) // default constructor
+ : ptr_ (0)
+{}
+
+ACE_INLINE
+PortableServer::IDs_var::IDs_var (IDs *p)
+ : ptr_ (p)
+{}
+
+ACE_INLINE
+PortableServer::IDs_var::IDs_var (const ::PortableServer::IDs_var &p) // copy constructor
+{
+ if (p.ptr_)
+ ACE_NEW (this->ptr_, ::PortableServer::IDs (*p.ptr_));
+ else
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableServer::IDs_var::~IDs_var (void) // destructor
+{
+ delete this->ptr_;
+}
+
+ACE_INLINE PortableServer::IDs_var &
+PortableServer::IDs_var::operator= (IDs *p)
+{
+ delete this->ptr_;
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE ::PortableServer::IDs_var &
+PortableServer::IDs_var::operator= (const ::PortableServer::IDs_var &p)
+{
+ if (this != &p)
+ {
+ if (p.ptr_ == 0)
+ {
+ delete this->ptr_;
+ this->ptr_ = 0;
+ }
+ else
+ {
+ IDs *deep_copy =
+ new IDs (*p.ptr_);
+
+ if (deep_copy != 0)
+ {
+ IDs *tmp = deep_copy;
+ deep_copy = this->ptr_;
+ this->ptr_ = tmp;
+ delete deep_copy;
+ }
+ }
+ }
+
+ return *this;
+}
+
+ACE_INLINE const ::PortableServer::IDs *
+PortableServer::IDs_var::operator-> (void) const
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableServer::IDs *
+PortableServer::IDs_var::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE
+PortableServer::IDs_var::operator const ::PortableServer::IDs &() const // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableServer::IDs_var::operator ::PortableServer::IDs &() // cast
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE
+PortableServer::IDs_var::operator ::PortableServer::IDs &() const // cast
+{
+ return *this->ptr_;
+}
+
+// variable-size types only
+ACE_INLINE
+PortableServer::IDs_var::operator ::PortableServer::IDs *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableServer::ObjectId &
+PortableServer::IDs_var::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+ACE_INLINE const PortableServer::ObjectId &
+PortableServer::IDs_var::operator[] (CORBA::ULong index) const
+{
+ return ACE_const_cast (const PortableServer::ObjectId &, this->ptr_->operator[] (index));
+}
+
+ACE_INLINE const ::PortableServer::IDs &
+PortableServer::IDs_var::in (void) const
+{
+ return *this->ptr_;
+}
+
+ACE_INLINE ::PortableServer::IDs &
+PortableServer::IDs_var::inout (void)
+{
+ return *this->ptr_;
+}
+
+// mapping for variable size
+ACE_INLINE ::PortableServer::IDs *&
+PortableServer::IDs_var::out (void)
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableServer::IDs *
+PortableServer::IDs_var::_retn (void)
+{
+ ::PortableServer::IDs *tmp = this->ptr_;
+ this->ptr_ = 0;
+ return tmp;
+}
+
+ACE_INLINE ::PortableServer::IDs *
+PortableServer::IDs_var::ptr (void) const
+{
+ return this->ptr_;
+}
+
+// *************************************************************
+// Inline operations for class PortableServer::IDs_out
+// *************************************************************
+
+ACE_INLINE
+PortableServer::IDs_out::IDs_out (IDs *&p)
+ : ptr_ (p)
+{
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableServer::IDs_out::IDs_out (IDs_var &p) // constructor from _var
+ : ptr_ (p.out ())
+{
+ delete this->ptr_;
+ this->ptr_ = 0;
+}
+
+ACE_INLINE
+PortableServer::IDs_out::IDs_out (const ::PortableServer::IDs_out &p) // copy constructor
+ : ptr_ (ACE_const_cast (IDs_out&, p).ptr_)
+{}
+
+ACE_INLINE ::PortableServer::IDs_out &
+PortableServer::IDs_out::operator= (const ::PortableServer::IDs_out &p)
+{
+ this->ptr_ = ACE_const_cast (IDs_out&, p).ptr_;
+ return *this;
+}
+
+ACE_INLINE ::PortableServer::IDs_out &
+PortableServer::IDs_out::operator= (IDs *p)
+{
+ this->ptr_ = p;
+ return *this;
+}
+
+ACE_INLINE
+PortableServer::IDs_out::operator ::PortableServer::IDs *&() // cast
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableServer::IDs *&
+PortableServer::IDs_out::ptr (void) // ptr
+{
+ return this->ptr_;
+}
+
+ACE_INLINE ::PortableServer::IDs *
+PortableServer::IDs_out::operator-> (void)
+{
+ return this->ptr_;
+}
+
+ACE_INLINE PortableServer::ObjectId &
+PortableServer::IDs_out::operator[] (CORBA::ULong index)
+{
+ return this->ptr_->operator[] (index);
+}
+
+
+#endif /* end #if !defined */
+
+
#if (TAO_HAS_MINIMUM_POA == 0)
#if !defined (_PORTABLESERVER_THREADPOLICY___CI_)
@@ -1432,6 +1826,21 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm,PortableServer::Forward
return 0;
}
+
+#if !defined _TAO_CDR_OP_PortableServer_IDs_I_
+#define _TAO_CDR_OP_PortableServer_IDs_I_
+
+CORBA::Boolean TAO_PortableServer_Export operator<< (
+ TAO_OutputCDR &,
+ const PortableServer::IDs &
+ );
+CORBA::Boolean TAO_PortableServer_Export operator>> (
+ TAO_InputCDR &,
+ PortableServer::IDs &
+ );
+
+#endif /* _TAO_CDR_OP_PortableServer_IDs_I_ */
+
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
#if (TAO_HAS_MINIMUM_POA == 0)
@@ -1446,12 +1855,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableServer::Thread
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (PortableServer::ThreadPolicyValue, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1467,12 +1876,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableServer::Lifesp
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (PortableServer::LifespanPolicyValue, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1486,12 +1895,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableServer::IdUniq
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (PortableServer::IdUniquenessPolicyValue, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1505,12 +1914,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableServer::IdAssi
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (PortableServer::IdAssignmentPolicyValue, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1526,12 +1935,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableServer::Implic
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (PortableServer::ImplicitActivationPolicyValue, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1545,12 +1954,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableServer::Servan
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (PortableServer::ServantRetentionPolicyValue, _tao_temp);
}
-
+
return _tao_result;
}
@@ -1564,12 +1973,12 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, PortableServer::Reques
{
CORBA::ULong _tao_temp = 0;
CORBA::Boolean _tao_result = strm >> _tao_temp;
-
+
if (_tao_result == 1)
{
_tao_enumval = ACE_static_cast (PortableServer::RequestProcessingPolicyValue, _tao_temp);
}
-
+
return _tao_result;
}
diff --git a/TAO/tao/PortableServer/RTPortableServerC.cpp b/TAO/tao/PortableServer/RTPortableServerC.cpp
index 2690be06d38..22faf64e342 100644
--- a/TAO/tao/PortableServer/RTPortableServerC.cpp
+++ b/TAO/tao/PortableServer/RTPortableServerC.cpp
@@ -21,7 +21,12 @@
#include "RTPortableServerC.h"
-#if (TAO_HAS_RT_CORBA == 1)
+#include "tao/Stub.h"
+#include "tao/Invocation.h"
+#include "tao/ClientRequestInfo.h"
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus
@@ -31,6 +36,49 @@
#include "RTPortableServerC.i"
#endif /* !defined INLINE */
+RTPortableServer::POA_ptr
+tao_RTPortableServer_POA_duplicate (
+ RTPortableServer::POA_ptr p
+ )
+{
+ return RTPortableServer::POA::_duplicate (p);
+}
+
+void
+tao_RTPortableServer_POA_release (
+ RTPortableServer::POA_ptr p
+ )
+{
+ CORBA::release (p);
+}
+
+RTPortableServer::POA_ptr
+tao_RTPortableServer_POA_nil (
+ void
+ )
+{
+ return RTPortableServer::POA::_nil ();
+}
+
+RTPortableServer::POA_ptr
+tao_RTPortableServer_POA_narrow (
+ CORBA::Object *p,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ return RTPortableServer::POA::_narrow (p, ACE_TRY_ENV);
+}
+
+CORBA::Object *
+tao_RTPortableServer_POA_upcast (
+ void *src
+ )
+{
+ RTPortableServer::POA **tmp =
+ ACE_static_cast (RTPortableServer::POA **, src);
+ return *tmp;
+}
+
// *************************************************************
// Operations for class RTPortableServer::POA_var
// *************************************************************
@@ -79,7 +127,7 @@ RTPortableServer::POA_var::operator const ::RTPortableServer::POA_ptr &() const
return this->ptr_;
}
-RTPortableServer::POA_var::operator ::RTPortableServer::POA_ptr &() // cast
+RTPortableServer::POA_var::operator ::RTPortableServer::POA_ptr &() // cast
{
return this->ptr_;
}
@@ -155,7 +203,7 @@ RTPortableServer::POA_var::upcast (void *src)
}
// *************************************************************
-// Inline operations for class RTPortableServer::POA_out
+// Operations for class RTPortableServer::POA_out
// *************************************************************
RTPortableServer::POA_out::POA_out (POA_ptr &p)
@@ -283,7 +331,7 @@ void *RTPortableServer::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;
@@ -301,4 +349,3 @@ const char* RTPortableServer::POA::_interface_repository_id (void) const
# pragma instantiate TAO_Object_Manager<RTPortableServer::POA,RTPortableServer::POA_var>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-#endif /* TAO_HAS_RT_CORBA == 1 */
diff --git a/TAO/tao/PortableServer/RTPortableServerC.h b/TAO/tao/PortableServer/RTPortableServerC.h
index 1a87e2ed792..a7302fe4d3c 100644
--- a/TAO/tao/PortableServer/RTPortableServerC.h
+++ b/TAO/tao/PortableServer/RTPortableServerC.h
@@ -19,18 +19,17 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef _TAO_IDL_ORIG_RTPORTABLESERVERC_H_
-#define _TAO_IDL_ORIG_RTPORTABLESERVERC_H_
+#ifndef _TAO_IDL_RTPORTABLESERVERC_H_
+#define _TAO_IDL_RTPORTABLESERVERC_H_
#include "ace/pre.h"
-#include "PortableServerC.h"
-
-#if (TAO_HAS_RT_CORBA == 1)
+#include "tao/corba.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "PortableServerC.h"
#include "tao/RTCORBAC.h"
#if defined (TAO_EXPORT_MACRO)
@@ -64,7 +63,7 @@ TAO_NAMESPACE RTPortableServer
class POA;
typedef POA *POA_ptr;
-
+
#endif /* end #if !defined */
@@ -75,23 +74,23 @@ TAO_NAMESPACE RTPortableServer
{
public:
POA_var (void); // default constructor
- POA_var (POA_ptr p) : ptr_ (p) {}
+ POA_var (POA_ptr p) : ptr_ (p) {}
POA_var (const POA_var &); // copy constructor
~POA_var (void); // destructor
-
+
POA_var &operator= (POA_ptr);
POA_var &operator= (const POA_var &);
POA_ptr operator-> (void) const;
-
+
operator const POA_ptr &() const;
operator POA_ptr &();
- // in, inout, out, _retn
+ // in, inout, out, _retn
POA_ptr in (void) const;
POA_ptr &inout (void);
POA_ptr &out (void);
POA_ptr _retn (void);
POA_ptr ptr (void) const;
-
+
// Hooks used by template sequence and object manager classes
// for non-defined forward declared interfaces.
static POA_ptr duplicate (POA_ptr);
@@ -99,7 +98,7 @@ TAO_NAMESPACE RTPortableServer
static POA_ptr nil (void);
static POA_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
POA_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -126,7 +125,7 @@ TAO_NAMESPACE RTPortableServer
operator POA_ptr &();
POA_ptr &ptr (void);
POA_ptr operator-> (void);
-
+
private:
POA_ptr &ptr_;
};
@@ -138,7 +137,7 @@ TAO_NAMESPACE RTPortableServer
#if !defined (_RTPORTABLESERVER_POA_CH_)
#define _RTPORTABLESERVER_POA_CH_
-class TAO_PortableServer_Export POA: public virtual PortableServer::POA
+ class TAO_PortableServer_Export POA: public virtual PortableServer::POA
{
public:
#if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
@@ -150,12 +149,12 @@ class TAO_PortableServer_Export POA: public virtual PortableServer::POA
static POA_ptr _duplicate (POA_ptr obj);
static POA_ptr _narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static POA_ptr _unchecked_narrow (
CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
static POA_ptr _nil (void)
@@ -166,7 +165,7 @@ class TAO_PortableServer_Export POA: public virtual PortableServer::POA
virtual CORBA::Object_ptr create_reference_with_priority (
const char * intf,
RTCORBA::Priority priority,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -178,7 +177,7 @@ class TAO_PortableServer_Export POA: public virtual PortableServer::POA
const PortableServer::ObjectId & oid,
const char * intf,
RTCORBA::Priority priority,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -189,7 +188,7 @@ class TAO_PortableServer_Export POA: public virtual PortableServer::POA
virtual PortableServer::ObjectId * activate_object_with_priority (
PortableServer::Servant p_servant,
RTCORBA::Priority priority,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -202,7 +201,7 @@ class TAO_PortableServer_Export POA: public virtual PortableServer::POA
const PortableServer::ObjectId & oid,
PortableServer::Servant p_servant,
RTCORBA::Priority priority,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -213,12 +212,12 @@ class TAO_PortableServer_Export POA: public virtual PortableServer::POA
)) = 0;
virtual void *_tao_QueryInterface (ptr_arith_t type);
-
+
virtual const char* _interface_repository_id (void) const;
protected:
POA ();
-
+
virtual ~POA (void);
private:
POA (const POA &);
@@ -251,7 +250,5 @@ TAO_NAMESPACE_CLOSE // module RTPortableServer
#pragma option pop
#endif /* __BORLANDC__ */
-#endif /* TAO_HAS_RT_CORBA */
-
#include "ace/post.h"
#endif /* ifndef */
diff --git a/TAO/tao/PortableServer/RTPortableServerC.i b/TAO/tao/PortableServer/RTPortableServerC.i
index 675f6f14a80..5a647dfc3fa 100644
--- a/TAO/tao/PortableServer/RTPortableServerC.i
+++ b/TAO/tao/PortableServer/RTPortableServerC.i
@@ -23,49 +23,6 @@
#if !defined (_RTPORTABLESERVER_POA___CI_)
#define _RTPORTABLESERVER_POA___CI_
-ACE_INLINE RTPortableServer::POA_ptr
-tao_RTPortableServer_POA_duplicate (
- RTPortableServer::POA_ptr p
- )
-{
- return RTPortableServer::POA::_duplicate (p);
-}
-
-ACE_INLINE void
-tao_RTPortableServer_POA_release (
- RTPortableServer::POA_ptr p
- )
-{
- CORBA::release (p);
-}
-
-ACE_INLINE RTPortableServer::POA_ptr
-tao_RTPortableServer_POA_nil (
- void
- )
-{
- return RTPortableServer::POA::_nil ();
-}
-
-ACE_INLINE RTPortableServer::POA_ptr
-tao_RTPortableServer_POA_narrow (
- CORBA::Object *p,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- return RTPortableServer::POA::_narrow (p, ACE_TRY_ENV);
-}
-
-ACE_INLINE CORBA::Object *
-tao_RTPortableServer_POA_upcast (
- void *src
- )
-{
- RTPortableServer::POA **tmp =
- ACE_static_cast (RTPortableServer::POA **, src);
- return *tmp;
-}
-
#endif /* end #if !defined */
diff --git a/TAO/tao/PortableServer/TAO_PortableServer.dsp b/TAO/tao/PortableServer/TAO_PortableServer.dsp
index 524f9419873..97d6c560908 100644
--- a/TAO/tao/PortableServer/TAO_PortableServer.dsp
+++ b/TAO/tao/PortableServer/TAO_PortableServer.dsp
@@ -212,6 +212,10 @@ SOURCE=.\PolicyS.cpp
# End Source File
# Begin Source File
+SOURCE=.\PortableGroup_Hooks.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\PortableServer.cpp
# End Source File
# Begin Source File
@@ -316,6 +320,10 @@ SOURCE=.\PolicyS.h
# End Source File
# Begin Source File
+SOURCE=.\PortableGroup_Hooks.h
+# End Source File
+# Begin Source File
+
SOURCE=.\PortableServer.h
# End Source File
# Begin Source File
diff --git a/TAO/tao/Principal.cpp b/TAO/tao/Principal.cpp
index 63e4ae4cfc8..0e4a3c01634 100644
--- a/TAO/tao/Principal.cpp
+++ b/TAO/tao/Principal.cpp
@@ -2,7 +2,7 @@
// Copyright 1994-1995 by Sun Microsystems Inc.
// All Rights Reserved
-// ORB: Principal identifier pseudo-objref
+// ORB: Principal identifier pseudo-objref
#include "tao/Principal.h"
#include "tao/CDR.h"
diff --git a/TAO/tao/Profile.cpp b/TAO/tao/Profile.cpp
index 5dfcfef48ce..fc4aa2c9acb 100644
--- a/TAO/tao/Profile.cpp
+++ b/TAO/tao/Profile.cpp
@@ -2,6 +2,7 @@
#include "Profile.h"
#include "Object_KeyC.h"
+#include "target_specification.h"
#include "MessagingC.h"
#include "Stub.h"
@@ -261,9 +262,9 @@ TAO_Profile::verify_orb_configuration (CORBA::Environment &ACE_TRY_ENV)
if (TAO_debug_level > 0)
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%P|%t) Cannot add ")
- ACE_TEXT ("IOP::TaggedComponent to profile.\n")
- ACE_TEXT ("(%P|%t) Standard profile components ")
- ACE_TEXT ("have been disabled or URL style IORs\n")
+ ACE_TEXT ("IOP::TaggedComponent to profile.\n")
+ ACE_TEXT ("(%P|%t) Standard profile components ")
+ ACE_TEXT ("have been disabled or URL style IORs\n")
ACE_TEXT ("(%P|%t) are in use. Try ")
ACE_TEXT ("\"-ORBStdProfileComponents 1\" and/or\n")
ACE_TEXT ("(%P|%t) \"-ORBObjRefStyle IOR\".\n")));
@@ -276,8 +277,8 @@ TAO_Profile::verify_orb_configuration (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW (CORBA::BAD_PARAM (
CORBA_SystemException::_tao_minor_code (
TAO_DEFAULT_MINOR_CODE,
- EINVAL),
- CORBA::COMPLETED_NO));
+ EINVAL),
+ CORBA::COMPLETED_NO));
}
}
@@ -292,8 +293,8 @@ TAO_Profile::verify_profile_version (CORBA::Environment &ACE_TRY_ENV)
if (TAO_debug_level > 0)
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%P|%t) Cannot add ")
- ACE_TEXT ("IOP::TaggedComponent to GIOP 1.0")
- ACE_TEXT ("IOR profile.\n")
+ ACE_TEXT ("IOP::TaggedComponent to GIOP 1.0")
+ ACE_TEXT ("IOR profile.\n")
ACE_TEXT ("(%P|%t) Try using a GIOP 1.1 or ")
ACE_TEXT ("greater endpoint.\n")));
@@ -305,11 +306,32 @@ TAO_Profile::verify_profile_version (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW (CORBA::BAD_PARAM (
CORBA_SystemException::_tao_minor_code (
TAO_DEFAULT_MINOR_CODE,
- EINVAL),
- CORBA::COMPLETED_NO));
+ EINVAL),
+ CORBA::COMPLETED_NO));
}
}
+void
+TAO_Profile::request_target_specifier (TAO_Target_Specification &target_spec)
+{
+ // @@ Frank - Note: This will need to be moved to handle exception
+ // cases where the remote doesn't like the target specifier that
+ // we picked.
+ //
+ // Almost 100% of the time, the request target specifier is the object
+ // key, so this is the default. For the odd case where a pluggable
+ // protocol needs to change this, it can override this method.
+
+ target_spec.target_specifier (this->object_key ());
+}
+
+int
+TAO_Profile::supports_multicast (void) const
+{
+ // Most profiles do not support multicast endpoints.
+ return 0;
+}
+
// ****************************************************************
TAO_Unknown_Profile::TAO_Unknown_Profile (CORBA::ULong tag,
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h
index 6a06069240d..ee2c86b2bfa 100644
--- a/TAO/tao/Profile.h
+++ b/TAO/tao/Profile.h
@@ -29,6 +29,7 @@ class TAO_MProfile;
class TAO_Stub;
class TAO_Endpoint;
class TAO_ORB_Core;
+class TAO_Target_Specification;
/**
* @class TAO_Profile
@@ -159,6 +160,13 @@ public:
/// Gets the TAO_MProfile that holds the TAO_Profile instance.
virtual TAO_Stub* the_stub (void);
+ /// Set the target spec to point to the appropriate object in the
+ /// TAO_Profile instance for a request.
+ virtual void request_target_specifier (TAO_Target_Specification &target_spec);
+
+ /// Returns true if this profile can specify multicast endpoints.
+ virtual int supports_multicast (void) const;
+
private:
/// this object keeps ownership of this object
diff --git a/TAO/tao/RTCORBAC.cpp b/TAO/tao/RTCORBAC.cpp
index 144660881da..3af61c9777d 100644
--- a/TAO/tao/RTCORBAC.cpp
+++ b/TAO/tao/RTCORBAC.cpp
@@ -529,7 +529,7 @@ RTCORBA::PriorityModelPolicy_var::operator const ::RTCORBA::PriorityModelPolicy_
return this->ptr_;
}
-RTCORBA::PriorityModelPolicy_var::operator ::RTCORBA::PriorityModelPolicy_ptr &() // cast
+RTCORBA::PriorityModelPolicy_var::operator ::RTCORBA::PriorityModelPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -796,7 +796,7 @@ RTCORBA::ThreadpoolPolicy_var::operator const ::RTCORBA::ThreadpoolPolicy_ptr &(
return this->ptr_;
}
-RTCORBA::ThreadpoolPolicy_var::operator ::RTCORBA::ThreadpoolPolicy_ptr &() // cast
+RTCORBA::ThreadpoolPolicy_var::operator ::RTCORBA::ThreadpoolPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1059,7 +1059,7 @@ RTCORBA::ProtocolProperties_var::operator const ::RTCORBA::ProtocolProperties_pt
return this->ptr_;
}
-RTCORBA::ProtocolProperties_var::operator ::RTCORBA::ProtocolProperties_ptr &() // cast
+RTCORBA::ProtocolProperties_var::operator ::RTCORBA::ProtocolProperties_ptr &() // cast
{
return this->ptr_;
}
@@ -1410,7 +1410,7 @@ RTCORBA::ServerProtocolPolicy_var::operator const ::RTCORBA::ServerProtocolPolic
return this->ptr_;
}
-RTCORBA::ServerProtocolPolicy_var::operator ::RTCORBA::ServerProtocolPolicy_ptr &() // cast
+RTCORBA::ServerProtocolPolicy_var::operator ::RTCORBA::ServerProtocolPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1677,7 +1677,7 @@ RTCORBA::ClientProtocolPolicy_var::operator const ::RTCORBA::ClientProtocolPolic
return this->ptr_;
}
-RTCORBA::ClientProtocolPolicy_var::operator ::RTCORBA::ClientProtocolPolicy_ptr &() // cast
+RTCORBA::ClientProtocolPolicy_var::operator ::RTCORBA::ClientProtocolPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -1944,7 +1944,7 @@ RTCORBA::PrivateConnectionPolicy_var::operator const ::RTCORBA::PrivateConnectio
return this->ptr_;
}
-RTCORBA::PrivateConnectionPolicy_var::operator ::RTCORBA::PrivateConnectionPolicy_ptr &() // cast
+RTCORBA::PrivateConnectionPolicy_var::operator ::RTCORBA::PrivateConnectionPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -2206,7 +2206,7 @@ RTCORBA::TCPProtocolProperties_var::operator const ::RTCORBA::TCPProtocolPropert
return this->ptr_;
}
-RTCORBA::TCPProtocolProperties_var::operator ::RTCORBA::TCPProtocolProperties_ptr &() // cast
+RTCORBA::TCPProtocolProperties_var::operator ::RTCORBA::TCPProtocolProperties_ptr &() // cast
{
return this->ptr_;
}
@@ -2484,7 +2484,7 @@ RTCORBA::GIOPProtocolProperties_var::operator const ::RTCORBA::GIOPProtocolPrope
return this->ptr_;
}
-RTCORBA::GIOPProtocolProperties_var::operator ::RTCORBA::GIOPProtocolProperties_ptr &() // cast
+RTCORBA::GIOPProtocolProperties_var::operator ::RTCORBA::GIOPProtocolProperties_ptr &() // cast
{
return this->ptr_;
}
@@ -2747,7 +2747,7 @@ RTCORBA::UnixDomainProtocolProperties_var::operator const ::RTCORBA::UnixDomainP
return this->ptr_;
}
-RTCORBA::UnixDomainProtocolProperties_var::operator ::RTCORBA::UnixDomainProtocolProperties_ptr &() // cast
+RTCORBA::UnixDomainProtocolProperties_var::operator ::RTCORBA::UnixDomainProtocolProperties_ptr &() // cast
{
return this->ptr_;
}
@@ -3010,7 +3010,7 @@ RTCORBA::SharedMemoryProtocolProperties_var::operator const ::RTCORBA::SharedMem
return this->ptr_;
}
-RTCORBA::SharedMemoryProtocolProperties_var::operator ::RTCORBA::SharedMemoryProtocolProperties_ptr &() // cast
+RTCORBA::SharedMemoryProtocolProperties_var::operator ::RTCORBA::SharedMemoryProtocolProperties_ptr &() // cast
{
return this->ptr_;
}
@@ -3564,7 +3564,7 @@ RTCORBA::PriorityBandedConnectionPolicy_var::operator const ::RTCORBA::PriorityB
return this->ptr_;
}
-RTCORBA::PriorityBandedConnectionPolicy_var::operator ::RTCORBA::PriorityBandedConnectionPolicy_ptr &() // cast
+RTCORBA::PriorityBandedConnectionPolicy_var::operator ::RTCORBA::PriorityBandedConnectionPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -3827,7 +3827,7 @@ RTCORBA::Current_var::operator const ::RTCORBA::Current_ptr &() const // cast
return this->ptr_;
}
-RTCORBA::Current_var::operator ::RTCORBA::Current_ptr &() // cast
+RTCORBA::Current_var::operator ::RTCORBA::Current_ptr &() // cast
{
return this->ptr_;
}
@@ -4090,7 +4090,7 @@ RTCORBA::Mutex_var::operator const ::RTCORBA::Mutex_ptr &() const // cast
return this->ptr_;
}
-RTCORBA::Mutex_var::operator ::RTCORBA::Mutex_ptr &() // cast
+RTCORBA::Mutex_var::operator ::RTCORBA::Mutex_ptr &() // cast
{
return this->ptr_;
}
@@ -4341,7 +4341,7 @@ RTCORBA::RTORB_var::operator const ::RTCORBA::RTORB_ptr &() const // cast
return this->ptr_;
}
-RTCORBA::RTORB_var::operator ::RTCORBA::RTORB_ptr &() // cast
+RTCORBA::RTORB_var::operator ::RTCORBA::RTORB_ptr &() // cast
{
return this->ptr_;
}
diff --git a/TAO/tao/RTCORBAC.h b/TAO/tao/RTCORBAC.h
index 48afee82a7d..2b7f94b1088 100644
--- a/TAO/tao/RTCORBAC.h
+++ b/TAO/tao/RTCORBAC.h
@@ -338,7 +338,7 @@ TAO_NAMESPACE RTCORBA
static PriorityModelPolicy_ptr nil (void);
static PriorityModelPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
PriorityModelPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -477,7 +477,7 @@ class TAO_Export PriorityModelPolicy: public virtual CORBA::Policy
static ThreadpoolPolicy_ptr nil (void);
static ThreadpoolPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ThreadpoolPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -606,7 +606,7 @@ class TAO_Export ThreadpoolPolicy: public virtual CORBA::Policy
static ProtocolProperties_ptr nil (void);
static ProtocolProperties_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ProtocolProperties_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -947,7 +947,7 @@ class TAO_Export ProtocolProperties : public virtual CORBA_Object,
static ServerProtocolPolicy_ptr nil (void);
static ServerProtocolPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ServerProtocolPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1078,7 +1078,7 @@ class TAO_Export ServerProtocolPolicy: public virtual CORBA::Policy
static ClientProtocolPolicy_ptr nil (void);
static ClientProtocolPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ClientProtocolPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1209,7 +1209,7 @@ class TAO_Export ClientProtocolPolicy: public virtual CORBA::Policy
static PrivateConnectionPolicy_ptr nil (void);
static PrivateConnectionPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
PrivateConnectionPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1330,7 +1330,7 @@ class TAO_Export PrivateConnectionPolicy: public virtual CORBA::Policy
static TCPProtocolProperties_ptr nil (void);
static TCPProtocolProperties_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
TCPProtocolProperties_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1536,7 +1536,7 @@ class TAO_Export TCPProtocolProperties: public virtual ProtocolProperties
static GIOPProtocolProperties_ptr nil (void);
static GIOPProtocolProperties_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
GIOPProtocolProperties_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1657,7 +1657,7 @@ class TAO_Export GIOPProtocolProperties: public virtual ProtocolProperties
static UnixDomainProtocolProperties_ptr nil (void);
static UnixDomainProtocolProperties_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
UnixDomainProtocolProperties_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -1812,7 +1812,7 @@ class TAO_Export UnixDomainProtocolProperties: public virtual ProtocolProperties
static SharedMemoryProtocolProperties_ptr nil (void);
static SharedMemoryProtocolProperties_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
SharedMemoryProtocolProperties_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2189,7 +2189,7 @@ class TAO_Export SharedMemoryProtocolProperties: public virtual ProtocolProperti
static PriorityBandedConnectionPolicy_ptr nil (void);
static PriorityBandedConnectionPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
PriorityBandedConnectionPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2318,7 +2318,7 @@ class TAO_Export PriorityBandedConnectionPolicy: public virtual CORBA::Policy
static Current_ptr nil (void);
static Current_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
Current_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2456,7 +2456,7 @@ class TAO_Export Current: public virtual CORBA::Current
static Mutex_ptr nil (void);
static Mutex_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
Mutex_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -2602,7 +2602,7 @@ class TAO_Export Mutex : public virtual CORBA_Object
static RTORB_ptr nil (void);
static RTORB_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
RTORB_ptr ptr_;
// Unimplemented - prevents widening assignment.
diff --git a/TAO/tao/RT_CORBA.h b/TAO/tao/RT_CORBA.h
index 510bb07868e..b3d4479aede 100644
--- a/TAO/tao/RT_CORBA.h
+++ b/TAO/tao/RT_CORBA.h
@@ -8,7 +8,7 @@
*
* Include all the required headers to use RT CORBA easily.
*
- * @author Carlos O'Ryan <coryan@uci.edu>
+ * @author Carlos O'Ryan <coryan@uci.edu>
*/
// ================================================================
diff --git a/TAO/tao/Remote_Object_Proxy_Impl.cpp b/TAO/tao/Remote_Object_Proxy_Impl.cpp
index 9953a9b6210..702ecb5b809 100644
--- a/TAO/tao/Remote_Object_Proxy_Impl.cpp
+++ b/TAO/tao/Remote_Object_Proxy_Impl.cpp
@@ -93,7 +93,7 @@ TAO_Remote_Object_Proxy_Impl::_is_a (const CORBA::Object_ptr target,
#if (TAO_HAS_MINIMUM_CORBA == 0)
-CORBA::Boolean
+CORBA::Boolean
TAO_Remote_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target,
CORBA_Environment &ACE_TRY_ENV)
{
diff --git a/TAO/tao/Request_Dispatcher.cpp b/TAO/tao/Request_Dispatcher.cpp
new file mode 100644
index 00000000000..78004b7ad6d
--- /dev/null
+++ b/TAO/tao/Request_Dispatcher.cpp
@@ -0,0 +1,45 @@
+// $Id$
+
+#include "Request_Dispatcher.h"
+#include "TAO_Server_Request.h"
+#include "ORB_Core.h"
+
+ACE_RCSID(tao, GIOP_Message_Base, "$Id$")
+
+TAO_Request_Dispatcher::~TAO_Request_Dispatcher (void)
+{
+}
+
+void
+TAO_Request_Dispatcher::dispatch (TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ void *context,
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Dispatch based on object key
+
+ if (request.profile_has_dispatch_info ())
+ {
+ // Get the IOP::Tagged profile.
+ IOP::TaggedProfile &tagged_profile =
+ request.profile ().tagged_profile ();
+
+ // Extract the object key from the TaggedProfile.
+ if (request.profile ().extract_object_key (tagged_profile) != 1)
+ {
+ ACE_TRY_THROW (CORBA::MARSHAL (TAO_DEFAULT_MINOR_CODE,
+ CORBA::COMPLETED_NO));
+ }
+ }
+
+ // Dispatch.
+ orb_core->adapter_registry ()->dispatch (request.object_key (),
+ request,
+ context,
+ forward_to,
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+}
+
diff --git a/TAO/tao/Request_Dispatcher.h b/TAO/tao/Request_Dispatcher.h
new file mode 100644
index 00000000000..ccbf8ab4e90
--- /dev/null
+++ b/TAO/tao/Request_Dispatcher.h
@@ -0,0 +1,49 @@
+//-*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Request_Dispatcher.h
+ *
+ * $Id$
+ *
+ * A class that strategizes the request dispatching procedure.
+ *
+ * @author Frank Hunleth <fhunleth@cs.wustl.edu>
+ */
+//=============================================================================
+
+
+#ifndef TAO_REQUEST_DISPATCHER_H
+#define TAO_REQUEST_DISPATCHER_H
+#include "ace/pre.h"
+
+#include "tao/Object_KeyC.h"
+#include "tao/IOPC.h"
+
+
+/**
+ * @class TAO_Request_Dispatcher
+ *
+ * @brief A class that strategizes the request dispatching procedure.
+ *
+ */
+class TAO_Export TAO_Request_Dispatcher
+{
+public:
+ /// Destructor.
+ virtual ~TAO_Request_Dispatcher (void);
+
+ /**
+ * Dispatch a request.
+ */
+ virtual void dispatch (TAO_ORB_Core *orb_core,
+ TAO_ServerRequest &request,
+ void *context, /* unused? */
+ CORBA::Object_out forward_to,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+};
+
+#include "ace/post.h"
+#endif /* TAO_REQUEST_DISPATCHER_H */
diff --git a/TAO/tao/Sequence.cpp b/TAO/tao/Sequence.cpp
index 7f6ba1d9432..2043677dbc4 100644
--- a/TAO/tao/Sequence.cpp
+++ b/TAO/tao/Sequence.cpp
@@ -197,7 +197,7 @@ TAO_Unbounded_String_Sequence::get_buffer (CORBA::Boolean orphan)
{
result = allocbuf (this->length_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
else
{
@@ -432,7 +432,7 @@ TAO_Unbounded_WString_Sequence::get_buffer (CORBA::Boolean orphan)
{
result = allocbuf (this->length_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
else
{
diff --git a/TAO/tao/Sequence.i b/TAO/tao/Sequence.i
index bd1078e1deb..0bdaf1a7639 100644
--- a/TAO/tao/Sequence.i
+++ b/TAO/tao/Sequence.i
@@ -268,7 +268,7 @@ TAO_Unbounded_Sequence<CORBA::Octet>::get_buffer (CORBA::Boolean orphan)
// The buffer was not allocated, we must allocate it now.
result = TAO_Unbounded_Sequence<CORBA::Octet>::allocbuf (this->length_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
else
{
diff --git a/TAO/tao/Sequence_T.cpp b/TAO/tao/Sequence_T.cpp
index ca69fd4abfe..2ac8494ce00 100644
--- a/TAO/tao/Sequence_T.cpp
+++ b/TAO/tao/Sequence_T.cpp
@@ -1057,8 +1057,8 @@ TAO_Unbounded_Array_Sequence<T, T_var>::allocbuf (CORBA::ULong nelems)
{
T *buf = 0;
- ACE_NEW_RETURN (buf,
- T[nelems],
+ ACE_NEW_RETURN (buf,
+ T[nelems],
0);
return buf;
@@ -1223,8 +1223,8 @@ TAO_Bounded_Array_Sequence<T, T_var, MAX>::allocbuf (CORBA::ULong)
{
T *buf = 0;
- ACE_NEW_RETURN (buf,
- T[MAX],
+ ACE_NEW_RETURN (buf,
+ T[MAX],
0);
return buf;
diff --git a/TAO/tao/Sequence_T.i b/TAO/tao/Sequence_T.i
index c747c35ab7d..ed675523f6e 100644
--- a/TAO/tao/Sequence_T.i
+++ b/TAO/tao/Sequence_T.i
@@ -51,20 +51,20 @@ TAO_Unbounded_Sequence<T>::get_buffer (CORBA::Boolean orphan)
{
result = TAO_Unbounded_Sequence<T>::allocbuf (this->length_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
}
else
{
result =
- ACE_reinterpret_cast (T*,
- this->buffer_);
+ ACE_reinterpret_cast (T*,
+ this->buffer_);
}
}
else // if (orphan == 1)
{
result = ACE_reinterpret_cast (T*,
- this->buffer_);
+ this->buffer_);
if (this->release_ != 0)
{
@@ -145,7 +145,7 @@ TAO_Bounded_Sequence<T, MAX>::get_buffer (CORBA::Boolean orphan)
{
result = TAO_Bounded_Sequence<T,MAX>::allocbuf (this->maximum_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
else
{
@@ -523,19 +523,19 @@ TAO_Unbounded_Array_Sequence<T, T_var>::get_buffer (CORBA::Boolean orphan)
{
if (this->length_ > 0)
{
- result =
- TAO_Unbounded_Array_Sequence<T, T_var>::allocbuf (
+ result =
+ TAO_Unbounded_Array_Sequence<T, T_var>::allocbuf (
this->length_
);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
}
else
{
result =
- ACE_reinterpret_cast (T*,
- this->buffer_);
+ ACE_reinterpret_cast (T*,
+ this->buffer_);
}
}
else // if (orphan == 1)
@@ -545,7 +545,7 @@ TAO_Unbounded_Array_Sequence<T, T_var>::get_buffer (CORBA::Boolean orphan)
// We set the state back to default and relinquish
// ownership.
result = ACE_reinterpret_cast (T*,
- this->buffer_);
+ this->buffer_);
this->maximum_ = 0;
this->length_ = 0;
this->buffer_ = 0;
@@ -558,13 +558,13 @@ TAO_Unbounded_Array_Sequence<T, T_var>::get_buffer (CORBA::Boolean orphan)
template <class T, class T_var> ACE_INLINE const T *
TAO_Unbounded_Array_Sequence<T, T_var>::get_buffer (void) const
{
- return ACE_reinterpret_cast (const T * ACE_CAST_CONST,
+ return ACE_reinterpret_cast (const T * ACE_CAST_CONST,
this->buffer_);
}
template <class T, class T_var> ACE_INLINE void
TAO_Unbounded_Array_Sequence<T, T_var>::replace (CORBA::ULong max,
- CORBA::ULong length,
+ CORBA::ULong length,
T *data,
CORBA::Boolean release)
{
@@ -643,10 +643,10 @@ TAO_Bounded_Array_Sequence<T, T_var, MAX>::get_buffer (CORBA::Boolean orphan)
if (this->buffer_ == 0)
{
- result =
- TAO_Bounded_Array_Sequence<T, T_var, MAX>::allocbuf (this->maximum_);
+ result =
+ TAO_Bounded_Array_Sequence<T, T_var, MAX>::allocbuf (this->maximum_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
else
{
@@ -673,7 +673,7 @@ TAO_Bounded_Array_Sequence<T, T_var, MAX>::get_buffer (CORBA::Boolean orphan)
template <class T, class T_var, size_t MAX> ACE_INLINE const T *
TAO_Bounded_Array_Sequence<T, T_var, MAX>::get_buffer (void) const
{
- return ACE_reinterpret_cast (const T * ACE_CAST_CONST,
+ return ACE_reinterpret_cast (const T * ACE_CAST_CONST,
this->buffer_);
}
@@ -687,7 +687,7 @@ TAO_Bounded_Array_Sequence<T, T_var, MAX>::replace (CORBA::ULong max,
this->length_ = length;
if (this->buffer_ && this->release_ == 1)
{
- T* tmp = ACE_reinterpret_cast (T*,
+ T* tmp = ACE_reinterpret_cast (T*,
this->buffer_);
TAO_Bounded_Array_Sequence<T, T_var, MAX>::freebuf (tmp);
}
diff --git a/TAO/tao/Services.i b/TAO/tao/Services.i
index c34f12520da..77a9bea77cb 100644
--- a/TAO/tao/Services.i
+++ b/TAO/tao/Services.i
@@ -68,20 +68,20 @@ ACE_INLINE CORBA_ServiceDetail *
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceDetail_var::operator const CORBA_ServiceDetail &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
- CORBA_ServiceDetail_var::operator CORBA_ServiceDetail &() // cast
+ACE_INLINE
+ CORBA_ServiceDetail_var::operator CORBA_ServiceDetail &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
- CORBA_ServiceDetail_var::operator CORBA_ServiceDetail &() const// cast
+ACE_INLINE
+ CORBA_ServiceDetail_var::operator CORBA_ServiceDetail &() const// cast
{
return *this->ptr_;
}
@@ -98,7 +98,7 @@ ACE_INLINE CORBA_ServiceDetail &
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE CORBA_ServiceDetail *&
CORBA_ServiceDetail_var::out (void)
{
@@ -159,7 +159,7 @@ CORBA_ServiceDetail_out::operator= (CORBA_ServiceDetail *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceDetail_out::operator CORBA_ServiceDetail *&() // cast
{
return this->ptr_;
@@ -241,20 +241,20 @@ CORBA_ServiceDetail::_tao_seq_Octet_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceDetail::_tao_seq_Octet_var::operator const CORBA_ServiceDetail::_tao_seq_Octet &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceDetail::_tao_seq_Octet_var::operator CORBA_ServiceDetail::_tao_seq_Octet &() // cast
+ACE_INLINE
+CORBA_ServiceDetail::_tao_seq_Octet_var::operator CORBA_ServiceDetail::_tao_seq_Octet &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceDetail::_tao_seq_Octet_var::operator CORBA_ServiceDetail::_tao_seq_Octet &() const// cast
+ACE_INLINE
+CORBA_ServiceDetail::_tao_seq_Octet_var::operator CORBA_ServiceDetail::_tao_seq_Octet &() const// cast
{
return *this->ptr_;
}
@@ -277,7 +277,7 @@ CORBA_ServiceDetail::_tao_seq_Octet_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE CORBA_ServiceDetail::_tao_seq_Octet *&
CORBA_ServiceDetail::_tao_seq_Octet_var::out (void)
{
@@ -338,7 +338,7 @@ CORBA_ServiceDetail::_tao_seq_Octet_out::operator= (CORBA_ServiceDetail::_tao_se
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceDetail::_tao_seq_Octet_out::operator CORBA_ServiceDetail::_tao_seq_Octet *&() // cast
{
return this->ptr_;
@@ -425,20 +425,20 @@ CORBA_ServiceInformation_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceInformation_var::operator const CORBA_ServiceInformation &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceInformation_var::operator CORBA_ServiceInformation &() // cast
+ACE_INLINE
+CORBA_ServiceInformation_var::operator CORBA_ServiceInformation &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceInformation_var::operator CORBA_ServiceInformation &() const// cast
+ACE_INLINE
+CORBA_ServiceInformation_var::operator CORBA_ServiceInformation &() const// cast
{
return *this->ptr_;
}
@@ -455,7 +455,7 @@ CORBA_ServiceInformation_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE CORBA_ServiceInformation *&
CORBA_ServiceInformation_var::out (void)
{
@@ -516,7 +516,7 @@ CORBA_ServiceInformation_out::operator= (CORBA_ServiceInformation *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceInformation_out::operator CORBA_ServiceInformation *&() // cast
{
return this->ptr_;
@@ -536,7 +536,7 @@ CORBA_ServiceInformation_out::operator-> (void)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_
@@ -547,24 +547,24 @@ CORBA_ServiceInformation_out::operator-> (void)
{
return new CORBA::ULong[size];
}
-
+
ACE_INLINE void CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::freebuf (CORBA::ULong *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (void) // Default constructor.
{
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (maximum))
{
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (CORBA::ULong maximum,
CORBA::ULong length,
@@ -573,7 +573,7 @@ CORBA_ServiceInformation_out::operator-> (void)
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &rhs)
// Copy constructor.
@@ -581,20 +581,20 @@ CORBA_ServiceInformation_out::operator-> (void)
{
CORBA::ULong *tmp1 = CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (this->maximum_);
CORBA::ULong * const tmp2 = ACE_reinterpret_cast (CORBA::ULong * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
-
+
ACE_INLINE CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::operator= (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -607,18 +607,18 @@ CORBA_ServiceInformation_out::operator-> (void)
}
else
this->buffer_ = CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
CORBA::ULong *tmp1 = ACE_reinterpret_cast (CORBA::ULong *, this->buffer_);
CORBA::ULong * const tmp2 = ACE_reinterpret_cast (CORBA::ULong * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE CORBA::ULong &
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::operator[] (CORBA::ULong i)
@@ -628,7 +628,7 @@ CORBA_ServiceInformation_out::operator-> (void)
CORBA::ULong* tmp = ACE_reinterpret_cast(CORBA::ULong*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const CORBA::ULong &
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::operator[] (CORBA::ULong i) const
// operator []
@@ -637,9 +637,9 @@ CORBA_ServiceInformation_out::operator-> (void)
CORBA::ULong * const tmp = ACE_reinterpret_cast (CORBA::ULong* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE CORBA::ULong *
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::get_buffer (CORBA::Boolean orphan)
{
@@ -651,7 +651,7 @@ CORBA_ServiceInformation_out::operator-> (void)
{
result = CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::allocbuf (this->length_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
else
{
@@ -673,13 +673,13 @@ CORBA_ServiceInformation_out::operator-> (void)
}
return result;
}
-
+
ACE_INLINE const CORBA::ULong *
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::get_buffer (void) const
{
return ACE_reinterpret_cast(const CORBA::ULong * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceOption::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -696,11 +696,11 @@ CORBA_ServiceInformation_out::operator-> (void)
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_)
#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEOPTION_CI_
@@ -765,20 +765,20 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceInformation::_tao_seq_ServiceOption_var::operator const CORBA_ServiceInformation::_tao_seq_ServiceOption &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceInformation::_tao_seq_ServiceOption_var::operator CORBA_ServiceInformation::_tao_seq_ServiceOption &() // cast
+ACE_INLINE
+CORBA_ServiceInformation::_tao_seq_ServiceOption_var::operator CORBA_ServiceInformation::_tao_seq_ServiceOption &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceInformation::_tao_seq_ServiceOption_var::operator CORBA_ServiceInformation::_tao_seq_ServiceOption &() const// cast
+ACE_INLINE
+CORBA_ServiceInformation::_tao_seq_ServiceOption_var::operator CORBA_ServiceInformation::_tao_seq_ServiceOption &() const// cast
{
return *this->ptr_;
}
@@ -801,7 +801,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE CORBA_ServiceInformation::_tao_seq_ServiceOption *&
CORBA_ServiceInformation::_tao_seq_ServiceOption_var::out (void)
{
@@ -862,7 +862,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator= (CORBA_ServiceIn
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator CORBA_ServiceInformation::_tao_seq_ServiceOption *&() // cast
{
return this->ptr_;
@@ -891,7 +891,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_
@@ -902,24 +902,24 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
{
return new CORBA_ServiceDetail[size];
}
-
+
ACE_INLINE void CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::freebuf (CORBA::ServiceDetail *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (void) // Default constructor.
{
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (maximum))
{
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (CORBA::ULong maximum,
CORBA::ULong length,
@@ -928,7 +928,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &rhs)
// Copy constructor.
@@ -936,20 +936,20 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
{
CORBA_ServiceDetail *tmp1 = CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (this->maximum_);
CORBA_ServiceDetail * const tmp2 = ACE_reinterpret_cast (CORBA_ServiceDetail * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
-
+
ACE_INLINE CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::operator= (const CORBA::ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -962,18 +962,18 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
}
else
this->buffer_ = CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
CORBA_ServiceDetail *tmp1 = ACE_reinterpret_cast (CORBA_ServiceDetail *, this->buffer_);
CORBA_ServiceDetail * const tmp2 = ACE_reinterpret_cast (CORBA_ServiceDetail * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE CORBA_ServiceDetail &
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::operator[] (CORBA::ULong i)
@@ -983,7 +983,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
CORBA_ServiceDetail* tmp = ACE_reinterpret_cast(CORBA_ServiceDetail*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const CORBA_ServiceDetail &
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::operator[] (CORBA::ULong i) const
// operator []
@@ -992,9 +992,9 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
CORBA_ServiceDetail * const tmp = ACE_reinterpret_cast (CORBA_ServiceDetail* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE CORBA_ServiceDetail *
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::get_buffer (CORBA::Boolean orphan)
{
@@ -1006,7 +1006,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
{
result = CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::allocbuf (this->length_);
this->buffer_ = result;
- this->release_ = 1;
+ this->release_ = 1;
}
else
{
@@ -1028,13 +1028,13 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
}
return result;
}
-
+
ACE_INLINE const CORBA_ServiceDetail *
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::get_buffer (void) const
{
return ACE_reinterpret_cast(const CORBA_ServiceDetail * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
CORBA_ServiceInformation::_TAO_Unbounded_Sequence_CORBA_ServiceInformation__tao_seq_ServiceDetail::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -1051,11 +1051,11 @@ CORBA_ServiceInformation::_tao_seq_ServiceOption_out::operator[] (CORBA::ULong s
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_)
#define _CORBA_SERVICEINFORMATION__TAO_SEQ_SERVICEDETAIL_CI_
@@ -1120,20 +1120,20 @@ CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::operator const CORBA_ServiceInformation::_tao_seq_ServiceDetail &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::operator CORBA_ServiceInformation::_tao_seq_ServiceDetail &() // cast
+ACE_INLINE
+CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::operator CORBA_ServiceInformation::_tao_seq_ServiceDetail &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::operator CORBA_ServiceInformation::_tao_seq_ServiceDetail &() const// cast
+ACE_INLINE
+CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::operator CORBA_ServiceInformation::_tao_seq_ServiceDetail &() const// cast
{
return *this->ptr_;
}
@@ -1156,7 +1156,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE CORBA_ServiceInformation::_tao_seq_ServiceDetail *&
CORBA_ServiceInformation::_tao_seq_ServiceDetail_var::out (void)
{
@@ -1217,7 +1217,7 @@ CORBA_ServiceInformation::_tao_seq_ServiceDetail_out::operator= (CORBA_ServiceIn
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_ServiceInformation::_tao_seq_ServiceDetail_out::operator CORBA_ServiceInformation::_tao_seq_ServiceDetail *&() // cast
{
return this->ptr_;
diff --git a/TAO/tao/Strategies/SHMIOP_Endpoint.cpp b/TAO/tao/Strategies/SHMIOP_Endpoint.cpp
index ad826bc9b4c..a36791a603a 100644
--- a/TAO/tao/Strategies/SHMIOP_Endpoint.cpp
+++ b/TAO/tao/Strategies/SHMIOP_Endpoint.cpp
@@ -150,7 +150,7 @@ TAO_SHMIOP_Endpoint::next (void)
}
TAO_Endpoint *
-TAO_SHMIOP_Endpoint::duplicate (void)
+TAO_SHMIOP_Endpoint::duplicate (void) const
{
TAO_SHMIOP_Endpoint *endpoint = 0;
ACE_NEW_RETURN (endpoint,
diff --git a/TAO/tao/Strategies/SHMIOP_Endpoint.h b/TAO/tao/Strategies/SHMIOP_Endpoint.h
index 19200df4c1a..d45212a4351 100644
--- a/TAO/tao/Strategies/SHMIOP_Endpoint.h
+++ b/TAO/tao/Strategies/SHMIOP_Endpoint.h
@@ -85,7 +85,7 @@ public:
virtual TAO_Endpoint *next (void);
virtual int addr_to_string (char *buffer, size_t length);
virtual void reset_hint (void);
- virtual TAO_Endpoint *duplicate (void);
+ virtual TAO_Endpoint *duplicate (void) const;
// Return a copy of <this>
CORBA::Boolean is_equivalent (const TAO_Endpoint *other_endpoint);
diff --git a/TAO/tao/Strategies/UIOP_Endpoint.cpp b/TAO/tao/Strategies/UIOP_Endpoint.cpp
index 2114bf893da..5e87a0f6dcc 100644
--- a/TAO/tao/Strategies/UIOP_Endpoint.cpp
+++ b/TAO/tao/Strategies/UIOP_Endpoint.cpp
@@ -56,7 +56,7 @@ TAO_UIOP_Endpoint::next (void)
}
TAO_Endpoint *
-TAO_UIOP_Endpoint::duplicate (void)
+TAO_UIOP_Endpoint::duplicate (void) const
{
TAO_UIOP_Endpoint *endpoint = 0;
ACE_NEW_RETURN (endpoint,
diff --git a/TAO/tao/Strategies/UIOP_Endpoint.h b/TAO/tao/Strategies/UIOP_Endpoint.h
index 2b7a778b167..65190835693 100644
--- a/TAO/tao/Strategies/UIOP_Endpoint.h
+++ b/TAO/tao/Strategies/UIOP_Endpoint.h
@@ -64,7 +64,7 @@ public:
virtual int addr_to_string (char *buffer, size_t length);
virtual void reset_hint (void);
- virtual TAO_Endpoint *duplicate (void);
+ virtual TAO_Endpoint *duplicate (void) const;
// Returns a copy of <this>
CORBA::Boolean is_equivalent (const TAO_Endpoint *other_endpoint);
diff --git a/TAO/tao/StringSeqC.h b/TAO/tao/StringSeqC.h
index 64f43fb52dd..a03af466457 100644
--- a/TAO/tao/StringSeqC.h
+++ b/TAO/tao/StringSeqC.h
@@ -60,25 +60,25 @@
class CORBA_StringSeq;
class CORBA_StringSeq_var;
-
+
// *************************************************************
// CORBA::StringSeq
// *************************************************************
-
- class TAO_Export CORBA_StringSeq : public
+
+ class TAO_Export CORBA_StringSeq : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
TAO_Unbounded_String_Sequence
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_String_Sequence
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
CORBA_StringSeq (void); // default ctor
CORBA_StringSeq (CORBA::ULong max); // uses max size
CORBA_StringSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- char * *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ char * *buffer,
CORBA::Boolean release = 0
);
CORBA_StringSeq (const CORBA_StringSeq &); // copy ctor
@@ -90,7 +90,7 @@
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -108,20 +108,20 @@
CORBA_StringSeq_var (CORBA_StringSeq *);
CORBA_StringSeq_var (const CORBA_StringSeq_var &); // copy constructor
~CORBA_StringSeq_var (void); // destructor
-
+
CORBA_StringSeq_var &operator= (CORBA_StringSeq *);
CORBA_StringSeq_var &operator= (const CORBA_StringSeq_var &);
CORBA_StringSeq *operator-> (void);
const CORBA_StringSeq *operator-> (void) const;
-
+
operator const CORBA_StringSeq &() const;
operator CORBA_StringSeq &();
operator CORBA_StringSeq &() const;
operator CORBA_StringSeq *&(); // variable-size base types only
-
+
TAO_SeqElem_String_Manager operator[] (CORBA::ULong index);
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const CORBA_StringSeq &in (void) const;
CORBA_StringSeq &inout (void);
CORBA_StringSeq *&out (void);
@@ -151,7 +151,7 @@
CORBA_StringSeq *&ptr (void);
CORBA_StringSeq *operator-> (void);
TAO_SeqElem_String_Manager operator[] (CORBA::ULong index);
-
+
private:
CORBA_StringSeq *&ptr_;
// assignment from T_var not allowed
@@ -166,25 +166,25 @@
class CORBA_WStringSeq;
class CORBA_WStringSeq_var;
-
+
// *************************************************************
// CORBA::WStringSeq
// *************************************************************
-
- class TAO_Export CORBA_WStringSeq : public
+
+ class TAO_Export CORBA_WStringSeq : public
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
TAO_Unbounded_WString_Sequence
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_WString_Sequence
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
{
public:
CORBA_WStringSeq (void); // default ctor
CORBA_WStringSeq (CORBA::ULong max); // uses max size
CORBA_WStringSeq (
- CORBA::ULong max,
- CORBA::ULong length,
- CORBA::WChar * *buffer,
+ CORBA::ULong max,
+ CORBA::ULong length,
+ CORBA::WChar * *buffer,
CORBA::Boolean release = 0
);
CORBA_WStringSeq (const CORBA_WStringSeq &); // copy ctor
@@ -196,7 +196,7 @@
#endif /* ! __GNUC__ || g++ >= 2.8 */
};
-
+
#endif /* end #if !defined */
@@ -214,20 +214,20 @@
CORBA_WStringSeq_var (CORBA_WStringSeq *);
CORBA_WStringSeq_var (const CORBA_WStringSeq_var &); // copy constructor
~CORBA_WStringSeq_var (void); // destructor
-
+
CORBA_WStringSeq_var &operator= (CORBA_WStringSeq *);
CORBA_WStringSeq_var &operator= (const CORBA_WStringSeq_var &);
CORBA_WStringSeq *operator-> (void);
const CORBA_WStringSeq *operator-> (void) const;
-
+
operator const CORBA_WStringSeq &() const;
operator CORBA_WStringSeq &();
operator CORBA_WStringSeq &() const;
operator CORBA_WStringSeq *&(); // variable-size base types only
-
+
TAO_SeqElem_WString_Manager operator[] (CORBA::ULong index);
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const CORBA_WStringSeq &in (void) const;
CORBA_WStringSeq &inout (void);
CORBA_WStringSeq *&out (void);
@@ -257,7 +257,7 @@
CORBA_WStringSeq *&ptr (void);
CORBA_WStringSeq *operator-> (void);
TAO_SeqElem_WString_Manager operator[] (CORBA::ULong index);
-
+
private:
CORBA_WStringSeq *&ptr_;
// assignment from T_var not allowed
diff --git a/TAO/tao/StringSeqC.i b/TAO/tao/StringSeqC.i
index ea871fc4a05..2b2b6ccb56a 100644
--- a/TAO/tao/StringSeqC.i
+++ b/TAO/tao/StringSeqC.i
@@ -74,7 +74,7 @@ CORBA_StringSeq_var::operator= (const ::CORBA_StringSeq_var &p)
{
CORBA_StringSeq *deep_copy =
new CORBA_StringSeq (*p.ptr_);
-
+
if (deep_copy != 0)
{
CORBA_StringSeq *tmp = deep_copy;
@@ -84,7 +84,7 @@ CORBA_StringSeq_var::operator= (const ::CORBA_StringSeq_var &p)
}
}
}
-
+
return *this;
}
@@ -100,27 +100,27 @@ CORBA_StringSeq_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_StringSeq_var::operator const ::CORBA_StringSeq &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_StringSeq_var::operator ::CORBA_StringSeq &() // cast
+ACE_INLINE
+CORBA_StringSeq_var::operator ::CORBA_StringSeq &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_StringSeq_var::operator ::CORBA_StringSeq &() const // cast
+ACE_INLINE
+CORBA_StringSeq_var::operator ::CORBA_StringSeq &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-CORBA_StringSeq_var::operator ::CORBA_StringSeq *&() // cast
+CORBA_StringSeq_var::operator ::CORBA_StringSeq *&() // cast
{
return this->ptr_;
}
@@ -143,7 +143,7 @@ CORBA_StringSeq_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::CORBA_StringSeq *&
CORBA_StringSeq_var::out (void)
{
@@ -204,7 +204,7 @@ CORBA_StringSeq_out::operator= (CORBA_StringSeq *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_StringSeq_out::operator ::CORBA_StringSeq *&() // cast
{
return this->ptr_;
@@ -286,7 +286,7 @@ CORBA_WStringSeq_var::operator= (const ::CORBA_WStringSeq_var &p)
{
CORBA_WStringSeq *deep_copy =
new CORBA_WStringSeq (*p.ptr_);
-
+
if (deep_copy != 0)
{
CORBA_WStringSeq *tmp = deep_copy;
@@ -296,7 +296,7 @@ CORBA_WStringSeq_var::operator= (const ::CORBA_WStringSeq_var &p)
}
}
}
-
+
return *this;
}
@@ -312,27 +312,27 @@ CORBA_WStringSeq_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
CORBA_WStringSeq_var::operator const ::CORBA_WStringSeq &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_WStringSeq_var::operator ::CORBA_WStringSeq &() // cast
+ACE_INLINE
+CORBA_WStringSeq_var::operator ::CORBA_WStringSeq &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-CORBA_WStringSeq_var::operator ::CORBA_WStringSeq &() const // cast
+ACE_INLINE
+CORBA_WStringSeq_var::operator ::CORBA_WStringSeq &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-CORBA_WStringSeq_var::operator ::CORBA_WStringSeq *&() // cast
+CORBA_WStringSeq_var::operator ::CORBA_WStringSeq *&() // cast
{
return this->ptr_;
}
@@ -355,7 +355,7 @@ CORBA_WStringSeq_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::CORBA_WStringSeq *&
CORBA_WStringSeq_var::out (void)
{
@@ -416,7 +416,7 @@ CORBA_WStringSeq_out::operator= (CORBA_WStringSeq *p)
return *this;
}
-ACE_INLINE
+ACE_INLINE
CORBA_WStringSeq_out::operator ::CORBA_WStringSeq *&() // cast
{
return this->ptr_;
diff --git a/TAO/tao/Sync_Strategies.h b/TAO/tao/Sync_Strategies.h
index dcbc524a5a7..39ee0e2e2ec 100644
--- a/TAO/tao/Sync_Strategies.h
+++ b/TAO/tao/Sync_Strategies.h
@@ -111,8 +111,8 @@ private:
* @return Returns 1 if the deadline has already expired and
* flushing must commence immediately. If the function
* returns 0 then flushing may need to be delayed, use @c
- * set_timer and
- *
+ * set_timer and
+ *
*/
int timer_check (const TAO::BufferingConstraint &buffering_constraint,
const ACE_Time_Value &current_deadline,
diff --git a/TAO/tao/TAO.dsp b/TAO/tao/TAO.dsp
index e1ae786dc73..8e217a6eddd 100644
--- a/TAO/tao/TAO.dsp
+++ b/TAO/tao/TAO.dsp
@@ -635,6 +635,10 @@ SOURCE=.\Pool_Per_Endpoint.cpp
# End Source File
# Begin Source File
+SOURCE=.\PortableGroup_Adapter.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\PortableInterceptor.cpp
# End Source File
# Begin Source File
@@ -695,6 +699,10 @@ SOURCE=.\Reply_Dispatcher.cpp
# End Source File
# Begin Source File
+SOURCE=.\Request_Dispatcher.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\RequestInfo_Util.cpp
# End Source File
# Begin Source File
@@ -1435,6 +1443,10 @@ SOURCE=.\Pool_Per_Endpoint.h
# End Source File
# Begin Source File
+SOURCE=.\PortableGroup_Adapter.h
+# End Source File
+# Begin Source File
+
SOURCE=.\PortableInterceptor.h
# End Source File
# Begin Source File
@@ -1499,6 +1511,10 @@ SOURCE=.\Reply_Dispatcher.h
# End Source File
# Begin Source File
+SOURCE=.\Request_Dispatcher.h
+# End Source File
+# Begin Source File
+
SOURCE=.\RequestInfo_Util.h
# End Source File
# Begin Source File
diff --git a/TAO/tao/TAOC.cpp b/TAO/tao/TAOC.cpp
index 28e5d674603..bf742efd706 100644
--- a/TAO/tao/TAOC.cpp
+++ b/TAO/tao/TAOC.cpp
@@ -33,21 +33,21 @@ static const CORBA::Long _oc_TAO_PrioritySelectionMode[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
- ACE_NTOHL (0x53656c65),
- ACE_NTOHL (0x6374696f),
- ACE_NTOHL (0x6e4d6f64),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x53656c65),
+ ACE_NTOHL (0x6374696f),
+ ACE_NTOHL (0x6e4d6f64),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:TAO/PrioritySelectionMode:1.0
22,
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
- ACE_NTOHL (0x53656c65),
- ACE_NTOHL (0x6374696f),
- ACE_NTOHL (0x6e4d6f64),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x53656c65),
+ ACE_NTOHL (0x6374696f),
+ ACE_NTOHL (0x6e4d6f64),
ACE_NTOHL (0x65000000), // name = PrioritySelectionMode
CORBA::tk_short,
@@ -82,60 +82,60 @@ static const CORBA::Long _oc_TAO_PrioritySpecification[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
- ACE_NTOHL (0x53706563),
- ACE_NTOHL (0x69666963),
- ACE_NTOHL (0x6174696f),
- ACE_NTOHL (0x6e3a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x53706563),
+ ACE_NTOHL (0x69666963),
+ ACE_NTOHL (0x6174696f),
+ ACE_NTOHL (0x6e3a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:TAO/PrioritySpecification:1.0
22,
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
- ACE_NTOHL (0x53706563),
- ACE_NTOHL (0x69666963),
- ACE_NTOHL (0x6174696f),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x53706563),
+ ACE_NTOHL (0x69666963),
+ ACE_NTOHL (0x6174696f),
ACE_NTOHL (0x6e000000), // name = PrioritySpecification
3, // member count
5,
- ACE_NTOHL (0x6d6f6465),
+ ACE_NTOHL (0x6d6f6465),
ACE_NTOHL (0x0), // name = mode
CORBA::tk_alias, // typecode kind for typedefs
76, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
34,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
- ACE_NTOHL (0x53656c65),
- ACE_NTOHL (0x6374696f),
- ACE_NTOHL (0x6e4d6f64),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x53656c65),
+ ACE_NTOHL (0x6374696f),
+ ACE_NTOHL (0x6e4d6f64),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:TAO/PrioritySelectionMode:1.0
22,
- ACE_NTOHL (0x5072696f),
- ACE_NTOHL (0x72697479),
- ACE_NTOHL (0x53656c65),
- ACE_NTOHL (0x6374696f),
- ACE_NTOHL (0x6e4d6f64),
+ ACE_NTOHL (0x5072696f),
+ ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x53656c65),
+ ACE_NTOHL (0x6374696f),
+ ACE_NTOHL (0x6e4d6f64),
ACE_NTOHL (0x65000000), // name = PrioritySelectionMode
CORBA::tk_short,
13,
- ACE_NTOHL (0x6d696e5f),
- ACE_NTOHL (0x7072696f),
- ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x6d696e5f),
+ ACE_NTOHL (0x7072696f),
+ ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = min_priority
CORBA::tk_short,
13,
- ACE_NTOHL (0x6d61785f),
- ACE_NTOHL (0x7072696f),
- ACE_NTOHL (0x72697479),
+ ACE_NTOHL (0x6d61785f),
+ ACE_NTOHL (0x7072696f),
+ ACE_NTOHL (0x72697479),
ACE_NTOHL (0x0), // name = max_priority
CORBA::tk_short,
@@ -213,7 +213,7 @@ TAO::ClientPriorityPolicy_var::operator const ::TAO::ClientPriorityPolicy_ptr &(
return this->ptr_;
}
-TAO::ClientPriorityPolicy_var::operator ::TAO::ClientPriorityPolicy_ptr &() // cast
+TAO::ClientPriorityPolicy_var::operator ::TAO::ClientPriorityPolicy_ptr &() // cast
{
return this->ptr_;
}
@@ -435,21 +435,21 @@ static const CORBA::Long _oc_TAO_BufferingConstraintMode[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- 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 (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/BufferingConstraintMode:1.0
24,
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e744d),
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e744d),
ACE_NTOHL (0x6f646500), // name = BufferingConstraintMode
CORBA::tk_ushort,
@@ -488,79 +488,79 @@ static const CORBA::Long _oc_TAO_BufferingConstraint[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
32,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e743a),
+ ACE_NTOHL (0x49444c3a),
+ 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/BufferingConstraint:1.0
20,
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
ACE_NTOHL (0x696e7400), // name = BufferingConstraint
4, // member count
5,
- ACE_NTOHL (0x6d6f6465),
+ ACE_NTOHL (0x6d6f6465),
ACE_NTOHL (0x0), // name = mode
CORBA::tk_alias, // typecode kind for typedefs
76, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
36,
- ACE_NTOHL (0x49444c3a),
- 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 (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/BufferingConstraintMode:1.0
24,
- ACE_NTOHL (0x42756666),
- ACE_NTOHL (0x6572696e),
- ACE_NTOHL (0x67436f6e),
- ACE_NTOHL (0x73747261),
- ACE_NTOHL (0x696e744d),
+ ACE_NTOHL (0x42756666),
+ ACE_NTOHL (0x6572696e),
+ ACE_NTOHL (0x67436f6e),
+ ACE_NTOHL (0x73747261),
+ ACE_NTOHL (0x696e744d),
ACE_NTOHL (0x6f646500), // name = BufferingConstraintMode
CORBA::tk_ushort,
8,
- ACE_NTOHL (0x74696d65),
+ ACE_NTOHL (0x74696d65),
ACE_NTOHL (0x6f757400), // name = timeout
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),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
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,
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,
@@ -638,7 +638,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_;
}
@@ -858,15 +858,15 @@ static const CORBA::Long _oc_TAO_SyncScope[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
22,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f2f),
- ACE_NTOHL (0x53796e63),
- ACE_NTOHL (0x53636f70),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f2f),
+ ACE_NTOHL (0x53796e63),
+ ACE_NTOHL (0x53636f70),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:TAO/SyncScope:1.0
10,
- ACE_NTOHL (0x53796e63),
- ACE_NTOHL (0x53636f70),
+ ACE_NTOHL (0x53796e63),
+ ACE_NTOHL (0x53636f70),
ACE_NTOHL (0x65000000), // name = SyncScope
CORBA::tk_short,
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h
index 80b606d27d5..340f4c42bf2 100644
--- a/TAO/tao/TAOC.h
+++ b/TAO/tao/TAOC.h
@@ -189,7 +189,7 @@ TAO_NAMESPACE TAO
static ClientPriorityPolicy_ptr nil (void);
static ClientPriorityPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
ClientPriorityPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
@@ -387,7 +387,7 @@ class TAO_Export ClientPriorityPolicy: public virtual CORBA::Policy
static BufferingConstraintPolicy_ptr nil (void);
static BufferingConstraintPolicy_ptr narrow (CORBA::Object *, CORBA::Environment &);
static CORBA::Object * upcast (void *);
-
+
private:
BufferingConstraintPolicy_ptr ptr_;
// Unimplemented - prevents widening assignment.
diff --git a/TAO/tao/TAOC.i b/TAO/tao/TAOC.i
index 7a7ea6bcb67..d9c71cb313f 100644
--- a/TAO/tao/TAOC.i
+++ b/TAO/tao/TAOC.i
@@ -77,9 +77,9 @@ TAO::PrioritySpecification_var::operator= (const ::TAO::PrioritySpecification_va
}
else
{
- TAO::PrioritySpecification *deep_copy =
+ TAO::PrioritySpecification *deep_copy =
new TAO::PrioritySpecification (*p.ptr_);
-
+
if (deep_copy != 0)
{
TAO::PrioritySpecification *tmp = deep_copy;
@@ -89,7 +89,7 @@ TAO::PrioritySpecification_var::operator= (const ::TAO::PrioritySpecification_va
}
}
}
-
+
return *this;
}
@@ -300,9 +300,9 @@ TAO::BufferingConstraint_var::operator= (const ::TAO::BufferingConstraint_var &p
}
else
{
- TAO::BufferingConstraint *deep_copy =
+ TAO::BufferingConstraint *deep_copy =
new TAO::BufferingConstraint (*p.ptr_);
-
+
if (deep_copy != 0)
{
TAO::BufferingConstraint *tmp = deep_copy;
@@ -312,7 +312,7 @@ TAO::BufferingConstraint_var::operator= (const ::TAO::BufferingConstraint_var &p
}
}
}
-
+
return *this;
}
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp
index 8cdfb474b44..93b93790f46 100644
--- a/TAO/tao/TAO_Internal.cpp
+++ b/TAO/tao/TAO_Internal.cpp
@@ -109,12 +109,12 @@ TAO_Internal::open_services (int &argc, char **argv)
// is set to ENOENT for some reason.
errno = EINVAL;
- ACE_ERROR_RETURN ((LM_ERROR,
+ ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("TAO (%P|%t) Service Configurator ")
- ACE_TEXT ("unable to open file %s\n"),
+ ACE_TEXT ("unable to open file %s\n"),
current_arg),
-1);
-
+
}
else
{
diff --git a/TAO/tao/TAO_Server_Request.cpp b/TAO/tao/TAO_Server_Request.cpp
index 3eed1af8bc7..a02d3b20a1f 100644
--- a/TAO/tao/TAO_Server_Request.cpp
+++ b/TAO/tao/TAO_Server_Request.cpp
@@ -68,7 +68,8 @@ TAO_ServerRequest::TAO_ServerRequest (TAO_Pluggable_Messaging *mesg_base,
requesting_principal_ (0),
is_dsi_ (0),
dsi_nvlist_align_ (0),
- argument_flag_ (1)
+ argument_flag_ (1),
+ profile_has_dispatch_info_ (0)
#if TAO_HAS_INTERCEPTORS == 1
, interceptor_count_ (0)
#endif /* TAO_HAS_INTERCEPTORS == 1 */
@@ -103,7 +104,8 @@ TAO_ServerRequest::TAO_ServerRequest (TAO_Pluggable_Messaging *mesg_base,
requesting_principal_ (0),
is_dsi_ (0),
dsi_nvlist_align_ (0),
- argument_flag_ (1)
+ argument_flag_ (1),
+ profile_has_dispatch_info_ (0)
#if TAO_HAS_INTERCEPTORS == 1
, interceptor_count_ (0)
#endif /* TAO_HAS_INTERCEPTORS == 1 */
diff --git a/TAO/tao/TAO_Server_Request.h b/TAO/tao/TAO_Server_Request.h
index 8d30ee17f2d..369593740db 100644
--- a/TAO/tao/TAO_Server_Request.h
+++ b/TAO/tao/TAO_Server_Request.h
@@ -145,6 +145,12 @@ public:
void request_id (CORBA::ULong req);
//@}
+ /// Get and set the location of the profile dispatch information.
+ //@{
+ CORBA::Boolean profile_has_dispatch_info (void);
+ void profile_has_dispatch_info (CORBA::Boolean yes);
+ //@}
+
/**
* Set the reference to the object the request should be forwarded
* to. This reference will only be used if set prior to calling
@@ -230,6 +236,7 @@ private:
/// 0: anything else
CORBA::Boolean sync_with_server_;
+
// TAO_GIOP_ReplyStatusType exception_type_;
/// Exception type (will be NO_EXCEPTION in the majority of the cases).
CORBA::ULong exception_type_;
@@ -265,6 +272,10 @@ private:
*/
CORBA::Boolean argument_flag_;
+ /// 1: Request dispatch information in tagged profile
+ /// 0: Request dispatch information in object key
+ CORBA::Boolean profile_has_dispatch_info_;
+
#if TAO_HAS_INTERCEPTORS == 1
/// The number of interceptors pushed on to the current interceptor
/// flow stack.
diff --git a/TAO/tao/TAO_Server_Request.i b/TAO/tao/TAO_Server_Request.i
index c79064a782c..ad10cc992af 100644
--- a/TAO/tao/TAO_Server_Request.i
+++ b/TAO/tao/TAO_Server_Request.i
@@ -139,6 +139,19 @@ TAO_ServerRequest::profile (void)
return this->profile_;
}
+ACE_INLINE CORBA::Boolean
+TAO_ServerRequest::profile_has_dispatch_info (void)
+{
+ return this->profile_has_dispatch_info_;
+}
+
+ACE_INLINE void
+TAO_ServerRequest::profile_has_dispatch_info (CORBA::Boolean yes)
+{
+ profile_has_dispatch_info_ = yes;
+}
+
+
ACE_INLINE void
TAO_ServerRequest::forward_location (CORBA::Object_ptr forward_reference)
{
diff --git a/TAO/tao/Tagged_Profile.cpp b/TAO/tao/Tagged_Profile.cpp
index 454895089c5..0636598be90 100644
--- a/TAO/tao/Tagged_Profile.cpp
+++ b/TAO/tao/Tagged_Profile.cpp
@@ -12,32 +12,34 @@
ACE_RCSID(tao, Tagged_Profile, "$Id$")
-CORBA::Boolean
-TAO_Tagged_Profile::extract_object_key (IOP::TaggedProfile &profile)
+
+CORBA::Boolean
+TAO_Tagged_Profile::extract_object_key (IOP::TaggedProfile &profile)
{
// Get our Acceptor registry
- TAO_Acceptor_Registry *acceptor_registry =
+ TAO_Acceptor_Registry *acceptor_registry =
this->orb_core_->acceptor_registry ();
-
+
// Get the right acceptor for the tag in the TaggedProfile
- TAO_Acceptor *acceptor =
+ TAO_Acceptor *acceptor =
acceptor_registry->get_acceptor (profile.tag);
-
+
if (acceptor)
{
// Get the object key
- int retval =
+ int retval =
acceptor->object_key (profile,
this->object_key_);
if (retval == -1)
return 0;
}
- else
+ else
{
if (TAO_debug_level > 0)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("(%P|%t)TAO_Tagged_Profile \n")),
0);
+ return 0;
}
return 1;
diff --git a/TAO/tao/TimeBaseC.cpp b/TAO/tao/TimeBaseC.cpp
index 5dd4986fe9a..ae9e01798fb 100644
--- a/TAO/tao/TimeBaseC.cpp
+++ b/TAO/tao/TimeBaseC.cpp
@@ -40,16 +40,16 @@ static const CORBA::Long _oc_TimeBase_TimeT[] =
{
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),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
CORBA::tk_ulonglong,
@@ -72,34 +72,34 @@ static const CORBA::Long _oc_TimeBase_InaccuracyT[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
37,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x54696d65),
- ACE_NTOHL (0x42617365),
- ACE_NTOHL (0x2f496e61),
- ACE_NTOHL (0x63637572),
- ACE_NTOHL (0x61637954),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x54696d65),
+ ACE_NTOHL (0x42617365),
+ ACE_NTOHL (0x2f496e61),
+ ACE_NTOHL (0x63637572),
+ ACE_NTOHL (0x61637954),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:omg.org/TimeBase/InaccuracyT:1.0
12,
- ACE_NTOHL (0x496e6163),
- ACE_NTOHL (0x63757261),
+ ACE_NTOHL (0x496e6163),
+ ACE_NTOHL (0x63757261),
ACE_NTOHL (0x63795400), // name = InaccuracyT
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),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
CORBA::tk_ulonglong,
@@ -123,16 +123,16 @@ static const CORBA::Long _oc_TimeBase_TdfT[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x54696d65),
- ACE_NTOHL (0x42617365),
- ACE_NTOHL (0x2f546466),
- ACE_NTOHL (0x543a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x54696d65),
+ ACE_NTOHL (0x42617365),
+ ACE_NTOHL (0x2f546466),
+ ACE_NTOHL (0x543a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/TimeBase/TdfT:1.0
5,
- ACE_NTOHL (0x54646654),
+ ACE_NTOHL (0x54646654),
ACE_NTOHL (0x0), // name = TdfT
CORBA::tk_short,
@@ -155,46 +155,46 @@ static const CORBA::Long _oc_TimeBase_UtcT[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x54696d65),
- ACE_NTOHL (0x42617365),
- ACE_NTOHL (0x2f557463),
- ACE_NTOHL (0x543a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x54696d65),
+ ACE_NTOHL (0x42617365),
+ ACE_NTOHL (0x2f557463),
+ ACE_NTOHL (0x543a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/TimeBase/UtcT:1.0
5,
- ACE_NTOHL (0x55746354),
+ ACE_NTOHL (0x55746354),
ACE_NTOHL (0x0), // name = UtcT
4, // member count
5,
- ACE_NTOHL (0x74696d65),
+ ACE_NTOHL (0x74696d65),
ACE_NTOHL (0x0), // name = time
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),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
CORBA::tk_ulonglong,
8,
- ACE_NTOHL (0x696e6163),
+ ACE_NTOHL (0x696e6163),
ACE_NTOHL (0x636c6f00), // name = inacclo
CORBA::tk_ulong,
8,
- ACE_NTOHL (0x696e6163),
+ ACE_NTOHL (0x696e6163),
ACE_NTOHL (0x63686900), // name = inacchi
CORBA::tk_ushort,
@@ -204,16 +204,16 @@ static const CORBA::Long _oc_TimeBase_UtcT[] =
56, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
30,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x54696d65),
- ACE_NTOHL (0x42617365),
- ACE_NTOHL (0x2f546466),
- ACE_NTOHL (0x543a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x54696d65),
+ ACE_NTOHL (0x42617365),
+ ACE_NTOHL (0x2f546466),
+ ACE_NTOHL (0x543a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/TimeBase/TdfT:1.0
5,
- ACE_NTOHL (0x54646654),
+ ACE_NTOHL (0x54646654),
ACE_NTOHL (0x0), // name = TdfT
CORBA::tk_short,
@@ -243,60 +243,60 @@ static const CORBA::Long _oc_TimeBase_IntervalT[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
35,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x6f6d672e),
- ACE_NTOHL (0x6f72672f),
- ACE_NTOHL (0x54696d65),
- ACE_NTOHL (0x42617365),
- ACE_NTOHL (0x2f496e74),
- ACE_NTOHL (0x65727661),
- ACE_NTOHL (0x6c543a31),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x6f6d672e),
+ ACE_NTOHL (0x6f72672f),
+ ACE_NTOHL (0x54696d65),
+ ACE_NTOHL (0x42617365),
+ ACE_NTOHL (0x2f496e74),
+ ACE_NTOHL (0x65727661),
+ ACE_NTOHL (0x6c543a31),
ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/TimeBase/IntervalT:1.0
10,
- ACE_NTOHL (0x496e7465),
- ACE_NTOHL (0x7276616c),
+ ACE_NTOHL (0x496e7465),
+ ACE_NTOHL (0x7276616c),
ACE_NTOHL (0x54000000), // name = IntervalT
2, // member count
12,
- ACE_NTOHL (0x6c6f7765),
- ACE_NTOHL (0x725f626f),
+ ACE_NTOHL (0x6c6f7765),
+ ACE_NTOHL (0x725f626f),
ACE_NTOHL (0x756e6400), // name = lower_bound
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),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
CORBA::tk_ulonglong,
12,
- ACE_NTOHL (0x75707065),
- ACE_NTOHL (0x725f626f),
+ ACE_NTOHL (0x75707065),
+ ACE_NTOHL (0x725f626f),
ACE_NTOHL (0x756e6400), // name = upper_bound
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),
+ ACE_NTOHL (0x54696d65),
ACE_NTOHL (0x54000000), // name = TimeT
CORBA::tk_ulonglong,
@@ -358,13 +358,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const TimeBase::UtcT *&_
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (TimeBase::_tc_UtcT, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
@@ -441,13 +441,13 @@ CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, const TimeBase::Interval
ACE_TRY_NEW_ENV
{
CORBA::TypeCode_var type = _tao_any.type ();
-
+
CORBA::Boolean result = type->equivalent (TimeBase::_tc_IntervalT, ACE_TRY_ENV);
ACE_TRY_CHECK;
-
+
if (!result)
return 0; // not equivalent
-
+
if (_tao_any.any_owns_data ())
{
_tao_elem = ACE_static_cast(
diff --git a/TAO/tao/TimeBaseC.h b/TAO/tao/TimeBaseC.h
index 8f93011521c..da52e5d767e 100644
--- a/TAO/tao/TimeBaseC.h
+++ b/TAO/tao/TimeBaseC.h
@@ -73,7 +73,7 @@ TAO_NAMESPACE TimeBase
struct UtcT;
class UtcT_var;
-
+
struct TAO_Export UtcT
{
@@ -97,18 +97,18 @@ TAO_NAMESPACE TimeBase
UtcT_var (const UtcT_var &); // copy constructor
UtcT_var (const UtcT &); // fixed-size types only
~UtcT_var (void); // destructor
-
+
UtcT_var &operator= (UtcT *);
UtcT_var &operator= (const UtcT_var &);
UtcT_var &operator= (const UtcT &); // fixed-size types only
UtcT *operator-> (void);
const UtcT *operator-> (void) const;
-
+
operator const UtcT &() const;
operator UtcT &();
operator UtcT &() const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const UtcT &in (void) const;
UtcT &inout (void);
UtcT &out (void);
@@ -125,7 +125,7 @@ TAO_NAMESPACE TimeBase
struct IntervalT;
class IntervalT_var;
-
+
struct TAO_Export IntervalT
{
@@ -147,18 +147,18 @@ TAO_NAMESPACE TimeBase
IntervalT_var (const IntervalT_var &); // copy constructor
IntervalT_var (const IntervalT &); // fixed-size types only
~IntervalT_var (void); // destructor
-
+
IntervalT_var &operator= (IntervalT *);
IntervalT_var &operator= (const IntervalT_var &);
IntervalT_var &operator= (const IntervalT &); // fixed-size types only
IntervalT *operator-> (void);
const IntervalT *operator-> (void) const;
-
+
operator const IntervalT &() const;
operator IntervalT &();
operator IntervalT &() const;
-
- // in, inout, out, _retn
+
+ // in, inout, out, _retn
const IntervalT &in (void) const;
IntervalT &inout (void);
IntervalT &out (void);
diff --git a/TAO/tao/TimeBaseC.i b/TAO/tao/TimeBaseC.i
index 73ba4f4d77e..c6079e729b7 100644
--- a/TAO/tao/TimeBaseC.i
+++ b/TAO/tao/TimeBaseC.i
@@ -77,7 +77,7 @@ TimeBase::UtcT_var::operator= (const ::TimeBase::UtcT_var &p)
{
UtcT *deep_copy =
new UtcT (*p.ptr_);
-
+
if (deep_copy != 0)
{
UtcT *tmp = deep_copy;
@@ -87,7 +87,7 @@ TimeBase::UtcT_var::operator= (const ::TimeBase::UtcT_var &p)
}
}
}
-
+
return *this;
}
@@ -122,13 +122,13 @@ TimeBase::UtcT_var::operator const ::TimeBase::UtcT &() const // cast
}
ACE_INLINE
-TimeBase::UtcT_var::operator ::TimeBase::UtcT &() // cast
+TimeBase::UtcT_var::operator ::TimeBase::UtcT &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-TimeBase::UtcT_var::operator ::TimeBase::UtcT &() const // cast
+TimeBase::UtcT_var::operator ::TimeBase::UtcT &() const // cast
{
return *this->ptr_;
}
@@ -145,7 +145,7 @@ TimeBase::UtcT_var::inout (void)
return *this->ptr_;
}
-// mapping for fixed size
+// mapping for fixed size
ACE_INLINE ::TimeBase::UtcT &
TimeBase::UtcT_var::out (void)
{
@@ -222,7 +222,7 @@ TimeBase::IntervalT_var::operator= (const ::TimeBase::IntervalT_var &p)
{
IntervalT *deep_copy =
new IntervalT (*p.ptr_);
-
+
if (deep_copy != 0)
{
IntervalT *tmp = deep_copy;
@@ -232,7 +232,7 @@ TimeBase::IntervalT_var::operator= (const ::TimeBase::IntervalT_var &p)
}
}
}
-
+
return *this;
}
@@ -267,13 +267,13 @@ TimeBase::IntervalT_var::operator const ::TimeBase::IntervalT &() const // cast
}
ACE_INLINE
-TimeBase::IntervalT_var::operator ::TimeBase::IntervalT &() // cast
+TimeBase::IntervalT_var::operator ::TimeBase::IntervalT &() // cast
{
return *this->ptr_;
}
ACE_INLINE
-TimeBase::IntervalT_var::operator ::TimeBase::IntervalT &() const // cast
+TimeBase::IntervalT_var::operator ::TimeBase::IntervalT &() const // cast
{
return *this->ptr_;
}
@@ -290,7 +290,7 @@ TimeBase::IntervalT_var::inout (void)
return *this->ptr_;
}
-// mapping for fixed size
+// mapping for fixed size
ACE_INLINE ::TimeBase::IntervalT &
TimeBase::IntervalT_var::out (void)
{
@@ -320,7 +320,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const TimeBase::UtcT
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, TimeBase::UtcT &_tao_aggregate)
@@ -334,7 +334,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, TimeBase::UtcT &_tao_a
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const TimeBase::IntervalT &_tao_aggregate)
@@ -346,7 +346,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const TimeBase::Inter
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, TimeBase::IntervalT &_tao_aggregate)
@@ -358,6 +358,6 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, TimeBase::IntervalT &_
return 1;
else
return 0;
-
+
}
diff --git a/TAO/tao/Transport_Cache_Manager.cpp b/TAO/tao/Transport_Cache_Manager.cpp
index ea6e9c3b7c3..9646c36aca5 100644
--- a/TAO/tao/Transport_Cache_Manager.cpp
+++ b/TAO/tao/Transport_Cache_Manager.cpp
@@ -228,7 +228,7 @@ TAO_Transport_Cache_Manager::make_idle_i (HASH_MAP_ENTRY *&entry)
{
if (entry == 0)
return -1;
-
+
// First get the entry again (if at all things had changed in the
// cache map in the mean time)
HASH_MAP_ENTRY *new_entry = 0;
@@ -265,7 +265,7 @@ TAO_Transport_Cache_Manager::close_i (ACE_Handle_Set &handle_set)
if ((*iter).int_id_.recycle_state () != ACE_RECYCLABLE_CLOSED)
{
-#if 0
+#if 0
// @@ This code from Connection_Cache_Manager disappeared
// during the changeover; we need the functional equivalent back.
// The problem is that with the locking stuff that we're putting
diff --git a/TAO/tao/TypeCodeFactory_Adapter.cpp b/TAO/tao/TypeCodeFactory_Adapter.cpp
index b6620145094..3e94c8d6a73 100644
--- a/TAO/tao/TypeCodeFactory_Adapter.cpp
+++ b/TAO/tao/TypeCodeFactory_Adapter.cpp
@@ -12,132 +12,132 @@ TAO_TypeCodeFactory_Adapter::~TAO_TypeCodeFactory_Adapter (void)
// Methods to be overridden.
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_struct_tc (
const char * /* id */,
const char * /* name */,
const CORBA_StructMemberSeq & /* members */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_union_tc (
const char * /* id */,
const char * /* name */,
CORBA::TypeCode_ptr /* discriminator_type */,
const CORBA_UnionMemberSeq & /* members */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_enum_tc (
const char * /* id */,
const char * /* name */,
const CORBA_EnumMemberSeq & /* members */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_alias_tc (
const char * /* id */,
const char * /* name */,
CORBA::TypeCode_ptr /* original_type */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_exception_tc (
const char * /* id */,
const char * /* name */,
const CORBA_StructMemberSeq & /* members */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_interface_tc (
const char * /* id */,
const char * /* name */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_string_tc (
CORBA::ULong /* bound */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_wstring_tc (
CORBA::ULong /* bound */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_fixed_tc (
CORBA::UShort /* digits */,
CORBA::UShort /* scale */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_sequence_tc (
CORBA::ULong /* bound */,
CORBA::TypeCode_ptr /* element_type */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_array_tc (
CORBA::ULong /* length */,
CORBA::TypeCode_ptr /* element_type */,
CORBA::Environment &
)
ACE_THROW_SPEC ((CORBA::SystemException))
-{
+{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_value_tc (
const char * /* id */,
const char * /* name */,
@@ -145,62 +145,62 @@ TAO_TypeCodeFactory_Adapter::create_value_tc (
CORBA::TypeCode_ptr /* concrete_base */,
const CORBA_ValueMemberSeq & /* members */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_value_box_tc (
const char * /* id */,
const char * /* name */,
CORBA::TypeCode_ptr /* boxed_type */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_native_tc (
const char * /* id */,
const char * /* name */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_recursive_tc (
const char * /* id */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_abstract_interface_tc (
const char * /* id */,
const char * /* name */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
}
-CORBA::TypeCode_ptr
+CORBA::TypeCode_ptr
TAO_TypeCodeFactory_Adapter::create_local_interface_tc (
const char * /* id */,
const char * /* name */,
CORBA::Environment &
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
return CORBA::TypeCode::_nil ();
diff --git a/TAO/tao/TypeCodeFactory_Adapter.h b/TAO/tao/TypeCodeFactory_Adapter.h
index dc28f00b5b1..b375e9c2ee6 100644
--- a/TAO/tao/TypeCodeFactory_Adapter.h
+++ b/TAO/tao/TypeCodeFactory_Adapter.h
@@ -29,7 +29,7 @@
* @brief TAO_TypeCodeFactory_Adapter.
*
* Class that adapts the CORBA::ORB create_*_tc functions
- * to use the TypeCodeFactory. This is a base class for
+ * to use the TypeCodeFactory. This is a base class for
* the actual implementation in the TypeCodeFactory_DLL library.
*/
class TAO_Export TAO_TypeCodeFactory_Adapter : public ACE_Service_Object
@@ -43,7 +43,7 @@ public:
const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_union_tc (
@@ -53,7 +53,7 @@ public:
const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_enum_tc (
@@ -62,7 +62,7 @@ public:
const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_alias_tc (
@@ -71,7 +71,7 @@ public:
CORBA::TypeCode_ptr original_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_exception_tc (
@@ -80,7 +80,7 @@ public:
const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_interface_tc (
@@ -88,21 +88,21 @@ public:
const char *name,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_string_tc (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_wstring_tc (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_fixed_tc (
@@ -110,7 +110,7 @@ public:
CORBA::UShort scale,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_sequence_tc (
@@ -118,7 +118,7 @@ public:
CORBA::TypeCode_ptr element_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_array_tc (
@@ -126,7 +126,7 @@ public:
CORBA::TypeCode_ptr element_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_value_tc (
@@ -137,7 +137,7 @@ public:
const CORBA_ValueMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_value_box_tc (
@@ -146,7 +146,7 @@ public:
CORBA::TypeCode_ptr boxed_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_native_tc (
@@ -154,14 +154,14 @@ public:
const char *name,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_recursive_tc (
const char *id,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_abstract_interface_tc (
@@ -169,7 +169,7 @@ public:
const char *name,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::TypeCode_ptr create_local_interface_tc (
@@ -177,7 +177,7 @@ public:
const char *name,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
- )
+ )
ACE_THROW_SPEC ((CORBA::SystemException));
};
diff --git a/TAO/tao/Typecode.i b/TAO/tao/Typecode.i
index bee69e76c59..f2531fcbc1b 100644
--- a/TAO/tao/Typecode.i
+++ b/TAO/tao/Typecode.i
@@ -48,7 +48,7 @@ CORBA_TypeCode::equivalent (CORBA::TypeCode_ptr tc,
{
return this->equ_common (tc,
1,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
// Returns true if the two typecodes are identical.
@@ -58,7 +58,7 @@ CORBA_TypeCode::equal (CORBA::TypeCode_ptr tc,
{
return this->equ_common (tc,
0,
- ACE_TRY_ENV);
+ ACE_TRY_ENV);
}
// returns the Repository ID
diff --git a/TAO/tao/ValueFactory_Map.cpp b/TAO/tao/ValueFactory_Map.cpp
index 13eea5d0967..f56f062bc03 100644
--- a/TAO/tao/ValueFactory_Map.cpp
+++ b/TAO/tao/ValueFactory_Map.cpp
@@ -64,7 +64,7 @@ TAO_ValueFactory_Map::rebind (const char *repo_id,
int ret = 0;
ret = this->map_.rebind (CORBA::string_dup (repo_id),
factory,
- prev_repo_id,
+ prev_repo_id,
prev_factory);
if (ret > -1) // ok, no error
{
@@ -85,7 +85,7 @@ TAO_ValueFactory_Map::unbind (const char *repo_id,
// ACE_Hash_Map_Entry<const char *, CORBA_ValueFactory_ptr> *prev_entry;
FACTORY_MAP_MANAGER::ENTRY *prev_entry;
int ret = 0;
- ret = this->map_.find (repo_id,
+ ret = this->map_.find (repo_id,
prev_entry);
if (ret == 0) // there was a matching factory
{
@@ -107,7 +107,7 @@ TAO_ValueFactory_Map::find (const char *repo_id,
CORBA_ValueFactory_ptr &factory)
{
int ret = 0;
- ret = this->map_.find (repo_id,
+ ret = this->map_.find (repo_id,
factory);
// %! this must be guarded to be atomic !!!!!!!!!!!!!!!!!!
if (ret > -1)
diff --git a/TAO/tao/corbafwd.h b/TAO/tao/corbafwd.h
index 57269e7258a..2d35703b36d 100644
--- a/TAO/tao/corbafwd.h
+++ b/TAO/tao/corbafwd.h
@@ -582,6 +582,13 @@ struct CORBA_ValueDescription;
class CORBA_ValueDescription_var;
class CORBA_ValueDescription_out;
+enum IR_ParameterMode
+ {
+ PARAM_IN,
+ PARAM_OUT,
+ PARAM_INOUT
+ };
+
class CORBA_TypeCodeFactory;
class CORBA_TypeCodeFactory_var;
class CORBA_TypeCodeFactory_out;
@@ -1667,6 +1674,7 @@ TAO_NAMESPACE_CLOSE // end of class (namespace) CORBA
// #define TAO_TAG_HTTPNG_PROFILE 0x54414f09U /* HTTP-NG */
// #define TAO_TAG_PIPE_PROFILE 0x54414f0AU /* Pipe */
// #define TAO_TAG_XXXX_PROFILE 0x54414f0BU /* ???? */
+#define TAO_TAG_UIPMC_PROFILE 0x54414f0CU /* Unreliable IP Multicast */
#define TAO_TAG_BIOP_PROFILE 0x54414f0FU /* Boeing Custom Protocol */
// We reserved the range 0x54414f00 - 0x54414f0f with the OMG to
@@ -1682,7 +1690,8 @@ TAO_NAMESPACE_CLOSE // end of class (namespace) CORBA
// Tag for storing multiple endpoints within a single profile.
#define TAO_TAG_ENDPOINTS 0x54414f02U
//#define TAO_TAG_SOME_OTHER_TAG 0x54414f03U
-
+// Tag for specifying object groups - see MIOP specification
+#define TAO_TAG_GROUP 0x54414f03U
// We reserved the range 0x54414f00 - 0x54414f0f with the OMG to
// define our own service context list entries.
diff --git a/TAO/tao/iiop_endpoints.cpp b/TAO/tao/iiop_endpoints.cpp
index 763d2df19df..c4567df452c 100644
--- a/TAO/tao/iiop_endpoints.cpp
+++ b/TAO/tao/iiop_endpoints.cpp
@@ -21,7 +21,7 @@ static const CORBA::Long _oc_TAO_IIOP_Endpoint_Info[] =
23, ACE_NTOHL (0x54414f5f), ACE_NTOHL (0x49494f50), ACE_NTOHL (0x5f456e64), ACE_NTOHL (0x706f696e), ACE_NTOHL (0x745f496e), ACE_NTOHL (0x666f0000), // name = TAO_IIOP_Endpoint_Info
3, // member count
5, ACE_NTOHL (0x686f7374), ACE_NTOHL (0x0), // name = host
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
5, ACE_NTOHL (0x706f7274), ACE_NTOHL (0x0), // name = port
CORBA::tk_short,
@@ -41,7 +41,7 @@ void TAO_IIOP_Endpoint_Info::_tao_any_destructor (void *x)
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_TAO_IIOPENDPOINTSEQUENCE_CS_)
#define __TAO_UNBOUNDED_SEQUENCE_TAO_IIOPENDPOINTSEQUENCE_CS_
@@ -50,43 +50,43 @@ void TAO_IIOP_Endpoint_Info::_tao_any_destructor (void *x)
{
TAO_IIOP_Endpoint_Info* tmp = 0;
tmp = _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::allocbuf (length);
-
+
if (this->buffer_ != 0)
{
TAO_IIOP_Endpoint_Info *old = ACE_reinterpret_cast (TAO_IIOP_Endpoint_Info *,this->buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp[i] = old[i];
-
+
if (this->release_)
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::freebuf (old);
-
+
}
this->buffer_ = tmp;
}
-
+
void
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::_deallocate_buffer (void)
{
if (this->buffer_ == 0 || this->release_ == 0)
return;
-
+
TAO_IIOP_Endpoint_Info *tmp = ACE_reinterpret_cast (TAO_IIOP_Endpoint_Info *,this->buffer_);
-
+
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::freebuf (tmp);
this->buffer_ = 0;
- }
-
+ }
+
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::~_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence (void) // Dtor.
{
this->_deallocate_buffer ();
}
-
-
+
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_TAO_IIOPENDPOINTSEQUENCE_CS_)
#define _TAO_IIOPENDPOINTSEQUENCE_CS_
@@ -98,30 +98,30 @@ void TAO_IIOP_Endpoint_Info::_tao_any_destructor (void *x)
TAO_IIOPEndpointSequence::TAO_IIOPEndpointSequence (void)
{}
TAO_IIOPEndpointSequence::TAO_IIOPEndpointSequence (CORBA::ULong max) // uses max size
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<TAO_IIOP_Endpoint_Info>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max)
{}
TAO_IIOPEndpointSequence::TAO_IIOPEndpointSequence (CORBA::ULong max, CORBA::ULong length, TAO_IIOP_Endpoint_Info *buffer, CORBA::Boolean release)
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<TAO_IIOP_Endpoint_Info>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(max, length, buffer, release)
{}
TAO_IIOPEndpointSequence::TAO_IIOPEndpointSequence (const TAO_IIOPEndpointSequence &seq) // copy ctor
- :
+ :
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence
#else /* TAO_USE_SEQUENCE_TEMPLATES */
TAO_Unbounded_Sequence<TAO_IIOP_Endpoint_Info>
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
(seq)
{}
TAO_IIOPEndpointSequence::~TAO_IIOPEndpointSequence (void) // dtor
@@ -150,7 +150,7 @@ static const CORBA::Long _oc_TAO_IIOPEndpointSequence[] =
23, ACE_NTOHL (0x54414f5f), ACE_NTOHL (0x49494f50), ACE_NTOHL (0x5f456e64), ACE_NTOHL (0x706f696e), ACE_NTOHL (0x745f496e), ACE_NTOHL (0x666f0000), // name = TAO_IIOP_Endpoint_Info
3, // member count
5, ACE_NTOHL (0x686f7374), ACE_NTOHL (0x0), // name = host
- CORBA::tk_string,
+ CORBA::tk_string,
0U, // string length
5, ACE_NTOHL (0x706f7274), ACE_NTOHL (0x0), // name = port
CORBA::tk_short,
@@ -195,7 +195,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;
// retrieve all the elements
CORBA::Boolean _tao_marshal_flag = 1;
diff --git a/TAO/tao/iiop_endpoints.i b/TAO/tao/iiop_endpoints.i
index 902ce6b2410..1c5b6f6f469 100644
--- a/TAO/tao/iiop_endpoints.i
+++ b/TAO/tao/iiop_endpoints.i
@@ -13,7 +13,7 @@
// *************************************************************
#if !defined (TAO_USE_SEQUENCE_TEMPLATES)
-
+
#if !defined (__TAO_UNBOUNDED_SEQUENCE_TAO_IIOPENDPOINTSEQUENCE_CI_)
#define __TAO_UNBOUNDED_SEQUENCE_TAO_IIOPENDPOINTSEQUENCE_CI_
@@ -26,24 +26,24 @@
ACE_NEW_RETURN (retval, TAO_IIOP_Endpoint_Info[size], 0);
return retval;
}
-
+
ACE_INLINE void _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::freebuf (TAO_IIOP_Endpoint_Info *buffer)
// Free the sequence.
{
delete [] buffer;
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence (void) // Default constructor.
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence (CORBA::ULong maximum) // Constructor using a maximum length value.
: TAO_Unbounded_Base_Sequence (maximum, _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::allocbuf (maximum))
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence (CORBA::ULong maximum,
CORBA::ULong length,
@@ -52,7 +52,7 @@
: TAO_Unbounded_Base_Sequence (maximum, length, data, release)
{
}
-
+
ACE_INLINE
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence (const _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence &rhs)
// Copy constructor.
@@ -62,10 +62,10 @@
{
TAO_IIOP_Endpoint_Info *tmp1 = _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::allocbuf (this->maximum_);
TAO_IIOP_Endpoint_Info * const tmp2 = ACE_reinterpret_cast (TAO_IIOP_Endpoint_Info * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
this->buffer_ = tmp1;
}
else
@@ -73,14 +73,14 @@
this->buffer_ = 0;
}
}
-
+
ACE_INLINE _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence &
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::operator= (const _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence &rhs)
// Assignment operator.
{
if (this == &rhs)
return *this;
-
+
if (this->release_)
{
if (this->maximum_ < rhs.maximum_)
@@ -93,18 +93,18 @@
}
else
this->buffer_ = _TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::allocbuf (rhs.maximum_);
-
+
TAO_Unbounded_Base_Sequence::operator= (rhs);
-
+
TAO_IIOP_Endpoint_Info *tmp1 = ACE_reinterpret_cast (TAO_IIOP_Endpoint_Info *, this->buffer_);
TAO_IIOP_Endpoint_Info * const tmp2 = ACE_reinterpret_cast (TAO_IIOP_Endpoint_Info * ACE_CAST_CONST, rhs.buffer_);
-
+
for (CORBA::ULong i = 0; i < this->length_; ++i)
tmp1[i] = tmp2[i];
-
+
return *this;
}
-
+
// = Accessors.
ACE_INLINE TAO_IIOP_Endpoint_Info &
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::operator[] (CORBA::ULong i)
@@ -114,7 +114,7 @@
TAO_IIOP_Endpoint_Info* tmp = ACE_reinterpret_cast(TAO_IIOP_Endpoint_Info*,this->buffer_);
return tmp[i];
}
-
+
ACE_INLINE const TAO_IIOP_Endpoint_Info &
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::operator[] (CORBA::ULong i) const
// operator []
@@ -123,9 +123,9 @@
TAO_IIOP_Endpoint_Info * const tmp = ACE_reinterpret_cast (TAO_IIOP_Endpoint_Info* ACE_CAST_CONST, this->buffer_);
return tmp[i];
}
-
+
// Implement the TAO_Base_Sequence methods (see Sequence.h)
-
+
ACE_INLINE TAO_IIOP_Endpoint_Info *
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::get_buffer (CORBA::Boolean orphan)
{
@@ -159,13 +159,13 @@
}
return result;
}
-
+
ACE_INLINE const TAO_IIOP_Endpoint_Info *
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::get_buffer (void) const
{
return ACE_reinterpret_cast(const TAO_IIOP_Endpoint_Info * ACE_CAST_CONST, this->buffer_);
}
-
+
ACE_INLINE void
_TAO_Unbounded_Sequence_TAO_IIOPEndpointSequence::replace (CORBA::ULong max,
CORBA::ULong length,
@@ -182,11 +182,11 @@
this->buffer_ = data;
this->release_ = release;
}
-
+
#endif /* end #if !defined */
-#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
+#endif /* !TAO_USE_SEQUENCE_TEMPLATES */
#if !defined (_TAO_IIOPENDPOINTSEQUENCE_CI_)
#define _TAO_IIOPENDPOINTSEQUENCE_CI_
@@ -251,27 +251,27 @@ TAO_IIOPEndpointSequence_var::operator-> (void)
return this->ptr_;
}
-ACE_INLINE
+ACE_INLINE
TAO_IIOPEndpointSequence_var::operator const ::TAO_IIOPEndpointSequence &() const // cast
{
return *this->ptr_;
}
-ACE_INLINE
-TAO_IIOPEndpointSequence_var::operator ::TAO_IIOPEndpointSequence &() // cast
+ACE_INLINE
+TAO_IIOPEndpointSequence_var::operator ::TAO_IIOPEndpointSequence &() // cast
{
return *this->ptr_;
}
-ACE_INLINE
-TAO_IIOPEndpointSequence_var::operator ::TAO_IIOPEndpointSequence &() const // cast
+ACE_INLINE
+TAO_IIOPEndpointSequence_var::operator ::TAO_IIOPEndpointSequence &() const // cast
{
return *this->ptr_;
}
// variable-size types only
ACE_INLINE
-TAO_IIOPEndpointSequence_var::operator ::TAO_IIOPEndpointSequence *&() // cast
+TAO_IIOPEndpointSequence_var::operator ::TAO_IIOPEndpointSequence *&() // cast
{
return this->ptr_;
}
@@ -294,7 +294,7 @@ TAO_IIOPEndpointSequence_var::inout (void)
return *this->ptr_;
}
-// mapping for variable size
+// mapping for variable size
ACE_INLINE ::TAO_IIOPEndpointSequence *&
TAO_IIOPEndpointSequence_var::out (void)
{
@@ -329,7 +329,7 @@ ACE_INLINE CORBA::Boolean operator<< (TAO_OutputCDR &strm, const TAO_IIOP_Endpoi
return 1;
else
return 0;
-
+
}
ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, TAO_IIOP_Endpoint_Info &_tao_aggregate)
@@ -342,7 +342,7 @@ ACE_INLINE CORBA::Boolean operator>> (TAO_InputCDR &strm, TAO_IIOP_Endpoint_Info
return 1;
else
return 0;
-
+
}
diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h
index 921eb1f7f2b..469d6b8f6a2 100644
--- a/TAO/tao/orbconf.h
+++ b/TAO/tao/orbconf.h
@@ -371,10 +371,11 @@
#define TAO_OBJID_NOTIFICATIONSERVICE "NotificationService"
#define TAO_OBJID_TYPEDNOTIFICATIONSERVICE "TypedNotificationService"
#define TAO_OBJID_COMPONENTHOMEFINDER "ComponentHomeFinder"
-#define TAO_OBJID_PSS "PSS"
-#define TAO_OBJID_CODECFACTORY "CodecFactory"
-#define TAO_OBJID_PICurrent "PICurrent"
-
+#define TAO_OBJID_PSS "PSS"
+#define TAO_OBJID_CODECFACTORY "CodecFactory"
+#define TAO_OBJID_PICurrent "PICurrent"
+#define TAO_OBJID_ROOTPGA "RootPGA"
+#define TAO_OBJID_MIOP "MIOP" // @@ Frank: TAO-specific (may be removed)
// Comma separated list of the above ObjectIDs.
// DO NOT include unimplemented services!
@@ -945,5 +946,19 @@ enum MCAST_SERVICEID
#define TAO_DEF_FT_CORBA_MINOR 0
#endif /* TAO_DEF_FT_CORBA_MINOR */
+// This is the version of the MIOP spec that TAO supports. The
+// exact use of this version has not been emphasized. But TAO would
+// get TaggedComponents for a group with version number. So, for the
+// present we will have this here and do a sanity check for our
+// supported version and the one we receive -- raise an error if
+// necessary.
+
+#if !defined (TAO_DEF_MIOP_MAJOR)
+#define TAO_DEF_MIOP_MAJOR 1
+#endif /* TAO_DEF_MIOP_MAJOR */
+#if !defined (TAO_DEF_MIOP_MINOR)
+#define TAO_DEF_MIOP_MINOR 0
+#endif /* TAO_DEF_MIOP_MINOR */
+
#include "ace/post.h"
#endif /* TAO_ORB_CONFIG_H */
diff --git a/TAO/tao/qt_resource.cpp b/TAO/tao/qt_resource.cpp
index 5207f41c981..8e6c1746f49 100644
--- a/TAO/tao/qt_resource.cpp
+++ b/TAO/tao/qt_resource.cpp
@@ -12,18 +12,18 @@ QApplication *TAO_QtResource_Factory::qapp_ = 0 ;
ACE_Reactor_Impl *
TAO_QtResource_Factory::allocate_reactor_impl (void) const
{
- if (this->qapp_ == 0)
+ if (this->qapp_ == 0)
return 0;
- ACE_Reactor_Impl *impl = 0;
+ ACE_Reactor_Impl *impl = 0;
- ACE_NEW_RETURN(impl,
- ACE_QtReactor (qapp_),
+ ACE_NEW_RETURN(impl,
+ ACE_QtReactor (qapp_),
0);
return impl;
}
-void
+void
TAO_QtResource_Factory::set_context (QApplication *qapp)
{
TAO_QtResource_Factory::qapp_ = qapp;
diff --git a/TAO/tao/qt_resource.i b/TAO/tao/qt_resource.i
index 633d38ff2aa..2f68f68389a 100644
--- a/TAO/tao/qt_resource.i
+++ b/TAO/tao/qt_resource.i
@@ -1,5 +1,5 @@
//$Id$
-ACE_INLINE
+ACE_INLINE
TAO_QtResource_Factory::TAO_QtResource_Factory (void)
{
}
diff --git a/TAO/tao/target_specification.i b/TAO/tao/target_specification.i
index 17b942b85c3..9aa914f8698 100644
--- a/TAO/tao/target_specification.i
+++ b/TAO/tao/target_specification.i
@@ -34,18 +34,18 @@ TAO_Target_Specification::target_specifier (IOP::TaggedProfile &profile)
this->specifier_ = TAO_Target_Specification::Profile_Addr;
this->u_.profile_ = ACE_const_cast (IOP::TaggedProfile *,
&profile);
-
+
}
ACE_INLINE void
TAO_Target_Specification::target_specifier (IOP::IOR &ior,
CORBA::ULong prof_index)
-{
+{
this->specifier_ = TAO_Target_Specification::Reference_Addr;
this->u_.ior_ = ACE_const_cast (IOP::IOR *,
&ior);
this->profile_index_ = prof_index;
-
+
}
ACE_INLINE const TAO_ObjectKey*