0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / XmlMNaming / XmlMNaming_NamedShapeDriver.cdl
CommitLineData
7fd59977 1-- File: XmlMNaming_NamedShapeDriver.cdl
2-- Created: Sep 14 2001
3-- Author: Alexander GRIGORIEV
4---Copyright: Open Cascade 2001
5
6class NamedShapeDriver from XmlMNaming inherits ADriver from XmlMDF
7
8 ---Purpose:
9
10
11uses
12 RRelocationTable from XmlObjMgt,
13 SRelocationTable from XmlObjMgt,
14 Persistent from XmlObjMgt,
15 Element from XmlObjMgt,
16 Attribute from TDF,
17 MessageDriver from CDM,
18 ShapeSet from BRepTools,
19 LocationSet from TopTools
20
21is
22 Create (aMessageDriver: MessageDriver from CDM)
23 returns mutable NamedShapeDriver from XmlMNaming;
24
25 NewEmpty (me)
26 returns mutable Attribute from TDF
27 is redefined;
28
29 Paste(me; theSource : Persistent from XmlObjMgt;
30 theTarget : mutable Attribute from TDF;
31 theRelocTable : out RRelocationTable from XmlObjMgt)
32 returns Boolean from Standard
33 is redefined;
34
35 Paste(me; theSource : Attribute from TDF;
36 theTarget : in out Persistent from XmlObjMgt;
37 theRelocTable : out SRelocationTable from XmlObjMgt)
38 is redefined;
39
40 ReadShapeSection (me: mutable; anElement: Element from XmlObjMgt);
41 ---Purpose: Input the shapes from DOM element
42
43 WriteShapeSection (me: mutable; anElement: in out Element from XmlObjMgt);
44 ---Purpose: Output the shapes into DOM element
45
46 Clear (me:mutable);
47 ---Purpose: Clear myShapeSet
48
49 GetShapesLocations(me: mutable) returns LocationSet from TopTools;
50 ---Purpose: get the format of topology
51 ---C++: return &
52 ---C++: inline
53
54fields
55 myShapeSet : ShapeSet from BRepTools;
56
57end NamedShapeDriver;