17 #ifndef REMWHAREAD_SEARCH_HPP 18 #define REMWHAREAD_SEARCH_HPP 46 explicit Search(
const list<Database::entry> &entries);
60 const list<Database::entry>
search_tags(
string expression,
61 const bool is_re)
const;
75 const list<Database::entry>
search_all(
string expression,
76 const bool is_re)
const;
93 const bool is_re)
const;
96 const list<Database::entry> _entries;
109 const vector<vector<string>> parse_expression(
string expression)
const;
116 inline const string to_lowercase(
const string &str)
const;
120 #endif // REMWHAREAD_SEARCH_HPP Search in database entries.
Definition: search.hpp:38
const list< Database::entry > search_all(string expression, const bool is_re) const
Search in full text of database entries.
Definition: search.cpp:131
const list< Database::entry > search_tags(string expression, const bool is_re) const
Search in tags of database entries.
Definition: search.cpp:87
Search(const list< Database::entry > &entries)
Defines the entries to search.
Definition: search.cpp:36
const list< Database::entry > search_all_threaded(string expression, const bool is_re) const
Spawn threads of search_all(), if it seems sensible.
Definition: search.cpp:209