ExceptionList.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: ExceptionList.inl 77992 2007-04-12 10:53:16Z johnnyw $
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 void
00009 CORBA::release (CORBA::ExceptionList_ptr x)
00010 {
00011   if (x != 0)
00012     {
00013       x->_decr_refcnt ();
00014     }
00015 }
00016 
00017 ACE_INLINE
00018 CORBA::Boolean
00019 CORBA::is_nil (CORBA::ExceptionList_ptr x)
00020 {
00021   return x == 0;
00022 }
00023 
00024 // ===================================================================
00025 
00026 ACE_INLINE
00027 CORBA::ExceptionList::ExceptionList (void)
00028   : ref_count_ (1)
00029 {
00030 }
00031 
00032 ACE_INLINE
00033 CORBA::ULong
00034 CORBA::ExceptionList::count (void)
00035 {
00036   return (CORBA::ULong) this->tc_list_.size ();
00037 }
00038 
00039 ACE_INLINE
00040 CORBA::ExceptionList_ptr
00041 CORBA::ExceptionList::_nil (void)
00042 {
00043   return static_cast<CORBA::ExceptionList_ptr>(0);
00044 }
00045 
00046 ACE_INLINE
00047 CORBA::ExceptionList_ptr
00048 CORBA::ExceptionList::_duplicate (CORBA::ExceptionList_ptr x)
00049 {
00050   if (x != 0)
00051     {
00052       x->_incr_refcnt ();
00053     }
00054 
00055   return x;
00056 }
00057 
00058 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Sun Jan 27 13:37:31 2008 for TAO_DynamicInterface by doxygen 1.3.6