2 #ifndef _GEOM_Object_i_HeaderFile
3 #define _GEOM_Object_i_HeaderFile
6 #include <SALOMEconfig.h>
8 #include CORBA_SERVER_HEADER(SALOMEDS)
9 #include CORBA_SERVER_HEADER(GEOM_Gen)
11 #include "SALOME_GenericObj_i.hh"
12 #include "GEOM_Object.hxx"
13 #include <TopoDS_Shape.hxx>
15 class GEOM_Object_i : public virtual POA_GEOM::GEOM_Object, public virtual SALOME::GenericObj_i
18 GEOM_Object_i(PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, Handle(GEOM_Object) theImpl);
21 virtual char* GetEntry();
23 virtual CORBA::Long GetStudyID();
25 virtual CORBA::Long GetType();
27 virtual GEOM::shape_type GetShapeType();
29 virtual void SetName(const char* theName);
31 virtual char* GetName();
33 virtual void SetStudyEntry(const char* theEntry);
35 virtual char* GetStudyEntry();
37 virtual GEOM::ListOfGO* GetDependency();
39 virtual GEOM::ListOfGO* GetLastDependency();
41 virtual SALOMEDS::TMPFile* GetShapeStream();
45 virtual bool IsMainShape() { return _impl->IsMainShape(); }
47 virtual GEOM::ListOfLong* GetSubShapeIndices();
49 virtual GEOM::GEOM_Object_ptr GetMainShape();
51 virtual bool IsShape();
53 Handle(GEOM_Object) GetImpl() { return _impl; }
57 GEOM::GEOM_Gen_ptr _engine;
58 Handle(GEOM_Object) _impl;