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

A adapter to convert filters into a list of queries for a source. More...

#include <querylist.h>

Inheritance diagram for Query::List:
Inheritance graph
[legend]
Collaboration diagram for Query::List:
Collaboration graph
[legend]

Public Member Functions

SearchMethod findMethodForField (SearchMethod requestedMethod, Filter::Field field)
 Determine the best method of querying for a field, taking into account the source's capabilities. More...
 
Details interpretComparison (const Filter::Operation *filter)
 
Queries interpretAnd (const Filter::Operation *filter)
 
Queries interpret (const Filter::Operation *filter)
 
Queries interpretFuzzy (const PermutedFilter &filter)
 Build a query directly from a permuted filter. More...
 
 List (const Filter &filter, const Constraints &constraints)
 

Public Attributes

const Constraintscapabilities
 

Detailed Description

A adapter to convert filters into a list of queries for a source.

Constructor & Destructor Documentation

◆ List()

Query::List::List ( const Filter filter,
const Constraints constraints 
)
Here is the call graph for this function:

Member Function Documentation

◆ findMethodForField()

SearchMethod Query::List::findMethodForField ( SearchMethod  requestedMethod,
Filter::Field  field 
)

Determine the best method of querying for a field, taking into account the source's capabilities.

Here is the caller graph for this function:

◆ interpret()

Queries Query::List::interpret ( const Filter::Operation filter)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpretAnd()

Queries Query::List::interpretAnd ( const Filter::Operation filter)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpretComparison()

Details Query::List::interpretComparison ( const Filter::Operation filter)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpretFuzzy()

Queries Query::List::interpretFuzzy ( const PermutedFilter filter)

Build a query directly from a permuted filter.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ capabilities

const Constraints& Query::List::capabilities

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