]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
+ const SMESHDS_SubMesh * GetSubMeshDS() const;
authoreap <eap@opencascade.com>
Mon, 15 Oct 2012 13:04:17 +0000 (13:04 +0000)
committereap <eap@opencascade.com>
Mon, 15 Oct 2012 13:04:17 +0000 (13:04 +0000)
src/SMESH/SMESH_subMesh.hxx

index 057f532a7d3fb13db34481171e98c15bcd048f39..355107186a0bbb14d3b36fafbf5134b67337dea9 100644 (file)
@@ -59,7 +59,9 @@ typedef boost::shared_ptr< SMDS_Iterator<SMESH_subMesh*> > SMESH_subMeshIterator
 class SMESH_EXPORT SMESH_subMesh
 {
  public:
-  SMESH_subMesh(int Id, SMESH_Mesh * father, SMESHDS_Mesh * meshDS,
+  SMESH_subMesh(int                  Id,
+                SMESH_Mesh *         father,
+                SMESHDS_Mesh *       meshDS,
                 const TopoDS_Shape & aSubShape);
   virtual ~ SMESH_subMesh();
 
@@ -67,7 +69,8 @@ class SMESH_EXPORT SMESH_subMesh
 
   SMESH_Mesh* GetFather() { return _father; }
   
-  SMESHDS_SubMesh * GetSubMeshDS();
+  SMESHDS_SubMesh *       GetSubMeshDS();
+  const SMESHDS_SubMesh * GetSubMeshDS() const;
 
   SMESHDS_SubMesh* CreateSubMeshDS();
   // Explicit SMESHDS_SubMesh creation method, required for persistence mechanism