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

The BookInfoEntry class. More...

#include <BookInfoEntry.h>

Public Types

enum  cover_types {
  base64 , file , rgb , rgba ,
  error
}
 The cover types enumerator. More...
 

Public Member Functions

 BookInfoEntry ()
 BookInfoEntry constructor.
 
virtual ~BookInfoEntry ()
 BookInfoEntry destructor.
 
 BookInfoEntry (const BookInfoEntry &other)
 BookInfoEntry copy constructor.
 
 BookInfoEntry (BookInfoEntry &&other)
 BookInfoEntry move constructor.
 
BookInfoEntryoperator= (const BookInfoEntry &other)
 operator =
 
BookInfoEntryoperator= (BookInfoEntry &&other)
 operator =
 

Public Attributes

std::string annotation
 Book annotation.
 
std::string cover
 Book cover image.
 
cover_types cover_type = cover_types::error
 Type of image.
 
std::string language
 Book language.
 
std::string src_language
 Language of book source.
 
std::string translator
 Translator.
 
PaperBookInfoEntrypaper = nullptr
 Pointer to PaperBookInfoEntry.
 
ElectroBookInfoEntryelectro = nullptr
 Various technical information about book file. See ElectroBookInfoEntry.
 
int bytes_per_row = 0
 Number of bytes per row for RGB and RGBA images.
 

Detailed Description

The BookInfoEntry class.

Auxiliary class keeping various extra information about book (see BookInfo).

Member Enumeration Documentation

◆ cover_types

The cover types enumerator.

Enumerator
base64 

base64 image

file 

various image files formats, like JPG

rgb 

RGB image

rgba 

RGBA image

error 

no image, default value