Salome HOME
PAL10196. Make SetId() public
[modules/smesh.git] / src / DriverMED / DriverMED_Family.h
index b5fc51f2e36a5155f6b024f4b964537e45315afa..1632ccb3b71cc57069ead253065b99bd35d727be 100644 (file)
@@ -31,7 +31,7 @@
 #include "SMDS_Mesh.hxx"
 #include "SMESHDS_GroupBase.hxx"
 #include "SMESHDS_SubMesh.hxx"
-#include "MEDA_Wrapper.hxx"
+#include "MED_Common.hxx"
 
 #include <boost/shared_ptr.hpp>
 #include <set>
@@ -63,7 +63,8 @@ class DriverMED_Family
   // from <theGroups> and other sub-meshes from <theSubMeshes>.
   // Resulting families have no common elements.
 
-  MEDA::PFamilyInfo GetFamilyInfo (const MEDA::PMeshInfo& theMeshInfo) const;
+  MED::PFamilyInfo GetFamilyInfo (const MED::PWrapper& theWrapper, 
+                                 const MED::PMeshInfo& theMeshInfo) const;
   // Create TFamilyInfo for this family
 
   const std::set<const SMDS_MeshElement *>& GetElements () const { return myElements; }
@@ -88,6 +89,9 @@ class DriverMED_Family
 
   const MED::TStringSet& GetGroupNames () const { return myGroupNames; }
 
+  void SetId (const int theId) { myId = theId; }
+  // Sets a family ID
+
  private:
   void Init (SMESHDS_GroupBase* group);
   // Initialize the tool by SMESHDS_GroupBase
@@ -103,9 +107,6 @@ class DriverMED_Family
   // Remove from <by> elements, common with <Elements>,
   // Create family <common> from common elements, with combined groups list.
 
-  void SetId (const int theId) { myId = theId; }
-  // Sets a family ID
-
   bool IsEmpty () const { return myElements.empty(); }
   // Check, if this family has empty list of elements