Class tstrings

Unit

Declaration

type tstrings = class(tpersistent)

Description

This item has no description.

Hierarchy

Overview

Methods

Protected procedure DefineProperties(Filer: tfiler); override;
Protected procedure Error(const Msg: string; Data: Integer); overload;
Protected procedure Error(const Msg: pstring; Data: Integer); overload;
Protected function Get(Index: Integer): string; virtual; abstract;
Protected function GetCapacity: Integer; virtual;
Protected function GetCount: Integer; virtual; abstract;
Protected function GetObject(Index: Integer): TObject; virtual;
Protected function GetTextStr: string; virtual;
Protected procedure Put(Index: Integer; const S: string); virtual;
Protected procedure PutObject(Index: Integer; AObject: TObject); virtual;
Protected procedure SetCapacity(NewCapacity: Integer); virtual;
Protected procedure SetTextStr(const Value: string); virtual;
Protected procedure SetUpdateState(Updating: Boolean); virtual;
Protected Function DoCompareText(const s1,s2 : string) : PtrInt; virtual;
Protected Function GetDelimitedText: string;
Protected Procedure SetDelimitedText(Const AValue: string);
Protected Function GetValueFromIndex(Index: Integer): string;
Protected Procedure SetValueFromIndex(Index: Integer; const Value: string);
Protected Procedure CheckSpecialChars;
Public destructor Destroy; override;
Public function Add(const S: string): Integer; virtual;
Public function AddObject(const S: string; AObject: TObject): Integer; virtual;
Public procedure Append(const S: string);
Public procedure AddStrings(TheStrings: tstrings); overload; virtual;
Public procedure AddStrings(const TheStrings: array of string); overload; virtual;
Public procedure Assign(Source: tpersistent); override;
Public procedure BeginUpdate;
Public procedure Clear; virtual; abstract;
Public procedure Delete(Index: Integer); virtual; abstract;
Public procedure EndUpdate;
Public function Equals(Obj: TObject): Boolean; overload; override;
Public function Equals(TheStrings: tstrings): Boolean; reintroduce; overload;
Public procedure Exchange(Index1, Index2: Integer); virtual;
Public function GetEnumerator: TStringsEnumerator;
Public function GetText: PChar; virtual;
Public function IndexOf(const S: string): Integer; virtual;
Public function IndexOfName(const Name: string): Integer; virtual;
Public function IndexOfObject(AObject: TObject): Integer; virtual;
Public procedure Insert(Index: Integer; const S: string); virtual; abstract;
Public procedure InsertObject(Index: Integer; const S: string; AObject: TObject);
Public procedure LoadFromFile(const FileName: string); virtual;
Public procedure LoadFromStream(Stream: TStream); virtual;
Public procedure Move(CurIndex, NewIndex: Integer); virtual;
Public procedure SaveToFile(const FileName: string); virtual;
Public procedure SaveToStream(Stream: TStream); virtual;
Public procedure SetText(TheText: PChar); virtual;
Public procedure GetNameValue(Index : Integer; Out AName,AValue : String);
Public function ExtractName(Const S:String):String;

Properties

Protected property UpdateCount: Integer read FUpdateCount;
Public property TextLineBreakStyle : TTextLineBreakStyle Read GetLBS Write SetLBS;
Public property Delimiter: Char read FDelimiter write SetDelimiter;
Public property DelimitedText: string read GetDelimitedText write SetDelimitedText;
Public property StrictDelimiter : Boolean Read FStrictDelimiter Write FStrictDelimiter;
Public property QuoteChar: Char read FQuoteChar write SetQuoteChar;
Public property NameValueSeparator : Char Read FNameValueSeparator Write SetNameValueSeparator;
Public property ValueFromIndex[Index: Integer]: string read GetValueFromIndex write SetValueFromIndex;
Public property Capacity: Integer read GetCapacity write SetCapacity;
Public property CommaText: string read GetCommaText write SetCommaText;
Public property Count: Integer read GetCount;
Public property Names[Index: Integer]: string read GetName;
Public property Objects[Index: Integer]: TObject read GetObject write PutObject;
Public property Values[const Name: string]: string read GetValue write SetValue;
Public property Strings[Index: Integer]: string read Get write Put;
Public property Text: string read GetTextStr write SetTextStr;
Public property StringsAdapter: IStringsAdapter read FAdapter write SetStringsAdapter;

Description

Methods

Protected procedure DefineProperties(Filer: tfiler); override;

This item has no description.

Protected procedure Error(const Msg: string; Data: Integer); overload;

This item has no description.

Protected procedure Error(const Msg: pstring; Data: Integer); overload;

This item has no description.

Protected function Get(Index: Integer): string; virtual; abstract;

This item has no description.

Protected function GetCapacity: Integer; virtual;

This item has no description.

Protected function GetCount: Integer; virtual; abstract;

