An implementation of ID3v2 private frame. More...
#include <privateframe.h>
Protected Member Functions | |
| void | parseFields (const ByteVector &data) override |
| ByteVector | renderFields () const override |
Protected Member Functions inherited from TagLib::ID3v2::Frame | |
| Frame (const ByteVector &data) | |
| Frame (Header *h) | |
| void | setHeader (Header *h, bool deleteCurrent=true) |
| void | parse (const ByteVector &data) |
| ByteVector | fieldData (const ByteVector &frameData) const |
| String | readStringField (const ByteVector &data, String::Type encoding, int *position=nullptr) |
| String::Type | checkTextEncoding (const StringList &fields, String::Type encoding) const |
| virtual PropertyMap | asProperties () const |
Friends | |
| class | FrameFactory |
Additional Inherited Members | |
Static Public Member Functions inherited from TagLib::ID3v2::Frame | |
| static ByteVector | textDelimiter (String::Type t) |
| static ByteVector | keyToFrameID (const String &) |
| static String | frameIDToKey (const ByteVector &) |
Static Public Attributes inherited from TagLib::ID3v2::Frame | |
| static const String | instrumentPrefix |
| static const String | commentPrefix |
| static const String | lyricsPrefix |
| static const String | urlPrefix |
Static Protected Member Functions inherited from TagLib::ID3v2::Frame | |
| static void | splitProperties (const PropertyMap &original, PropertyMap &singleFrameProperties, PropertyMap &tiplProperties, PropertyMap &tmclProperties) |
An implementation of ID3v2 private frame.
| TagLib::ID3v2::PrivateFrame::PrivateFrame | ( | ) |
Construct an empty private frame.
|
explicit |
Construct a private frame based on the data in data.
|
override |
Destroys this private frame instance.
|
delete |
| ByteVector TagLib::ID3v2::PrivateFrame::data | ( | ) | const |
Returns the private data.
|
delete |
| String TagLib::ID3v2::PrivateFrame::owner | ( | ) | const |
|
overrideprotectedvirtual |
Called by parse() to parse the field data. It makes this information available through the public API. This must be overridden by the subclasses.
Implements TagLib::ID3v2::Frame.
|
overrideprotectedvirtual |
Render the field data back to a binary format in a ByteVector. This must be overridden by subclasses.
Implements TagLib::ID3v2::Frame.
| void TagLib::ID3v2::PrivateFrame::setData | ( | const ByteVector & | data | ) |
Sets the private data.
Sets the owner of the frame to s.
|
overridevirtual |
Returns the text of this private frame, currently just the owner.
Implements TagLib::ID3v2::Frame.
|
friend |