Attached file embedded into a Matroska file. More...
#include <matroskaattachedfile.h>
Public Types | |
| using | UID = unsigned long long |
| Unique identifier. | |
Public Member Functions | |
| AttachedFile (const ByteVector &data, const String &fileName, const String &mediaType, UID uid=0, const String &description=String()) | |
| AttachedFile (const AttachedFile &other) | |
| AttachedFile (AttachedFile &&other) noexcept | |
| ~AttachedFile () | |
| AttachedFile & | operator= (const AttachedFile &other) |
| AttachedFile & | operator= (AttachedFile &&other) noexcept |
| void | swap (AttachedFile &other) noexcept |
| const String & | fileName () const |
| const String & | description () const |
| const String & | mediaType () const |
| const ByteVector & | data () const |
| UID | uid () const |
Attached file embedded into a Matroska file.
Unique identifier.
| TagLib::Matroska::AttachedFile::AttachedFile | ( | const ByteVector & | data, |
| const String & | fileName, | ||
| const String & | mediaType, | ||
| UID | uid = 0, |
||
| const String & | description = String() |
||
| ) |
Construct an attached file.
| TagLib::Matroska::AttachedFile::AttachedFile | ( | const AttachedFile & | other | ) |
Construct an attached file as a copy of other.
|
noexcept |
Construct an attached file moving from other.
| TagLib::Matroska::AttachedFile::~AttachedFile | ( | ) |
Destroys this attached file.
| const ByteVector & TagLib::Matroska::AttachedFile::data | ( | ) | const |
Returns the data of the attached file.
Returns the human-friendly description for the attached file.
Returns the filename of the attached file.
Returns the media type of the attached file.
|
noexcept |
Moves the contents of other into this object.
| AttachedFile & TagLib::Matroska::AttachedFile::operator= | ( | const AttachedFile & | other | ) |
Copies the contents of other into this object.
|
noexcept |
Exchanges the content of the object with the content of other.
| UID TagLib::Matroska::AttachedFile::uid | ( | ) | const |
Returns the UID of the attached file.