Salome HOME
0d1f0a0d103237178a1c7b96b755d10772983895
[modules/yacs.git] / src / SALOMEDS / SALOMEDS_SComponent_i.hxx
1 //  File      : SALOMEDS_SComponent_i.hxx
2 //  Created   : Wed Nov 28 16:24:50 2001
3 //  Author    : Yves FRICAUD
4
5 //  Project   : SALOME
6 //  Module    : SALOMEDS
7 //  Copyright : Open CASCADE 2001
8 //  $Header$
9
10 #ifndef __SALOMEDS_SCOMPONENT_I_H__
11 #define __SALOMEDS_SCOMPONENT_I_H__
12
13 // std C++ headers
14 #include <iostream.h>
15
16 // IDL headers
17 #include <SALOMEconfig.h>
18 #include CORBA_SERVER_HEADER(SALOMEDS)
19
20 //SALOMEDS headers
21 #include "SALOMEDS_SObject_i.hxx"
22 #include "SALOMEDS_IORAttribute.hxx"
23
24 // Cascade headers
25 #include <TDF_Label.hxx>
26 #include <TDataStd_Name.hxx>
27 #include <TDataStd_Comment.hxx>
28 #include <TCollection_AsciiString.hxx> 
29 #include <TDF_Tool.hxx>
30 #include <stdio.h>
31
32 class SALOMEDS_SComponent_i: public POA_SALOMEDS::SComponent,
33                              public SALOMEDS_SObject_i
34 {
35 public:
36   
37   SALOMEDS_SComponent_i(const TDF_Label lab, CORBA::ORB_ptr);
38   
39   ~SALOMEDS_SComponent_i();
40   
41
42   virtual char* ComponentDataType();
43   virtual CORBA::Boolean ComponentIOR(CORBA::String_out theID);
44
45   static Standard_Boolean IsA(const TDF_Label Lab);
46     
47
48 };
49 #endif