![]() |
OpendTect-6_4
6.4
|
Glob-expression matching like UNIX shells. More...
Public Member Functions | |
| GlobExpr (const char *s=0, bool casesens=true) | |
| GlobExpr (const GlobExpr &ge) | |
| GlobExpr & | operator= (const GlobExpr &ge) |
| bool | operator== (const GlobExpr &ge) const |
| void | setCaseInSensitive (bool yn=true) |
| void | set (const char *) |
| operator const char * () const | |
| bool | matches (const char *t) const |
| const char * | expressionFailMessage () const |
| Normally null, only filled if invalid expression. More... | |
Static Public Member Functions | |
| static bool | matches (const char *expression, const char *txt, const char *&errmsg_if_expression_is_incorrect, bool caseinsens) |
Static Protected Member Functions | |
| static bool | starMatches (const char *, const char *, const char *&, bool) |
Protected Attributes | |
| BufferString | expr_ |
| const char * | errmsg_ |
| bool | ci_ |
Glob-expression matching like UNIX shells.
Expressions may have '*', '?' and [] (e.g. [a-eA-E]) constructions. Also the inverted selection with '^' or '!' supported (e.g. [^x-z] or [!akPZ]). Escape the special chars with '\';
|
inline |
|
inline |
|
inline |
Normally null, only filled if invalid expression.
|
inline |
|
static |
|
inline |
|
inline |
| void GlobExpr::set | ( | const char * | ) |
|
inline |
|
staticprotected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019