17 #ifndef REMWHAREAD_SEARCH_HPP 18 #define REMWHAREAD_SEARCH_HPP 46 explicit Search(list<Database::entry> entries);
61 list<Database::entry>
search_tags(
const string &expression,
bool is_re)
77 list<Database::entry>
search_all(
const string &expression,
bool is_re)
99 const list<Database::entry> _entries;
113 vector<vector<string>> parse_expression(
const string &expression)
const;
121 inline string to_lowercase(
const string &str)
const;
125 #endif // REMWHAREAD_SEARCH_HPP list< Database::entry > search_tags(const string &expression, bool is_re) const
Search in tags of database entries.
Definition: search.cpp:86
list< Database::entry > search_all(const string &expression, bool is_re) const
Search in full text of database entries.
Definition: search.cpp:128
Search in database entries.
Definition: search.hpp:38
list< Database::entry > search_all_threaded(const string &expression, bool is_re) const
Spawn threads of search_all(), if it seems sensible.
Definition: search.cpp:204
Search(list< Database::entry > entries)
Defines the entries to search.
Definition: search.cpp:36