Home

QMailDataComparator Namespace Reference

The QMailDataComparator namespace contains types used in specifying the comparison of QMailStore objects with user-defined values. More...

    #include <QMailDataComparator>

Types

enum EqualityComparator { Equal, NotEqual }
enum InclusionComparator { Includes, Excludes }
enum PresenceComparator { Present, Absent }
enum RelationComparator { LessThan, LessThanEqual, GreaterThan, GreaterThanEqual }

Detailed Description

The QMailDataComparator namespace contains types used in specifying the comparison of QMailStore objects with user-defined values.


Type Documentation

enum QMailDataComparator::EqualityComparator

Defines the comparison operations that can be used to compare data elements of QMailStore objects for equality and inequality.

ConstantValueDescription
QMailDataComparator::Equal0Represents the '==' operator.
QMailDataComparator::NotEqual1Represents the '!=' operator.

enum QMailDataComparator::InclusionComparator

Defines the comparison operations that can be used to compare data elements of QMailStore objects for inclusion or exclusion.

ConstantValueDescription
QMailDataComparator::Includes0Represents an operation in which an associated property is tested to determine whether it is equal to any of a supplied set of values. Alternatively, it may be used to determine whether a single supplied value is included within the associated QMailStore property.
QMailDataComparator::Excludes1Represents an operation in which an associated property is tested to determine whether it is equal to none of a supplied set of values. Alternatively, it may be used to determine whether a single supplied value is not included within the associated QMailStore property.

enum QMailDataComparator::PresenceComparator

Defines the comparison operations that can be used to compare data elements of QMailStore objects, according to presence or absence.

ConstantValueDescription
QMailDataComparator::Present0Tests whether the specified property is present in the QMailStore object.
QMailDataComparator::Absent1Tests whether the specified property is absent in the QMailStore object.

enum QMailDataComparator::RelationComparator

Defines the comparison operations that can be used to compare data elements of QMailStore objects, according to a specific relation.

ConstantValueDescription
QMailDataComparator::LessThan0Represents the '<' operator.
QMailDataComparator::LessThanEqual1Represents the '<=' operator.
QMailDataComparator::GreaterThan2Represents the '>' operator.
QMailDataComparator::GreaterThanEqual3Represents the '>= operator'.


Copyright © 2010 QtSoftware
Messaging Framework