00001 // -*- C++ -*- 00002 // 00003 // Unbounded_Set.inl,v 4.5 2005/10/28 23:55:10 ossama Exp 00004 00005 #include "ace/Global_Macros.h" 00006 00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00008 00009 template <class T> ACE_INLINE int 00010 ACE_Unbounded_Set<T>::is_empty (void) const 00011 { 00012 ACE_TRACE ("ACE_Unbounded_Set<T>::is_empty"); 00013 return this->head_ == this->head_->next_; 00014 } 00015 00016 template <class T> ACE_INLINE int 00017 ACE_Unbounded_Set<T>::is_full (void) const 00018 { 00019 ACE_TRACE ("ACE_Unbounded_Set<T>::is_full"); 00020 return 0; // We should implement a "node of last resort for this..." 00021 } 00022 00023 ACE_END_VERSIONED_NAMESPACE_DECL