Servant_Base.i

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Servant_Base.i,v 1.12 2005/11/04 09:26:55 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 TAO_ServantBase_var::TAO_ServantBase_var (void)
00009   : ptr_ (0)
00010 {
00011 }
00012 
00013 ACE_INLINE
00014 TAO_ServantBase_var::TAO_ServantBase_var (TAO_ServantBase *p)
00015   : ptr_ (p)
00016 {
00017 }
00018 
00019 ACE_INLINE TAO_ServantBase *
00020 TAO_ServantBase_var::operator->() const
00021 {
00022   return this->ptr_;
00023 }
00024 
00025 ACE_INLINE TAO_ServantBase *
00026 TAO_ServantBase_var::in (void) const
00027 {
00028   return this->ptr_;
00029 }
00030 
00031 ACE_INLINE TAO_ServantBase *&
00032 TAO_ServantBase_var::inout (void)
00033 {
00034   return this->ptr_;
00035 }
00036 
00037 // -------------------------------------------------------------------
00038 
00039 ACE_INLINE u_long
00040 TAO_Servant_Hash::operator () (PortableServer::Servant servant) const
00041 {
00042   return static_cast<u_long> (reinterpret_cast<ptrdiff_t> (servant));
00043 }
00044 
00045 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 12:40:44 2006 for TAO_PortableServer by doxygen 1.3.6