summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Object.i')
-rw-r--r--TAO/tao/Object.i106
1 files changed, 0 insertions, 106 deletions
diff --git a/TAO/tao/Object.i b/TAO/tao/Object.i
deleted file mode 100644
index d65de4e3bc9..00000000000
--- a/TAO/tao/Object.i
+++ /dev/null
@@ -1,106 +0,0 @@
-// -*- C++ -*-
-//
-// $Id$
-
-// ****************************************************************
-
-ACE_INLINE
-CORBA::Object::Object (int)
- : servant_ (0),
- proxy_broker_ (0),
- is_collocated_ (false),
- is_local_ (true),
- is_evaluated_ (true),
- ior_ (),
- orb_core_ (0),
- protocol_proxy_ (0),
- refcount_ (1),
- refcount_lock_ (0)
-{
-}
-
-ACE_INLINE CORBA::Object_ptr
-CORBA::Object::_duplicate (CORBA::Object_ptr obj)
-{
- if (obj)
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-// ************************************************************
-// These are in CORBA namespace
-
-ACE_INLINE
-void
-CORBA::release (CORBA::Object_ptr obj)
-{
- if (obj)
- {
- obj->_remove_ref ();
- }
-}
-
-ACE_INLINE
-CORBA::Boolean
-CORBA::is_nil (CORBA::Object_ptr obj)
-{
- if (obj == 0)
- {
- return 1;
- }
-
- return CORBA::Object::is_nil_i (obj);
-}
-
-// ************************************************************
-
-// Null pointers represent nil objects.
-
-ACE_INLINE
-CORBA::Object_ptr
-CORBA::Object::_nil (void)
-{
- return 0;
-}
-
-ACE_INLINE
-CORBA::Object_ptr
-CORBA::Object::_narrow (CORBA::Object_ptr obj
- ACE_ENV_ARG_DECL_NOT_USED)
-{
- return CORBA::Object::_duplicate (obj);
-}
-
-ACE_INLINE CORBA::Boolean
-CORBA::Object::is_evaluated (void) const
-{
- return this->is_evaluated_;
-}
-
-ACE_INLINE void
-CORBA::Object::set_collocated_servant (TAO_Abstract_ServantBase *b)
-{
- this->servant_ = b;
- this->is_collocated_ = 1;
-}
-
-ACE_INLINE TAO_ORB_Core *
-CORBA::Object::orb_core (void) const
-{
- return this->orb_core_;
-}
-
-ACE_INLINE IOP::IOR *
-CORBA::Object::steal_ior (void)
-{
- return this->ior_._retn ();
-}
-
-ACE_INLINE const IOP::IOR &
-CORBA::Object::ior (void) const
-{
- return this->ior_.in ();
-}