summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-08-04 16:14:44 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-08-04 16:14:44 +0000
commit731ab8f0640dcd16042114970c524c992dcd0d07 (patch)
tree9a92e528605dacb2447235b8745c7a6ce506fca5
parent2138a456cb73ed6ce118b5ac0e61a75770b96979 (diff)
downloadATCD-731ab8f0640dcd16042114970c524c992dcd0d07.tar.gz
ChangeLogTag:Mon Aug 4 11:06:55 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r--TAO/ChangeLog26
-rw-r--r--TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.cpp28
-rw-r--r--TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.h5
-rw-r--r--TAO/tao/IORManipulation/IOR.pidl49
-rw-r--r--TAO/tao/IORManipulation/IORC.cpp554
-rw-r--r--TAO/tao/IORManipulation/IORC.h190
-rw-r--r--TAO/tao/IORManipulation/IORC.i21
-rw-r--r--TAO/tao/IORManipulation/IORManipulation.cpp10
-rw-r--r--TAO/tao/IORManipulation/IORManipulation.h8
-rw-r--r--TAO/tao/Tagged_Components.cpp47
-rw-r--r--TAO/tao/Tagged_Components.h8
11 files changed, 644 insertions, 302 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index c38ef93381a..1a6741776cd 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,29 @@
+Mon Aug 4 11:06:55 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
+
+ * tao/Tagged_Components.cpp (remove_component):
+ * tao/Tagged_Components.h: Added a new method which removes tagged
+ components from the list of tagged components based on component
+ id.
+
+ * tao/IORManipulation/IOR.pidl:
+ * tao/IORManipulation/IORC.cpp:
+ * tao/IORManipulation/IORC.h:
+ * tao/IORManipulation/IORC.i: A new operation, remove_primary_tag
+ () on TAO_IOP::TAO_IOR_Property interface. Please see
+ documentation for details.
+
+ * tao/IORManipulation/IORManipulation.cpp:
+ * tao/IORManipulation/IORManipulation.h: A concrete implementation
+ of remove_primary_tag () within the IORManipulation library.
+
+ * orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.cpp:
+ * orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.h: A concrete
+ implementation of remove_primary_tag () within the
+ FaultTolerance library.
+
+ Thanks to Milan Cvetkovic <mcvetcovic@mpathix.com>, for
+ motivating the above changes and providing the patches.
+
Mon Aug 4 000:09:26 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
* orbsvcs/IFRService/Container_i.cpp:
diff --git a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.cpp b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.cpp
index 682566c54ac..57dd1393f1f 100644
--- a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.cpp
+++ b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.cpp
@@ -324,3 +324,31 @@ TAO_FT_IOGR_Property::get_primary_profile (
}
return 0;
}
+
+CORBA::Boolean
+TAO_FT_IOGR_Property::remove_primary_tag (
+ CORBA::Object_ptr iogr
+ ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Get the MProfile
+ TAO_MProfile &mprofile =
+ iogr->_stubobj ()->base_profiles ();
+
+ for (CORBA::ULong i = 0;
+ i < mprofile.profile_count ();
+ ++i)
+ {
+ TAO_Profile* profile = mprofile.get_profile (i);
+
+ // Get the Tagged Components
+ TAO_Tagged_Components &pfile_tagged =
+ profile->tagged_components ();
+
+ if (pfile_tagged.remove_component (IOP::TAG_FT_PRIMARY));
+ {
+ return 1;
+ }
+ }
+ return 0;
+}
diff --git a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.h b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.h
index d65747eca3d..919cb9fc2de 100644
--- a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.h
+++ b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_IOGR_Property.h
@@ -104,6 +104,11 @@ public:
CORBA::SystemException
));
+ virtual CORBA::Boolean remove_primary_tag (
+ CORBA::Object_ptr iogr
+ ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
/// Reset the underlying tagged components held by the class
CORBA::Boolean reset_tagged_components (
FT::TagFTGroupTaggedComponent &ft_group);
diff --git a/TAO/tao/IORManipulation/IOR.pidl b/TAO/tao/IORManipulation/IOR.pidl
index 4a85c3af119..ff01b64ed9d 100644
--- a/TAO/tao/IORManipulation/IOR.pidl
+++ b/TAO/tao/IORManipulation/IOR.pidl
@@ -74,25 +74,30 @@ module TAO_IOP
*/
local interface TAO_IOR_Property
{
- boolean set_property (in Object ior)
- raises (Invalid_IOR);
- // Operation that would set the required properties in the <ior>
- // as needed by the service.
-
- boolean set_primary (in Object ior1,
- in Object ior2)
- raises (Duplicate, NotFound);
- // Sets the profile ior1, in the profile ior2 to be a
- // primary.
-
- Object get_primary (in Object ior)
- raises (NotFound);
- // Returns the ior of the primary from <ior> if it has been
- // set. Else returns a NotFound exception
-
- boolean is_primary_set (in Object ior);
- // Returns a true or false depending on whether a primary member
- // has been set in <ior>
+ /// Operation that would set the required properties in the <ior>
+ /// as needed by the service.
+ boolean set_property (inout Object ior)
+ raises (Invalid_IOR);
+
+ /// Sets the profile ior1, in the profile ior2 to be a
+ /// primary.
+ boolean set_primary (inout Object ior1,
+ in Object ior2)
+ raises (Duplicate, NotFound);
+
+ /// Returns the ior of the primary from <ior> if it has been
+ /// set. Else returns a NotFound exception
+ Object get_primary (in Object ior)
+ raises (NotFound);
+
+ /// Returns a true or false depending on whether a primary member
+ /// has been set in <ior>
+ boolean is_primary_set (in Object ior);
+
+ /// If any of the IOR's within the IOGR has a primary tag, just
+ /// remove it. Returns zero if no primary was found.
+ boolean remove_primary_tag (in Object iogr)
+ raises (NotFound);
};
/**
@@ -165,6 +170,12 @@ module TAO_IOP
// primary already defined then it raises a Duplicate
// exception.
+ /// If any of the IOR's within the IOGR has a primary tag, just remove
+ /// it. Return zero if no primary found.
+ boolean remove_primary_tag (in TAO_IOR_Property prop,
+ in Object ior);
+
+
Object get_primary (in TAO_IOR_Property prop,
in Object ior)
raises (NotFound);
diff --git a/TAO/tao/IORManipulation/IORC.cpp b/TAO/tao/IORManipulation/IORC.cpp
index 46af41709ad..da495b831b8 100644
--- a/TAO/tao/IORManipulation/IORC.cpp
+++ b/TAO/tao/IORManipulation/IORC.cpp
@@ -15,15 +15,21 @@
// Irvine, CA
// USA
// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:314
+// be/be_codegen.cpp:351
-#include "IORManip_Loader.h"
+#include "IORC.h"
#include "tao/Stub.h"
#include "tao/Invocation.h"
#include "tao/PortableInterceptor.h"
@@ -34,6 +40,7 @@
#include "tao/ClientInterceptorAdapter.h"
#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
@@ -42,8 +49,8 @@
#include "IORC.i"
#endif /* !defined INLINE */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+// TAO_IDL - Generated from
+// be/be_visitor_exception/exception_cs.cpp:63
TAO_IOP::EmptyProfileList::EmptyProfileList (void)
: CORBA::UserException (
@@ -124,7 +131,7 @@ void TAO_IOP::EmptyProfileList::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -137,7 +144,7 @@ void TAO_IOP::EmptyProfileList::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -148,26 +155,26 @@ CORBA::TypeCode_ptr TAO_IOP::EmptyProfileList::_type (void) const
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_EmptyProfileList[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x456d7074),
- ACE_NTOHL (0x7950726f),
- ACE_NTOHL (0x66696c65),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x456d7074),
+ ACE_NTOHL (0x7950726f),
+ ACE_NTOHL (0x66696c65),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:TAO_IOP/EmptyProfileList:1.0
17,
- ACE_NTOHL (0x456d7074),
- ACE_NTOHL (0x7950726f),
- ACE_NTOHL (0x66696c65),
- ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x456d7074),
+ ACE_NTOHL (0x7950726f),
+ ACE_NTOHL (0x66696c65),
+ ACE_NTOHL (0x4c697374),
ACE_NTOHL (0x0), // name = EmptyProfileList
0, // member count
};
@@ -189,8 +196,8 @@ TAO_NAMESPACE_DEFINE (
)
TAO_NAMESPACE_END
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+// TAO_IDL - Generated from
+// be/be_visitor_exception/exception_cs.cpp:63
TAO_IOP::NotFound::NotFound (void)
: CORBA::UserException (
@@ -271,7 +278,7 @@ void TAO_IOP::NotFound::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -284,7 +291,7 @@ void TAO_IOP::NotFound::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -295,22 +302,22 @@ CORBA::TypeCode_ptr TAO_IOP::NotFound::_type (void) const
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_NotFound[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
25,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x4e6f7446),
- ACE_NTOHL (0x6f756e64),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x4e6f7446),
+ ACE_NTOHL (0x6f756e64),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:TAO_IOP/NotFound:1.0
9,
- ACE_NTOHL (0x4e6f7446),
- ACE_NTOHL (0x6f756e64),
+ ACE_NTOHL (0x4e6f7446),
+ ACE_NTOHL (0x6f756e64),
ACE_NTOHL (0x0), // name = NotFound
0, // member count
};
@@ -332,8 +339,8 @@ TAO_NAMESPACE_DEFINE (
)
TAO_NAMESPACE_END
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+// TAO_IDL - Generated from
+// be/be_visitor_exception/exception_cs.cpp:63
TAO_IOP::Duplicate::Duplicate (void)
: CORBA::UserException (
@@ -414,7 +421,7 @@ void TAO_IOP::Duplicate::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -427,7 +434,7 @@ void TAO_IOP::Duplicate::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -438,22 +445,22 @@ CORBA::TypeCode_ptr TAO_IOP::Duplicate::_type (void) const
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_Duplicate[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
26,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x4475706c),
- ACE_NTOHL (0x69636174),
- ACE_NTOHL (0x653a312e),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x4475706c),
+ ACE_NTOHL (0x69636174),
+ ACE_NTOHL (0x653a312e),
ACE_NTOHL (0x30000000), // repository ID = IDL:TAO_IOP/Duplicate:1.0
10,
- ACE_NTOHL (0x4475706c),
- ACE_NTOHL (0x69636174),
+ ACE_NTOHL (0x4475706c),
+ ACE_NTOHL (0x69636174),
ACE_NTOHL (0x65000000), // name = Duplicate
0, // member count
};
@@ -475,8 +482,8 @@ TAO_NAMESPACE_DEFINE (
)
TAO_NAMESPACE_END
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+// TAO_IDL - Generated from
+// be/be_visitor_exception/exception_cs.cpp:63
TAO_IOP::Invalid_IOR::Invalid_IOR (void)
: CORBA::UserException (
@@ -557,7 +564,7 @@ void TAO_IOP::Invalid_IOR::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -570,7 +577,7 @@ void TAO_IOP::Invalid_IOR::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -581,22 +588,22 @@ CORBA::TypeCode_ptr TAO_IOP::Invalid_IOR::_type (void) const
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_Invalid_IOR[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
28,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x496e7661),
- ACE_NTOHL (0x6c69645f),
- ACE_NTOHL (0x494f523a),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x496e7661),
+ ACE_NTOHL (0x6c69645f),
+ ACE_NTOHL (0x494f523a),
ACE_NTOHL (0x312e3000), // repository ID = IDL:TAO_IOP/Invalid_IOR:1.0
12,
- ACE_NTOHL (0x496e7661),
- ACE_NTOHL (0x6c69645f),
+ ACE_NTOHL (0x496e7661),
+ ACE_NTOHL (0x6c69645f),
ACE_NTOHL (0x494f5200), // name = Invalid_IOR
0, // member count
};
@@ -618,8 +625,8 @@ TAO_NAMESPACE_DEFINE (
)
TAO_NAMESPACE_END
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63
+// TAO_IDL - Generated from
+// be/be_visitor_exception/exception_cs.cpp:63
TAO_IOP::MultiProfileList::MultiProfileList (void)
: CORBA::UserException (
@@ -700,7 +707,7 @@ void TAO_IOP::MultiProfileList::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -713,7 +720,7 @@ void TAO_IOP::MultiProfileList::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -724,26 +731,26 @@ CORBA::TypeCode_ptr TAO_IOP::MultiProfileList::_type (void) const
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_MultiProfileList[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x4d756c74),
- ACE_NTOHL (0x6950726f),
- ACE_NTOHL (0x66696c65),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x4d756c74),
+ ACE_NTOHL (0x6950726f),
+ ACE_NTOHL (0x66696c65),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:TAO_IOP/MultiProfileList:1.0
17,
- ACE_NTOHL (0x4d756c74),
- ACE_NTOHL (0x6950726f),
- ACE_NTOHL (0x66696c65),
- ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x4d756c74),
+ ACE_NTOHL (0x6950726f),
+ ACE_NTOHL (0x66696c65),
+ ACE_NTOHL (0x4c697374),
ACE_NTOHL (0x0), // name = MultiProfileList
0, // member count
};
@@ -766,21 +773,21 @@ TAO_NAMESPACE_DEFINE (
TAO_NAMESPACE_END
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
+// be/be_visitor_interface/interface_cs.cpp:63
int TAO_IOP::TAO_IOR_Property::_tao_class_id = 0;
TAO_IOP::TAO_IOR_Property_ptr
TAO_IOP::tao_TAO_IOR_Property_life::tao_duplicate (
- TAO_IOP::TAO_IOR_Property_ptr p
+ TAO_IOR_Property_ptr p
)
{
- return TAO_IOP::TAO_IOR_Property::_duplicate (p);
+ return TAO_IOR_Property::_duplicate (p);
}
void
TAO_IOP::tao_TAO_IOR_Property_life::tao_release (
- TAO_IOP::TAO_IOR_Property_ptr p
+ TAO_IOR_Property_ptr p
)
{
CORBA::release (p);
@@ -791,12 +798,12 @@ TAO_IOP::tao_TAO_IOR_Property_life::tao_nil (
void
)
{
- return TAO_IOP::TAO_IOR_Property::_nil ();
+ return TAO_IOR_Property::_nil ();
}
CORBA::Boolean
TAO_IOP::tao_TAO_IOR_Property_life::tao_marshal (
- TAO_IOP::TAO_IOR_Property_ptr p,
+ TAO_IOR_Property_ptr p,
TAO_OutputCDR &cdr
)
{
@@ -809,7 +816,7 @@ TAO_IOP::tao_TAO_IOR_Property_cast::tao_narrow (
ACE_ENV_ARG_DECL
)
{
- return TAO_IOP::TAO_IOR_Property::_narrow (p ACE_ENV_ARG_PARAMETER);
+ return TAO_IOR_Property::_narrow (p ACE_ENV_ARG_PARAMETER);
}
CORBA::Object *
@@ -817,8 +824,8 @@ TAO_IOP::tao_TAO_IOR_Property_cast::tao_upcast (
void *src
)
{
- TAO_IOP::TAO_IOR_Property **tmp =
- ACE_static_cast (TAO_IOP::TAO_IOR_Property **, src);
+ TAO_IOR_Property **tmp =
+ ACE_static_cast (TAO_IOR_Property **, src);
return *tmp;
}
@@ -846,8 +853,8 @@ TAO_IOP::tao_TAO_IOR_Property_cast::tao_upcast (
>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:232
+// TAO_IDL - Generated from
+// be/be_visitor_interface/interface_cs.cpp:245
TAO_IOP::TAO_IOR_Property::TAO_IOR_Property (void)
{}
@@ -855,7 +862,7 @@ TAO_IOP::TAO_IOR_Property::TAO_IOR_Property (void)
TAO_IOP::TAO_IOR_Property::~TAO_IOR_Property (void)
{}
-void
+void
TAO_IOP::TAO_IOR_Property::_tao_any_destructor (void *_tao_void_pointer)
{
TAO_IOR_Property *tmp = ACE_static_cast (TAO_IOR_Property *, _tao_void_pointer);
@@ -871,7 +878,7 @@ TAO_IOP::TAO_IOR_Property::_narrow (
return TAO_IOR_Property::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
-TAO_IOP::TAO_IOR_Property_ptr
+TAO_IOP::TAO_IOR_Property_ptr
TAO_IOP::TAO_IOR_Property::_unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_NOT_USED
@@ -881,7 +888,7 @@ TAO_IOP::TAO_IOR_Property::_unchecked_narrow (
{
return TAO_IOR_Property::_nil ();
}
-
+
return
ACE_reinterpret_cast (
TAO_IOR_Property_ptr,
@@ -901,14 +908,14 @@ TAO_IOP::TAO_IOR_Property::_duplicate (TAO_IOR_Property_ptr obj)
{
obj->_add_ref ();
}
-
+
return obj;
}
void *TAO_IOP::TAO_IOR_Property::_tao_QueryInterface (ptrdiff_t type)
{
void *retv = 0;
-
+
if (type == ACE_reinterpret_cast (
ptrdiff_t,
&ACE_NESTED_CLASS (::TAO_IOP, TAO_IOR_Property)::_tao_class_id)
@@ -927,12 +934,12 @@ void *TAO_IOP::TAO_IOR_Property::_tao_QueryInterface (ptrdiff_t type)
ACE_static_cast (CORBA::Object_ptr, this)
);
}
-
+
if (retv != 0)
{
this->_add_ref ();
}
-
+
return retv;
}
@@ -948,26 +955,26 @@ TAO_IOP::TAO_IOR_Property::marshal (TAO_OutputCDR &)
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_TAO_IOR_Property[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
33,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f525f),
- ACE_NTOHL (0x50726f70),
- ACE_NTOHL (0x65727479),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f525f),
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727479),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:TAO_IOP/TAO_IOR_Property:1.0
17,
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f525f),
- ACE_NTOHL (0x50726f70),
- ACE_NTOHL (0x65727479),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f525f),
+ ACE_NTOHL (0x50726f70),
+ ACE_NTOHL (0x65727479),
ACE_NTOHL (0x0), // name = TAO_IOR_Property
};
@@ -989,21 +996,21 @@ TAO_NAMESPACE_DEFINE (
TAO_NAMESPACE_END
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
+// be/be_visitor_interface/interface_cs.cpp:63
int TAO_IOP::TAO_IOR_Manipulation::_tao_class_id = 0;
TAO_IOP::TAO_IOR_Manipulation_ptr
TAO_IOP::tao_TAO_IOR_Manipulation_life::tao_duplicate (
- TAO_IOP::TAO_IOR_Manipulation_ptr p
+ TAO_IOR_Manipulation_ptr p
)
{
- return TAO_IOP::TAO_IOR_Manipulation::_duplicate (p);
+ return TAO_IOR_Manipulation::_duplicate (p);
}
void
TAO_IOP::tao_TAO_IOR_Manipulation_life::tao_release (
- TAO_IOP::TAO_IOR_Manipulation_ptr p
+ TAO_IOR_Manipulation_ptr p
)
{
CORBA::release (p);
@@ -1014,12 +1021,12 @@ TAO_IOP::tao_TAO_IOR_Manipulation_life::tao_nil (
void
)
{
- return TAO_IOP::TAO_IOR_Manipulation::_nil ();
+ return TAO_IOR_Manipulation::_nil ();
}
CORBA::Boolean
TAO_IOP::tao_TAO_IOR_Manipulation_life::tao_marshal (
- TAO_IOP::TAO_IOR_Manipulation_ptr p,
+ TAO_IOR_Manipulation_ptr p,
TAO_OutputCDR &cdr
)
{
@@ -1032,7 +1039,7 @@ TAO_IOP::tao_TAO_IOR_Manipulation_cast::tao_narrow (
ACE_ENV_ARG_DECL
)
{
- return TAO_IOP::TAO_IOR_Manipulation::_narrow (p ACE_ENV_ARG_PARAMETER);
+ return TAO_IOR_Manipulation::_narrow (p ACE_ENV_ARG_PARAMETER);
}
CORBA::Object *
@@ -1040,8 +1047,8 @@ TAO_IOP::tao_TAO_IOR_Manipulation_cast::tao_upcast (
void *src
)
{
- TAO_IOP::TAO_IOR_Manipulation **tmp =
- ACE_static_cast (TAO_IOP::TAO_IOR_Manipulation **, src);
+ TAO_IOR_Manipulation **tmp =
+ ACE_static_cast (TAO_IOR_Manipulation **, src);
return *tmp;
}
@@ -1069,8 +1076,8 @@ TAO_IOP::tao_TAO_IOR_Manipulation_cast::tao_upcast (
>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:232
+// TAO_IDL - Generated from
+// be/be_visitor_interface/interface_cs.cpp:245
TAO_IOP::TAO_IOR_Manipulation::TAO_IOR_Manipulation (void)
{}
@@ -1078,7 +1085,7 @@ TAO_IOP::TAO_IOR_Manipulation::TAO_IOR_Manipulation (void)
TAO_IOP::TAO_IOR_Manipulation::~TAO_IOR_Manipulation (void)
{}
-void
+void
TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor (void *_tao_void_pointer)
{
TAO_IOR_Manipulation *tmp = ACE_static_cast (TAO_IOR_Manipulation *, _tao_void_pointer);
@@ -1094,7 +1101,7 @@ TAO_IOP::TAO_IOR_Manipulation::_narrow (
return TAO_IOR_Manipulation::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
-TAO_IOP::TAO_IOR_Manipulation_ptr
+TAO_IOP::TAO_IOR_Manipulation_ptr
TAO_IOP::TAO_IOR_Manipulation::_unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_NOT_USED
@@ -1104,7 +1111,7 @@ TAO_IOP::TAO_IOR_Manipulation::_unchecked_narrow (
{
return TAO_IOR_Manipulation::_nil ();
}
-
+
return
ACE_reinterpret_cast (
TAO_IOR_Manipulation_ptr,
@@ -1124,14 +1131,14 @@ TAO_IOP::TAO_IOR_Manipulation::_duplicate (TAO_IOR_Manipulation_ptr obj)
{
obj->_add_ref ();
}
-
+
return obj;
}
void *TAO_IOP::TAO_IOR_Manipulation::_tao_QueryInterface (ptrdiff_t type)
{
void *retv = 0;
-
+
if (type == ACE_reinterpret_cast (
ptrdiff_t,
&ACE_NESTED_CLASS (::TAO_IOP, TAO_IOR_Manipulation)::_tao_class_id)
@@ -1150,12 +1157,12 @@ void *TAO_IOP::TAO_IOR_Manipulation::_tao_QueryInterface (ptrdiff_t type)
ACE_static_cast (CORBA::Object_ptr, this)
);
}
-
+
if (retv != 0)
{
this->_add_ref ();
}
-
+
return retv;
}
@@ -1170,13 +1177,18 @@ TAO_IOP::TAO_IOR_Manipulation::marshal (TAO_OutputCDR &)
return 0;
}
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:49
+// TAO_IDL - Generated from
+// be/be_visitor_sequence/sequence_cs.cpp:72
+
+#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CS_)
+#define _TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CS_
TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (void)
{}
-TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (CORBA::ULong max)
+TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (
+ CORBA::ULong max
+ )
: TAO_Unbounded_Pseudo_Sequence<
CORBA::Object,
CORBA::Object_var
@@ -1187,7 +1199,7 @@ TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (CORBA::ULong max)
TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (
CORBA::ULong max,
CORBA::ULong length,
- CORBA::Object_ptr* buffer,
+ CORBA::Object_ptr * buffer,
CORBA::Boolean release
)
: TAO_Unbounded_Pseudo_Sequence<
@@ -1197,7 +1209,9 @@ TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (
(max, length, buffer, release)
{}
-TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (const IORList &seq)
+TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (
+ const IORList &seq
+ )
: TAO_Unbounded_Pseudo_Sequence<
CORBA::Object,
CORBA::Object_var
@@ -1208,15 +1222,39 @@ TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (const IORList &seq)
TAO_IOP::TAO_IOR_Manipulation::IORList::~IORList (void)
{}
-void TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor (void *_tao_void_pointer)
+void TAO_IOP::TAO_IOR_Manipulation::IORList::_tao_any_destructor (
+ void * _tao_void_pointer
+ )
{
- IORList *tmp = ACE_static_cast (IORList*, _tao_void_pointer);
+ IORList * tmp =
+ ACE_static_cast (
+ IORList *,
+ _tao_void_pointer
+ );
delete tmp;
}
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class
+ TAO_Pseudo_Object_Manager<
+ CORBA::Object,
+ CORBA::Object_var
+ >;
+
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+# pragma instantiate \
+ TAO_Pseudo_Object_Manager< \
+ CORBA::Object, \
+ CORBA::Object_var \
+ >
+
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+template class
TAO_MngSeq_Var_T<
TAO_IOP::TAO_IOR_Manipulation::IORList,
TAO_Pseudo_Object_Manager<
@@ -1225,11 +1263,6 @@ template class
>
>;
-template class TAO_Pseudo_Object_Manager<
- CORBA::Object,
- CORBA::Object_var
- >;
-
template class
TAO_Seq_Var_Base_T<
TAO_IOP::TAO_IOR_Manipulation::IORList,
@@ -1260,10 +1293,6 @@ template class
> \
>
-#pragma instantiate TAO_Pseudo_Object_Manager< \
- CORBA::Object, \
- CORBA::Object_var \
- >
# pragma instantiate \
TAO_Seq_Var_Base_T< \
TAO_IOP::TAO_IOR_Manipulation::IORList, \
@@ -1272,6 +1301,7 @@ template class
CORBA::Object_var \
> \
>
+
# pragma instantiate \
TAO_MngSeq_Out_T< \
TAO_IOP::TAO_IOR_Manipulation::IORList, \
@@ -1282,29 +1312,31 @@ template class
> \
>
-#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+#endif /* end #if !defined */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_TAO_IOR_Manipulation_IORList[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
45,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f525f),
- ACE_NTOHL (0x4d616e69),
- ACE_NTOHL (0x70756c61),
- ACE_NTOHL (0x74696f6e),
- ACE_NTOHL (0x2f494f52),
- ACE_NTOHL (0x4c697374),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f525f),
+ ACE_NTOHL (0x4d616e69),
+ ACE_NTOHL (0x70756c61),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x2f494f52),
+ ACE_NTOHL (0x4c697374),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:TAO_IOP/TAO_IOR_Manipulation/IORList:1.0
8,
- ACE_NTOHL (0x494f524c),
+ ACE_NTOHL (0x494f524c),
ACE_NTOHL (0x69737400), // name = IORList
CORBA::tk_sequence, // typecode kind
68, // encapsulation length
@@ -1313,18 +1345,18 @@ static const CORBA::Long _oc_TAO_IOP_TAO_IOR_Manipulation_IORList[] =
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
-
+
0U,
};
@@ -1341,28 +1373,28 @@ static CORBA::TypeCode _tc_TAO_tc_TAO_IOP_TAO_IOR_Manipulation_IORList (
&_tc_TAO_tc_TAO_IOP_TAO_IOR_Manipulation_IORList;
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284
+// be/be_visitor_typecode/typecode_defn.cpp:284
static const CORBA::Long _oc_TAO_IOP_TAO_IOR_Manipulation[] =
{
TAO_ENCAP_BYTE_ORDER, // byte order
37,
- ACE_NTOHL (0x49444c3a),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f502f),
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f525f),
- ACE_NTOHL (0x4d616e69),
- ACE_NTOHL (0x70756c61),
- ACE_NTOHL (0x74696f6e),
- ACE_NTOHL (0x3a312e30),
+ ACE_NTOHL (0x49444c3a),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f502f),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f525f),
+ ACE_NTOHL (0x4d616e69),
+ ACE_NTOHL (0x70756c61),
+ ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x3a312e30),
ACE_NTOHL (0x0), // repository ID = IDL:TAO_IOP/TAO_IOR_Manipulation:1.0
21,
- ACE_NTOHL (0x54414f5f),
- ACE_NTOHL (0x494f525f),
- ACE_NTOHL (0x4d616e69),
- ACE_NTOHL (0x70756c61),
- ACE_NTOHL (0x74696f6e),
+ ACE_NTOHL (0x54414f5f),
+ ACE_NTOHL (0x494f525f),
+ ACE_NTOHL (0x4d616e69),
+ ACE_NTOHL (0x70756c61),
+ ACE_NTOHL (0x74696f6e),
ACE_NTOHL (0x0), // name = TAO_IOR_Manipulation
};
@@ -1383,8 +1415,35 @@ TAO_NAMESPACE_DEFINE (
)
TAO_NAMESPACE_END
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:54
+// TAO_IDL - Generated from
+// be/be_visitor_exception/any_op_cs.cpp:50
+
+ACE_TEMPLATE_SPECIALIZATION
+CORBA::Boolean
+TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList>::demarshal_value (
+ TAO_InputCDR & cdr
+ )
+{
+ CORBA::String_var id;
+
+ if ((cdr >> id.out ()) == 0)
+ {
+ return 0;
+ }
+
+ ACE_TRY_NEW_ENV
+ {
+ this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ return 0;
+ }
+ ACE_ENDTRY;
+
+ return 1;
+}
// Copying insertion.
void operator<<= (
@@ -1448,8 +1507,35 @@ CORBA::Boolean operator>>= (
# pragma instantiate TAO::Any_Dual_Impl_T<TAO_IOP::EmptyProfileList \>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:54
+// TAO_IDL - Generated from
+// be/be_visitor_exception/any_op_cs.cpp:50
+
+ACE_TEMPLATE_SPECIALIZATION
+CORBA::Boolean
+TAO::Any_Dual_Impl_T<TAO_IOP::NotFound>::demarshal_value (
+ TAO_InputCDR & cdr
+ )
+{
+ CORBA::String_var id;
+
+ if ((cdr >> id.out ()) == 0)
+ {
+ return 0;
+ }
+
+ ACE_TRY_NEW_ENV
+ {
+ this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ return 0;
+ }
+ ACE_ENDTRY;
+
+ return 1;
+}
// Copying insertion.
void operator<<= (
@@ -1513,8 +1599,35 @@ CORBA::Boolean operator>>= (
# pragma instantiate TAO::Any_Dual_Impl_T<TAO_IOP::NotFound \>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:54
+// TAO_IDL - Generated from
+// be/be_visitor_exception/any_op_cs.cpp:50
+
+ACE_TEMPLATE_SPECIALIZATION
+CORBA::Boolean
+TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate>::demarshal_value (
+ TAO_InputCDR & cdr
+ )
+{
+ CORBA::String_var id;
+
+ if ((cdr >> id.out ()) == 0)
+ {
+ return 0;
+ }
+
+ ACE_TRY_NEW_ENV
+ {
+ this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ return 0;
+ }
+ ACE_ENDTRY;
+
+ return 1;
+}
// Copying insertion.
void operator<<= (
@@ -1578,8 +1691,35 @@ CORBA::Boolean operator>>= (
# pragma instantiate TAO::Any_Dual_Impl_T<TAO_IOP::Duplicate \>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:54
+// TAO_IDL - Generated from
+// be/be_visitor_exception/any_op_cs.cpp:50
+
+ACE_TEMPLATE_SPECIALIZATION
+CORBA::Boolean
+TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR>::demarshal_value (
+ TAO_InputCDR & cdr
+ )
+{
+ CORBA::String_var id;
+
+ if ((cdr >> id.out ()) == 0)
+ {
+ return 0;
+ }
+
+ ACE_TRY_NEW_ENV
+ {
+ this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ return 0;
+ }
+ ACE_ENDTRY;
+
+ return 1;
+}
// Copying insertion.
void operator<<= (
@@ -1643,8 +1783,35 @@ CORBA::Boolean operator>>= (
# pragma instantiate TAO::Any_Dual_Impl_T<TAO_IOP::Invalid_IOR \>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:54
+// TAO_IDL - Generated from
+// be/be_visitor_exception/any_op_cs.cpp:50
+
+ACE_TEMPLATE_SPECIALIZATION
+CORBA::Boolean
+TAO::Any_Dual_Impl_T<TAO_IOP::MultiProfileList>::demarshal_value (
+ TAO_InputCDR & cdr
+ )
+{
+ CORBA::String_var id;
+
+ if ((cdr >> id.out ()) == 0)
+ {
+ return 0;
+ }
+
+ ACE_TRY_NEW_ENV
+ {
+ this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCHANY
+ {
+ return 0;
+ }
+ ACE_ENDTRY;
+
+ return 1;
+}
// Copying insertion.
void operator<<= (
@@ -1709,7 +1876,7 @@ CORBA::Boolean operator>>= (
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
+// be/be_visitor_interface/any_op_cs.cpp:50
// Copying insertion.
void
@@ -1755,15 +1922,13 @@ operator>>= (
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
defined (ACE_HAS_GNU_REPO)
-template class TAO_Object_Manager<TAO_IOP::TAO_IOR_Property,TAO_IOP::TAO_IOR_Property_var,TAO_IOP::tao_TAO_IOR_Property_life>;
-template class TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>;
+ template class TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<TAO_IOP::TAO_IOR_Property, TAO_IOP::TAO_IOR_Property_var,TAO_IOP::tao_TAO_IOR_Property_life>
# pragma instantiate TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:52
+// be/be_visitor_interface/any_op_cs.cpp:50
// Copying insertion.
void
@@ -1809,9 +1974,8 @@ operator>>= (
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) || \
defined (ACE_HAS_GNU_REPO)
- template class TAO_Object_Manager<TAO_IOP::TAO_IOR_Manipulation,TAO_IOP::TAO_IOR_Manipulation_var,TAO_IOP::tao_TAO_IOR_Manipulation_life>;
template class TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-# pragma instantiate TAO_Object_Manager<TAO_IOP::TAO_IOR_Manipulation, TAO_IOP::TAO_IOR_Manipulation_var,TAO_IOP::tao_TAO_IOR_Manipulation_life>
# pragma instantiate TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
diff --git a/TAO/tao/IORManipulation/IORC.h b/TAO/tao/IORManipulation/IORC.h
index 8b4a8a06a49..b609a28548d 100644
--- a/TAO/tao/IORManipulation/IORC.h
+++ b/TAO/tao/IORManipulation/IORC.h
@@ -15,32 +15,31 @@
// Irvine, CA
// USA
// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:151
+// be/be_codegen.cpp:151
#ifndef _TAO_IDL_ORIG_IORC_H_
#define _TAO_IDL_ORIG_IORC_H_
-#include /**/ "ace/pre.h"
-#include "tao/Exception.h"
+#include "ace/pre.h"
-#ifndef TAO_IORMANIP_SAFE_INCLUDE
-#error "You should not include IORC.h directly, use IORManip_Loader.h"
-#endif /* !TAO_IORMANIP_SAFE_INCLUDE */
+#include "tao/corba.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ior_manip_export.h"
-#include "tao/Object.h"
-#include "tao/Sequence.h"
-#include "tao/Any_Impl_T.h"
-#include "tao/Any_Dual_Impl_T.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
@@ -66,13 +65,13 @@
#endif /* __BORLANDC__ */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:48
+// be/be_visitor_module/module_ch.cpp:48
TAO_NAMESPACE TAO_IOP
{
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+ // be/be_visitor_exception/exception_ch.cpp:51
#if !defined (_TAO_IOP_EMPTYPROFILELIST_CH_)
#define _TAO_IOP_EMPTYPROFILELIST_CH_
@@ -98,29 +97,29 @@ TAO_NAMESPACE TAO_IOP
virtual void _tao_encode (
TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
+ // be/be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_EmptyProfileList;
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+ // be/be_visitor_exception/exception_ch.cpp:51
#if !defined (_TAO_IOP_NOTFOUND_CH_)
#define _TAO_IOP_NOTFOUND_CH_
@@ -146,29 +145,29 @@ TAO_NAMESPACE TAO_IOP
virtual void _tao_encode (
TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
+ // be/be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_NotFound;
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+ // be/be_visitor_exception/exception_ch.cpp:51
#if !defined (_TAO_IOP_DUPLICATE_CH_)
#define _TAO_IOP_DUPLICATE_CH_
@@ -194,29 +193,29 @@ TAO_NAMESPACE TAO_IOP
virtual void _tao_encode (
TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
+ // be/be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Duplicate;
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+ // be/be_visitor_exception/exception_ch.cpp:51
#if !defined (_TAO_IOP_INVALID_IOR_CH_)
#define _TAO_IOP_INVALID_IOR_CH_
@@ -242,29 +241,29 @@ TAO_NAMESPACE TAO_IOP
virtual void _tao_encode (
TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
+ // be/be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_Invalid_IOR;
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
+ // be/be_visitor_exception/exception_ch.cpp:51
#if !defined (_TAO_IOP_MULTIPROFILELIST_CH_)
#define _TAO_IOP_MULTIPROFILELIST_CH_
@@ -290,29 +289,29 @@ TAO_NAMESPACE TAO_IOP
virtual void _tao_encode (
TAO_OutputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
- ACE_ENV_ARG_DECL_NOT_USED
+ ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
+ // be/be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_MultiProfileList;
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:567
+ // be/be_interface.cpp:584
#if !defined (_TAO_IOP_TAO_IOR_PROPERTY__ODDS_N_ENDS_CH_)
#define _TAO_IOP_TAO_IOR_PROPERTY__ODDS_N_ENDS_CH_
@@ -358,7 +357,7 @@ TAO_NAMESPACE TAO_IOP
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:54
+ // be/be_visitor_interface/interface_ch.cpp:53
#if !defined (_TAO_IOP_TAO_IOR_PROPERTY_CH_)
#define _TAO_IOP_TAO_IOR_PROPERTY_CH_
@@ -392,10 +391,10 @@ TAO_NAMESPACE TAO_IOP
static void _tao_any_destructor (void *);
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Boolean set_property (
- CORBA::Object_ptr ior
+ CORBA::Object_ptr & ior
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
@@ -404,10 +403,10 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Boolean set_primary (
- CORBA::Object_ptr ior1,
+ CORBA::Object_ptr & ior1,
CORBA::Object_ptr ior2
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
@@ -418,7 +417,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Object_ptr get_primary (
CORBA::Object_ptr ior
@@ -430,7 +429,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Boolean is_primary_set (
CORBA::Object_ptr ior
@@ -441,7 +440,19 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:211
+ // be/be_visitor_operation/operation_ch.cpp:46
+
+ virtual CORBA::Boolean remove_primary_tag (
+ CORBA::Object_ptr iogr
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ , TAO_IOP::NotFound
+ )) = 0;
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_interface/interface_ch.cpp:210
virtual void *_tao_QueryInterface (ptrdiff_t type);
@@ -460,12 +471,12 @@ TAO_NAMESPACE TAO_IOP
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TAO_IOR_Property;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:567
+ // be/be_interface.cpp:584
#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION__ODDS_N_ENDS_CH_)
#define _TAO_IOP_TAO_IOR_MANIPULATION__ODDS_N_ENDS_CH_
@@ -511,7 +522,7 @@ TAO_NAMESPACE TAO_IOP
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:54
+ // be/be_visitor_interface/interface_ch.cpp:53
#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_CH_)
#define _TAO_IOP_TAO_IOR_MANIPULATION_CH_
@@ -545,7 +556,10 @@ TAO_NAMESPACE TAO_IOP
static void _tao_any_destructor (void *);
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_ch.cpp:75
+ // be/be_visitor_sequence/sequence_ch.cpp:100
+
+#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CH_)
+#define _TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CH_
class IORList;
@@ -554,7 +568,7 @@ TAO_NAMESPACE TAO_IOP
IORList,
TAO_Pseudo_Object_Manager<
CORBA::Object,
- CORBA::Object
+ CORBA::Object_var
>
>
IORList_var;
@@ -565,7 +579,7 @@ TAO_NAMESPACE TAO_IOP
IORList_var,
TAO_Pseudo_Object_Manager<
CORBA::Object,
- CORBA::Object
+ CORBA::Object_var
>
>
IORList_out;
@@ -594,13 +608,15 @@ TAO_NAMESPACE TAO_IOP
typedef IORList_var _var_type;
};
+#endif /* end #if !defined */
+
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
static ::CORBA::TypeCode_ptr _tc_IORList;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Object_ptr merge_iors (
const TAO_IOP::TAO_IOR_Manipulation::IORList & iors
@@ -614,7 +630,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Object_ptr add_profiles (
CORBA::Object_ptr ior1,
@@ -629,7 +645,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Object_ptr remove_profiles (
CORBA::Object_ptr ior1,
@@ -644,7 +660,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Boolean set_property (
TAO_IOP::TAO_IOR_Property_ptr prop,
@@ -658,7 +674,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Boolean set_primary (
TAO_IOP::TAO_IOR_Property_ptr prop,
@@ -675,7 +691,19 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
+
+ virtual CORBA::Boolean remove_primary_tag (
+ TAO_IOP::TAO_IOR_Property_ptr prop,
+ CORBA::Object_ptr ior
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ // TAO_IDL - Generated from
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Object_ptr get_primary (
TAO_IOP::TAO_IOR_Property_ptr prop,
@@ -688,7 +716,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Boolean is_primary_set (
TAO_IOP::TAO_IOR_Property_ptr prop,
@@ -700,7 +728,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::ULong is_in_ior (
CORBA::Object_ptr ior1,
@@ -713,7 +741,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
+ // be/be_visitor_operation/operation_ch.cpp:46
virtual CORBA::ULong get_profile_count (
CORBA::Object_ptr ior
@@ -725,7 +753,7 @@ TAO_NAMESPACE TAO_IOP
)) = 0;
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:211
+ // be/be_visitor_interface/interface_ch.cpp:210
virtual void *_tao_QueryInterface (ptrdiff_t type);
@@ -744,18 +772,18 @@ TAO_NAMESPACE TAO_IOP
#endif /* end #if !defined */
// TAO_IDL - Generated from
- // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
+ // be/be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_TAO_IOR_Manipulation;
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_module/module_ch.cpp:67
+// be/be_visitor_module/module_ch.cpp:67
}
TAO_NAMESPACE_CLOSE // module TAO_IOP
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+// be/be_visitor_exception/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::EmptyProfileList &); // copying version
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::EmptyProfileList*); // noncopying version
@@ -763,7 +791,7 @@ TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::Emp
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::EmptyProfileList *&);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+// be/be_visitor_exception/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::NotFound &); // copying version
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::NotFound*); // noncopying version
@@ -771,7 +799,7 @@ TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::Not
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::NotFound *&);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+// be/be_visitor_exception/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::Duplicate &); // copying version
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::Duplicate*); // noncopying version
@@ -779,7 +807,7 @@ TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::Dup
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::Duplicate *&);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+// be/be_visitor_exception/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::Invalid_IOR &); // copying version
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::Invalid_IOR*); // noncopying version
@@ -787,7 +815,7 @@ TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::Inv
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::Invalid_IOR *&);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_ch.cpp:52
+// be/be_visitor_exception/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::MultiProfileList &); // copying version
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::MultiProfileList*); // noncopying version
@@ -795,21 +823,21 @@ TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::Mul
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::MultiProfileList *&);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+// be/be_visitor_interface/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Property_ptr); // copying
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Property_ptr *); // non-copying
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::TAO_IOR_Property_ptr &);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_ch.cpp:52
+// be/be_visitor_interface/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation_ptr); // copying
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation_ptr *); // non-copying
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation_ptr &);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_ch.cpp:52
+// be/be_visitor_sequence/any_op_ch.cpp:52
TAO_IORManip_Export void operator<<= (CORBA::Any &, const TAO_IOP::TAO_IOR_Manipulation::IORList &); // copying version
TAO_IORManip_Export void operator<<= (CORBA::Any &, TAO_IOP::TAO_IOR_Manipulation::IORList*); // noncopying version
@@ -817,47 +845,47 @@ TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO_IOP::TAO
TAO_IORManip_Export CORBA::Boolean operator>>= (const CORBA::Any &, const TAO_IOP::TAO_IOR_Manipulation::IORList *&);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:48
+// be/be_visitor_root/cdr_op.cpp:48
#ifndef __ACE_INLINE__
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52
+// be/be_visitor_exception/cdr_op_ch.cpp:52
TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::EmptyProfileList &);
TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::EmptyProfileList &);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52
+// be/be_visitor_exception/cdr_op_ch.cpp:52
TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::NotFound &);
TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::NotFound &);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52
+// be/be_visitor_exception/cdr_op_ch.cpp:52
TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::Duplicate &);
TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::Duplicate &);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52
+// be/be_visitor_exception/cdr_op_ch.cpp:52
TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::Invalid_IOR &);
TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::Invalid_IOR &);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ch.cpp:52
+// be/be_visitor_exception/cdr_op_ch.cpp:52
TAO_IORManip_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const TAO_IOP::MultiProfileList &);
TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::MultiProfileList &);
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/cdr_op.cpp:64
+// be/be_visitor_root/cdr_op.cpp:64
#endif /* __ACE_INLINE__ */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:1018
+// be/be_codegen.cpp:1059
#if defined (__ACE_INLINE__)
#include "IORC.i"
@@ -871,5 +899,5 @@ TAO_IORManip_Export CORBA::Boolean operator>> (TAO_InputCDR &, TAO_IOP::MultiPro
#pragma option pop
#endif /* __BORLANDC__ */
-#include /**/ "ace/post.h"
+#include "ace/post.h"
#endif /* ifndef */
diff --git a/TAO/tao/IORManipulation/IORC.i b/TAO/tao/IORManipulation/IORC.i
index 1b26f72c621..99484d0c374 100644
--- a/TAO/tao/IORManipulation/IORC.i
+++ b/TAO/tao/IORManipulation/IORC.i
@@ -15,13 +15,19 @@
// Irvine, CA
// USA
// http://doc.ece.uci.edu/
+// and
+// Institute for Software Integrated Systems
+// Vanderbilt University
+// Nashville, TN
+// USA
+// http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
+// be/be_visitor_interface/interface_ci.cpp:63
#if !defined (_TAO_IOP_TAO_IOR_PROPERTY___CI_)
#define _TAO_IOP_TAO_IOR_PROPERTY___CI_
@@ -56,7 +62,7 @@ TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Property>::demarshal_value (TAO_InputCDR &)
#endif /* end #if !defined */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:68
+// be/be_visitor_interface/interface_ci.cpp:63
#if !defined (_TAO_IOP_TAO_IOR_MANIPULATION___CI_)
#define _TAO_IOP_TAO_IOR_MANIPULATION___CI_
@@ -91,7 +97,7 @@ TAO::Any_Impl_T<TAO_IOP::TAO_IOR_Manipulation>::demarshal_value (TAO_InputCDR &)
#endif /* end #if !defined */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71
+// be/be_visitor_exception/cdr_op_ci.cpp:71
ACE_INLINE
CORBA::Boolean operator<< (
@@ -120,7 +126,7 @@ CORBA::Boolean operator>> (
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71
+// be/be_visitor_exception/cdr_op_ci.cpp:71
ACE_INLINE
CORBA::Boolean operator<< (
@@ -149,7 +155,7 @@ CORBA::Boolean operator>> (
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71
+// be/be_visitor_exception/cdr_op_ci.cpp:71
ACE_INLINE
CORBA::Boolean operator<< (
@@ -178,7 +184,7 @@ CORBA::Boolean operator>> (
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71
+// be/be_visitor_exception/cdr_op_ci.cpp:71
ACE_INLINE
CORBA::Boolean operator<< (
@@ -207,7 +213,7 @@ CORBA::Boolean operator>> (
}
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71
+// be/be_visitor_exception/cdr_op_ci.cpp:71
ACE_INLINE
CORBA::Boolean operator<< (
@@ -234,3 +240,4 @@ CORBA::Boolean operator>> (
{
return 1;
}
+
diff --git a/TAO/tao/IORManipulation/IORManipulation.cpp b/TAO/tao/IORManipulation/IORManipulation.cpp
index fdc0eadb9d2..a2027ae197f 100644
--- a/TAO/tao/IORManipulation/IORManipulation.cpp
+++ b/TAO/tao/IORManipulation/IORManipulation.cpp
@@ -309,6 +309,16 @@ TAO_IOR_Manipulation_impl::is_primary_set (
return prop->is_primary_set (ior ACE_ENV_ARG_PARAMETER);
}
+CORBA::Boolean
+TAO_IOR_Manipulation_impl:: remove_primary_tag (
+ TAO_IOP::TAO_IOR_Property_ptr prop,
+ CORBA::Object_ptr ior
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return prop->remove_primary_tag (ior ACE_ENV_ARG_PARAMETER);
+}
+
CORBA::ULong
TAO_IOR_Manipulation_impl::is_in_ior (
CORBA::Object_ptr ior1,
diff --git a/TAO/tao/IORManipulation/IORManipulation.h b/TAO/tao/IORManipulation/IORManipulation.h
index 0119f0dab0d..7388a46f7ad 100644
--- a/TAO/tao/IORManipulation/IORManipulation.h
+++ b/TAO/tao/IORManipulation/IORManipulation.h
@@ -130,6 +130,14 @@ public:
CORBA::SystemException
));
+ virtual CORBA::Boolean remove_primary_tag (
+ TAO_IOP::TAO_IOR_Property_ptr prop,
+ CORBA::Object_ptr iogr
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
virtual CORBA::ULong is_in_ior (
CORBA::Object_ptr ior1,
CORBA::Object_ptr ior2
diff --git a/TAO/tao/Tagged_Components.cpp b/TAO/tao/Tagged_Components.cpp
index 873d6f92b46..01ffc198888 100644
--- a/TAO/tao/Tagged_Components.cpp
+++ b/TAO/tao/Tagged_Components.cpp
@@ -207,6 +207,53 @@ TAO_Tagged_Components::add_component_i (const IOP::TaggedComponent& component)
}
int
+TAO_Tagged_Components::remove_component (IOP::ComponentId id)
+{
+ if (this->known_tag (id))
+ return this->remove_known_component_i (id);
+ else
+ return this->remove_component_i (id);
+}
+
+int
+TAO_Tagged_Components::remove_known_component_i (
+ IOP::ComponentId tag)
+{
+ if (tag == IOP::TAG_ORB_TYPE)
+ {
+ this->orb_type_ = 0;
+ this->orb_type_set_ = 0;
+ return 1;
+ }
+ else if (tag == IOP::TAG_CODE_SETS)
+ {
+ this->code_sets_set_ = 0;
+ return 1;
+ }
+ else
+ return 0;
+}
+
+int
+TAO_Tagged_Components::remove_component_i (IOP::ComponentId tag)
+{
+ CORBA::ULong src = 0, dest = 0;
+ CORBA::ULong len = this->components_.length ();
+
+ for (;src != len;++src)
+ {
+ if ( tag != this->components_[src].tag)
+ {
+ this->components_[dest] = this->components_[src];
+ ++dest;
+ }
+ }
+
+ this->components_.length (dest);
+ return src - dest;
+}
+
+int
TAO_Tagged_Components::get_component (IOP::TaggedComponent& component) const
{
for (CORBA::ULong i = 0; i != this->components_.length (); ++i)
diff --git a/TAO/tao/Tagged_Components.h b/TAO/tao/Tagged_Components.h
index 14040b06b39..00779997ba3 100644
--- a/TAO/tao/Tagged_Components.h
+++ b/TAO/tao/Tagged_Components.h
@@ -86,6 +86,10 @@ public:
/// 0 if the component is not present.
int get_component (IOP::TaggedComponent& component) const;
+ /// Remove a component, if present. Return number of components
+ /// removed.
+ int remove_component (IOP::ComponentId id);
+
// = Marshaling and demarshaling
/// Marshal and demarshal the list.
@@ -112,6 +116,10 @@ private:
void add_component_i (IOP::TaggedComponent& component);
void set_component_i (IOP::ComponentId tag, TAO_OutputCDR &cdr);
+ /// Helper methods to implement remove_component()
+ int remove_known_component_i (IOP::ComponentId tag);
+ int remove_component_i (IOP::ComponentId tag);
+
/// Helper methods to implement set_component()
int get_known_component_i (IOP::TaggedComponent& component) const;
int get_component_i (IOP::TaggedComponent& component) const;