Class TWideStrings (unit WStrList)

Inherits from

TStrings

TWideStrings class

Constructors


constructor Create;



Functions

function Add(const S: WideString): Integer;


function AddObject(const S: WideString; AObject: TObject): Integer;


procedure AddStrings(Strings: TWideStrings);


procedure Append(const S: WideString);


procedure Assign(Source: TPersistent);


procedure BeginUpdate;


procedure Clear;


procedure Delete(Index: Integer);


procedure EndUpdate;


function Equals(Strings: TWideStrings): Boolean;


procedure Exchange(Index1, Index2: Integer);


function GetText: PWideChar;


function IndexOf(const S: WideString): Integer;


function IndexOfName(const Name: WideString): Integer;


function IndexOfObject(AObject: TObject): Integer;


procedure Insert(Index: Integer; const S: WideString);


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


procedure LoadFromFile(const FileName: string);


procedure LoadFromStream(Stream: TStream);


procedure Move(CurIndex, NewIndex: Integer);


procedure SaveToFile(const FileName: string);


procedure SaveToStream(Stream: TStream);


procedure SetText(Text: PWideChar);


procedure DefineProperties(Filer: TFiler);


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


function Get(Index: Integer): WideString;


function GetCapacity: Integer;


function GetCount: Integer;


function GetLanguage: TLanguage;


function GetObject(Index: Integer): TObject;


function GetTextStr: WideString;


procedure Put(Index: Integer; const S: WideString);


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


procedure SetCapacity(NewCapacity: Integer);


procedure SetLanguage(Value: TLanguage);


procedure SetTextStr(const Value: WideString);


procedure SetUpdateState(Updating: Boolean);


function GetCommaText: WideString;

descendants may optionally override/replace this default implementation

function GetName(Index: Integer): WideString;


function GetValue(const Name: WideString): WideString;


procedure ReadData(Reader: TReader);


procedure SetCommaText(const Value: WideString);

do nothing - descendants may optionally implement this method

procedure SetValue(const Name, Value: WideString);


procedure WriteData(Writer: TWriter);


Properties

property Capacity : Integer


property CommaText : WideString


property Count : Integer


property Language : TLanguage


property Names : WideString


property Objects : TObject


property Strings : WideString


property Text : WideString


property Values : WideString


Events

Variables

FLanguage : TLanguage;


FUpdateCount : Integer;



Constructors


constructor Create;


Functions


function Add(const S: WideString): Integer;


function AddObject(const S: WideString; AObject: TObject): Integer;


procedure AddStrings(Strings: TWideStrings);


procedure Append(const S: WideString);


procedure Assign(Source: TPersistent);


procedure BeginUpdate;


procedure Clear;


procedure Delete(Index: Integer);


procedure EndUpdate;


function Equals(Strings: TWideStrings): Boolean;


procedure Exchange(Index1, Index2: Integer);


function GetText: PWideChar;


function IndexOf(const S: WideString): Integer;


function IndexOfName(const Name: WideString): Integer;


function IndexOfObject(AObject: TObject): Integer;


procedure Insert(Index: Integer; const S: WideString);


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


procedure LoadFromFile(const FileName: string);


procedure LoadFromStream(Stream: TStream);


procedure Move(CurIndex, NewIndex: Integer);


procedure SaveToFile(const FileName: string);


procedure SaveToStream(Stream: TStream);


procedure SetText(Text: PWideChar);


procedure DefineProperties(Filer: TFiler);


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


function Get(Index: Integer): WideString;


function GetCapacity: Integer;


function GetCount: Integer;


function GetLanguage: TLanguage;


function GetObject(Index: Integer): TObject;


function GetTextStr: WideString;


procedure Put(Index: Integer; const S: WideString);


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


procedure SetCapacity(NewCapacity: Integer);


procedure SetLanguage(Value: TLanguage);


procedure SetTextStr(const Value: WideString);


procedure SetUpdateState(Updating: Boolean);


function GetCommaText: WideString;

descendants may optionally override/replace this default implementation


function GetName(Index: Integer): WideString;


function GetValue(const Name: WideString): WideString;


procedure ReadData(Reader: TReader);


procedure SetCommaText(const Value: WideString);

do nothing - descendants may optionally implement this method


procedure SetValue(const Name, Value: WideString);


procedure WriteData(Writer: TWriter);


Properties


property Capacity : Integer


property CommaText : WideString


property Count : Integer


property Language : TLanguage


property Names : WideString


property Objects : TObject


property Strings : WideString


property Text : WideString


property Values : WideString


Events


Variables


FLanguage : TLanguage;


FUpdateCount : Integer;