Salome HOME
Make the RequestSwitcher able to listVars and fetch data
[modules/yacs.git] / idl / SALOMEDS_Attributes.idl
index fbc70d655e6b138b88760bb516bd23001b0e626f..3af0f0fcbbc1d82bab8ae9a6f4b762b7b6cd1498 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -503,13 +503,13 @@ module SALOMEDS
     /*!
       \brief Test the value for the specified flag or set of flags.
       \param flags flag or set of flags being tested.
-      \return \c true if all bits correspoding to the \a flags are currently set or \c false otherwise
+      \return \c true if all bits corresponding to the \a flags are currently set or \c false otherwise
     */
     boolean Get(in long flags);
     /*!
       \brief Set/clear specific flag or set of flags.
       \param flags flag or set of flags being set / cleared
-      \param value \c true if all bits correspoding to the \a flags should be set
+      \param value \c true if all bits corresponding to the \a flags should be set
               or \c false if flag(s) should be cleared
     */
     void    Set(in long flags, in boolean value);
@@ -625,7 +625,7 @@ module SALOMEDS
   /*!
     \brief Icon attribute.
     
-    This attribute is used to specifiy the name (file name) of an icon which
+    This attribute is used to specify the name (file name) of an icon which
     should be drawn in the Object browser when rendering an item.
 
     <em>See \ref example14 for an example of this attribute usage in batchmode of %SALOME application.</em>
@@ -657,10 +657,10 @@ module SALOMEDS
     \brief Tree node attribute.
 
     By specifying the tree node attributes for the SObjects it is possible to
-    create internal auxillary %object tree with its own structure and identifier.
+    create internal auxiliary %object tree with its own structure and identifier.
 
-    Since each such tree is specfied by the unique identifier, it is possible
-    to create as many trees as it is required.
+    Since each such tree is specified by the unique identifier, it is possible
+    to create as many trees as required.
     
     <em>See \ref example18 for an example of usage of this attribute in batchmode of %SALOME application.</em>
   */
@@ -829,7 +829,7 @@ module SALOMEDS
     \brief Attribute storing GUID.
     
     This attribute can be used to store arbitrary GUID. Attribute allowing to store GUID.
-    In contrast to any other atribute (e.g. AttributeLocalID), it is possible to
+    In contrast to any other attribute (e.g. AttributeLocalID), it is possible to
     define as many GUID attributes for the same SObject as it is required provided that
     they have different GUID values.
 
@@ -1068,7 +1068,7 @@ module SALOMEDS
     */
     void RemoveValue(in long row, in long column) raises(IncorrectIndex);
     /*!
-      \brief Sets the maximum number of colums in the table.
+      \brief Sets the maximum number of columns in the table.
 
       If new number of columns is less than the current one, the table is truncated
       (extra columns are removed).
@@ -1650,13 +1650,34 @@ module SALOMEDS
       \return units
     */
     string GetUnits();
+
+    /*!
+      \brief Returns list of components which data was stored
+      (after previous sessions) in the study.
+      \return list of component names
+    */
+    StringSeq GetStoredComponents();
+
+    /*!
+      \brief Returns version of component data stored in the study
+      \param comp component name
+      \return version of stored component data
+    */
+    string GetComponentVersion( in string comp );
+
+    /*!
+      \brief Returns all versions of component data stored in the study
+      \param comp component name
+      \return versions of stored component data
+    */
+    StringSeq GetComponentVersions( in string comp );
   };
 
   //==========================================================================
   /*!
     \brief Python %object attribute
 
-    This attribute is used to store pyton objects as a sequence of characters.
+    This attribute is used to store python objects as a sequence of characters.
   */
   //==========================================================================
   interface AttributePythonObject : GenericAttribute