MLBookProc 1.0
 
Loading...
Searching...
No Matches
BookParseEntry.h
1/*
2 * Copyright (C) 2024-2025 Yury Bobylev <bobilev_yury@mail.ru>
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation, version 3.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <https://www.gnu.org/licenses/>.
15 */
16
17#ifndef BOOKPARSEENTRY_H
18#define BOOKPARSEENTRY_H
19
20#include <string>
21
30{
31public:
36
41
46
52
58
62 bool
64
74 std::string book_path;
75
79 std::string book_author;
80
87 std::string book_name;
88
92 std::string book_series;
93
99 std::string book_genre;
100
104 std::string book_date;
105};
106
107#endif // BOOKPARSEENTRY_H
BookParseEntry(const BookParseEntry &other)
BookParseEntry copy constructor.
std::string book_name
Book name.
Definition BookParseEntry.h:87
BookParseEntry & operator=(const BookParseEntry &other)
operator =
std::string book_date
Book creation date (if available in metadata, empty otherwise).
Definition BookParseEntry.h:104
BookParseEntry()
BookParseEntry constructor.
bool operator==(const BookParseEntry &other)
operator ==
std::string book_author
Book author (if any, empty otherwise).
Definition BookParseEntry.h:79
std::string book_path
Path to book in file (in case of archive, empty otherwise).
Definition BookParseEntry.h:74
BookParseEntry(BookParseEntry &&other)
BookParseEntry move constructor.
std::string book_series
Book series (if any, empty otherwise).
Definition BookParseEntry.h:92
BookParseEntry & operator=(BookParseEntry &&other)
operator =
std::string book_genre
Book genres(s) (if any, empty otherwise).
Definition BookParseEntry.h:99