blob: c2b37118b9e7641926ae588dcaf399dc11482b38 (
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
|
-- File: SelectAnyType.cdl
-- Created: Wed Nov 18 10:34:22 1992
-- Author: Christian CAILLET
-- <cky@topsn2>
---Copyright: Matra Datavision 1992
deferred class SelectAnyType from IFSelect inherits SelectExtract
---Purpose : A SelectAnyType sorts the Entities of which the Type is Kind
-- of a given Type : this Type for Match is specific of each
-- class of SelectAnyType
uses Type, InterfaceModel
is
TypeForMatch (me) returns Type is deferred;
---Purpose : Returns the Type which has to be matched for select
Sort (me; rank : Integer; ent : Transient; model : InterfaceModel)
returns Boolean;
---Purpose : Returns True for an Entity (model->Value(num)) which is kind
-- of the choosen type, given by the method TypeForMatch.
-- Criterium is IsKind.
end SelectAnyType;
|