00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00022 #ifndef __StackList_h
00023 #define __StackList_h
00024
00025 #ifdef __GNUC__
00026 #pragma interface
00027 #endif
00028
00029 #ifndef ANSI_HDRS
00030 #include <stddef.h>
00031 #else
00032 #include <cstddef>
00033 #endif
00034
00035 #include "LinkedList.h"
00036
00037 #if !defined(StackListT)
00038 #ifndef USING_TEMPLATES
00039 #define StackListT(T) StackList_##T
00040 #else
00041 #define StackListT(T) StackList<##T##>
00042 #endif
00043 #endif
00044
00048
00049 template <class T>
00050 class UTILIB_API StackList : public LinkedList<T>
00051 {
00052 public:
00053
00055 StackList() : LinkedList() {mode = stackLL;}
00056
00057 };
00058
00059 #endif