Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Collocation_Resolver.h
blobc3360654e0e1c2ad8bbfcc1a672ff782ce3a1822
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Collocation_Resolver.h
7 * @author Irfan Pyarali
8 */
9 // ===================================================================
11 #ifndef TAO_COLLOCATION_RESOLVER_H
12 #define TAO_COLLOCATION_RESOLVER_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Basic_Types.h"
24 #include "ace/Service_Object.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
28 namespace CORBA
30 class Object;
31 typedef Object *Object_ptr;
34 /**
35 * @class TAO_Collocation_Resolver
37 * @brief This class helps in resolving if a CORBA:Object is collocated.
39 * \nosubgrouping
41 **/
42 class TAO_Export TAO_Collocation_Resolver
43 : public ACE_Service_Object
45 public:
46 /// Destructor.
47 virtual ~TAO_Collocation_Resolver ();
49 /// Is @a object collocated?
50 virtual CORBA::Boolean is_collocated (CORBA::Object_ptr object) const = 0;
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #include /**/ "ace/post.h"
57 #endif /* TAO_COLLOCATION_RESOLVER_H */