17 #ifndef REMWHAREAD_SEARCH_HPP 18 #define REMWHAREAD_SEARCH_HPP 44 explicit Search(
const vector<Database::entry> &entries);
58 const vector<Database::entry>
search_tags(
string expression,
59 const bool is_re)
const;
74 const vector<Database::entry>
search_all(
string expression,
75 const bool is_re)
const;
78 const vector<Database::entry> _entries;
91 const vector<vector<string>> parse_expression(
string expression)
const;
98 inline const string to_lowercase(
const string &str)
const;
102 #endif // REMWHAREAD_SEARCH_HPP Definition: bookmarks.cpp:22
Search(const vector< Database::entry > &entries)
Defines the entries to search.
Definition: search.cpp:31
Search in database entries.
Definition: search.hpp:36
const vector< Database::entry > search_tags(string expression, const bool is_re) const
Search in tags of database entries.
Definition: search.cpp:75
const vector< Database::entry > search_all(string expression, const bool is_re) const
Search in full text of database entries.
Definition: search.cpp:119