3 //=============================================================================
5 * @file IORManipulation.h
7 * This class implements IOR interface to the ORB
9 * @author Fred Kuhns <fredk@cs.wustl.edu>
11 //=============================================================================
14 #ifndef TAO_IOR_MANIPULATION_H
15 #define TAO_IOR_MANIPULATION_H
17 #include /**/ "ace/pre.h"
19 #include "tao/LocalObject.h"
20 #include "tao/IORManipulation/IORManip_Loader.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "tao/IORManipulation/IORC.h"
30 #pragma warning(disable:4250)
33 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
35 class TAO_IOR_Manipulation_impl
36 : public TAO_IOP::TAO_IOR_Manipulation
,
37 public ::CORBA::LocalObject
41 TAO_IOR_Manipulation_impl ();
43 virtual CORBA::Object_ptr
merge_iors (
44 const TAO_IOP::TAO_IOR_Manipulation::IORList
& iors
);
46 virtual CORBA::Object_ptr
add_profiles (
47 CORBA::Object_ptr ior1
, CORBA::Object_ptr ior2
);
49 virtual CORBA::Object_ptr
remove_profiles (
50 CORBA::Object_ptr group
, CORBA::Object_ptr ior2
);
52 virtual CORBA::Boolean
set_property (
53 TAO_IOP::TAO_IOR_Property_ptr prop
, CORBA::Object_ptr group
);
55 // @@ note awkward argument order
56 virtual CORBA::Boolean
set_primary (
57 TAO_IOP::TAO_IOR_Property_ptr prop
,
58 CORBA::Object_ptr new_primary
,
59 CORBA::Object_ptr group
);
61 virtual CORBA::Object_ptr
get_primary (
62 TAO_IOP::TAO_IOR_Property_ptr prop
, CORBA::Object_ptr group
);
64 virtual CORBA::Boolean
is_primary_set (
65 TAO_IOP::TAO_IOR_Property_ptr prop
,
66 CORBA::Object_ptr group
);
68 virtual CORBA::Boolean
remove_primary_tag (
69 TAO_IOP::TAO_IOR_Property_ptr prop
,
70 CORBA::Object_ptr iogr
);
72 virtual CORBA::ULong
is_in_ior (
73 CORBA::Object_ptr ior1
,
74 CORBA::Object_ptr ior2
);
76 virtual CORBA::ULong
get_profile_count (CORBA::Object_ptr group
);
80 ~TAO_IOR_Manipulation_impl ();
83 TAO_END_VERSIONED_NAMESPACE_DECL
89 #include /**/ "ace/post.h"
91 #endif /* TAO_IOR_MANIPULATION_H */