X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Group.hxx;h=26493e4e085296b3372c71cbdcc262bdaff916f9;hp=4486d5f2dc986aa293b5fec40010adfa365033d0;hb=5ce23baf3aaec1507f239da8595afa38c7842836;hpb=0febe018bcde111dc7aca1f3e44d4aa2995b59a2 diff --git a/src/SMESH/SMESH_Group.hxx b/src/SMESH/SMESH_Group.hxx index 4486d5f2d..26493e4e0 100644 --- a/src/SMESH/SMESH_Group.hxx +++ b/src/SMESH/SMESH_Group.hxx @@ -30,9 +30,10 @@ #include #include +#include -class SMESHDS_Group; +class SMESHDS_GroupBase; class SMESH_Mesh; class SMESH_Group @@ -42,14 +43,15 @@ class SMESH_Group SMESH_Group (int theID, const SMESH_Mesh* theMesh, const SMDSAbs_ElementType theType, - const char* theName); + const char* theName, + const TopoDS_Shape& theShape = TopoDS_Shape()); ~SMESH_Group (); void SetName (const char* theName) { myName = theName; } const char* GetName () const { return myName.c_str(); } - SMESHDS_Group * GetGroupDS () { return myGroupDS; } + SMESHDS_GroupBase * GetGroupDS () { return myGroupDS; } private: SMESH_Group (const SMESH_Group& theOther); @@ -57,8 +59,8 @@ class SMESH_Group SMESH_Group& operator = (const SMESH_Group& theOther); // prohibited assign operator - SMESHDS_Group * myGroupDS; - std::string myName; + SMESHDS_GroupBase * myGroupDS; + std::string myName; };