Salome HOME
Copyrights update
[modules/kernel.git] / src / SALOMEDSClient / SALOMEDSClient_AttributeStudyProperties.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
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.
8 // 
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.
13 //
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
17 //
18 // See http://www.salome-platform.org/
19 //
20 //  File   : SALOMEDSClient_AttributeStudyProperties.hxx
21 //  Author : Sergey RUIN
22 //  Module : SALOME
23
24 #ifndef SALOMEDSClient_AttributeStudyProperties_HeaderFile
25 #define SALOMEDSClient_AttributeStudyProperties_HeaderFile
26
27 #include <vector>
28 #include <string>
29 #include "SALOMEDSClient_definitions.hxx" 
30 #include "SALOMEDSClient_GenericAttribute.hxx"
31
32 class SALOMEDSClient_AttributeStudyProperties: public virtual SALOMEDSClient_GenericAttribute
33 {
34 public:
35   
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,
48                                int theMinute,
49                                int theHour,
50                                int theDay,
51                                int theMonth,
52                                int theYear) = 0;
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;
60
61 };
62
63
64 #endif