1 // File : SALOMEDS_AttributeFlags_i.hxx
2 // Author : Sergey RUIN
6 #ifndef SALOMEDS_AttributeFlags_i_HeaderFile
7 #define SALOMEDS_AttributeFlags_i_HeaderFile
11 #include <SALOMEconfig.h>
12 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
14 #include "SALOMEDS_GenericAttribute_i.hxx"
15 #include "SALOMEDSImpl_AttributeFlags.hxx"
18 Class : SALOMEDS_AttributeFlags_i
19 Description : This class is intended for storing different object attributes that
20 have only two states (0 and 1).
24 IS_VISIBLE - is equal to 1 if object is visible in 3D view (0 - overwise).
25 This attribute is valid for active view only.
28 class SALOMEDS_AttributeFlags_i: public virtual POA_SALOMEDS::AttributeFlags,
29 public virtual SALOMEDS_GenericAttribute_i
33 SALOMEDS_AttributeFlags_i( const Handle(SALOMEDSImpl_AttributeFlags)& theAttr, CORBA::ORB_ptr orb )
34 :SALOMEDS_GenericAttribute_i(theAttr, orb) {};
36 virtual ~SALOMEDS_AttributeFlags_i() {};
38 CORBA::Long GetFlags();
39 void SetFlags( CORBA::Long theFlags );
41 CORBA::Boolean Get( CORBA::Long theFlag );
42 void Set( CORBA::Long theFlag, CORBA::Boolean theValue );