HDK
|
#include <UT_PathPattern.h>
Classes | |
class | Token |
Public Member Functions | |
UT_PathPattern (const UT_StringRef &pattern, bool case_sensitive=true, bool assume_wildcards=false) | |
virtual | ~UT_PathPattern () |
bool | matches (const UT_StringRef &path, bool *excludes_branch=nullptr) const |
bool | getExplicitList (UT_StringArray &tokens) const |
bool | getCaseSensitive () const |
bool | getAssumeWildcardsAroundPlainTokens () const |
const UT_StringHolder & | getPatternError () const |
Protected Member Functions | |
UT_PathPattern (bool case_sensitive, bool assume_wildcards) | |
UT_PathPattern * | createPruningPattern (int tokenidx) |
UT_PathPattern * | createPrecedingGroupPattern (int tokenidx) |
virtual UT_PathPattern * | createEmptyClone () const |
virtual bool | matchSpecialToken (const UT_StringRef &path, const Token &token, bool *excludes_branch) const |
void | testForExplicitList () |
Protected Attributes | |
UT_Array< Token > | myTokens |
Definition at line 35 of file UT_PathPattern.h.
UT_PathPattern::UT_PathPattern | ( | const UT_StringRef & | pattern, |
bool | case_sensitive = true , |
||
bool | assume_wildcards = false |
||
) |
|
virtual |
|
protected |
|
inlineprotectedvirtual |
Reimplemented in HUSD_PathPattern.
Definition at line 81 of file UT_PathPattern.h.
|
protected |
|
protected |
|
inline |
Definition at line 49 of file UT_PathPattern.h.
|
inline |
Definition at line 47 of file UT_PathPattern.h.
bool UT_PathPattern::getExplicitList | ( | UT_StringArray & | tokens | ) | const |
|
inline |
Definition at line 51 of file UT_PathPattern.h.
bool UT_PathPattern::matches | ( | const UT_StringRef & | path, |
bool * | excludes_branch = nullptr |
||
) | const |
|
protectedvirtual |
Reimplemented in HUSD_PathPattern.
|
protected |
Definition at line 92 of file UT_PathPattern.h.