1 // File: NCollection_DefineList.hxx
2 // Created: 17.04.02 10:12:48
3 // Author: Alexander Kartomin (akm)
4 // <a-kartomin@opencascade.com>
5 // Automatically created from NCollection_List.hxx by GAWK
6 // Copyright: Open Cascade 2002
8 // Purpose: Simple list to link items together keeping the first
10 // Inherits BaseList, adding the data item to each node.
14 #ifndef NCollection_DefineList_HeaderFile
15 #define NCollection_DefineList_HeaderFile
17 #include <NCollection_List.hxx>
20 // Disable the warning "operator new unmatched by delete"
21 #pragma warning (disable:4291)
24 // **************************************** Template for List class ********
26 #define DEFINE_LIST(_ClassName_, _BaseCollection_, TheItemType) \
27 typedef NCollection_List <TheItemType > _ClassName_;