Interface IStrings

Unit

Declaration

type IStrings = interface(IInterface)

Description

Attributes
GUID['{A6212977-E9D0-4D30-BB9F-A4EDDD956125}']

Hierarchy

Overview

Methods

Public function GetCount: integer;
Public function GetItem(iIndex: integer): string;
Public procedure SetItem(iIndex: integer; iValue: string);
Public procedure Delete(iIndex: integer);
Public procedure Clear;
Public procedure Assign(iValue: IStrings);
Public function Add(const iValue: string): IStrings;
Public function AddValue(iName, iValue: string): IStrings;
Public function AddValueOrEmpty(iName, iValue: string): IStrings;
Public procedure AddObject(iValue: string; iData: cardinal);
Public procedure AddStrings(iValues: IStrings);
Public procedure Insert(iIndex: integer; iValue: string);
Public function GetValue(iKey: string): string;
Public procedure SetValue(iKey: string; iValue: string);
Public function GetValueFromIndex(iIndex: integer): string;
Public function GetAllValues: IStrings;
Public function GetName(iIndex: integer): string;
Public function IndexOf(const iValue: string): integer;
Public function IndexOfName(const iValue: string): integer;
Public function Contains(const iValue: string): boolean;
Public function GetSorted: boolean;
Public procedure SetSorted(iValue: boolean);
Public function Clone: IStrings;
Public function GetText: string;
Public procedure SetText(const iValue: string);
Public function GetCommaText: string;
Public procedure SetCommaText(const iValue: string);
Public function Join(iDelimiter: string): string;
Public procedure MergeValues(iOther: IStrings);
Public function GetData(iIndex: integer): cardinal;
Public procedure LoadFromFile(const iFilename: string);
Public procedure SaveToFile(const iFilename: string);
Public procedure Shuffle;
Public procedure SortNatural;
Public function Union(iOther: IStrings): IStrings;
Public function Intersect(iOther: IStrings): IStrings;
Public procedure BeginRead;
Public procedure EndRead;
Public function BeginWrite: boolean;
Public procedure EndWrite;
Public procedure Load(iSource: IPersistentStorage);
Public function Save: IPersistentStorage;
Public procedure LoadMap(iSource: IPersistentStorage);
Public function SaveMap: IPersistentObject;
Public procedure LoadFromXML(iXML: ISXMLNode; iItemTag: string = '');
Public function SaveToXML(iDocument: ISXMLDocument; iElementName, iItemTag: string): ISXMLNode;
Public procedure LoadMapFromXML(iXML: ISXMLNode; iItemTag: string = 'Item'; iNameTag: string = 'Item'; iValueTag: string = 'Value'; iUseAttributes: boolean = false);
Public function SaveMapAsXML(iDocument: ISXMLDocument; iNodeName: string; iItemTag: string = 'Item'; iNameTag: string = 'Item'; iValueTag: string = 'Value'; iUseAttributes: boolean = false): ISXMLNode;
Public function GetEnumerator: IStringsEnumerator;

Description

Methods

Public function GetCount: integer;
 
Public function GetItem(iIndex: integer): string;
 
Public procedure SetItem(iIndex: integer; iValue: string);
 
Public procedure Delete(iIndex: integer);
 
Public procedure Clear;
 
Public procedure Assign(iValue: IStrings);
 
Public function Add(const iValue: string): IStrings;
 
Public function AddValue(iName, iValue: string): IStrings;
 
Public function AddValueOrEmpty(iName, iValue: string): IStrings;
 
Public procedure AddObject(iValue: string; iData: cardinal);
 
Public procedure AddStrings(iValues: IStrings);
 
Public procedure Insert(iIndex: integer; iValue: string);
 
Public function GetValue(iKey: string): string;
 
Public procedure SetValue(iKey: string; iValue: string);
 
Public function GetValueFromIndex(iIndex: integer): string;
 
Public function GetAllValues: IStrings;
 
Public function GetName(iIndex: integer): string;
 
Public function IndexOf(const iValue: string): integer;
 
Public function IndexOfName(const iValue: string): integer;
 
Public function Contains(const iValue: string): boolean;
 
Public function GetSorted: boolean;
 
Public procedure SetSorted(iValue: boolean);
 
Public function Clone: IStrings;
 
Public function GetText: string;
 
Public procedure SetText(const iValue: string);
 
Public function GetCommaText: string;
 
Public procedure SetCommaText(const iValue: string);
 
Public function Join(iDelimiter: string): string;
 
Public procedure MergeValues(iOther: IStrings);
 
Public function GetData(iIndex: integer): cardinal;
 
Public procedure LoadFromFile(const iFilename: string);
 
Public procedure SaveToFile(const iFilename: string);
 
Public procedure Shuffle;
 
Public procedure SortNatural;
 
Public function Union(iOther: IStrings): IStrings;
 
Public function Intersect(iOther: IStrings): IStrings;
 
Public procedure BeginRead;
 
Public procedure EndRead;
 
Public function BeginWrite: boolean;
 
Public procedure EndWrite;
 
Public procedure Load(iSource: IPersistentStorage);
 
Public function Save: IPersistentStorage;
 
Public procedure LoadMap(iSource: IPersistentStorage);
 
Public function SaveMap: IPersistentObject;
 
Public procedure LoadFromXML(iXML: ISXMLNode; iItemTag: string = '');
 
Public function SaveToXML(iDocument: ISXMLDocument; iElementName, iItemTag: string): ISXMLNode;
 
Public procedure LoadMapFromXML(iXML: ISXMLNode; iItemTag: string = 'Item'; iNameTag: string = 'Item'; iValueTag: string = 'Value'; iUseAttributes: boolean = false);
 
Public function SaveMapAsXML(iDocument: ISXMLDocument; iNodeName: string; iItemTag: string = 'Item'; iNameTag: string = 'Item'; iValueTag: string = 'Value'; iUseAttributes: boolean = false): ISXMLNode;
 
Public function GetEnumerator: IStringsEnumerator;
 

Generated by PasDoc 0.16.0.