From: msv Date: Fri, 14 Jan 2005 13:39:57 +0000 (+0000) Subject: Improve SMDS: replace STL containers with their eqiuvalents from OCCT NCollection X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9f2fd0ea8afdcf3f470d110054b29678671fb55;p=modules%2Fsmesh.git Improve SMDS: replace STL containers with their eqiuvalents from OCCT NCollection for sets of mesh entities --- 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);