From: eap Date: Thu, 29 Oct 2009 08:32:58 +0000 (+0000) Subject: +typedef std::map< SMESH_subMesh*, std::vector > MapShapeNbElems; X-Git-Tag: V4_1_0_maintainance_FINAL~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5be056ddcc97f1479656119cd75643fa666ad5b8;p=modules%2Fsmesh.git +typedef std::map< SMESH_subMesh*, std::vector > MapShapeNbElems; +// vector must have size corresponding to EntityType_Last from SMDSAbs: +typedef std::map< SMESH_subMesh*, std::vector >::iterator MapShapeNbElemsItr; --- diff --git a/src/SMESH/SMESH_Algo.hxx b/src/SMESH/SMESH_Algo.hxx index 240eb51f9..5a4648207 100644 --- a/src/SMESH/SMESH_Algo.hxx +++ b/src/SMESH/SMESH_Algo.hxx @@ -54,6 +54,9 @@ class SMDS_MeshNode; class SMESH_subMesh; class SMESH_MesherHelper; +typedef std::map< SMESH_subMesh*, std::vector > MapShapeNbElems; +// vector must have size corresponding to EntityType_Last from SMDSAbs: +typedef std::map< SMESH_subMesh*, std::vector >::iterator MapShapeNbElemsItr; class SMESH_EXPORT SMESH_Algo:public SMESH_Hypothesis {