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

#include <klflib.h>

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

Public Member Functions

 PropertyMatch (int propId=-1, const StringMatch &match=StringMatch())
 
 PropertyMatch (const PropertyMatch &other)
 
int propertyId () const
 
- Public Member Functions inherited from KLFLib::StringMatch
 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

int mPropertyId
 
- Protected Attributes inherited from KLFLib::StringMatch
Qt::MatchFlags mFlags
 
QVariant mValue
 
QString mValueString
 

Detailed Description

Discribes a matching criterion for the value of a property ID. Although not assumed in this definition, property IDs will eventually refer to KLFPropertizedObject property IDs, more specifically KLFLibEntry property IDs.

Definition at line 190 of file klflib.h.

Constructor & Destructor Documentation

KLFLib::PropertyMatch::PropertyMatch ( int  propId = -1,
const StringMatch match = StringMatch() 
)
inline

propId is the ID of the property which will have to match as given by match

Definition at line 192 of file klflib.h.

KLFLib::PropertyMatch::PropertyMatch ( const PropertyMatch other)
inline

copy constructor

Definition at line 195 of file klflib.h.

Member Function Documentation

int KLFLib::PropertyMatch::propertyId ( ) const
inline

Returns the propery ID set in the constructor.

Definition at line 198 of file klflib.h.

References mPropertyId.

Referenced by make_sql_condition(), operator<<(), and KLFLibResourceSimpleEngine::testEntryMatchConditionImpl().

Member Data Documentation

int KLFLib::PropertyMatch::mPropertyId
protected

Definition at line 201 of file klflib.h.

Referenced by propertyId().


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

Generated by doxygen 1.8.8