MLBookProc 1.1
 
Loading...
Searching...
No Matches
Genre.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 GENRE_H
18#define GENRE_H
19
20#include <string>
21
28class Genre
29{
30public:
35
39 Genre(const Genre &other);
40
44 Genre(Genre &&other);
45
49 Genre &
50 operator=(const Genre &other);
51
55 Genre &
56 operator=(Genre &&other);
57
63 std::string genre_code;
64
71 std::string genre_name;
72};
73
74#endif // GENRE_H
Genre & operator=(Genre &&other)
operator =
Genre(Genre &&other)
Genre move constructor.
Genre(const Genre &other)
Genre copy constructor.
std::string genre_name
Translated human-readable genre name.
Definition Genre.h:71
std::string genre_code
fb2 genre code.
Definition Genre.h:63
Genre()
Genre constructor.
Genre & operator=(const Genre &other)
operator =