diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Object.i | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/tao/Object.i')
-rw-r--r-- | TAO/tao/Object.i | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/TAO/tao/Object.i b/TAO/tao/Object.i deleted file mode 100644 index e8c1606bb73..00000000000 --- a/TAO/tao/Object.i +++ /dev/null @@ -1,100 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -// **************************************************************** - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE -CORBA::Object::Object (int) - : is_local_ (true), - is_evaluated_ (true), - ior_ (), - orb_core_ (0), - protocol_proxy_ (0), - refcount_ (), - object_init_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 true; - } - - 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 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 (); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |