00001 // -*- C++ -*- 00002 // 00003 // $Id: AbstractBase.inl 76551 2007-01-24 13:42:44Z johnnyw $ 00004 00005 #include "ace/OS_NS_string.h" 00006 00007 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00008 00009 ACE_INLINE 00010 CORBA::AbstractBase_ptr 00011 CORBA::AbstractBase::_nil (void) 00012 { 00013 return static_cast <CORBA::AbstractBase_ptr> (0); 00014 } 00015 00016 ACE_INLINE CORBA::AbstractBase_ptr 00017 CORBA::AbstractBase::_narrow (CORBA::AbstractBase_ptr obj 00018 ) 00019 { 00020 return CORBA::AbstractBase::_duplicate (obj); 00021 } 00022 00023 ACE_INLINE 00024 CORBA::Boolean 00025 CORBA::AbstractBase::_is_objref (void) const 00026 { 00027 return this->is_objref_; 00028 } 00029 00030 ACE_INLINE 00031 TAO_Stub * 00032 CORBA::AbstractBase::_stubobj (void) const 00033 { 00034 return this->concrete_stubobj_; 00035 } 00036 00037 ACE_INLINE 00038 CORBA::Boolean 00039 CORBA::AbstractBase::_is_collocated (void) const 00040 { 00041 return this->is_collocated_; 00042 } 00043 00044 ACE_INLINE 00045 TAO_Abstract_ServantBase * 00046 CORBA::AbstractBase::_servant (void) const 00047 { 00048 return this->servant_; 00049 } 00050 00051 ACE_INLINE 00052 CORBA::Boolean 00053 CORBA::AbstractBase::_is_local (void) const 00054 { 00055 return this->is_local_; 00056 } 00057 00058 TAO_END_VERSIONED_NAMESPACE_DECL