Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributePythonObject.hxx
1 //  File   : SALOMEDS_AttributePythonObject.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDS_AttributePythonObject_HeaderFile
6 #define SALOMEDS_AttributePythonObject_HeaderFile
7
8 #include "SALOMEDSClient_AttributePythonObject.hxx"
9 #include "SALOMEDS_GenericAttribute.hxx"
10 #include "SALOMEDSImpl_AttributePythonObject.hxx"
11
12 // IDL headers
13 #include <SALOMEconfig.h>
14 #include CORBA_SERVER_HEADER(SALOMEDS)
15 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
16
17
18 #ifdef GetObject
19 #undef GetObject
20 #endif
21
22 class SALOMEDS_AttributePythonObject: public SALOMEDS_GenericAttribute, public SALOMEDSClient_AttributePythonObject
23 {
24 public:  
25   SALOMEDS_AttributePythonObject(const Handle(SALOMEDSImpl_AttributePythonObject)& theAttr);
26   SALOMEDS_AttributePythonObject(SALOMEDS::AttributePythonObject_ptr theAttr);
27   ~SALOMEDS_AttributePythonObject();
28
29   virtual void SetObject(const std::string& theSequence, bool IsScript);
30   virtual std::string GetObject();
31   virtual bool IsScript();     
32
33 };
34
35 #endif