7fd59977 |
1 | // File: NCollection_DefineSet.hxx |
2 | // Created: 17.04.02 10:12:48 |
3 | // Author: Alexander Kartomin (akm) |
4 | // <a-kartomin@opencascade.com> |
5 | // Automatically created from NCollection_Set.hxx by GAWK |
6 | // Copyright: Open Cascade 2002 |
7 | // |
8 | // Purpose: A set is an unordered collection of items without |
9 | // duplications. To test for duplications the operators == and != |
10 | // are used on the items. |
11 | // Inherits BaseList, adding the data item to each node. |
12 | // |
13 | |
14 | |
15 | #ifndef NCollection_DefineSet_HeaderFile |
16 | #define NCollection_DefineSet_HeaderFile |
17 | |
18 | #include <NCollection_DefineBaseCollection.hxx> |
19 | #include <NCollection_Set.hxx> |
20 | |
21 | #ifdef WNT |
22 | // Disable the warning "operator new unmatched by delete" |
23 | #pragma warning (disable:4291) |
24 | #endif |
25 | |
26 | // **************************************** Template for Set class ******** |
27 | |
28 | #define DEFINE_SET(_ClassName_, _BaseCollection_, TheItemType) \ |
29 | typedef NCollection_Set<TheItemType > _ClassName_; |
30 | |
31 | #endif |