Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _GEOM_IGroupOperations_i_HeaderFile
00024 #define _GEOM_IGroupOperations_i_HeaderFile
00025
00026 #include "GEOMImpl_Gen.hxx"
00027
00028 #include <SALOMEconfig.h>
00029
00030 #include CORBA_SERVER_HEADER(GEOM_Gen)
00031 #include "GEOM_IOperations_i.hh"
00032 #include "GEOM_Object_i.hh"
00033
00034 #include "GEOMImpl_IGroupOperations.hxx"
00035
00036 class GEOM_I_EXPORT GEOM_IGroupOperations_i :
00037 public virtual POA_GEOM::GEOM_IGroupOperations,
00038 public virtual GEOM_IOperations_i
00039 {
00040 public:
00041 GEOM_IGroupOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
00042 ::GEOMImpl_IGroupOperations* theImpl);
00043 ~GEOM_IGroupOperations_i();
00044
00045 GEOM::GEOM_Object_ptr CreateGroup (GEOM::GEOM_Object_ptr theMainShape, CORBA::Long theShapeType);
00046
00047 void AddObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
00048
00049 void RemoveObject (GEOM::GEOM_Object_ptr theGroup, CORBA::Long theSubShapeId);
00050
00051 void UnionList (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfGO& theSubShapes);
00052
00053 void DifferenceList (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfGO& theSubShapes);
00054
00055 void UnionIDs (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfLong& theSubShapes);
00056
00057 void DifferenceIDs (GEOM::GEOM_Object_ptr theGroup, const GEOM::ListOfLong& theSubShapes);
00058
00059 CORBA::Long GetType (GEOM::GEOM_Object_ptr theGroup);
00060
00061 GEOM::GEOM_Object_ptr GetMainShape (GEOM::GEOM_Object_ptr theGroup);
00062
00063 GEOM::ListOfLong* GetObjects (GEOM::GEOM_Object_ptr theGroup);
00064
00065 ::GEOMImpl_IGroupOperations* GetOperations()
00066 { return (::GEOMImpl_IGroupOperations*)GetImpl(); }
00067 };
00068
00069 #endif