7fd59977 |
1 | // File: NCollection_DefineDoubleMap.hxx |
2 | // Created: Thu Apr 24 15:02:53 2002 |
3 | // Author: Alexander KARTOMIN (akm) |
4 | // <akm@opencascade.com> |
5 | // |
6 | // Purpose: The DoubleMap is used to bind pairs (Key1,Key2) |
7 | // and retrieve them in linear time. |
8 | // |
9 | // See Map from NCollection for a discussion about the number |
10 | // of buckets |
11 | // |
12 | |
13 | #ifndef NCollection_DefineDoubleMap_HeaderFile |
14 | #define NCollection_DefineDoubleMap_HeaderFile |
15 | |
16 | #include <NCollection_DefineBaseCollection.hxx> |
17 | #include <NCollection_DoubleMap.hxx> |
18 | |
7fd59977 |
19 | // *********************************************** Class DoubleMap ************ |
20 | |
21 | #define DEFINE_DOUBLEMAP(_ClassName_, _BaseCollection_, TheKey1Type, TheKey2Type) \ |
22 | typedef NCollection_DoubleMap <TheKey1Type, TheKey2Type > _ClassName_; |
23 | |
24 | #endif |