Salome HOME
PR: merge from branch BR_UT_V310a3 tag mergeto_trunk_05dec05
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_SComponent_i.hxx
1 //  File   : SALOMEDS_SComponent_i.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef __SALOMEDS_SCOMPONENT_I_H__
6 #define __SALOMEDS_SCOMPONENT_I_H__
7
8 // std C++ headers
9 #include <iostream>
10
11 // IDL headers
12 #include <SALOMEconfig.h>
13 #include CORBA_SERVER_HEADER(SALOMEDS)
14
15 //SALOMEDS headers
16 #include "SALOMEDS_SObject_i.hxx"
17
18 #include "SALOMEDSImpl_SObject.hxx"
19 #include "SALOMEDSImpl_SComponent.hxx"
20
21 class Standard_EXPORT SALOMEDS_SComponent_i: public POA_SALOMEDS::SComponent,
22                              public SALOMEDS_SObject_i
23 {
24
25 public:
26
27   static SALOMEDS::SComponent_ptr New(const Handle(SALOMEDSImpl_SComponent)&, CORBA::ORB_ptr); 
28   
29   SALOMEDS_SComponent_i(const Handle(SALOMEDSImpl_SComponent)&, CORBA::ORB_ptr);
30   
31   virtual ~SALOMEDS_SComponent_i();
32
33   virtual char* ComponentDataType();
34   virtual CORBA::Boolean ComponentIOR(CORBA::String_out theID);
35
36 };
37 #endif