Class sh::search::SearchConfiguration

class sh::search::SearchConfiguration

A search configuration.

Search configurations contain a list of search criteria and some auxiliary fields. Each search configuration describes what and how a user wants to search (just not where).

Public Functions

SearchConfiguration()
QString serialize()

Serialize this search configuration to a string. See also SearchConfiguration::deserialize.

Public Members

QList<std::shared_ptr<sh::search::SearchCriterion>> criteria
bool showAsTree = false

Public Static Functions

SearchConfiguration *deserialize(QString s)

Deserialize a search configuration from a string. See also SearchConfiguration::serialize.