Class TCastleStringList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCastleStringList = class(TStringList)

Description

List of strings. This is a slightly extended version of standard TStringList. The default CaseSensitive value is True.

Hierarchy

  • TStringList
  • TCastleStringList

Overview

Methods

Public constructor Create;
Public procedure AddList(const Source: TStringList);
Public procedure AddArray(const A: array of string);
Public procedure AssignArray(const A: array of string);
Public function Equal(List: TCastleStringList): boolean; overload;
Public function Equal(const A: array of string): boolean; overload;
Public procedure Reverse;

Properties

Public property Count: Integer read GetCount write SetCount;
Public property L[Index:Integer]: string read GetL write SetL;

Description

Methods

Public constructor Create;
 
Public procedure AddList(const Source: TStringList);

Add strings from Source list. Alias for AddStrings, useful for castlescriptarrays_implement.inc (since it's consistent with AddList in other lists).

Public procedure AddArray(const A: array of string);
 
Public procedure AssignArray(const A: array of string);
 
Public function Equal(List: TCastleStringList): boolean; overload;
 
Public function Equal(const A: array of string): boolean; overload;
 
Public procedure Reverse;

Reverse the order of items on the array.

Properties

Public property Count: Integer read GetCount write SetCount;
 
Public property L[Index:Integer]: string read GetL write SetL;

Access strings. This is exactly equivalent to just using standard TStringList.Strings property, and is useful only for implementing macros to work for both TGenericStructList and for TCastleStringList.


Generated by PasDoc 0.13.0 on 2014-10-26 05:15:15