knode
#include <kscoring.h>
Public Types | |
enum | Condition { CONTAINS, MATCH, EQUALS, SMALLER, GREATER, MATCHCS } |
Public Member Functions | |
KScoringExpression (const QString &, const QString &, const QString &, const QString &) | |
~KScoringExpression () | |
Condition | getCondition () const |
QString | getExpression () const |
QString | getHeader () const |
int | getType () const |
QString | getTypeString () const |
bool | isNeg () const |
bool | match (ScorableArticle &a) const |
QString | toString () const |
void | write (QTextStream &) const |
Static Public Member Functions | |
static QStringList | conditionNames () |
static int | getConditionForName (const QString &) |
static QString | getNameForCondition (int) |
static QString | getTypeString (int) |
static QStringList | headerNames () |
Detailed Description
Definition at line 185 of file kscoring.h.
Member Enumeration Documentation
Enumerator | |
---|---|
CONTAINS | |
MATCH | |
EQUALS | |
SMALLER | |
GREATER | |
MATCHCS |
Definition at line 189 of file kscoring.h.
Constructor & Destructor Documentation
KScoringExpression::KScoringExpression | ( | const QString & | h, |
const QString & | t, | ||
const QString & | n, | ||
const QString & | ng | ||
) |
Definition at line 432 of file kscoring.cpp.
KScoringExpression::~KScoringExpression | ( | ) |
Definition at line 538 of file kscoring.cpp.
Member Function Documentation
|
static |
Definition at line 510 of file kscoring.cpp.
|
inline |
Definition at line 209 of file kscoring.h.
|
static |
Definition at line 465 of file kscoring.cpp.
|
inline |
Definition at line 210 of file kscoring.h.
|
inline |
Definition at line 211 of file kscoring.h.
|
static |
Definition at line 487 of file kscoring.cpp.
int KScoringExpression::getType | ( | ) | const |
Definition at line 628 of file kscoring.cpp.
QString KScoringExpression::getTypeString | ( | ) | const |
Definition at line 601 of file kscoring.cpp.
|
static |
Definition at line 606 of file kscoring.cpp.
|
static |
Definition at line 523 of file kscoring.cpp.
|
inline |
Definition at line 208 of file kscoring.h.
bool KScoringExpression::match | ( | ScorableArticle & | a | ) | const |
Definition at line 542 of file kscoring.cpp.
QString KScoringExpression::toString | ( | ) | const |
Definition at line 589 of file kscoring.cpp.
void KScoringExpression::write | ( | QTextStream & | st | ) | const |
Definition at line 584 of file kscoring.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.