From e9f2fd0ea8afdcf3f470d110054b29678671fb55 Mon Sep 17 00:00:00 2001 From: msv Date: Fri, 14 Jan 2005 13:39:57 +0000 Subject: [PATCH] Improve SMDS: replace STL containers with their eqiuvalents from OCCT NCollection for sets of mesh entities --- src/SMDS/SMDS_Mesh.hxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/SMDS/SMDS_Mesh.hxx b/src/SMDS/SMDS_Mesh.hxx index cdcc9166b..1aa9dda92 100644 --- a/src/SMDS/SMDS_Mesh.hxx +++ b/src/SMDS/SMDS_Mesh.hxx @@ -32,7 +32,8 @@ #include "SMDS_MeshFace.hxx" #include "SMDS_MeshVolume.hxx" #include "SMDS_MeshElementIDFactory.hxx" -#include "SMDS_Iterator.hxx" +#include "SMDS_ElemIterator.hxx" +#include #include #include @@ -268,10 +269,10 @@ public: */ bool Contains (const SMDS_MeshElement* elem) const; - typedef std::set SetOfNodes; - typedef std::set SetOfEdges; - typedef std::set SetOfFaces; - typedef std::set SetOfVolumes; + typedef NCollection_Map SetOfNodes; + typedef NCollection_Map SetOfEdges; + typedef NCollection_Map SetOfFaces; + typedef NCollection_Map SetOfVolumes; private: SMDS_Mesh(SMDS_Mesh * parent); -- 2.30.2