Salome HOME
Add interface for keeping information about performed operation of extrusion.
[modules/smesh.git] / src / SMESH / SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx
1 // File:      SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx
2 // Created:   20.09.05 09:51:12
3 // Author:    Sergey KUUL
4 // Copyright: Open CASCADE 2005
5
6
7 #ifndef SMESH_IndexedMapOfShape_HeaderFile
8 #define SMESH_IndexedMapOfShape_HeaderFile
9
10 #include <NCollection_DefineIndexedMap.hxx>
11
12 #include <TopoDS_Shape.hxx>
13
14 inline Standard_Boolean IsEqual(const TopoDS_Shape& S1,
15                                 const TopoDS_Shape& S2)
16 {
17   return S1.IsSame(S2);
18 }
19
20 ///  Class SMESH_IndexedMapOfShape
21
22 DEFINE_BASECOLLECTION (SMESH_BaseCollectionShape, TopoDS_Shape)
23 DEFINE_INDEXEDMAP (SMESH_IndexedMapOfShape, SMESH_BaseCollectionShape, TopoDS_Shape)
24
25 #endif 
26
27 #ifndef SMESH_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
28 #define SMESH_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
29
30 #include <NCollection_DefineIndexedDataMap.hxx>
31
32 ///  Class SMESH_IndexedDataMapOfShapeIndexedMapOfShape
33
34 DEFINE_BASECOLLECTION (SMESH_BaseCollectionIndexedMapOfShape, SMESH_IndexedMapOfShape)
35 DEFINE_INDEXEDDATAMAP (SMESH_IndexedDataMapOfShapeIndexedMapOfShape,
36                        SMESH_BaseCollectionIndexedMapOfShape, TopoDS_Shape,
37                        SMESH_IndexedMapOfShape)
38 #endif