0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / DDocStd / DDocStd_DrawDocument.cdl
1 -- Created on: 2000-03-01
2 -- Created by: Denis PASCAL
3 -- Copyright (c) 2000-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 class DrawDocument from DDocStd inherits Data from DDF
17
18         ---Purpose: draw variable for TDocStd_Document.
19         --          ==================================
20
21 uses Document    from TDocStd,
22      Drawable3D  from Draw,
23      Interpretor from Draw,
24      Display     from Draw
25
26 is 
27
28
29     Find (myclass; Doc : Document from TDocStd)
30     returns DrawDocument from DDocStd;
31
32     Create (Doc : Document from TDocStd)
33     returns DrawDocument from DDocStd;
34
35     GetDocument(me) returns Document from TDocStd;
36
37     DrawOn (me; dis : in out Display from Draw);
38     
39     Copy (me) 
40     returns Drawable3D from Draw
41     is redefined;
42         
43     Dump (me; S : in out OStream) 
44     is redefined;
45     
46     Whatis (me; I : in out Interpretor from Draw)
47     is redefined;
48
49 fields
50
51     myDocument : Document from TDocStd;
52
53 end DrawDocument;