|
|
#include <asfattribute.h>
Public Types | |
| enum | AttributeTypes { UnicodeType = 0, BytesType = 1, BoolType = 2, DWordType = 3, QWordType = 4, WordType = 5, GuidType = 6 } |
Public Member Functions | |
| Attribute () | |
| Attribute (const String &value) | |
| Attribute (const ByteVector &value) | |
| Attribute (unsigned int value) | |
| Attribute (unsigned long long value) | |
| Attribute (unsigned short value) | |
| Attribute (bool value) | |
| Attribute (const Attribute &item) | |
| ASF::Attribute & | operator= (const Attribute &other) |
| virtual | ~Attribute () |
| AttributeTypes | type () const |
| unsigned short | toBool () const |
| unsigned short | toUShort () const |
| unsigned int | toUInt () const |
| unsigned long long | toULongLong () const |
| String | toString () const |
| ByteVector | toByteVector () const |
| int | language () const |
| void | setLanguage (int value) |
| int | stream () const |
| void | setStream (int value) |
Friends | |
| class | File |
Enum of types an Attribute can have.
| TagLib::ASF::Attribute::Attribute | ( | ) |
Constructs an empty attribute.
| TagLib::ASF::Attribute::Attribute | ( | const String & | value | ) |
Constructs an attribute with key and a UnicodeType value.
| TagLib::ASF::Attribute::Attribute | ( | const ByteVector & | value | ) |
Constructs an attribute with key and a BytesType value.
| TagLib::ASF::Attribute::Attribute | ( | unsigned int | value | ) |
Constructs an attribute with key and a DWordType value.
| TagLib::ASF::Attribute::Attribute | ( | unsigned long long | value | ) |
Constructs an attribute with key and a QWordType value.
| TagLib::ASF::Attribute::Attribute | ( | unsigned short | value | ) |
Constructs an attribute with key and a WordType value.
| TagLib::ASF::Attribute::Attribute | ( | bool | value | ) |
Constructs an attribute with key and a BoolType value.
| TagLib::ASF::Attribute::Attribute | ( | const Attribute & | item | ) |
Construct an attribute as a copy of other.
| virtual TagLib::ASF::Attribute::~Attribute | ( | ) | [virtual] |
Destroys the attribute.
| int TagLib::ASF::Attribute::language | ( | ) | const |
Returns the language number, or 0 is no stream number was set.
| ASF::Attribute& TagLib::ASF::Attribute::operator= | ( | const Attribute & | other | ) |
Copies the contents of other into this item.
| void TagLib::ASF::Attribute::setLanguage | ( | int | value | ) |
Sets the language number.
| void TagLib::ASF::Attribute::setStream | ( | int | value | ) |
Sets the stream number.
| int TagLib::ASF::Attribute::stream | ( | ) | const |
Returns the stream number, or 0 is no stream number was set.
| unsigned short TagLib::ASF::Attribute::toBool | ( | ) | const |
Returns the BoolType value.
| ByteVector TagLib::ASF::Attribute::toByteVector | ( | ) | const |
Returns the BytesType value.
| String TagLib::ASF::Attribute::toString | ( | ) | const |
Returns the UnicodeType value.
| unsigned int TagLib::ASF::Attribute::toUInt | ( | ) | const |
Returns the DWordType value.
| unsigned long long TagLib::ASF::Attribute::toULongLong | ( | ) | const |
Returns the QWordType value.
| unsigned short TagLib::ASF::Attribute::toUShort | ( | ) | const |
Returns the WordType value.
| AttributeTypes TagLib::ASF::Attribute::type | ( | ) | const |
Returns type of the value.
friend class File [friend] |