TagLib::ID3v2::GeneralEncapsulatedObjectFrame Class Reference
An
ID3v2 general encapsulated object frame implementation.
More...
#include <generalencapsulatedobjectframe.h>
Inheritance diagram for TagLib::ID3v2::GeneralEncapsulatedObjectFrame:
[legend]Collaboration diagram for TagLib::ID3v2::GeneralEncapsulatedObjectFrame:
[legend]List of all members.
Detailed Description
An
ID3v2 general encapsulated object frame implementation.
This is an implementation of ID3v2 general encapsulated objects. Arbitrary binary data may be included in tags, stored in GEOB frames. There may be multiple GEOB frames in a single tag. Each GEOB it labelled with a content description (which may be blank), a required mime-type, and a file name (may be blank). The content description uniquely identifies the GEOB frame in the tag.
Constructor & Destructor Documentation
TagLib::ID3v2::GeneralEncapsulatedObjectFrame::GeneralEncapsulatedObjectFrame |
( |
|
) |
|
|
|
Constructs an empty object frame. The description, file name and text encoding should be set manually. |
TagLib::ID3v2::GeneralEncapsulatedObjectFrame::GeneralEncapsulatedObjectFrame |
( |
const ByteVector & |
data |
) |
[explicit] |
|
Member Function Documentation
String TagLib::ID3v2::GeneralEncapsulatedObjectFrame::description |
( |
|
) |
const |
|
String TagLib::ID3v2::GeneralEncapsulatedObjectFrame::fileName |
( |
|
) |
const |
|
String TagLib::ID3v2::GeneralEncapsulatedObjectFrame::mimeType |
( |
|
) |
const |
|
|
Returns the mime type of the object. |
ByteVector TagLib::ID3v2::GeneralEncapsulatedObjectFrame::object |
( |
|
) |
const |
|
virtual void TagLib::ID3v2::GeneralEncapsulatedObjectFrame::parseFields |
( |
const ByteVector & |
data |
) |
[protected, virtual] |
|
|
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. |
virtual ByteVector TagLib::ID3v2::GeneralEncapsulatedObjectFrame::renderFields |
( |
|
) |
const [protected, virtual] |
|
void TagLib::ID3v2::GeneralEncapsulatedObjectFrame::setDescription |
( |
const String & |
desc |
) |
|
|
void TagLib::ID3v2::GeneralEncapsulatedObjectFrame::setFileName |
( |
const String & |
name |
) |
|
|
|
Sets the file name for the object.
- See also:
- fileName()
|
void TagLib::ID3v2::GeneralEncapsulatedObjectFrame::setMimeType |
( |
const String & |
type |
) |
|
|
|
Sets the mime type of the object. |
void TagLib::ID3v2::GeneralEncapsulatedObjectFrame::setObject |
( |
const ByteVector & |
object |
) |
|
|
void TagLib::ID3v2::GeneralEncapsulatedObjectFrame::setTextEncoding |
( |
String::Type |
encoding |
) |
|
|
String::Type TagLib::ID3v2::GeneralEncapsulatedObjectFrame::textEncoding |
( |
|
) |
const |
|
virtual String TagLib::ID3v2::GeneralEncapsulatedObjectFrame::toString |
( |
|
) |
const [virtual] |
|
|
Returns a string containing the description, file name and mime-type
Implements TagLib::ID3v2::Frame. |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: