Salome HOME
Porting to Mandrake 10.1 and new products:
[modules/kernel.git] / idl / SALOMEDS_Attributes.idl
index 27f1f6dbdcf70322f462f17e75bbc08987ea33cb..80afd5603f13bc71423e054829d2875302ccbcf5 100644 (file)
@@ -63,6 +63,7 @@ module SALOMEDS
     Attribute allowing to store a real value
 */
  //==========================================================================
+
   interface AttributeReal : GenericAttribute
   {
 /*!
@@ -77,6 +78,7 @@ module SALOMEDS
 <BR><VAR>See also <A href=exemple/Example1.html> an example </A> of this method usage in batchmode of %SALOME application.</VAR>
 */
     void   SetValue(in double value);
+
   };
   //==========================================================================
 /*! \brief Attribute allowing to store an integer value
@@ -437,6 +439,36 @@ Sets the item to be selectable
     void   SetExpandable(in boolean value);
   };
 
+  //==========================================================================
+/*! \brief Flags Attribute.
+
+   This interface is intended for storing different object attributes that
+   have only two states (0 and 1).
+*/
+  //==========================================================================
+
+  interface AttributeFlags : GenericAttribute
+  {
+    long    GetFlags();
+    void    SetFlags( in long theFlags );
+
+    boolean Get( in long theFlag );
+    void    Set( in long theFlag, in boolean theValue );
+  };
+
+  //==========================================================================
+/*! \brief Graphic Attribute.
+   This class is intended for storing information about
+   graphic representation of objects in dirrent views
+*/
+  //==========================================================================
+
+  interface AttributeGraphic : GenericAttribute
+  {
+    void     SetVisibility( in long theViewId, in boolean theValue );
+    boolean  GetVisibility( in long theViewId );
+  };  
+
   //==========================================================================
 /*! \brief Opened flag Attribute.