-// 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
// 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
/*!
\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);
/*!
\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>
\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>
*/
\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.
*/
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).
\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