listitem.inc

Go to the documentation of this file.
00001 
00029 #ifndef ABA_LISTITEM_INC
00030 #define ABA_LISTITEM_INC
00031 
00032   template <class Type>
00033   inline ABA_LISTITEM<Type>::ABA_LISTITEM(const Type &elem, ABA_LISTITEM<Type> *succ) 
00034   : 
00035     elem_(elem), 
00036     succ_(succ)
00037     {  }
00038 
00039   template <class Type>
00040   ostream& operator<<(ostream &out, const ABA_LISTITEM<Type> &item)
00041   {
00042     out << item.elem_;
00043     return out;
00044   }
00045 
00046   template<class Type>
00047   inline Type ABA_LISTITEM<Type>::elem() const
00048   {
00049     return elem_;
00050   }
00051 
00052   template<class Type>
00053   inline ABA_LISTITEM<Type> * ABA_LISTITEM<Type>::succ() const
00054   {
00055     return succ_;
00056   }
00057 
00058 
00059 #endif   // ABA_LISTITEM_INC

Generated on Tue Aug 14 18:09:53 2007 for ABACUS by  doxygen 1.5.1