Changeset 86 for Generics/TemplateGenerics/Specialized
- Timestamp:
- Oct 31, 2010, 9:30:56 PM (14 years ago)
- Location:
- Generics/TemplateGenerics/Specialized
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Generics/TemplateGenerics/Specialized/SpecializedDictionary.pas
r84 r86 21 21 {$DEFINE TGDictionaryStringConverter := TDictionaryStringConverterInteger} 22 22 {$DEFINE INTERFACE} 23 {$I NCLUDE '..\Generic\GenericDictionary.inc'}23 {$I 'GenericDictionary.inc'} 24 24 25 25 implementation … … 35 35 {$DEFINE TGDictionaryStringConverter := TDictionaryStringConverterInteger} 36 36 {$DEFINE IMPLEMENTATION} 37 {$I NCLUDE '..\Generic\GenericDictionary.inc'}37 {$I 'GenericDictionary.inc'} 38 38 39 39 end. -
Generics/TemplateGenerics/Specialized/SpecializedList.pas
r84 r86 18 18 {$DEFINE TGListStringConverter := TListIntegerStringConverter} 19 19 {$DEFINE INTERFACE} 20 {$I NCLUDE '..\Generic\GenericList.inc'}20 {$I 'GenericList.inc'} 21 21 22 22 // TListSmallInt<Integer, SmallInt> … … 27 27 {$DEFINE TGListStringConverter := TListSmallIntStringConverter} 28 28 {$DEFINE INTERFACE} 29 {$I NCLUDE '..\Generic\GenericList.inc'}29 {$I 'GenericList.inc'} 30 30 31 31 // TListDouble<Integer, Double> … … 45 45 {$DEFINE TGListStringConverter := TListPointerStringConverter} 46 46 {$DEFINE INTERFACE} 47 {$I NCLUDE '..\Generic\GenericList.inc'}47 {$I 'GenericList.inc'} 48 48 49 49 // TListString<Integer, string> … … 54 54 {$DEFINE TGListStringConverter := TListStringStringConverter} 55 55 {$DEFINE INTERFACE} 56 {$I NCLUDE '..\Generic\GenericList.inc'}56 {$I 'GenericList.inc'} 57 57 58 58 // TListByte<Integer, Byte> … … 63 63 {$DEFINE TGListStringConverter := TListByteStringConverter} 64 64 {$DEFINE INTERFACE} 65 {$INCLUDE '..\Generic\GenericList.inc'} 66 67 65 {$I 'GenericList.inc'} 68 66 69 67 // TListChar<Integer, Char> … … 74 72 {$DEFINE TGListStringConverter := TListStringConverterChar} 75 73 {$DEFINE INTERFACE} 76 {$I NCLUDE '..\Generic\GenericList.inc'}74 {$I 'GenericList.inc'} 77 75 78 76 { TListChar } … … 90 88 91 89 {$DEFINE IMPLEMENTATION_USES} 92 {$I NCLUDE '..\Generic\GenericList.inc'}90 {$I 'GenericList.inc'} 93 91 94 92 // TListInteger<Integer, Integer> … … 99 97 {$DEFINE TGListStringConverter:=TListIntegerStringConverter} 100 98 {$DEFINE IMPLEMENTATION} 101 {$I NCLUDE '..\Generic\GenericList.inc'}99 {$I 'GenericList.inc'} 102 100 103 101 // TListSmallInt<Integer, SmallInt> … … 108 106 {$DEFINE TGListStringConverter:=TListSmallIntStringConverter} 109 107 {$DEFINE IMPLEMENTATION} 110 {$I NCLUDE '..\Generic\GenericList.inc'}108 {$I 'GenericList.inc'} 111 109 112 110 // TListDouble<Integer, Double> … … 117 115 {$DEFINE TGListStringConverter := TListDoubleStringConverter} 118 116 {$DEFINE IMPLEMENTATION} 119 {$I NCLUDE '..\Generic\GenericList.inc'}117 {$I 'GenericList.inc'} 120 118 121 119 // TListPointer<Integer, Pointer> … … 126 124 {$DEFINE TGListStringConverter := TListPointerStringConverter} 127 125 {$DEFINE IMPLEMENTATION} 128 {$I NCLUDE '..\Generic\GenericList.inc'}126 {$I 'GenericList.inc'} 129 127 130 128 // TListString<Integer, string> … … 135 133 {$DEFINE TGListStringConverter := TListStringStringConverter} 136 134 {$DEFINE IMPLEMENTATION} 137 {$I NCLUDE '..\Generic\GenericList.inc'}135 {$I 'GenericList.inc'} 138 136 139 137 // TListByte<Integer, Byte> … … 144 142 {$DEFINE TGListStringConverter := TListByteStringConverter} 145 143 {$DEFINE IMPLEMENTATION} 146 {$I NCLUDE '..\Generic\GenericList.inc'}144 {$I 'GenericList.inc'} 147 145 148 146 // TListByte<Integer, Char> … … 153 151 {$DEFINE TGListStringConverter := TListStringConverterChar} 154 152 {$DEFINE IMPLEMENTATION} 155 {$I NCLUDE '..\Generic\GenericList.inc'}153 {$I 'GenericList.inc'} 156 154 157 155 { TListChar } -
Generics/TemplateGenerics/Specialized/SpecializedQueue.pas
r84 r86 19 19 {$DEFINE TGQueueStringConverter := TQueueStringConverterInteger} 20 20 {$DEFINE INTERFACE} 21 {$I NCLUDE '..\Generic\GenericQueue.inc'}21 {$I 'GenericQueue.inc'} 22 22 23 23 // TQueueInteger<Integer, Pointer> … … 29 29 {$DEFINE TGQueueStringConverter := TQueueStringConverterPointer} 30 30 {$DEFINE INTERFACE} 31 {$I NCLUDE '..\Generic\GenericQueue.inc'}31 {$I 'GenericQueue.inc'} 32 32 33 33 // TQueueByte<Integer, Byte> … … 39 39 {$DEFINE TGQueueStringConverter := TQueueStringConverterByte} 40 40 {$DEFINE INTERFACE} 41 {$I NCLUDE '..\Generic\GenericQueue.inc'}41 {$I 'GenericQueue.inc'} 42 42 43 43 implementation 44 44 45 45 {$DEFINE IMPLEMENTATION_USES} 46 {$I NCLUDE '..\Generic\GenericQueue.inc'}46 {$I 'GenericQueue.inc'} 47 47 48 48 // TQueueInteger<Integer, Integer> … … 54 54 {$DEFINE TGQueueStringConverter := TQueueStringConverterInteger} 55 55 {$DEFINE IMPLEMENTATION} 56 {$I NCLUDE'..\Generic\GenericQueue.inc'}56 {$I '..\Generic\GenericQueue.inc'} 57 57 58 58 // TQueueInteger<Integer, Pointer> … … 64 64 {$DEFINE TGQueueStringConverter := TQueueStringConverterPointer} 65 65 {$DEFINE IMPLEMENTATION} 66 {$I NCLUDE '..\Generic\GenericQueue.inc'}66 {$I 'GenericQueue.inc'} 67 67 68 68 // TQueueByte<Integer, Byte> … … 74 74 {$DEFINE TGQueueStringConverter := TQueueStringConverterByte} 75 75 {$DEFINE IMPLEMENTATION} 76 {$I NCLUDE '..\Generic\GenericQueue.inc'}76 {$I 'GenericQueue.inc'} 77 77 78 78 end. -
Generics/TemplateGenerics/Specialized/SpecializedSet.pas
r84 r86 19 19 {$DEFINE TGSetStringConverter := TSetStringConverterInteger} 20 20 {$DEFINE INTERFACE} 21 {$I NCLUDE '..\Generic\GenericSet.inc'}21 {$I 'GenericSet.inc'} 22 22 23 23 // TSetPointer<Integer, Pointer> … … 29 29 {$DEFINE TGSetStringConverter := TSetStringConverterPointer} 30 30 {$DEFINE INTERFACE} 31 {$I NCLUDE '..\Generic\GenericSet.inc'}31 {$I 'GenericSet.inc'} 32 32 33 33 implementation 34 34 35 35 {$DEFINE IMPLEMENTATION_USES} 36 {$I NCLUDE '..\Generic\GenericSet.inc'}36 {$I 'GenericSet.inc'} 37 37 38 38 // TSetInteger<Integer, Integer> … … 44 44 {$DEFINE TGSetStringConverter := TSetStringConverterInteger} 45 45 {$DEFINE IMPLEMENTATION} 46 {$I NCLUDE '..\Generic\GenericSet.inc'}46 {$I 'GenericSet.inc'} 47 47 48 48 // TSetPointer<Integer, Pointer> … … 54 54 {$DEFINE TGSetStringConverter := TSetStringConverterPointer} 55 55 {$DEFINE IMPLEMENTATION} 56 {$I NCLUDE '..\Generic\GenericSet.inc'}56 {$I 'GenericSet.inc'} 57 57 58 58 end. -
Generics/TemplateGenerics/Specialized/SpecializedStack.pas
r84 r86 19 19 {$DEFINE TGStackStringConverter := TStackStringConverterInteger} 20 20 {$DEFINE INTERFACE} 21 {$I NCLUDE '..\Generic\GenericStack.inc'}21 {$I 'GenericStack.inc'} 22 22 23 23 // TStackInteger<Integer, Pointer> … … 29 29 {$DEFINE TGStackStringConverter := TStackStringConverterPointer} 30 30 {$DEFINE INTERFACE} 31 {$I NCLUDE '..\Generic\GenericStack.inc'}31 {$I 'GenericStack.inc'} 32 32 33 33 … … 35 35 36 36 {$DEFINE IMPLEMENTATION_USES} 37 {$I NCLUDE '..\Generic\GenericStack.inc'}37 {$I 'GenericStack.inc'} 38 38 39 39 // TStackInteger<Integer, Integer> … … 45 45 {$DEFINE TGStackStringConverter := TStackStringConverterInteger} 46 46 {$DEFINE IMPLEMENTATION} 47 {$I NCLUDE '..\Generic\GenericStack.inc'}47 {$I 'GenericStack.inc'} 48 48 49 49 // TStackInteger<Integer, Pointer> … … 55 55 {$DEFINE TGStackStringConverter := TStackStringConverterPointer} 56 56 {$DEFINE IMPLEMENTATION} 57 {$I NCLUDE '..\Generic\GenericStack.inc'}57 {$I 'GenericStack.inc'} 58 58 end. -
Generics/TemplateGenerics/Specialized/SpecializedTree.pas
r84 r86 19 19 {$DEFINE TGTreeStringConverter := TTreeStringConverterInteger} 20 20 {$DEFINE INTERFACE} 21 {$I NCLUDE '..\Generic\GenericTree.inc'}21 {$I 'GenericTree.inc'} 22 22 23 23 // TTreeString<Integer, string> … … 30 30 {$DEFINE TGTreeStringConverter := TTreeStringConverterString} 31 31 {$DEFINE INTERFACE} 32 {$I NCLUDE '..\Generic\GenericTree.inc'}32 {$I 'GenericTree.inc'} 33 33 34 34 // TTreePointer<Integer, Pointer> … … 41 41 {$DEFINE TGTreeStringConverter := TTreeStringConverterPointer} 42 42 {$DEFINE INTERFACE} 43 {$I NCLUDE '..\Generic\GenericTree.inc'}43 {$I 'GenericTree.inc'} 44 44 45 45 implementation 46 46 47 47 {$DEFINE IMPLEMENTATION_USES} 48 {$I NCLUDE '..\Generic\GenericTree.inc'}48 {$I 'GenericTree.inc'} 49 49 50 50 // TTreeInteger<Integer, Integer> … … 57 57 {$DEFINE TGTreeStringConverter := TTreeStringConverterInteger} 58 58 {$DEFINE IMPLEMENTATION} 59 {$I NCLUDE '..\Generic\GenericTree.inc'}59 {$I 'GenericTree.inc'} 60 60 61 61 // TTreeString<Integer, string> … … 68 68 {$DEFINE TGTreeStringConverter := TTreeStringConverterString} 69 69 {$DEFINE IMPLEMENTATION} 70 {$I NCLUDE '..\Generic\GenericTree.inc'}70 {$I 'GenericTree.inc'} 71 71 72 72 // TTreePointer<Integer, Pointer> … … 79 79 {$DEFINE TGTreeStringConverter := TTreeStringConverterPointer} 80 80 {$DEFINE IMPLEMENTATION} 81 {$I NCLUDE '..\Generic\GenericTree.inc'}81 {$I 'GenericTree.inc'} 82 82 83 83 end.
Note:
See TracChangeset
for help on using the changeset viewer.