1 -- Created on: 1997-07-29
2 -- Created by: Denis PASCAL
3 -- Copyright (c) 1997-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
23 class NoteBook from TDataStd inherits Attribute from TDF
25 ---Purpose: NoteBook Object attribute
28 uses Attribute from TDF,
31 Integer from TDataStd,
34 RelocationTable from TDF
38 ---Purpose: class methods
41 Find (myclass; current : Label from TDF; N : in out NoteBook from TDataStd)
42 ---Purpose: try to retrieve a NoteBook attribute at <current> label
43 -- or in fathers label of <current>. Returns True if
45 returns Boolean from Standard;
47 New (myclass; label : Label from TDF)
48 ---Purpose: Create an enpty NoteBook attribute, located at
49 -- <label>. Raises if <label> has attribute
50 returns NoteBook from TDataStd;
53 ---C++: return const &
54 returns GUID from Standard;
55 ---Purpose: NoteBook methods
59 returns mutable NoteBook from TDataStd;
62 Append (me : mutable; value : Real from Standard;
63 isExported : Boolean from Standard = Standard_False)
64 ---Purpose: Tool to Create an Integer attribute from <value>,
65 -- Insert it in a new son label of <me>. The Real
66 -- attribute is returned.
67 returns Real from TDataStd;
69 Append (me : mutable; value : Integer from Standard;
70 isExported : Boolean from Standard = Standard_False)
71 ---Purpose: Tool to Create an Real attribute from <value>, Insert
72 -- it in a new son label of <me>. The Integer attribute
74 returns Integer from TDataStd;
77 ---Category: methodes de TDF_Attribute
78 -- =========================
81 ---C++: return const &
82 returns GUID from Standard;
84 Restore (me: mutable; with : Attribute from TDF);
87 returns mutable Attribute from TDF;
89 Paste (me; into : mutable Attribute from TDF;
90 RT : mutable RelocationTable from TDF);
92 Dump(me; anOS : in out OStream from Standard)
93 returns OStream from Standard