fString: tRtlString;
fObject: TObject;
(no public members)
inherits from TStrings
destructor Destroy; override;
function Add(const S: tRtlString): Integer; override;
procedure Clear; override;
procedure Delete(Index: Integer); override;
procedure Exchange(Index1, Index2: Integer); override;
function Find(const S: tRtlString; var Index: Integer): Boolean; virtual;
function IndexOf(const S: tRtlString): Integer; override;
procedure Insert(Index: Integer; const S: tRtlString); override;
procedure Sort; virtual;
procedure CustomSort(Compare: TSecureStringListSortCompare); virtual;
property BinarySort: Boolean read fBinarySort write fBinarySort;
property Duplicates: tDuplicates read fDuplicates write FDuplicates;
property NoClear: Boolean read fNoClear write fNoClear;
property Sorted: Boolean read fSorted write SetSorted;
property OnChange: tNotifyEvent read fOnChange write FOnChange;
property OnChanging: tNotifyEvent read fOnChanging write FOnChanging;
fString: OctetString;
fObject: TObject;
(no public members)
destructor Destroy; override;
function Add(const S: OctetString): Integer;
procedure Clear;
procedure Delete(Index: Integer);
procedure Exchange(Index1, Index2: Integer);
function Find(const S: OctetString; var Index: Integer): Boolean; virtual;
function IndexOf(const S: OctetString): Integer;
procedure Insert(Index: Integer; const S: OctetString);
procedure Sort; virtual;
procedure CustomSort(Compare: TOctetStringListSortCompare); virtual;
property Count: Integer read GetCount;
property Duplicates: tDuplicates read fDuplicates write fDuplicates;
property Strings[Index: Integer]: OctetString read Get write Put; default;
property NoClear: Boolean read fNoClear write fNoClear;
property Sorted: Boolean read fSorted write SetSorted;
property OnChange: tNotifyEvent read fOnChange write FOnChange;
property OnChanging: tNotifyEvent read fOnChanging write FOnChanging;
property Text: OctetString read GetText write SetTextStr;
inherits from tOctetStrings
function Add(const S: AnsiString): Integer;
procedure SaveToStream(Stream: TStream);
property CommaText: AnsiString read GetCommaText write SetCommaText;
property Strings[Index: Integer]: AnsiString read GetAS write PutAS; default;
(no public members)
fID: AnsiString;
fData: AnsiString;
fChildren: tAnsiStringTree;
destructor Destroy; override;
function Add(const aID, aData: AnsiString): Integer;
procedure Clear;
procedure Delete(Index: Integer);
function Find(const aID: AnsiString; var Index: Integer): Boolean; virtual;
function IndexOfID(const aID: AnsiString): Integer;
function HasChildren(aIndex: Integer): Boolean;
property Count: Integer read GetCount;
property ID[Index: Integer]: AnsiString read GetID; default;
property DataByIndex[Index: Integer]: AnsiString read GetDataByIndex write PutDataByIndex;
property Data[aID: AnsiString]: AnsiString read GetData write PutData;
property Children[Index: Integer]: tAnsiStringTree read GetChildren;
ID: OctetString;
Intf: IInterface;
function GetCount: Integer;
function Get(aIndex: Integer): OctetString;
function GetObjects(aIndex: Integer): IInterface;
procedure SetObjects(aIndex: Integer; const aValue: IInterface);
procedure SetSorted(const Value: Boolean);
procedure SetDuplicates(const aValue: tDuplicates);
function Find(const aID: OctetString; var aIndex: Integer): Boolean; overload;
function Find(const aID : OctetString; const aObject: IInterface; var aIndex : Integer) : Boolean; overload;
function IndexOf(const aID: OctetString): Integer;
function AddObject(const aID : OctetString; const aObject: IInterface) : Integer;
procedure Exchange(Index1, Index2: Integer);
function InsertObject(aIndex : Integer; const aID : OctetString; const aObject: IInterface) : Integer;
property Count: Integer read GetCount;
property Objects[aIndex: Integer]: IInterface read GetObjects write SetObjects;
property IDs[aIndex: Integer]: OctetString read Get; default;
inherits from TInterfacedObject
implements iIdentifiedInterfaceList
destructor Destroy; override;
procedure Clear;
procedure Delete(aIndex: Integer);
function Find(const aID: OctetString; var aIndex: Integer): Boolean; overload;
function Find(const aID : OctetString; const aObject: IInterface; var aIndex : Integer) : Boolean; overload;
function IndexOf(const aID: OctetString): Integer;
procedure Sort;
function AddObject(const aID : OctetString; const aObject: IInterface) : Integer;
procedure Exchange(Index1, Index2: Integer);
function InsertObject(aIndex : Integer; const aID : OctetString; const aObject: IInterface) : Integer;
property Count: Integer read GetCount;
property Duplicates: tDuplicates read fDuplicates write SetDuplicates;
property Objects[aIndex: Integer]: IInterface read GetObjects write SetObjects;
property Sorted: Boolean read fSorted write SetSorted;
property IDs[aIndex: Integer]: OctetString read Get; default;
property OnCompareEqual: tCompareEqualEvent read fOnCompareEqual write SetOnCompareEqual;
Name: string;
Intf: IInterface;
function GetCount: Integer;
function Get(aIndex: Integer): string;
function GetObjects(aIndex: Integer): IInterface;
procedure SetObjects(aIndex: Integer; const aValue: IInterface);
function GetCommaText: string;
procedure SetCommaText(const Value: string);
procedure SetSorted(const Value: Boolean);
procedure SetDuplicates(const aValue: tDuplicates);
function Find(const aStr: string; var aIndex: Integer): Boolean; overload;
function Find(const aStr : string; const aObject: IInterface; var aIndex : Integer) : Boolean; overload;
function IndexOf(const aStr: string): Integer;
function AddObject(const aStr : string; const aObject: IInterface) : Integer;
procedure Exchange(Index1, Index2: Integer);
function InsertObject(aIndex : Integer; const aStr : string; const aObject: IInterface) : Integer;
property CommaText: string read GetCommaText write SetCommaText;
property Count: Integer read GetCount;
property Objects[aIndex: Integer]: IInterface read GetObjects write SetObjects;
property Strings[aIndex: Integer]: string read Get; default;
inherits from TInterfacedObject
implements iStringInterfaceList
destructor Destroy; override;
procedure Clear;
procedure Delete(aIndex: Integer);
function Find(const aStr: string; var aIndex: Integer): Boolean; overload;
function Find(const aStr : string; const aObject: IInterface; var aIndex : Integer) : Boolean; overload;
function IndexOf(const aStr: string): Integer;
procedure Sort;
function AddObject(const aStr : string; const aObject: IInterface) : Integer;
procedure Exchange(Index1, Index2: Integer);
function InsertObject(aIndex : Integer; const aStr : string; const aObject: IInterface) : Integer;
property BaseInterface: TGUID read fBaseInterface write SetBaseInterface;
property CommaText: string read GetCommaText write SetCommaText;
property Count: Integer read GetCount;
property Duplicates: tDuplicates read fDuplicates write SetDuplicates;
property Objects[aIndex: Integer]: IInterface read GetObjects write SetObjects;
property Sorted: Boolean read fSorted write SetSorted;
property Strings[aIndex: Integer]: string read Get; default;
property OnCompareEqual: tCompareEqualEvent2 read fOnCompareEqual write SetOnCompareEqual;
FPC's FCL (TStrings and descendants) is AnsiString-based even in DelphiUnicode mode, so the FCL-facing string overrides - and the wiped item storage behind them - must follow the RTL string type, or the Get/Put/Add/IndexOf/Insert overrides will not match their base class. Under Delphi both aliases are the native (Unicode) string/Char.