digiKam
Digikam::SearchXml Namespace Reference

Enumerations

enum  Element {
  Search , Group , GroupEnd , Field ,
  FieldEnd , End
}
 
enum  Operator { And , Or , AndNot , OrNot }
 
enum  Relation {
  Equal , Unequal , Like , NotLike ,
  LessThan , GreaterThan , LessThanOrEqual , GreaterThanOrEqual ,
  Interval , IntervalOpen , OneOf , AllOf ,
  InTree , NotInTree , Near , Inside
}
 

Functions

SearchXml::Operator standardFieldOperator ()
 
SearchXml::Relation standardFieldRelation ()
 
SearchXml::Operator standardGroupOperator ()
 
template<typename T >
bool testRelation (T v1, T v2, Relation rel)
 

Enumeration Type Documentation

◆ Element

Enumerator
Search 
Group 
GroupEnd 
Field 
FieldEnd 
End 

◆ Operator

Enumerator
And 
Or 
AndNot 
OrNot 

◆ Relation

Enumerator
Equal 
Unequal 
Like 
NotLike 
LessThan 
GreaterThan 
LessThanOrEqual 
GreaterThanOrEqual 
Interval 
IntervalOpen 
OneOf 
AllOf 
InTree 
NotInTree 
Near 
Inside 

Function Documentation

◆ standardFieldOperator()

SearchXml::Operator Digikam::SearchXml::standardFieldOperator ( )
inline

◆ standardFieldRelation()

SearchXml::Relation Digikam::SearchXml::standardFieldRelation ( )
inline

◆ standardGroupOperator()

SearchXml::Operator Digikam::SearchXml::standardGroupOperator ( )
inline

General default values for groupOperator() and defaultFieldOperator()

References Or.

Referenced by Digikam::SearchXmlReader::groupOperator(), Digikam::SearchGroup::reset(), and Digikam::SearchGroupLabel::SearchGroupLabel().

◆ testRelation()

template<typename T >
bool Digikam::SearchXml::testRelation ( T  v1,
T  v2,
Relation  rel 
)