Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / IORManipulation / IORManipulation.h
blobe6627234f95a2645a4fa00abbbcdf6605943da36
1 // -*- C++ -*-
3 //=============================================================================
4 /**
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)
23 # pragma once
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "tao/IORManipulation/IORC.h"
28 #if defined(_MSC_VER)
29 #pragma warning(push)
30 #pragma warning(disable:4250)
31 #endif /* _MSC_VER */
33 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
35 class TAO_IOR_Manipulation_impl
36 : public TAO_IOP::TAO_IOR_Manipulation,
37 public ::CORBA::LocalObject
39 public:
40 /// Constructor
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);
78 protected:
79 /// Destructor
80 ~TAO_IOR_Manipulation_impl ();
83 TAO_END_VERSIONED_NAMESPACE_DECL
85 #if defined(_MSC_VER)
86 #pragma warning(pop)
87 #endif /* _MSC_VER */
89 #include /**/ "ace/post.h"
91 #endif /* TAO_IOR_MANIPULATION_H */