Salome HOME
sources v1.2
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributePythonObject_i.hxx
1 //  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : SALOMEDS_AttributePythonObject_i.hxx
8 //  Author : Michael Ponikarov
9 //  Module : SALOME
10 //  $Header$
11
12 #ifndef SALOMEDS_AttributePythonObject_i_HeaderFile
13 #define SALOMEDS_AttributePythonObject_i_HeaderFile
14
15 // IDL headers
16
17 #include <SALOMEconfig.h>
18 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 #include "SALOMEDS_GenericAttribute_i.hxx"
20 #include "SALOMEDS_PythonObjectAttribute.hxx"
21
22 class SALOMEDS_AttributePythonObject_i: public virtual POA_SALOMEDS::AttributePythonObject,
23                                         public virtual SALOMEDS_GenericAttribute_i {
24 public:
25   
26   SALOMEDS_AttributePythonObject_i(const Handle(SALOMEDS_PythonObjectAttribute)& theObjectAttr, CORBA::ORB_ptr orb) 
27   {
28     _myOrb = CORBA::ORB::_duplicate(orb);
29     _myAttr = theObjectAttr;
30   };
31   ~SALOMEDS_AttributePythonObject_i() {};
32
33   virtual void SetObject(const char* theSequence, CORBA::Boolean IsScript);
34   virtual char* GetObject();
35   virtual CORBA::Boolean IsScript();
36
37 };
38
39
40
41
42 #endif