Salome HOME
PR: merge from branch BR_UT_V310a3 tag mergeto_trunk_05dec05
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_SComponent.hxx
1 //  File   : SALOMEDS_SComponent.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef __SALOMEDS_SCOMPONENT_H__
6 #define __SALOMEDS_SCOMPONENT_H__
7
8 #include "SALOMEDSClient_SComponent.hxx"
9 #include "SALOMEDS_SObject.hxx"
10 #include "SALOMEDSImpl_SComponent.hxx"
11
12 // IDL headers
13 #include <SALOMEconfig.h>
14 #include CORBA_SERVER_HEADER(SALOMEDS)
15
16 class Standard_EXPORT SALOMEDS_SComponent: public SALOMEDS_SObject, public SALOMEDSClient_SComponent
17 {
18 public:
19
20   SALOMEDS_SComponent(const Handle(SALOMEDSImpl_SComponent)& theSComponent);
21   SALOMEDS_SComponent(SALOMEDS::SComponent_ptr theSComponent);
22   ~SALOMEDS_SComponent();
23
24   virtual std::string ComponentDataType();
25   virtual bool ComponentIOR(std::string& theID);    
26
27   SALOMEDS::SComponent_ptr GetSComponent();
28 };
29 #endif