TagLib
2.1
|
#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. | |
ByteVector | data () const |
The image data. | |
bool | operator== (const CoverArt &other) const |
bool | operator!= (const CoverArt &other) const |
MP4 picture.
TagLib::MP4::CoverArt::CoverArt | ( | Format | format, |
const ByteVector & | data ) |
References data(), and format().
Referenced by CoverArt(), operator!=(), operator=(), operator==(), and swap().
TagLib::MP4::CoverArt::~CoverArt | ( | ) |
TagLib::MP4::CoverArt::CoverArt | ( | const CoverArt & | item | ) |
References CoverArt().
ByteVector TagLib::MP4::CoverArt::data | ( | ) | const |
The image data.
Referenced by CoverArt().
Format TagLib::MP4::CoverArt::format | ( | ) | const |
Format of the image.
Referenced by CoverArt().
bool TagLib::MP4::CoverArt::operator!= | ( | const CoverArt & | other | ) | const |
Returns true
if the CoverArt and other differ in format or data.
References CoverArt(), and TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE.
Copies the contents of item into this CoverArt.
References 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.
References CoverArt().
|
noexcept |
Exchanges the content of the CoverArt with the content of item.
References CoverArt().