Line | |
---|
1 | unit SpecializedSet;
|
---|
2 |
|
---|
3 | interface
|
---|
4 |
|
---|
5 | uses
|
---|
6 | Classes, SysUtils;
|
---|
7 |
|
---|
8 | type
|
---|
9 | {$MACRO ON}
|
---|
10 |
|
---|
11 | // TSetInteger<Integer, Integer>
|
---|
12 | {$DEFINE TGSetIndex := Integer}
|
---|
13 | {$DEFINE TGSetItem := Integer}
|
---|
14 | {$DEFINE TGSetList := TSetListInteger}
|
---|
15 | {$DEFINE TGSet := TSetInteger}
|
---|
16 | {$DEFINE INTERFACE}
|
---|
17 | {$I 'GenericSet.inc'}
|
---|
18 |
|
---|
19 | // TSetPointer<Integer, Pointer>
|
---|
20 | {$DEFINE TGSetIndex := Integer}
|
---|
21 | {$DEFINE TGSetItem := Pointer}
|
---|
22 | {$DEFINE TGSetList := TSetListPointer}
|
---|
23 | {$DEFINE TGSet := TSetPointer}
|
---|
24 | {$DEFINE INTERFACE}
|
---|
25 | {$I 'GenericSet.inc'}
|
---|
26 |
|
---|
27 | implementation
|
---|
28 |
|
---|
29 | {$DEFINE IMPLEMENTATION_USES}
|
---|
30 | {$I 'GenericSet.inc'}
|
---|
31 |
|
---|
32 | // TSetInteger<Integer, Integer>
|
---|
33 | {$DEFINE TGSetIndex := Integer}
|
---|
34 | {$DEFINE TGSetItem := Integer}
|
---|
35 | {$DEFINE TGSetList := TSetListInteger}
|
---|
36 | {$DEFINE TGSet := TSetInteger}
|
---|
37 | {$DEFINE IMPLEMENTATION}
|
---|
38 | {$I 'GenericSet.inc'}
|
---|
39 |
|
---|
40 | // TSetPointer<Integer, Pointer>
|
---|
41 | {$DEFINE TGSetIndex := Integer}
|
---|
42 | {$DEFINE TGSetItem := Pointer}
|
---|
43 | {$DEFINE TGSetList := TSetListPointer}
|
---|
44 | {$DEFINE TGSet := TSetPointer}
|
---|
45 | {$DEFINE IMPLEMENTATION}
|
---|
46 | {$I 'GenericSet.inc'}
|
---|
47 |
|
---|
48 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.