FWildcardString

Inheritance Hierarchy

FString

FWildcardString

Syntax

class FWildcardString : public FString

Remarks

Implements a string with wild card pattern matching abilities.

Constructors

Name Description

Public function

FWildcardString()

Default constructor.

Public function

FWildcardString

(
    const FString & Pattern
)

Creates and initializes a new instance with the specified pattern.

Public function

FWildcardString

(
    const TCHAR * Pattern
)

Creates and initializes a new instance with the specified pattern.

Functions

Name Description

Public function Const

bool

 

ContainsWildcards()

Checks whether this string contains wild card characters.

Public function Static

bool

 

ContainsWildcards

(
    const TCHAR * Pattern
)

Checks whether the specified pattern contains wild card characters.

Public function Const

bool

 

IsMatch

(
    const TCHAR * Input
)

Matches the given input string to this wild card pattern.

Public function Const

bool

 

IsMatch

(
    const FString & Input
)

Matches the given input string to this wild card pattern.

Public function Static

bool

 

IsMatch

(
    const TCHAR * Pattern,
    const TCHAR * Input
)

Non-recursive wild card string matching algorithm.

Constants

Name

Description

EndOfString

Holds the string terminator character.

ExactWildcard

Holds the wild card that matches exactly one character (default is '?').

SequenceWildcard

Holds the wild card that matches a sequence of characters (default is '*').

References

Module

Core

Header

Runtime/Core/Public/Misc/WildcardString.h