0024830: Remove redundant keyword 'mutable' in CDL declarations
[occt.git] / src / XmlMNaming / XmlMNaming_NamedShapeDriver.cdl
CommitLineData
b311480e 1-- Created on: 2001-09-14
2-- Created by: Alexander GRIGORIEV
973c2be1 3-- Copyright (c) 2001-2014 OPEN CASCADE SAS
b311480e 4--
973c2be1 5-- This file is part of Open CASCADE Technology software library.
b311480e 6--
d5f74e42 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
973c2be1 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.
b311480e 12--
973c2be1 13-- Alternatively, this file may be used under the terms of Open CASCADE
14-- commercial license or contractual agreement.
7fd59977 15
16class NamedShapeDriver from XmlMNaming inherits ADriver from XmlMDF
17
18 ---Purpose:
19
20
21uses
22 RRelocationTable from XmlObjMgt,
23 SRelocationTable from XmlObjMgt,
24 Persistent from XmlObjMgt,
25 Element from XmlObjMgt,
26 Attribute from TDF,
27 MessageDriver from CDM,
28 ShapeSet from BRepTools,
29 LocationSet from TopTools
30
31is
32 Create (aMessageDriver: MessageDriver from CDM)
6e33d3ce 33 returns NamedShapeDriver from XmlMNaming;
7fd59977 34
35 NewEmpty (me)
6e33d3ce 36 returns Attribute from TDF
7fd59977 37 is redefined;
38
39 Paste(me; theSource : Persistent from XmlObjMgt;
6e33d3ce 40 theTarget : Attribute from TDF;
7fd59977 41 theRelocTable : out RRelocationTable from XmlObjMgt)
42 returns Boolean from Standard
43 is redefined;
44
45 Paste(me; theSource : Attribute from TDF;
46 theTarget : in out Persistent from XmlObjMgt;
47 theRelocTable : out SRelocationTable from XmlObjMgt)
48 is redefined;
49
50 ReadShapeSection (me: mutable; anElement: Element from XmlObjMgt);
51 ---Purpose: Input the shapes from DOM element
52
53 WriteShapeSection (me: mutable; anElement: in out Element from XmlObjMgt);
54 ---Purpose: Output the shapes into DOM element
55
56 Clear (me:mutable);
57 ---Purpose: Clear myShapeSet
58
59 GetShapesLocations(me: mutable) returns LocationSet from TopTools;
60 ---Purpose: get the format of topology
61 ---C++: return &
62 ---C++: inline
63
64fields
65 myShapeSet : ShapeSet from BRepTools;
66
67end NamedShapeDriver;