[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Member Functions | Public Attributes | Protected Attributes | List of all members
KLFLib::StringMatch Struct Reference

#include <klflib.h>

Inheritance diagram for KLFLib::StringMatch:
Inheritance graph
[legend]
Collaboration diagram for KLFLib::StringMatch:
Collaboration graph
[legend]

Public Member Functions

 mValue (value)
 
 mValueString (value.toString())
 
 StringMatch (const StringMatch &m)
 
const Qt::MatchFlags matchFlags () const
 
const QVariant matchValue () const
 
const QString matchValueString () const
 

Public Attributes

 __pad0__: mFlags(flags)
 

Protected Attributes

Qt::MatchFlags mFlags
 
QVariant mValue
 
QString mValueString
 

Detailed Description

Describes a matching criterion for a string

Note: The Qt::MatchWrap and Qt::MatchRecursive flags are ignored.

Definition at line 163 of file klflib.h.

Constructor & Destructor Documentation

KLFLib::StringMatch::StringMatch ( const StringMatch m)
inline

Definition at line 166 of file klflib.h.

Member Function Documentation

const Qt::MatchFlags KLFLib::StringMatch::matchFlags ( ) const
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().

const QVariant KLFLib::StringMatch::matchValue ( ) const
inline

The value that will be matched to.

Definition at line 175 of file klflib.h.

References mValue.

Referenced by KLFLibResourceSimpleEngine::testEntryMatchConditionImpl().

const QString KLFLib::StringMatch::matchValueString ( ) const
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().

KLFLib::StringMatch::mValue ( value  )
KLFLib::StringMatch::mValueString ( value.  toString())
inline

Definition at line 165 of file klflib.h.

Member Data Documentation

KLFLib::StringMatch::__pad0__

Definition at line 165 of file klflib.h.

Qt::MatchFlags KLFLib::StringMatch::mFlags
protected

Definition at line 181 of file klflib.h.

Referenced by matchFlags().

QVariant KLFLib::StringMatch::mValue
protected

Definition at line 182 of file klflib.h.

Referenced by matchValue().

QString KLFLib::StringMatch::mValueString
protected

Definition at line 183 of file klflib.h.

Referenced by matchValueString().


The documentation for this struct was generated from the following file:

Generated by doxygen 1.8.5