7fd59977 |
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 |
7 | // |
8 | // Purpose: Simple list to link items together keeping the first |
9 | // and the last one. |
10 | // Inherits BaseList, adding the data item to each node. |
11 | // |
12 | |
13 | |
14 | #ifndef NCollection_DefineList_HeaderFile |
15 | #define NCollection_DefineList_HeaderFile |
16 | |
17 | #include <NCollection_List.hxx> |
18 | |
19 | #ifdef WNT |
20 | // Disable the warning "operator new unmatched by delete" |
21 | #pragma warning (disable:4291) |
22 | #endif |
23 | |
24 | // **************************************** Template for List class ******** |
25 | |
26 | #define DEFINE_LIST(_ClassName_, _BaseCollection_, TheItemType) \ |
27 | typedef NCollection_List <TheItemType > _ClassName_; |
28 | |
29 | #endif |