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
21 -- File : SALOMEDS_StudyPropertiesAttribute.cdl
22 -- Author : Yves FRICAUD
25 class StudyPropertiesAttribute from SALOMEDS inherits Attribute from TDF
30 uses Attribute from TDF,
34 RelocationTable from TDF,
36 ExtendedString from TCollection,
37 HSequenceOfExtendedString from TColStd,
38 HSequenceOfInteger from TColStd
43 ---Purpose: class methods
47 ---C++: return const &
48 returns GUID from Standard;
50 Set (myclass; label : Label from TDF)
51 returns StudyPropertiesAttribute from SALOMEDS;
53 ---Purpose: Common methods
57 returns mutable StudyPropertiesAttribute from SALOMEDS;
61 SetUserName(me: mutable; theName : ExtendedString from TCollection);
62 GetCreatorName(me) returns ExtendedString from TCollection;
63 GetUserNames(me) returns HSequenceOfExtendedString from TColStd;
64 SetFirstName(me: mutable; theName : ExtendedString from TCollection);
66 SetModificationDate(me: mutable; theMinute, theHour, theDay, theMonth, theYear : Integer from Standard);
67 GetCreationDate(me; theMinute, theHour, theDay, theMonth, theYear : out Integer from Standard)
68 returns Boolean from Standard;
69 GetModificationDates(me; theMinutes, theHours, theDays, theMonths, theYears : out HSequenceOfInteger from TColStd);
71 SetCreationMode(me: mutable; theMode : Integer from Standard);
72 GetCreationMode(me) returns Integer from Standard;
74 SetModified(me: mutable; theModified : Integer from Standard);
75 IsModified(me) returns Boolean from Standard;
76 GetModified(me) returns Integer from Standard;
78 SetLocked(me: mutable; theLocked : Boolean from Standard);
79 IsLocked(me) returns Boolean from Standard;
80 IsLockChanged(me: mutable; theErase : Boolean from Standard) returns Boolean from Standard;
83 ---C++: return const &
84 returns GUID from Standard;
86 Restore (me: mutable; with : Attribute from TDF);
89 returns mutable Attribute from TDF;
91 Paste (me; into : mutable Attribute from TDF;
92 RT : mutable RelocationTable from TDF);
96 myUserName : HSequenceOfExtendedString from TColStd;
97 myMinute : HSequenceOfInteger from TColStd;
98 myHour : HSequenceOfInteger from TColStd;
99 myDay : HSequenceOfInteger from TColStd;
100 myMonth : HSequenceOfInteger from TColStd;
101 myYear : HSequenceOfInteger from TColStd;
102 myMode : Integer from Standard;
103 myModified : Integer from Standard;
104 myLocked : Boolean from Standard;
105 myLockChanged : Boolean from Standard;
107 end StudyPropertiesAttribute;