27 #ifndef _StdMeshers_ImportSource_HXX_
28 #define _StdMeshers_ImportSource_HXX_
33 #include "Utils_SALOME_Exception.hxx"
54 void SetGroups(
const std::vector<SMESH_Group*>& groups);
55 const std::vector<SMESH_Group*>& GetGroups(
bool loaded=
false)
const;
57 void SetCopySourceMesh(
bool toCopyMesh,
bool toCopyGroups);
58 void GetCopySourceMesh(
bool& toCopyMesh,
bool& toCopyGroups)
const;
60 virtual std::ostream &
SaveTo(std::ostream & save);
61 virtual std::istream &
LoadFrom(std::istream & load);
65 void RestoreGroups(
const std::vector<SMESH_Group*>& groups);
67 void StoreResultGroups(
const std::vector<SMESH_Group*>& groups,
70 std::vector<SMESH_Group*>* GetResultGroups(
const SMESHDS_Mesh& srcMesh,
73 std::vector<SMESH_Mesh*> GetSourceMeshes()
const;
74 std::vector<SMESH_subMesh*> GetSourceSubMeshes(
const SMESH_Mesh* srcMesh)
const;
82 typedef std::map< std::pair<int, int>, std::vector<SMESH_Group*> >
TResGroupMap;
86 void resultGroupsToIntVec();