2 #ifndef _GEOM_Object_i_HeaderFile
3 #define _GEOM_Object_i_HeaderFile
6 #include <SALOMEconfig.h>
7 #include CORBA_CLIENT_HEADER(SALOMEDS)
8 #include CORBA_SERVER_HEADER(GEOM_Gen)
10 #include "SALOME_GenericObj_i.hh"
12 #include "GEOM_Object.hxx"
14 #include <TopoDS_Shape.hxx>
16 class GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
19 GEOM_Object_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, Handle(GEOM_Object) theImpl);
22 virtual char* GetEntry();
24 virtual CORBA::Long GetStudyID();
26 virtual CORBA::Long GetType();
28 virtual GEOM::shape_type GetShapeType();
30 virtual void SetName(const char* theName);
32 virtual char* GetName();
34 virtual void SetStudyEntry(const char* theEntry);
36 virtual char* GetStudyEntry();
38 virtual GEOM::ListOfGO* GetDependency();
40 virtual GEOM::ListOfGO* GetLastDependency();
42 virtual SALOMEDS::TMPFile* GetShapeStream();
46 virtual bool IsMainShape() { return _impl->IsMainShape(); }
48 virtual GEOM::ListOfLong* GetSubShapeIndices();
50 virtual GEOM::GEOM_Object_ptr GetMainShape();
52 virtual bool IsShape();
54 Handle(GEOM_Object) GetImpl() { return _impl; }
58 GEOM::GEOM_Gen_ptr _engine;
59 Handle(GEOM_Object) _impl;