TagLib::ID3v2::OwnershipFrame Class Reference
An implementation of
ID3v2 "ownership".
More...
#include <ownershipframe.h>
List of all members.
Detailed Description
An implementation of
ID3v2 "ownership".
This implements the ID3v2 ownership (OWNE frame). It consists of a price paid, a date purchased (YYYYMMDD) and the name of the seller.
Constructor & Destructor Documentation
TagLib::ID3v2::OwnershipFrame::OwnershipFrame |
( |
String::Type |
encoding = String::Latin1 |
) |
[explicit] |
Construct an empty ownership frame.
TagLib::ID3v2::OwnershipFrame::OwnershipFrame |
( |
const ByteVector & |
data |
) |
[explicit] |
Construct a ownership based on the data in data.
virtual TagLib::ID3v2::OwnershipFrame::~OwnershipFrame |
( |
|
) |
[virtual] |
Member Function Documentation
virtual String TagLib::ID3v2::OwnershipFrame::toString |
( |
|
) |
const [virtual] |
String TagLib::ID3v2::OwnershipFrame::datePurchased |
( |
|
) |
const |
void TagLib::ID3v2::OwnershipFrame::setDatePurchased |
( |
const String & |
datePurchased |
) |
|
String TagLib::ID3v2::OwnershipFrame::pricePaid |
( |
|
) |
const |
void TagLib::ID3v2::OwnershipFrame::setPricePaid |
( |
const String & |
pricePaid |
) |
|
String TagLib::ID3v2::OwnershipFrame::seller |
( |
|
) |
const |
void TagLib::ID3v2::OwnershipFrame::setSeller |
( |
const String & |
seller |
) |
|
String::Type TagLib::ID3v2::OwnershipFrame::textEncoding |
( |
|
) |
const |
Returns the text encoding that will be used in rendering this frame. This defaults to the type that was either specified in the constructor or read from the frame when parsed.
- See also:
- setTextEncoding()
render()
void TagLib::ID3v2::OwnershipFrame::setTextEncoding |
( |
String::Type |
encoding |
) |
|
virtual void TagLib::ID3v2::OwnershipFrame::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::OwnershipFrame::renderFields |
( |
|
) |
const [protected, virtual] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: