00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00086 #include "vtkContainer.h"
00087
00088 #ifndef __vtkAbstractList_h
00089 #define __vtkAbstractList_h
00090
00091
00092
00093 #define vtkAbstractListCompareFunction(KeyType, CompareFunction) \
00094 int (*CompareFunction)(const KeyType& k1, const KeyType& k2)
00095
00096 template<class DType>
00097 class vtkAbstractList : public vtkContainer
00098 {
00099 virtual const char* GetClassNameInternal() const { return "vtkAbstractList"; }
00100 public:
00101 typedef vtkContainer Superclass;
00102 static vtkAbstractList<DType>* New();
00103
00104
00105
00106
00107 typedef vtkAbstractListCompareFunction(DType, CompareFunctionType);
00108
00109
00110 protected:
00111 vtkAbstractList();
00112
00113 private:
00114 vtkAbstractList(const vtkAbstractList<DType>&);
00115 void operator=(const vtkAbstractList<DType>&);
00116 };
00117
00118 #ifdef VTK_NO_EXPLICIT_TEMPLATE_INSTANTIATION
00119 #include "vtkAbstractList.txx"
00120 #endif
00121
00122 #endif
00123
00124
00125