0020511: EDF 1101 SMESH : Add CGNS to Mesh Format Supported

+  // Groups. SMESHDS_Mesh is not an owner of groups
This commit is contained in:
eap 2011-08-10 10:04:47 +00:00
parent 2ddb295e4a
commit 55fc6f9383

View File

@ -437,6 +437,7 @@ public:
void SetNodeOnVertex(SMDS_MeshNode * aNode, int Index); void SetNodeOnVertex(SMDS_MeshNode * aNode, int Index);
void SetMeshElementOnShape(const SMDS_MeshElement * anElt, int Index); void SetMeshElementOnShape(const SMDS_MeshElement * anElt, int Index);
// Groups. SMESHDS_Mesh is not an owner of groups
void AddGroup (SMESHDS_GroupBase* theGroup) { myGroups.insert(theGroup); } void AddGroup (SMESHDS_GroupBase* theGroup) { myGroups.insert(theGroup); }
void RemoveGroup (SMESHDS_GroupBase* theGroup) { myGroups.erase(theGroup); } void RemoveGroup (SMESHDS_GroupBase* theGroup) { myGroups.erase(theGroup); }
int GetNbGroups() const { return myGroups.size(); } int GetNbGroups() const { return myGroups.size(); }