pianod2
multisource multiuser scriptable networked music player
Public Attributes | List of all members
Query::Constraints Class Reference

Media sources mark the available fields (array index) to true to indicate they are capable of searching in that manner. More...

#include <querylist.h>

Collaboration diagram for Query::Constraints:
Collaboration graph
[legend]

Public Attributes

EnumeratedArray< Filter::Field, bool > participatesInFuzzy
 Fields searched by permuted filters, i.e., 'like'. More...
 
EnumeratedArray< Filter::Field, bool > canExactCompare
 
EnumeratedArray< Filter::Field, bool > canMatchBeginning
 
EnumeratedArray< Filter::Field, bool > canSubstringMatch
 
EnumeratedArray< Filter::Field, bool > fieldInGeneralSearch
 Fields that can't be properly searched on, but are part of Field::Search searches. More...
 
EnumeratedArray< Filter::Field, PreferencefieldPreference
 Relative field preferences: higher is better. More...
 
bool andCapable = false
 May query with 'AND' semantics. More...
 

Detailed Description

Media sources mark the available fields (array index) to true to indicate they are capable of searching in that manner.


Member Data Documentation

◆ andCapable

bool Query::Constraints::andCapable = false

May query with 'AND' semantics.

◆ canExactCompare

EnumeratedArray<Filter::Field, bool> Query::Constraints::canExactCompare

◆ canMatchBeginning

EnumeratedArray<Filter::Field, bool> Query::Constraints::canMatchBeginning

◆ canSubstringMatch

EnumeratedArray<Filter::Field, bool> Query::Constraints::canSubstringMatch

◆ fieldInGeneralSearch

EnumeratedArray<Filter::Field, bool> Query::Constraints::fieldInGeneralSearch

Fields that can't be properly searched on, but are part of Field::Search searches.

◆ fieldPreference

EnumeratedArray<Filter::Field, Preference> Query::Constraints::fieldPreference

Relative field preferences: higher is better.

◆ participatesInFuzzy

EnumeratedArray<Filter::Field, bool> Query::Constraints::participatesInFuzzy

Fields searched by permuted filters, i.e., 'like'.


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