1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 // File : SALOMEDSClient_AttributeStudyProperties.hxx
21 // Author : Sergey RUIN
24 #ifndef SALOMEDSClient_AttributeStudyProperties_HeaderFile
25 #define SALOMEDSClient_AttributeStudyProperties_HeaderFile
29 #include "SALOMEDSClient_definitions.hxx"
30 #include "SALOMEDSClient_GenericAttribute.hxx"
32 class SALOMEDSClient_AttributeStudyProperties: public virtual SALOMEDSClient_GenericAttribute
36 virtual void SetUserName(const std::string& theName) = 0;
37 virtual std::string GetUserName() = 0;
38 virtual void SetCreationDate(int theMinute, int theHour, int theDay, int theMonth, int theYear) = 0;
39 virtual bool GetCreationDate(int& theMinute, int& theHour, int& theDay, int& theMonth, int& theYear) = 0;
40 virtual void SetCreationMode(const std::string& theMode) = 0;
41 virtual std::string GetCreationMode() = 0;
42 virtual void SetModified(int theModified) = 0;
43 virtual bool IsModified() = 0;
44 virtual int GetModified() = 0;
45 virtual void SetLocked(bool theLocked) = 0;
46 virtual bool IsLocked() = 0;
47 virtual void SetModification(const std::string& theName,
53 virtual void GetModificationsList(std::vector<std::string>& theNames,
54 std::vector<int>& theMinutes,
55 std::vector<int>& theHours,
56 std::vector<int>& theDays,
57 std::vector<int>& theMonths,
58 std::vector<int>& theYears,
59 bool theWithCreator) = 0;