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/
20 // File : SALOMEDS_AttributeStudyProperties.hxx
21 // Author : Sergey RUIN
24 #ifndef SALOMEDS_AttributeStudyProperties_HeaderFile
25 #define SALOMEDS_AttributeStudyProperties_HeaderFile
30 #include "SALOMEDSClient_AttributeStudyProperties.hxx"
31 #include "SALOMEDS_GenericAttribute.hxx"
32 #include "SALOMEDSImpl_AttributeStudyProperties.hxx"
35 #include <SALOMEconfig.h>
36 #include CORBA_SERVER_HEADER(SALOMEDS)
37 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
43 class Standard_EXPORT SALOMEDS_AttributeStudyProperties: public SALOMEDS_GenericAttribute, public SALOMEDSClient_AttributeStudyProperties
47 SALOMEDS_AttributeStudyProperties(const Handle(SALOMEDSImpl_AttributeStudyProperties)& theAttr);
48 SALOMEDS_AttributeStudyProperties(SALOMEDS::AttributeStudyProperties_ptr theAttr);
49 ~SALOMEDS_AttributeStudyProperties();
51 virtual void SetUserName(const std::string& theName);
52 virtual std::string GetUserName();
53 virtual void SetCreationDate(int theMinute, int theHour, int theDay, int theMonth, int theYear);
54 virtual bool GetCreationDate(int& theMinute, int& theHour, int& theDay, int& theMonth, int& theYear);
55 virtual void SetCreationMode(const std::string& theMode);
56 virtual std::string GetCreationMode();
57 virtual void SetModified(int theModified);
58 virtual bool IsModified();
59 virtual int GetModified();
60 virtual void SetLocked(bool theLocked);
61 virtual bool IsLocked();
62 virtual void SetModification(const std::string& theName,
68 virtual void GetModificationsList(std::vector<std::string>& theNames,
69 std::vector<int>& theMinutes,
70 std::vector<int>& theHours,
71 std::vector<int>& theDays,
72 std::vector<int>& theMonths,
73 std::vector<int>& theYears,