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
17 #include <SALOMEconfig.h>
18 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
19 #include "SALOMEDS_GenericAttribute_i.hxx"
20 #include "SALOMEDS_PythonObjectAttribute.hxx"
22 class SALOMEDS_AttributePythonObject_i: public virtual POA_SALOMEDS::AttributePythonObject,
23 public virtual SALOMEDS_GenericAttribute_i {
26 SALOMEDS_AttributePythonObject_i(const Handle(SALOMEDS_PythonObjectAttribute)& theObjectAttr, CORBA::ORB_ptr orb)
28 _myOrb = CORBA::ORB::_duplicate(orb);
29 _myAttr = theObjectAttr;
31 ~SALOMEDS_AttributePythonObject_i() {};
33 virtual void SetObject(const char* theSequence, CORBA::Boolean IsScript);
34 virtual char* GetObject();
35 virtual CORBA::Boolean IsScript();
37 virtual char* Store();
38 virtual void Restore(const char*);