Integration of OCCT 6.5.0 from SVN
[occt.git] / src / NCollection / NCollection_DefineTListIterator.hxx
1 // File:        NCollection_DefineTListIterator.hxx
2 // Created:     Tue Apr 23 17:33:02 2002
3 // Author:      Alexander KARTOMIN
4 //              <a-kartomin@opencascade.com>
5 //
6 // Purpose:     This Iterator class iterates on BaseList of TListNode and is 
7 //              instantiated in List/Set/Queue/Stack
8 // Remark:      TListIterator is internal class
9 //
10
11 #ifndef NCollection_DefineTListIterator_HeaderFile
12 #define NCollection_DefineTListIterator_HeaderFile
13
14 #include <NCollection_DefineBaseCollection.hxx>
15 #include <NCollection_TListIterator.hxx>
16
17 #ifdef WNT
18 // Disable the warning "operator new unmatched by delete"
19 #pragma warning (disable:4291)
20 #endif
21
22 // ********************************** Implementation of the Iterator interface
23 #define DEFINE_TLISTITERATOR(_ClassName_, _BaseCollection_, TheItemType)       \
24         typedef NCollection_TListIterator<TheItemType > _ClassName_;
25
26 #endif