- // Methods for groups storing to MED
-
- static std::list<DriverMED_FamilyPtr> MakeFamilies (const std::map <int, SMESHDS_SubMesh*>& theSubMeshes,
- const std::list<SMESHDS_GroupBase*>& theGroups,
- const bool doGroupOfNodes,
- const bool doGroupOfEdges,
- const bool doGroupOfFaces,
- const bool doGroupOfVolumes);
- // Split each group from list <theGroups> and each sub-mesh from list <theSubMeshes>
- // on some parts (families) on the basis of the elements membership in other groups
- // from <theGroups> and other sub-meshes from <theSubMeshes>.
- // Resulting families have no common elements.
-
- MEDA::PFamilyInfo GetFamilyInfo (const MEDA::PMeshInfo& theMeshInfo) const;
- // Create TFamilyInfo for this family
-
- const std::set<const SMDS_MeshElement *>& GetElements () const { return myElements; }
- // Returns elements of this family
-
- int GetId () const { return myId; }
- // Returns a family ID
+ DriverMED_Family();
+
+ //! Methods for groups storing to MED
+ /*!
+ Split each group from list <theGroups> and each sub-mesh from list <theSubMeshes>
+ on some parts (families) on the basis of the elements membership in other groups
+ from <theGroups> and other sub-meshes from <theSubMeshes>.
+ Resulting families have no common elements.
+ */
+ static
+ DriverMED_FamilyPtrList
+ MakeFamilies (SMESHDS_SubMeshIteratorPtr theSubMeshes,
+ const SMESHDS_GroupBasePtrList& theGroups,
+ const bool doGroupOfNodes,
+ const bool doGroupOfEdges,
+ const bool doGroupOfFaces,
+ const bool doGroupOfVolumes,
+ const bool doGroupOf0DElems,
+ const bool doGroupOfBalls,
+ const bool doAllInGroups);
+
+ //! Create TFamilyInfo for this family
+ MED::PFamilyInfo
+ GetFamilyInfo (const MED::PWrapper& theWrapper,
+ const MED::PMeshInfo& theMeshInfo) const;
+
+ //! Returns elements of this family
+ const ElementsSet& GetElements () const;
+
+ //! Returns a family ID
+ int GetId () const;
+
+ //! Sets a family ID
+ void SetId (const int theId);