1 // File: NCollection_DefineTListIterator.hxx
2 // Created: Tue Apr 23 17:33:02 2002
3 // Author: Alexander KARTOMIN
4 // <a-kartomin@opencascade.com>
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
11 #ifndef NCollection_DefineTListIterator_HeaderFile
12 #define NCollection_DefineTListIterator_HeaderFile
14 #include <NCollection_DefineBaseCollection.hxx>
15 #include <NCollection_TListIterator.hxx>
18 // Disable the warning "operator new unmatched by delete"
19 #pragma warning (disable:4291)
22 // ********************************** Implementation of the Iterator interface
23 #define DEFINE_TLISTITERATOR(_ClassName_, _BaseCollection_, TheItemType) \
24 typedef NCollection_TListIterator<TheItemType > _ClassName_;