![]() |
|
#include <mp4file.h>
Public Member Functions | |
File (FileName file, bool readProperties=true, Properties::ReadStyle audioPropertiesStyle=Properties::Average) | |
File (IOStream *stream, bool readProperties=true, Properties::ReadStyle audioPropertiesStyle=Properties::Average) | |
virtual | ~File () |
Tag * | tag () const |
PropertyMap | properties () const |
void | removeUnsupportedProperties (const StringList &properties) |
PropertyMap | setProperties (const PropertyMap &) |
Properties * | audioProperties () const |
bool | save () |
bool | hasMP4Tag () const |
This implements and provides an interface for MP4 files to the TagLib::Tag and TagLib::AudioProperties interfaces by way of implementing the abstract TagLib::File API as well as providing some additional information specific to MP4 files.
TagLib::MP4::File::File | ( | FileName | file, |
bool | readProperties = true , |
||
Properties::ReadStyle | audioPropertiesStyle = Properties::Average |
||
) |
Constructs an MP4 file from file. If readProperties is true the file's audio properties will also be read.
TagLib::MP4::File::File | ( | IOStream * | stream, |
bool | readProperties = true , |
||
Properties::ReadStyle | audioPropertiesStyle = Properties::Average |
||
) |
virtual TagLib::MP4::File::~File | ( | ) | [virtual] |
Destroys this instance of the File.
Reimplemented from TagLib::File.
Properties* TagLib::MP4::File::audioProperties | ( | ) | const [virtual] |
Returns the MP4 audio properties for this file.
Implements TagLib::File.
bool TagLib::MP4::File::hasMP4Tag | ( | ) | const |
PropertyMap TagLib::MP4::File::properties | ( | ) | const |
Implements the unified property interface -- export function.
Reimplemented from TagLib::File.
void TagLib::MP4::File::removeUnsupportedProperties | ( | const StringList & | properties | ) |
Removes unsupported properties. Forwards to the actual Tag's removeUnsupportedProperties() function.
Reimplemented from TagLib::File.
bool TagLib::MP4::File::save | ( | ) | [virtual] |
PropertyMap TagLib::MP4::File::setProperties | ( | const PropertyMap & | ) |
Implements the unified property interface -- import function.
Reimplemented from TagLib::File.
Tag* TagLib::MP4::File::tag | ( | ) | const [virtual] |
Returns a pointer to the MP4 tag of the file.
MP4::Tag implements the tag interface, so this serves as the reimplementation of TagLib::File::tag().
Implements TagLib::File.