2 #ifndef _GEOM_IGroupOperations_i_HeaderFile
3 #define _GEOM_IGroupOperations_i_HeaderFile
6 #include <SALOMEconfig.h>
8 #include CORBA_SERVER_HEADER(GEOM_Gen)
9 #include "GEOM_IOperations_i.hh"
10 #include "GEOM_Object_i.hh"
12 #include "GEOMImpl_IGroupOperations.hxx"
14 class GEOM_IGroupOperations_i :
15 public virtual POA_GEOM::GEOM_IGroupOperations,
16 public virtual GEOM_IOperations_i
19 GEOM_IGroupOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
20 ::GEOMImpl_IGroupOperations* theImpl);
21 ~GEOM_IGroupOperations_i();
23 GEOM::GEOM_Object_ptr CreateGroup (GEOM::GEOM_Object_ptr theMainShape, CORBA::Long theShapeType);
25 void AddObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
27 void RemoveObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
29 CORBA::Long GetType (GEOM::GEOM_Object_ptr theGroup);
31 GEOM::GEOM_Object_ptr GetMainShape (GEOM::GEOM_Object_ptr theGroup);
33 GEOM::ListOfLong* GetObjects (GEOM::GEOM_Object_ptr theGroup);
35 ::GEOMImpl_IGroupOperations* GetOperations()
36 { return (::GEOMImpl_IGroupOperations*)GetImpl(); }