00001
00002 #ifndef d_Set_h
00003 #define d_Set_h 1
00004
00005
00006 #include "d_Collection.h"
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 template <class T>
00017 class _ODLL d_Set : public d_Collection<T>
00018 {
00019 public:
00020 ~d_Set();
00021
00022 virtual d_Boolean allows_duplicates () const;
00023 virtual d_Boolean is_ordered () const;
00024 };
00025
00026
00027 template <class T>
00028 inline d_Boolean d_Set<T>::allows_duplicates () const
00029 {
00030 return false;
00031 }
00032
00033 template <class T>
00034 inline d_Boolean d_Set<T>::is_ordered () const
00035 {
00036 return false;
00037 }
00038
00039
00040
00041 #endif