MLBookProc 1.0
 
Loading...
Searching...
No Matches
Genre Class Reference

The Genre class. More...

#include <Genre.h>

Public Member Functions

 Genre ()
 Genre constructor.
 
 Genre (const Genre &other)
 Genre copy constructor.
 
 Genre (Genre &&other)
 Genre move constructor.
 
Genreoperator= (const Genre &other)
 operator =
 
Genreoperator= (Genre &&other)
 operator =
 

Public Attributes

std::string genre_code
 fb2 genre code.
 
std::string genre_name
 Translated human-readable genre name.
 

Detailed Description

The Genre class.

Auxiliary class containing translated genre element (see also AuxFunc::get_genre_list() and GenreGroup).

Member Data Documentation

◆ genre_code

std::string Genre::genre_code

fb2 genre code.

This code is usually valid for epub books also.

◆ genre_name

std::string Genre::genre_name

Translated human-readable genre name.

If translation is not available, English genre name will be set. For translations see "<share_path>/MLBookProc/genres.csv"