The BookParseEntry class. More...
#include <BookParseEntry.h>
Public Member Functions | |
BookParseEntry () | |
BookParseEntry constructor. | |
BookParseEntry (const BookParseEntry &other) | |
BookParseEntry copy constructor. | |
BookParseEntry (BookParseEntry &&other) | |
BookParseEntry move constructor. | |
BookParseEntry & | operator= (const BookParseEntry &other) |
operator = | |
BookParseEntry & | operator= (BookParseEntry &&other) |
operator = | |
bool | operator== (const BookParseEntry &other) |
operator == | |
Public Attributes | |
std::string | book_path |
Path to book in file (in case of archive, empty otherwise). | |
std::string | book_author |
Book author (if any, empty otherwise). | |
std::string | book_name |
Book name. | |
std::string | book_series |
Book series (if any, empty otherwise). | |
std::string | book_genre |
Book genres(s) (if any, empty otherwise). | |
std::string | book_date |
Book creation date (if available in metadata, empty otherwise). | |
The BookParseEntry class.
Auxiliary class keeping relative path to book in file (in case of archive, empty otherwise), book author(s), book name, book series, book genre(s), date of book creation (if available).
std::string BookParseEntry::book_genre |
Book genres(s) (if any, empty otherwise).
List of genres separated by ", " sequence.
std::string BookParseEntry::book_name |
Book name.
Must not be empty. If book name cannot be obtained from book metadata, book file name will be used.
std::string BookParseEntry::book_path |
Path to book in file (in case of archive, empty otherwise).
In case of "archive inside archive" situation "\n" (ASCII new line) symbol used as separator. It means that path to book inside archive looks like "<archive_one>\n<archive_two>\n<archive_three>\n<book_file>" or "<archive_one>\n<book_file>".