85 std::vector<BookBaseEntry>
87 const double &coef_coincedence =
double(0.7));
93 std::vector<std::string>
101 std::vector<BookBaseEntry>
120 std::vector<FileParseEntry>
134 static std::filesystem::path
136 const std::shared_ptr<AuxFunc> &af);
161 readFileEntry(
const std::string &base,
size_t &rb);
163 std::vector<BookParseEntry>
164 readBookEntry(
const std::string &entry,
size_t &rb);
167 parseBookEntry(
const std::string &e, std::string &read_val,
size_t &rb);
176 searchLineFunc(
const std::string &to_search,
const std::string &source,
177 const double &coef_coincidence,
178 const Normalization &variant = Normalization::Other);
182 std::vector<BookBaseEntry> &result,
183 const double &coef_coincidence);
186 std::vector<BookBaseEntry> &result,
187 const double &coef_coincidence);
191 std::vector<BookBaseEntry> &result,
192 const double &coef_coincidence);
196 const double &coef_coincidence);
199 searchSeries(
const BookBaseEntry &search, std::vector<BookBaseEntry> &result,
200 const double &coef_coincidence);
203 searchGenre(
const BookBaseEntry &search, std::vector<BookBaseEntry> &result,
204 const double &coef_coincidence);
210 normalizeString(std::string &str,
const Normalization &variant);
212 std::shared_ptr<AuxFunc> af;
214 std::vector<FileParseEntry> base;
215 std::string collection_name;
216 std::filesystem::path collection_path;
217 size_t books_in_base = 0;
223 std::atomic<bool> cancel_search;
std::function< void(const double &progr, const double &sz)> auth_show_progr
collectionAuthors() progress callback
Definition BaseKeeper.h:157
static std::filesystem::path get_books_path(const std::string &collection_name, const std::shared_ptr< AuxFunc > &af)
Returns absolute path to directory containing collection books.
The BookBaseEntry class.
Definition BookBaseEntry.h:30
The FileParseEntry class.
Definition FileParseEntry.h:31