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;
76 const list<Database::entry>
search_all(
string expression,
77 const bool is_re)
const;
80 const list<Database::entry> _entries;
93 const vector<vector<string>> parse_expression(
string expression)
const;
100 inline const string to_lowercase(
const string &str)
const;
104 #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:121
const list< Database::entry > search_tags(string expression, const bool is_re) const
Search in tags of database entries.
Definition: search.cpp:77
Search(const list< Database::entry > &entries)
Defines the entries to search.
Definition: search.cpp:33