source: trunk/Packages/TemplateGenerics/Specialized/SpecializedSet.pas

Last change on this file was 324, checked in by chronos, 6 months ago
File size: 998 bytes
Line 
1unit SpecializedSet;
2
3interface
4
5uses
6 Classes, SysUtils;
7
8type
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
27implementation
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
48end.
Note: See TracBrowser for help on using the repository browser.