Salome HOME
PAL16774 (Crash after display of many groups)
[modules/smesh.git] / src / SMESHDS / SMESHDS_SubMesh.hxx
index 5c65a5859eee5a2ab6dd35e302e1abbaeabc5125..8165ee429525dffa58778a2956e65f8a7d6b392b 100644 (file)
 #define SMESHDS_WNT_EXPORT
 #endif
 
+class SMESHDS_SubMesh;
+typedef SMDS_Iterator<const SMESHDS_SubMesh*> SMESHDS_SubMeshIterator;
+typedef boost::shared_ptr< SMESHDS_SubMeshIterator > SMESHDS_SubMeshIteratorPtr;
+
 class SMESHDS_WNT_EXPORT SMESHDS_SubMesh
 {
  public:
@@ -53,6 +57,7 @@ class SMESHDS_WNT_EXPORT SMESHDS_SubMesh
   bool RemoveSubMesh( const SMESHDS_SubMesh* theSubMesh );
   bool ContainsSubMesh( const SMESHDS_SubMesh* theSubMesh ) const;
   int  NbSubMeshes() const { return mySubMeshes.size(); }
+  SMESHDS_SubMeshIteratorPtr GetSubMeshIterator() const;
 
   // for both types
   int NbElements() const;