1 // SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : SALOMEDS_AttributePythonObject_i.hxx
8 // Author : Michael Ponikarov
12 #ifndef SALOMEDS_AttributePythonObject_i_HeaderFile
13 #define SALOMEDS_AttributePythonObject_i_HeaderFile
16 #include <SALOMEconfig.h>
17 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 #include "SALOMEDS_GenericAttribute_i.hxx"
20 #include "SALOMEDS_PythonObjectAttribute.hxx"
22 DEFINE_DERIVED_ATTR(AttributePythonObject,SALOMEDS_PythonObjectAttribute,true);
24 class SALOMEDS_AttributePythonObject_i:
25 public virtual POA_SALOMEDS::AttributePythonObject,
26 public virtual SALOMEDS_TAttributePythonObject_i
28 DEFINE_DERIVED_ATTR_METH_DEFAULT(AttributePythonObject,SALOMEDS_PythonObjectAttribute);
30 virtual void SetObject(const char* theSequence, CORBA::Boolean IsScript);
31 virtual char* GetObject();
32 virtual CORBA::Boolean IsScript();
34 virtual char* Store();
35 virtual void Restore(const char*);