00001 00002 #ifndef d_List_h 00003 #define d_List_h 1 00004 00005 //------------------------------------------------------------------------------ 00006 #include "d_Collection.h" 00007 00008 /** 00009 * It's a container class, it's ordered and allows duplicates. 00010 * 00011 * NOTE: Not yet available, please use full working d_Varray class. 00012 * 00013 * SEE ALSO: 00014 * d_Bag, d_Collection, d_Dictionary, d_Iterator, d_Set, d_Varray 00015 */ 00016 00017 template <class T> 00018 class _ODLL d_List : public d_Collection<T> 00019 { 00020 public: 00021 ~d_List(); 00022 00023 virtual d_Boolean allows_duplicates () const; 00024 virtual d_Boolean is_ordered () const; 00025 }; 00026 00027 //------------------------------------------------------------------------------ 00028 template <class T> 00029 inline d_Boolean d_List<T>::allows_duplicates () const 00030 { 00031 return true; 00032 } 00033 //------------------------------------------------------------------------------ 00034 template <class T> 00035 inline d_Boolean d_List<T>::is_ordered () const 00036 { 00037 return true; 00038 } 00039 //------------------------------------------------------------------------------ 00040 //------------------------------------------------------------------------------ 00041 00042 #endif
1.3-rc1