|
TagLib
2.2.1
|
Attribute of Matroska metadata. More...
#include <matroskasimpletag.h>
Public Types | |
| enum | TargetTypeValue { None = 0, Shot = 10, Subtrack = 20, Track = 30, Part = 40, Album = 50, Edition = 60, Collection = 70 } |
| Specifies the level of other elements the tag value applies to. More... | |
| enum | ValueType { StringType = 0, BinaryType = 1 } |
| The types the value can have. More... | |
Public Member Functions | |
| SimpleTag (const String &name, const String &value, TargetTypeValue targetTypeValue=None, const String &language=String(), bool defaultLanguage=true, unsigned long long trackUid=0) | |
| SimpleTag (const String &name, const String &value, TargetTypeValue targetTypeValue, const String &language, bool defaultLanguage, unsigned long long trackUid, unsigned long long editionUid, unsigned long long chapterUid=0, unsigned long long attachmentUid=0) | |
| SimpleTag (const String &name, const ByteVector &value, TargetTypeValue targetTypeValue=None, const String &language=String(), bool defaultLanguage=true, unsigned long long trackUid=0) | |
| SimpleTag (const String &name, const ByteVector &value, TargetTypeValue targetTypeValue, const String &language, bool defaultLanguage, unsigned long long trackUid, unsigned long long editionUid, unsigned long long chapterUid=0, unsigned long long attachmentUid=0) | |
| SimpleTag (const SimpleTag &other) | |
| SimpleTag (SimpleTag &&other) noexcept | |
| ~SimpleTag () | |
| SimpleTag & | operator= (const SimpleTag &other) |
| SimpleTag & | operator= (SimpleTag &&other) noexcept |
| void | swap (SimpleTag &other) noexcept |
| const String & | name () const |
| TargetTypeValue | targetTypeValue () const |
| const String & | language () const |
| bool | defaultLanguageFlag () const |
| unsigned long long | trackUid () const |
| unsigned long long | editionUid () const |
| unsigned long long | chapterUid () const |
| unsigned long long | attachmentUid () const |
| ValueType | type () const |
| String | toString () const |
| ByteVector | toByteVector () const |
Attribute of Matroska metadata.
Specifies the level of other elements the tag value applies to.
| TagLib::Matroska::SimpleTag::SimpleTag | ( | const String & | name, |
| const String & | value, | ||
| TargetTypeValue | targetTypeValue = None, |
||
| const String & | language = String(), |
||
| bool | defaultLanguage = true, |
||
| unsigned long long | trackUid = 0 |
||
| ) |
Construct a string simple tag.
| TagLib::Matroska::SimpleTag::SimpleTag | ( | const String & | name, |
| const String & | value, | ||
| TargetTypeValue | targetTypeValue, | ||
| const String & | language, | ||
| bool | defaultLanguage, | ||
| unsigned long long | trackUid, | ||
| unsigned long long | editionUid, | ||
| unsigned long long | chapterUid = 0, |
||
| unsigned long long | attachmentUid = 0 |
||
| ) |
Construct a string simple tag.
| TagLib::Matroska::SimpleTag::SimpleTag | ( | const String & | name, |
| const ByteVector & | value, | ||
| TargetTypeValue | targetTypeValue = None, |
||
| const String & | language = String(), |
||
| bool | defaultLanguage = true, |
||
| unsigned long long | trackUid = 0 |
||
| ) |
Construct a binary simple tag.
| TagLib::Matroska::SimpleTag::SimpleTag | ( | const String & | name, |
| const ByteVector & | value, | ||
| TargetTypeValue | targetTypeValue, | ||
| const String & | language, | ||
| bool | defaultLanguage, | ||
| unsigned long long | trackUid, | ||
| unsigned long long | editionUid, | ||
| unsigned long long | chapterUid = 0, |
||
| unsigned long long | attachmentUid = 0 |
||
| ) |
Construct a binary simple tag.
| TagLib::Matroska::SimpleTag::SimpleTag | ( | const SimpleTag & | other | ) |
Construct a simple tag as a copy of other.
|
noexcept |
Construct a simple tag moving from other.
| TagLib::Matroska::SimpleTag::~SimpleTag | ( | ) |
Destroys this simple tag.
| unsigned long long TagLib::Matroska::SimpleTag::attachmentUid | ( | ) | const |
Returns the UID that identifies the attachment that the tags belong to, zero if not defined, the tag applies to all attachments
| unsigned long long TagLib::Matroska::SimpleTag::chapterUid | ( | ) | const |
Returns the UID that identifies the chapter that the tags belong to, zero if not defined, the tag applies to all chapters
| bool TagLib::Matroska::SimpleTag::defaultLanguageFlag | ( | ) | const |
Returns if this is the default/original language to use for the tag.
| unsigned long long TagLib::Matroska::SimpleTag::editionUid | ( | ) | const |
Returns the UID that identifies the edition that the tags belong to, zero if not defined, the tag applies to all editions
| const String& TagLib::Matroska::SimpleTag::language | ( | ) | const |
Returns the language of the tag.
| const String& TagLib::Matroska::SimpleTag::name | ( | ) | const |
Returns the name of the simple tag.
Copies the contents of other into this item.
Moves the contents of other into this item.
|
noexcept |
Exchanges the content of the simple tag with the content of other.
| TargetTypeValue TagLib::Matroska::SimpleTag::targetTypeValue | ( | ) | const |
Returns the logical level of the target.
| ByteVector TagLib::Matroska::SimpleTag::toByteVector | ( | ) | const |
Returns the BinaryType value.
| String TagLib::Matroska::SimpleTag::toString | ( | ) | const |
Returns the StringType value.
| unsigned long long TagLib::Matroska::SimpleTag::trackUid | ( | ) | const |
Returns the UID that identifies the track that the tags belong to, zero if not defined, the tag applies to all tracks
| ValueType TagLib::Matroska::SimpleTag::type | ( | ) | const |
Returns the type of the value.