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

TMaskBase.MaskOpCodes

Contains the set of mask op codes enabled for the class instance.

Declaration

Source position: masks.pas line 213

public property TMaskBase.MaskOpCodes : TMaskOpCodes
  read fMaskOpcodesAllowed
  write SetMaskOpCodesAllowed;

Description

MaskOpCodes is a TMaskOpCodes property with the set of op codes enabled for the Mask expression in the class instance. MaskOpCodes is populated with enumeration values from TMaskOpCode when characters in the mask expression are examined in the Compile method. The allowed values in the set can be specified as an argument to the Create constructor.

Values in MaskOpCodes are used when the Matches method is called to compare a string value to the Mask expression.

Setting a new value for the property causes Compile to be called during execution of the Matches method in descendent classes.

See also

TMaskBase.Create

  

Constructor for the class instance.

TMaskUTF8.Compile

  

Examines the mask expression and creates a list of op codes.

TWindowsMaskUTF8.Compile

  

Examines and converts the mask expression into a list of op codes.

TMaskUTF8.Matches

  

Indicates whether the specified value is a match for the Mask expression.

TWindowsMaskUTF8.Matches

  

Indicates whether the specified value is a match for the Mask expression.

TMaskOpCodes

  

Set type used to store values from the TMaskOpcode enumeration.

TMaskOpCode

  

Represents operations needed for an entry in a mask specification.


Version 4.0 Generated 2025-05-03 Home