0022934: Wrong delete operator in IGESSelect_SelectFromDrawing.cxx / IGESSelect_Selec...
[occt.git] / src / IGESSelect / IGESSelect_DispPerSingleView.cdl
CommitLineData
7fd59977 1-- File: IGESSelect_DispPerSingleView.cdl
2-- Created: Tue May 31 17:07:18 1994
3-- Author: Christian CAILLET
4-- <cky@bravox>
5---Copyright: Matra Datavision 1994
6
7
8class DispPerSingleView from IGESSelect inherits Dispatch
9
10 ---Purpose : This type of dispatch defines sets of entities attached to
11 -- distinct single views. This information appears in the
12 -- Directory Part. Drawings are taken into account too,
13 -- because of their frames (proper lists of annotations)
14 --
15 -- Remaining data concern entities not attached to a single view.
16
17
18uses AsciiString from TCollection, EntityIterator, Graph, SubPartsIterator,
19 ViewSorter
20
21is
22
23 Create returns mutable DispPerSingleView;
24 ---Purpose : Creates a DispPerSingleView
25
26 Label (me) returns AsciiString from TCollection;
27 ---Purpose : Returns as Label, "One File per single View or Drawing Frame"
28
29 -- -- Evaluation -- --
30
31 Packets (me; G : Graph; packs : in out SubPartsIterator);
32 ---Purpose : Computes the list of produced Packets. Packets are computed
33 -- by a ViewSorter (SortSingleViews with also frames).
34
35 CanHaveRemainder (me) returns Boolean is redefined;
36 ---Purpose : Returns True, because of entities attached to no view.
37
38 Remainder (me; G : Graph) returns EntityIterator is redefined;
39 ---Purpose : Returns Remainder which is a set of Entities.
40 -- It is supposed to be called once Packets has been called.
41
42fields
43
44 thesorter : ViewSorter;
45
46end DispPerSingleView;