Class TRALStringListSafe

Unit

Declaration

type TRALStringListSafe = class(TRALThreadSafe)

Description

TRALStringListSafe

Hierarchy

Overview

Methods

Public constructor Create; override;
Public destructor Destroy; override;
Public function Count: IntegerRAL;
Public function Exists(const AItem: StringRAL): boolean;
Public function Get(const AIndex: IntegerRAL): StringRAL;
Public function GetName(const AIndex: IntegerRAL): StringRAL;
Public function GetObject(const AIndex: IntegerRAL): TObject;
Public function IsEmpty: boolean;
Public function Lock: TStringList; reintroduce;
Public function ObjectByItem(const AItem: StringRAL): TObject;
Protected function GetValue(const AName: StringRAL): StringRAL;
Public procedure Add(const AItem: StringRAL);
Public procedure AddObject(const AItem: StringRAL; AObject: TObject);
Public procedure Clear(AFreeObjects: boolean = false);
Public procedure Remove(const AItem: StringRAL; AFreeObjects: boolean = false); overload;
Public procedure Remove(const AItem: IntegerRAL; AFreeObjects: boolean = false); overload;
Public procedure Unlock; reintroduce;
Protected procedure SetValue(const AName: StringRAL; const AValue: StringRAL);

Properties

Public property Values[constAName:StringRAL]: StringRAL read GetValue write SetValue;

Description

Methods

Public constructor Create; override;
 
Public destructor Destroy; override;
 
Public function Count: IntegerRAL;
 
Public function Exists(const AItem: StringRAL): boolean;
 
Public function Get(const AIndex: IntegerRAL): StringRAL;
 
Public function GetName(const AIndex: IntegerRAL): StringRAL;
 
Public function GetObject(const AIndex: IntegerRAL): TObject;
 
Public function IsEmpty: boolean;
 
Public function Lock: TStringList; reintroduce;
 
Public function ObjectByItem(const AItem: StringRAL): TObject;
 
Protected function GetValue(const AName: StringRAL): StringRAL;
 
Public procedure Add(const AItem: StringRAL);
 
Public procedure AddObject(const AItem: StringRAL; AObject: TObject);
 
Public procedure Clear(AFreeObjects: boolean = false);
 
Public procedure Remove(const AItem: StringRAL; AFreeObjects: boolean = false); overload;
 
Public procedure Remove(const AItem: IntegerRAL; AFreeObjects: boolean = false); overload;
 
Public procedure Unlock; reintroduce;
 
Protected procedure SetValue(const AName: StringRAL; const AValue: StringRAL);
 

Properties

Public property Values[constAName:StringRAL]: StringRAL read GetValue write SetValue;
 


GitHub Repository
Generated by PasDoc 0.16.0.