MLBookProc 1.1
 
Loading...
Searching...
No Matches
GenreGroup.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 GENREGROUP_H
18#define GENREGROUP_H
19
20#include <Genre.h>
21#include <string>
22#include <vector>
23
31{
32public:
37
41 GenreGroup(const GenreGroup &other);
42
47
52 operator=(const GenreGroup &other);
53
59
63 std::string group_code;
64
71 std::string group_name;
72
76 std::vector<Genre> genres;
77};
78
79#endif // GENREGROUP_H
std::string group_code
Genre group code name.
Definition GenreGroup.h:63
GenreGroup()
GenreGroup constructor.
std::string group_name
Translated human-readable genre group name.
Definition GenreGroup.h:71
GenreGroup & operator=(const GenreGroup &other)
operator =
std::vector< Genre > genres
List of group genres (see Genre).
Definition GenreGroup.h:76
GenreGroup(const GenreGroup &other)
GenreGroup copy constructor.
GenreGroup(GenreGroup &&other)
GenreGroup move constructor.
GenreGroup & operator=(GenreGroup &&other)
operator =