Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_AttributeFlags.hxx
1 //  File   : SALOMEDS_AttributeFlags.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDS_AttributeFlags_HeaderFile
6 #define SALOMEDS_AttributeFlags_HeaderFile
7
8 #include "SALOMEDSClient_AttributeFlags.hxx"
9 #include "SALOMEDS_GenericAttribute.hxx"
10 #include "SALOMEDSImpl_AttributeFlags.hxx"
11
12 // IDL headers
13 #include <SALOMEconfig.h>
14 #include CORBA_SERVER_HEADER(SALOMEDS)
15 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
16
17 class SALOMEDS_AttributeFlags: public SALOMEDS_GenericAttribute, public SALOMEDSClient_AttributeFlags
18 {
19 public:  
20   SALOMEDS_AttributeFlags(const Handle(SALOMEDSImpl_AttributeFlags)& theAttr);
21   SALOMEDS_AttributeFlags(SALOMEDS::AttributeFlags_ptr theAttr);
22   ~SALOMEDS_AttributeFlags();
23
24   virtual int   GetFlags();
25   virtual void  SetFlags(int theFlags);
26
27   virtual bool  Get(int theFlag);
28   virtual void  Set(int theFlag, bool theValue);
29 };
30
31 #endif