|
@@ -501,6 +501,7 @@ TYPE
|
|
FUNCTION Compare (Key1, Key2: Pointer): Sw_Integer; Virtual;
|
|
FUNCTION Compare (Key1, Key2: Pointer): Sw_Integer; Virtual;
|
|
PROCEDURE FreeItem (Item: Pointer); Virtual;
|
|
PROCEDURE FreeItem (Item: Pointer); Virtual;
|
|
PROCEDURE PutItem (Var S: TStream; Item: Pointer); Virtual;
|
|
PROCEDURE PutItem (Var S: TStream; Item: Pointer); Virtual;
|
|
|
|
+ PROCEDURE AtInsert (Index: Sw_Integer; const Item: RawByteString);
|
|
END;
|
|
END;
|
|
PRawByteStringCollection = ^TRawByteStringCollection;
|
|
PRawByteStringCollection = ^TRawByteStringCollection;
|
|
|
|
|
|
@@ -2617,6 +2618,17 @@ BEGIN
|
|
S.WriteRawByteString(RawByteString(Item)); { Write string }
|
|
S.WriteRawByteString(RawByteString(Item)); { Write string }
|
|
END;
|
|
END;
|
|
|
|
|
|
|
|
+{--TRawByteStringCollection-------------------------------------------------}
|
|
|
|
+{ AtInsert }
|
|
|
|
+{---------------------------------------------------------------------------}
|
|
|
|
+PROCEDURE TRawByteStringCollection.AtInsert (Index: Sw_Integer; const Item: RawByteString);
|
|
|
|
+VAR TmpRef: Pointer;
|
|
|
|
+BEGIN
|
|
|
|
+ TmpRef:=Nil;
|
|
|
|
+ RawByteString(TmpRef) := Item;
|
|
|
|
+ TCollection.AtInsert(Index, Pointer(Item));
|
|
|
|
+END;
|
|
|
|
+
|
|
{+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
|
|
{+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
|
|
{ TStrCollection OBJECT METHODS }
|
|
{ TStrCollection OBJECT METHODS }
|
|
{+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
|
|
{+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
|