![]() |
|
#include <vorbisfile.h>
Public Member Functions | |
File (FileName file, bool readProperties=true, Properties::ReadStyle propertiesStyle=Properties::Average) | |
virtual | ~File () |
virtual Ogg::XiphComment * | tag () const |
virtual Properties * | audioProperties () const |
virtual bool | save () |
This is the central class in the Ogg Vorbis metadata processing collection of classes. It's built upon Ogg::File which handles processing of the Ogg logical bitstream and breaking it down into pages which are handled by the codec implementations, in this case Vorbis specifically.
TagLib::Ogg::Vorbis::File::File | ( | FileName | file, | |
bool | readProperties = true , |
|||
Properties::ReadStyle | propertiesStyle = Properties::Average | |||
) |
Contructs a Vorbis file from file. If readProperties is true the file's audio properties will also be read using propertiesStyle. If false, propertiesStyle is ignored.
virtual TagLib::Ogg::Vorbis::File::~File | ( | ) | [virtual] |
Destroys this instance of the File.
Reimplemented from TagLib::Ogg::File.
virtual Properties* TagLib::Ogg::Vorbis::File::audioProperties | ( | ) | const [virtual] |
Returns the Vorbis::Properties for this file. If no audio properties were read then this will return a null pointer.
Implements TagLib::File.
virtual bool TagLib::Ogg::Vorbis::File::save | ( | ) | [virtual] |
Save the file and its associated tags. This should be reimplemented in the concrete subclasses. Returns true if the save succeeds.
Reimplemented from TagLib::Ogg::File.
virtual Ogg::XiphComment* TagLib::Ogg::Vorbis::File::tag | ( | ) | const [virtual] |
Returns the XiphComment for this file. XiphComment implements the tag interface, so this serves as the reimplementation of TagLib::File::tag().
Implements TagLib::File.