1 -- Created on: 1999-06-11
2 -- Created by: Sergey RUIN
3 -- Copyright (c) 1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class UAttribute from TDataStd inherits Attribute from TDF
20 uses Attribute from TDF,
24 RelocationTable from TDF
29 ---Purpose: api class methods
32 Set (myclass ; label : Label from TDF; LocalID : GUID from Standard)
33 ---Purpose: Find, or create, a UAttribute attribute with <LocalID> as Local GUID.
34 -- The UAttribute attribute is returned.
35 returns UAttribute from TDataStd ;
38 ---Purpose: UAttribute methods
42 returns UAttribute from TDataStd;
44 SetID (me: mutable; LocalID : GUID from Standard);
47 ---C++: return const &
48 returns GUID from Standard;
50 ---Category: methodes of TDF_Attribute
51 -- =========================
53 Restore (me: mutable; with : Attribute from TDF);
56 returns Attribute from TDF;
58 Paste (me; into : Attribute from TDF;
59 RT : RelocationTable from TDF);
61 References (me; DS : DataSet from TDF) is redefined;
63 Dump(me; anOS : in out OStream from Standard)
64 returns OStream from Standard
69 myID: GUID from Standard;