Salome HOME
615690b978b204e9459701e53bfb2da2582c95c4
[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 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
18
19 #include "SALOMEDS_GenericAttribute_i.hxx"
20 #include "SALOMEDS_PythonObjectAttribute.hxx"
21
22 DEFINE_DERIVED_ATTR(AttributePythonObject,SALOMEDS_PythonObjectAttribute,true);
23
24 class SALOMEDS_AttributePythonObject_i: 
25   public virtual POA_SALOMEDS::AttributePythonObject,
26   public virtual SALOMEDS_TAttributePythonObject_i 
27 {
28   DEFINE_DERIVED_ATTR_METH_DEFAULT(AttributePythonObject,SALOMEDS_PythonObjectAttribute);
29 public:
30   virtual void SetObject(const char* theSequence, CORBA::Boolean IsScript);
31   virtual char* GetObject();
32   virtual CORBA::Boolean IsScript();
33
34   virtual char* Store();
35   virtual void Restore(const char*);
36
37 };
38
39 #endif