This item has no description.

Protected function GetObject(Index: Integer): TObject; virtual;

This item has no description.

Protected function GetTextStr: string; virtual;

This item has no description.

Protected procedure Put(Index: Integer; const S: string); virtual;

This item has no description.

Protected procedure PutObject(Index: Integer; AObject: TObject); virtual;

This item has no description.

Protected procedure SetCapacity(NewCapacity: Integer); virtual;

This item has no description.

Protected procedure SetTextStr(const Value: string); virtual;

This item has no description.

Protected procedure SetUpdateState(Updating: Boolean); virtual;

This item has no description.

Protected Function DoCompareText(const s1,s2 : string) : PtrInt; virtual;

This item has no description.

Protected Function GetDelimitedText: string;

This item has no description.

Protected Procedure SetDelimitedText(Const AValue: string);

This item has no description.

Protected Function GetValueFromIndex(Index: Integer): string;

This item has no description.

Protected Procedure SetValueFromIndex(Index: Integer; const Value: string);

This item has no description.

Protected Procedure CheckSpecialChars;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function Add(const S: string): Integer; virtual;

This item has no description.

Public function AddObject(const S: string; AObject: TObject): Integer; virtual;

This item has no description.

Public procedure Append(const S: string);

This item has no description.

Public procedure AddStrings(TheStrings: tstrings); overload; virtual;

This item has no description.

Public procedure AddStrings(const TheStrings: array of string); overload; virtual;

This item has no description.

Public procedure Assign(Source: tpersistent); override;

This item has no description.

Public procedure BeginUpdate;

This item has no description.

Public procedure Clear; virtual; abstract;

This item has no description.

Public procedure Delete(Index: Integer); virtual; abstract;

This item has no description.

Public procedure EndUpdate;

This item has no description.

Public function Equals(Obj: TObject): Boolean; overload; override;

This item has no description.

Public function Equals(TheStrings: tstrings): Boolean; reintroduce; overload;

This item has no description.

Public procedure Exchange(Index1, Index2: Integer); virtual;

This item has no description.

Public function GetEnumerator: TStringsEnumerator;

This item has no description.

Public function GetText: PChar; virtual;

This item has no description.

Public function IndexOf(const S: string): Integer; virtual;

This item has no description.

Public function IndexOfName(const Name: string): Integer; virtual;

This item has no description.

Public function IndexOfObject(AObject: TObject): Integer; virtual;

This item has no description.

Public procedure Insert(Index: Integer; const S: string); virtual; abstract;

This item has no description.

Public procedure InsertObject(Index: Integer; const S: string; AObject: TObject);

This item has no description.

Public procedure LoadFromFile(const FileName: string); virtual;

This item has no description.

Public procedure LoadFromStream(Stream: TStream); virtual;

This item has no description.

Public procedure Move(CurIndex, NewIndex: Integer); virtual;

This item has no description.

Public procedure SaveToFile(const FileName: string); virtual;

This item has no description.

Public procedure SaveToStream(Stream: TStream); virtual;

This item has no description.

Public procedure SetText(TheText: PChar); virtual;

This item has no description.

Public procedure GetNameValue(Index : Integer; Out AName,AValue : String);

This item has no description.

Public function ExtractName(Const S:String):String;

This item has no description.

Properties

Protected property UpdateCount: Integer read FUpdateCount;

This item has no description.

Public property TextLineBreakStyle : TTextLineBreakStyle Read GetLBS Write SetLBS;

This item has no description.

Public property Delimiter: Char read FDelimiter write SetDelimiter;

This item has no description.

Public property DelimitedText: string read GetDelimitedText write SetDelimitedText;

This item has no description.

Public property StrictDelimiter : Boolean Read FStrictDelimiter Write FStrictDelimiter;

This item has no description.

Public property QuoteChar: Char read FQuoteChar write SetQuoteChar;

This item has no description.

Public property NameValueSeparator : Char Read FNameValueSeparator Write SetNameValueSeparator;

This item has no description.

Public property ValueFromIndex[Index: Integer]: string read GetValueFromIndex write SetValueFromIndex;

This item has no description.

Public property Capacity: Integer read GetCapacity write SetCapacity;

This item has no description.

Public property CommaText: string read GetCommaText write SetCommaText;

This item has no description.

Public property Count: Integer read GetCount;

This item has no description.

Public property Names[Index: Integer]: string read GetName;

This item has no description.

Public property Objects[Index: Integer]: TObject read GetObject write PutObject;

This item has no description.

Public property Values[const Name: string]: string read GetValue write SetValue;

This item has no description.

Public property Strings[Index: Integer]: string read Get write Put;

This item has no description.

Public property Text: string read GetTextStr write SetTextStr;

This item has no description.

Public property StringsAdapter: IStringsAdapter read FAdapter write SetStringsAdapter;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.