1 // File: SALOMEDS_AttributePythonObject_i.hxx
2 // Created: Tue Oct 8 10:13:30 2002
3 // Author: Michael Ponikarov
6 // Copyright : Open CASCADE
9 #ifndef SALOMEDS_AttributePythonObject_i_HeaderFile
10 #define SALOMEDS_AttributePythonObject_i_HeaderFile
14 #include <SALOMEconfig.h>
15 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
16 #include "SALOMEDS_GenericAttribute_i.hxx"
17 #include "SALOMEDS_PythonObjectAttribute.hxx"
19 class SALOMEDS_AttributePythonObject_i: public virtual POA_SALOMEDS::AttributePythonObject,
20 public virtual SALOMEDS_GenericAttribute_i {
23 SALOMEDS_AttributePythonObject_i(const Handle(SALOMEDS_PythonObjectAttribute)& theObjectAttr, CORBA::ORB_ptr orb)
25 _myOrb = CORBA::ORB::_duplicate(orb);
26 _myAttr = theObjectAttr;
28 ~SALOMEDS_AttributePythonObject_i() {};
30 virtual void SetObject(const char* theSequence, CORBA::Boolean IsScript);
31 virtual char* GetObject();
32 virtual CORBA::Boolean IsScript();