2 #ifndef _GEOMImpl_IGroupOperations_HXX_
3 #define _GEOMImpl_IGroupOperations_HXX_
5 #include "Utils_SALOME_Exception.hxx"
6 #include "GEOM_IOperations.hxx"
7 #include "GEOM_Engine.hxx"
8 #include "GEOM_Object.hxx"
9 #include <TDocStd_Document.hxx>
10 #include <TColStd_HArray1OfInteger.hxx>
13 class GEOMImpl_IGroupOperations : public GEOM_IOperations {
15 GEOMImpl_IGroupOperations(GEOM_Engine* theEngine, int theDocID);
16 ~GEOMImpl_IGroupOperations();
18 Handle(GEOM_Object) CreateGroup(Handle(GEOM_Object) theMainShape, TopAbs_ShapeEnum theShapeType);
20 void AddObject(Handle(GEOM_Object) theGroup, int theSubShapeID);
22 void RemoveObject(Handle(GEOM_Object) theGroup, int theSubShapeID);
24 TopAbs_ShapeEnum GetType(Handle(GEOM_Object) theGroup);
26 Handle(GEOM_Object) GetMainShape(Handle(GEOM_Object) theGroup);
28 Handle(TColStd_HArray1OfInteger) GetObjects(Handle(GEOM_Object) theGroup);