Intrusive_List.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Intrusive_List.inl 80826 2008-03-04 14:51:23Z wotte $
00004 
00005 #include <algorithm>
00006 
00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00008 
00009 template<class T> ACE_INLINE int
00010 ACE_Intrusive_List<T>::is_empty (void) const
00011 {
00012   return this->head_ == 0;
00013 }
00014 
00015 template<class T> ACE_INLINE int
00016 ACE_Intrusive_List<T>::empty (void) const
00017 {
00018   return this->is_empty ();
00019 }
00020 
00021 template<class T> ACE_INLINE T *
00022 ACE_Intrusive_List<T>::head (void) const
00023 {
00024   return this->head_;
00025 }
00026 
00027 template<class T> ACE_INLINE T *
00028 ACE_Intrusive_List<T>::tail (void) const
00029 {
00030   return this->tail_;
00031 }
00032 
00033 template<class T> ACE_INLINE void
00034 ACE_Intrusive_List<T>::swap(ACE_Intrusive_List<T> & rhs)
00035 {
00036   std::swap(head_, rhs.head_);
00037   std::swap(tail_, rhs.tail_);
00038 }
00039 
00040 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:18:40 2010 for ACE by  doxygen 1.4.7