blob: fe96c7d3b151aac67c4349305e1c4b288de45a96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
-- File: SelectDiff.cdl
-- Created: Wed Nov 18 16:40:10 1992
-- Author: Christian CAILLET
-- <cky@topsn2>
---Copyright: Matra Datavision 1992
class SelectDiff from IFSelect inherits SelectControl
---Purpose : A SelectDiff keeps the entities from a Selection, the Main
-- Input, which are not listed by the Second Input
uses AsciiString from TCollection, EntityIterator, Graph
is
Create returns mutable SelectDiff;
---Purpose : Creates an empty SelectDiff
RootResult (me; G : Graph) returns EntityIterator;
---Purpose : Returns the list of selected entities : they are the Entities
-- gotten from the Main Input but not from the Diff Input
HasUniqueResult (me) returns Boolean is redefined protected;
---Purpose : Returns always True, because RootResult gives a Unique list
Label (me) returns AsciiString from TCollection;
---Purpose : Returns a text defining the criterium : "Difference"
end SelectDiff;
|