Salome HOME
ENV: Windows porting.
[modules/kernel.git] / src / SALOMEDSClient / SALOMEDSClient_AttributeStudyProperties.hxx
1 //  File   : SALOMEDSClient_AttributeStudyProperties.hxx
2 //  Author : Sergey RUIN
3 //  Module : SALOME
4
5 #ifndef SALOMEDSClient_AttributeStudyProperties_HeaderFile
6 #define SALOMEDSClient_AttributeStudyProperties_HeaderFile
7
8 #include <vector>
9 #include <string>
10 #include "SALOMEDSClient_definitions.hxx" 
11 #include "SALOMEDSClient_GenericAttribute.hxx"
12
13 class SALOMEDSClient_AttributeStudyProperties: public virtual SALOMEDSClient_GenericAttribute
14 {
15 public:
16   
17   virtual void SetUserName(const std::string& theName) = 0;
18   virtual std::string GetUserName() = 0;
19   virtual void SetCreationDate(int theMinute, int theHour, int theDay, int theMonth, int theYear) = 0;
20   virtual bool GetCreationDate(int& theMinute, int& theHour, int& theDay, int& theMonth, int& theYear) = 0;
21   virtual void SetCreationMode(const std::string& theMode) = 0;
22   virtual std::string GetCreationMode() = 0;
23   virtual void SetModified(int theModified) = 0;
24   virtual bool IsModified() = 0;
25   virtual int GetModified() = 0;
26   virtual void SetLocked(bool theLocked) = 0;
27   virtual bool IsLocked() = 0;
28   virtual void SetModification(const std::string& theName,
29                                int theMinute,
30                                int theHour,
31                                int theDay,
32                                int theMonth,
33                                int theYear) = 0;
34   virtual void GetModificationsList(std::vector<std::string>& theNames,
35                                     std::vector<int>& theMinutes,
36                                     std::vector<int>& theHours,
37                                     std::vector<int>& theDays,
38                                     std::vector<int>& theMonths,
39                                     std::vector<int>& theYears,
40                                     bool theWithCreator) = 0;
41
42 };
43
44
45 #endif