#include <mp4coverart.h>
Public Types | |
enum | Format { JPEG = TypeJPEG , PNG = TypePNG , BMP = TypeBMP , GIF = TypeGIF , Unknown = TypeImplicit } |
Public Member Functions | |
CoverArt (Format format, const ByteVector &data) | |
~CoverArt () | |
CoverArt (const CoverArt &item) | |
CoverArt & | operator= (const CoverArt &item) |
void | swap (CoverArt &item) noexcept |
Format | format () const |
Format of the image. More... | |
ByteVector | data () const |
The image data. More... | |
bool | operator== (const CoverArt &other) const |
bool | operator!= (const CoverArt &other) const |
MP4 picture.
TagLib::MP4::CoverArt::CoverArt | ( | Format | format, |
const ByteVector & | data | ||
) |
TagLib::MP4::CoverArt::~CoverArt | ( | ) |
TagLib::MP4::CoverArt::CoverArt | ( | const CoverArt & | item | ) |
ByteVector TagLib::MP4::CoverArt::data | ( | ) | const |
The image data.
Format TagLib::MP4::CoverArt::format | ( | ) | const |
Format of the image.
bool TagLib::MP4::CoverArt::operator!= | ( | const CoverArt & | other | ) | const |
Returns true
if the CoverArt and other differ in format or data.
Copies the contents of item into this CoverArt.
bool TagLib::MP4::CoverArt::operator== | ( | const CoverArt & | other | ) | const |
Returns true
if the CoverArt and other are of the same format and contain the same data.
|
noexcept |
Exchanges the content of the CoverArt with the content of item.