TagLib
1.13
|
#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 () |
![]() | |
virtual | ~File () |
FileName | name () const |
virtual Tag * | tag () const =0 |
PropertyMap | properties () const |
void | removeUnsupportedProperties (const StringList &properties) |
PropertyMap | setProperties (const PropertyMap &properties) |
virtual AudioProperties * | audioProperties () const =0 |
virtual bool | save ()=0 |
ByteVector | readBlock (unsigned long length) |
void | writeBlock (const ByteVector &data) |
long | find (const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector()) |
long | rfind (const ByteVector &pattern, long fromOffset=0, const ByteVector &before=ByteVector()) |
void | insert (const ByteVector &data, unsigned long start=0, unsigned long replace=0) |
void | removeBlock (unsigned long start=0, unsigned long length=0) |
bool | readOnly () const |
bool | isOpen () const |
bool | isValid () const |
void | seek (long offset, Position p=Beginning) |
void | clear () |
long | tell () const |
long | length () |
Static Public Member Functions | |
static bool | isSupported (IOStream *stream) |
![]() | |
static TAGLIB_DEPRECATED bool | isReadable (const char *file) |
static TAGLIB_DEPRECATED bool | isWritable (const char *name) |
Additional Inherited Members | |
![]() | |
enum | Position { Beginning , Current , End } |
enum | StripTags { StripNone , StripOthers } |
enum | DuplicateTags { Duplicate , DoNotDuplicate } |
![]() | |
File (FileName file) | |
File (IOStream *stream) | |
void | setValid (bool valid) |
void | truncate (long length) |
![]() | |
static unsigned int | bufferSize () |
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 |
Destroys this instance of the File.
Reimplemented from TagLib::File.
|
virtual |
Returns the ASF audio properties for this file.
Implements TagLib::File.
|
static |
Returns whether or not the given stream can be opened as an ASF file.
PropertyMap TagLib::ASF::File::properties | ( | ) | const |
Implements the unified property interface – export function.
void TagLib::ASF::File::removeUnsupportedProperties | ( | const StringList & | properties | ) |
Removes unsupported properties. Forwards to the actual Tag's removeUnsupportedProperties() function.
|
virtual |
PropertyMap TagLib::ASF::File::setProperties | ( | const PropertyMap & | ) |
Implements the unified property interface – import function.
|
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.