summaryrefslogtreecommitdiff
path: root/TAO/tao/target_identifier.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/target_identifier.i')
-rw-r--r--TAO/tao/target_identifier.i78
1 files changed, 0 insertions, 78 deletions
diff --git a/TAO/tao/target_identifier.i b/TAO/tao/target_identifier.i
deleted file mode 100644
index 9f79b1bcb21..00000000000
--- a/TAO/tao/target_identifier.i
+++ /dev/null
@@ -1,78 +0,0 @@
-//$Id$
-
-
-ACE_INLINE
-TAO_Target_Specification::TAO_Target_Specification (void)
- :specifier_ (TAO_Target_Specification::Key_Addr),
- profile_index_ (0)
-{
- //no-op
-}
-
-ACE_INLINE void
-TAO_Target_Specification::target_specifier (const TAO_ObjectKey &key)
-{
- this->specifier_ = TAO_Target_Specification::Key_Addr;
- this->u_.object_key_ = ACE_const_cast (TAO_ObjectKey *,
- &key);
-}
-
-ACE_INLINE void
-TAO_Target_Specification::target_specifier (IOP::TaggedProfile *profile)
-
-{
- if (profile)
- {
- this->specifier_ = TAO_Target_Specification::Profile_Addr;
- this->u_.profile_ = profile;
- }
-}
-
-ACE_INLINE void
-TAO_Target_Specification::target_specifier (IOP::IOR *ior,
- CORBA::ULong prof_index)
-{ if (ior)
- {
- this->specifier_ = TAO_Target_Specification::Reference_Addr;
- this->u_.ior_ = ior;
- this->profile_index_ = prof_index;
- }
-}
-
-ACE_INLINE const TAO_ObjectKey*
-TAO_Target_Specification::object_key (void)
-{
- if (this->specifier_ == TAO_Target_Specification::Key_Addr)
- return this->u_.object_key_;
-
- return 0;
-}
-
-ACE_INLINE const IOP::TaggedProfile *
-TAO_Target_Specification::profile (void)
-{
- if (this->specifier_ == TAO_Target_Specification::Profile_Addr)
- return this->u_.profile_;
-
- return 0;
-}
-
-ACE_INLINE CORBA::ULong
-TAO_Target_Specification::iop_ior (IOP::IOR *& ior)
-{
- if (this->specifier_ == TAO_Target_Specification::Reference_Addr)
- {
- ior = this->u_.ior_;
- return this->profile_index_;
- }
-
- ior = 0;
- return 0;
-}
-
-ACE_INLINE TAO_Target_Specification::TAO_Target_Address
-TAO_Target_Specification::specifier (void)
-{
- return this->specifier_;
-}
-