![]() |
|
#include <asffile.h>
Public Member Functions | |
File (FileName file, bool readProperties=true, Properties::ReadStyle propertiesStyle=Properties::Average) | |
File (IOStream *stream, bool readProperties=true, Properties::ReadStyle propertiesStyle=Properties::Average) | |
virtual | ~File () |
virtual Tag * | tag () const |
PropertyMap | properties () const |
void | removeUnsupportedProperties (const StringList &properties) |
PropertyMap | setProperties (const PropertyMap &) |
virtual Properties * | audioProperties () const |
virtual bool | save () |
This implements and provides an interface for ASF 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 ASF files.
TagLib::ASF::File::File | ( | FileName | file, |
bool | readProperties = true , |
||
Properties::ReadStyle | propertiesStyle = Properties::Average |
||
) |
Constructs an ASF file from file.
TagLib::ASF::File::File | ( | IOStream * | stream, |
bool | readProperties = true , |
||
Properties::ReadStyle | propertiesStyle = Properties::Average |
||
) |
virtual TagLib::ASF::File::~File | ( | ) | [virtual] |
Destroys this instance of the File.
Reimplemented from TagLib::File.
virtual Properties* TagLib::ASF::File::audioProperties | ( | ) | const [virtual] |
Returns the ASF audio properties for this file.
Implements TagLib::File.
PropertyMap TagLib::ASF::File::properties | ( | ) | const |
Implements the unified property interface -- export function.
Reimplemented from TagLib::File.
void TagLib::ASF::File::removeUnsupportedProperties | ( | const StringList & | properties | ) |
Removes unsupported properties. Forwards to the actual Tag's removeUnsupportedProperties() function.
Reimplemented from TagLib::File.
virtual bool TagLib::ASF::File::save | ( | ) | [virtual] |
Save the file.
This returns true if the save was successful.
Implements TagLib::File.
PropertyMap TagLib::ASF::File::setProperties | ( | const PropertyMap & | ) |
Implements the unified property interface -- import function.
Reimplemented from TagLib::File.
virtual Tag* TagLib::ASF::File::tag | ( | ) | const [virtual] |
Returns a pointer to the ASF tag of the file.
ASF::Tag implements the tag interface, so this serves as the reimplementation of TagLib::File::tag().
Implements TagLib::File.