[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Masks' (#lazutils)

TMaskList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a list for mask class instances.

Declaration

Source position: masks.pas line 302

type TMaskList = class

protected

  function GetMaskClass; virtual;

  

Gets the class type used to create new mask instances for the list.

  procedure AddMasksToList(); virtual;

  

Adds new mask instances to the list for the specified delimited mask expressions and settings.

public

  constructor Create();

  

Creates a new list with mask instances for the specified mask values, delimiter and options.

  destructor Destroy; override;

  

Destructor for the class instance.

  function Matches();

  

Determines whether the specified file name matches a mask in the list.

  function MatchesWindowsMask(); deprecated ;

  

Tests whether the file name matches a mask in the list using Windows file system masks.

  property Count: Integer; [r]

  

The number of mask items in the list.

  property Items []: TMask; [r]

  

The mask items in the list.

  property Mask: string; [rw]

  

String with the delimited list of mask expressions for the class instances in the list.

  property MaskOpCodes: TMaskOpCodes; [rw]

  

Contains the op codes allowed for the mask instances in the list.

  property AutoReverseRange: Boolean; [rw]

  

Indicates if a range expression is automatically reversed when the starting value is larger than the ending value.

  property CaseSensitive: Boolean; [rw]

  

Indicates whether the Mask expressions in the list are case sensitive.

end;

Inheritance

TMaskList

  

Implements a list for mask class instances.

|

TObject

Description

TMaskList is a class used to maintain a list with TMaskUtf8 instances for mask expressions. Parameter values passed to the constructor are used when mask instances are created and stored in the list.

TMaskList is used in the implementation of the MatchesMaskList function.

See also

TMask

  

The TMask class represents a mask expression and performs comparisons.

TWindowsMaskList

  

Implements a list for mask class instances which support Windows-specific file masks.

TWindowsMask

  

Implements the class type used to evaluate and compare Windows-specific mask expressions.

MatchesMaskList

  

Determine whether the specified file name matches at least one of the specified masks.

MatchesWindowsMaskList

  

Determine whether the specified file name matches at least one of the specified Windows-specific masks.

Masks Overview

  

Masks Overview.


Version 4.0 Generated 2025-05-03 Home