7fd59977 |
1 | -- File: SelectUnion.cdl |
2 | -- Created: Mon Jan 11 12:34:05 1993 |
3 | -- Author: Christian CAILLET |
4 | -- <cky@sdsun1> |
5 | ---Copyright: Matra Datavision 1993 |
6 | |
7 | |
8 | class SelectUnion from IFSelect inherits SelectCombine |
9 | |
10 | ---Purpose : A SelectUnion cumulates the Entities issued from several other |
11 | -- Selections (union of results : "OR" operator) |
12 | |
13 | uses AsciiString from TCollection, EntityIterator, Graph |
14 | |
15 | is |
16 | |
17 | Create returns mutable SelectUnion; |
18 | ---Purpose : Creates an empty SelectUnion |
19 | |
20 | RootResult (me; G : Graph) returns EntityIterator; |
21 | ---Purpose : Returns the list of selected Entities, which is the addition |
22 | -- result from all input selections. Uniqueness is guaranteed. |
23 | |
24 | Label (me) returns AsciiString from TCollection; |
25 | ---Purpose : Returns a text defining the criterium : "Union (OR)" |
26 | |
27 | end SelectUnion; |