1 -- Created on: 2001-09-14
2 -- Created by: Alexander GRIGORIEV
3 -- Copyright (c) 2001-2014 OPEN CASCADE SAS
5 -- This file is part of Open CASCADE Technology software library.
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.
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
16 class NamedShapeDriver from XmlMNaming inherits ADriver from XmlMDF
22 RRelocationTable from XmlObjMgt,
23 SRelocationTable from XmlObjMgt,
24 Persistent from XmlObjMgt,
25 Element from XmlObjMgt,
27 MessageDriver from CDM,
28 ShapeSet from BRepTools,
29 LocationSet from TopTools
32 Create (aMessageDriver: MessageDriver from CDM)
33 returns NamedShapeDriver from XmlMNaming;
36 returns Attribute from TDF
39 Paste(me; theSource : Persistent from XmlObjMgt;
40 theTarget : Attribute from TDF;
41 theRelocTable : out RRelocationTable from XmlObjMgt)
42 returns Boolean from Standard
45 Paste(me; theSource : Attribute from TDF;
46 theTarget : in out Persistent from XmlObjMgt;
47 theRelocTable : out SRelocationTable from XmlObjMgt)
50 ReadShapeSection (me: mutable; anElement: Element from XmlObjMgt);
51 ---Purpose: Input the shapes from DOM element
53 WriteShapeSection (me: mutable; anElement: in out Element from XmlObjMgt);
54 ---Purpose: Output the shapes into DOM element
57 ---Purpose: Clear myShapeSet
59 GetShapesLocations(me: mutable) returns LocationSet from TopTools;
60 ---Purpose: get the format of topology
65 myShapeSet : ShapeSet from BRepTools;