#include <klflib.h>
Public Member Functions | |
StringMatch (const QVariant &value=QVariant(), Qt::MatchFlags flags=Qt::MatchExactly) | |
StringMatch (const StringMatch &m) | |
const Qt::MatchFlags | matchFlags () const |
const QVariant | matchValue () const |
const QString | matchValueString () const |
Protected Attributes | |
Qt::MatchFlags | mFlags |
QVariant | mValue |
QString | mValueString |
Describes a matching criterion for a string
Note: The Qt::MatchWrap and Qt::MatchRecursive flags are ignored.
|
inline |
|
inline |
How the match should be tested (exact match, regex, contains, etc.), this is a binary-OR'ed value of Qt::MatchFlag enum values.
the Qt::MatchCaseSensitive may be set to match case sensitive.
Definition at line 173 of file klflib.h.
References mFlags.
Referenced by make_sql_condition(), operator<<(), and KLFLibResourceSimpleEngine::testEntryMatchConditionImpl().
|
inline |
The value that will be matched to.
Definition at line 175 of file klflib.h.
References mValue.
Referenced by KLFLibResourceSimpleEngine::testEntryMatchConditionImpl().
|
inline |
equivalent to matchValue().toString()
, however the conversion is performed once and cached.
Definition at line 178 of file klflib.h.
References mValueString.
Referenced by make_sql_condition(), operator<<(), and KLFLibResourceSimpleEngine::testEntryMatchConditionImpl().
|
protected |
Definition at line 181 of file klflib.h.
Referenced by matchFlags().
|
protected |
Definition at line 182 of file klflib.h.
Referenced by matchValue().
|
protected |
Definition at line 183 of file klflib.h.
Referenced by matchValueString().