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 -- SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
22 -- Copyright (C) 2003 CEA/DEN, EDF R&D
26 -- File : SALOMEDS_StudyPropertiesAttribute.cdl
27 -- Author : Yves FRICAUD
30 class StudyPropertiesAttribute from SALOMEDS inherits Attribute from TDF
35 uses Attribute from TDF,
39 RelocationTable from TDF,
41 ExtendedString from TCollection,
42 HSequenceOfExtendedString from TColStd,
43 HSequenceOfInteger from TColStd
48 ---Purpose: class methods
52 ---C++: return const &
53 returns GUID from Standard;
55 Set (myclass; label : Label from TDF)
56 returns StudyPropertiesAttribute from SALOMEDS;
58 ---Purpose: Common methods
62 returns mutable StudyPropertiesAttribute from SALOMEDS;
66 SetUserName(me: mutable; theName : ExtendedString from TCollection);
67 GetCreatorName(me) returns ExtendedString from TCollection;
68 GetUserNames(me) returns HSequenceOfExtendedString from TColStd;
69 SetFirstName(me: mutable; theName : ExtendedString from TCollection);
71 SetModificationDate(me: mutable; theMinute, theHour, theDay, theMonth, theYear : Integer from Standard);
72 GetCreationDate(me; theMinute, theHour, theDay, theMonth, theYear : out Integer from Standard)
73 returns Boolean from Standard;
74 GetModificationDates(me; theMinutes, theHours, theDays, theMonths, theYears : out HSequenceOfInteger from TColStd);
76 SetCreationMode(me: mutable; theMode : Integer from Standard);
77 GetCreationMode(me) returns Integer from Standard;
79 SetModified(me: mutable; theModified : Integer from Standard);
80 IsModified(me) returns Boolean from Standard;
81 GetModified(me) returns Integer from Standard;
83 SetLocked(me: mutable; theLocked : Boolean from Standard);
84 IsLocked(me) returns Boolean from Standard;
85 IsLockChanged(me: mutable; theErase : Boolean from Standard) returns Boolean from Standard;
88 ---C++: return const &
89 returns GUID from Standard;
91 Restore (me: mutable; with : Attribute from TDF);
94 returns mutable Attribute from TDF;
96 Paste (me; into : mutable Attribute from TDF;
97 RT : mutable RelocationTable from TDF);
101 myUserName : HSequenceOfExtendedString from TColStd;
102 myMinute : HSequenceOfInteger from TColStd;
103 myHour : HSequenceOfInteger from TColStd;
104 myDay : HSequenceOfInteger from TColStd;
105 myMonth : HSequenceOfInteger from TColStd;
106 myYear : HSequenceOfInteger from TColStd;
107 myMode : Integer from Standard;
108 myModified : Integer from Standard;
109 myLocked : Boolean from Standard;
110 myLockChanged : Boolean from Standard;
112 end StudyPropertiesAttribute;