TagLib  2.0.2
TagLib::MP4::Item Class Reference

MP4 item. More...

#include <mp4item.h>

Classes

struct  IntPair
 

Public Types

enum class  Type : unsigned char {
  Void , Bool , Int , IntPair ,
  Byte , UInt , LongLong , StringList ,
  ByteVectorList , CoverArtList
}
 

Public Member Functions

 Item ()
 
 Item (const Item &item)
 
Itemoperator= (const Item &item)
 
void swap (Item &item) noexcept
 
 ~Item ()
 
 Item (int value)
 
 Item (unsigned char value)
 
 Item (unsigned int value)
 
 Item (long long value)
 
 Item (bool value)
 
 Item (int value1, int value2)
 
 Item (const StringList &value)
 
 Item (const ByteVectorList &value)
 
 Item (const CoverArtList &value)
 
void setAtomDataType (AtomDataType type)
 
AtomDataType atomDataType () const
 
int toInt () const
 
unsigned char toByte () const
 
unsigned int toUInt () const
 
long long toLongLong () const
 
bool toBool () const
 
IntPair toIntPair () const
 
StringList toStringList () const
 
ByteVectorList toByteVectorList () const
 
CoverArtList toCoverArtList () const
 
bool isValid () const
 
Type type () const
 
bool operator== (const Item &other) const
 
bool operator!= (const Item &other) const
 

Detailed Description

MP4 item.

Member Enumeration Documentation

◆ Type

enum class TagLib::MP4::Item::Type : unsigned char
strong

The data type stored in the item.

Enumerator
Void 
Bool 
Int 
IntPair 
Byte 
UInt 
LongLong 
StringList 
ByteVectorList 
CoverArtList 

Constructor & Destructor Documentation

◆ Item() [1/11]

TagLib::MP4::Item::Item ( )

◆ Item() [2/11]

TagLib::MP4::Item::Item ( const Item & item)

◆ ~Item()

TagLib::MP4::Item::~Item ( )

◆ Item() [3/11]

TagLib::MP4::Item::Item ( int value)

◆ Item() [4/11]

TagLib::MP4::Item::Item ( unsigned char value)

◆ Item() [5/11]

TagLib::MP4::Item::Item ( unsigned int value)

◆ Item() [6/11]

TagLib::MP4::Item::Item ( long long value)

◆ Item() [7/11]

TagLib::MP4::Item::Item ( bool value)

◆ Item() [8/11]

TagLib::MP4::Item::Item ( int value1,
int value2 )

◆ Item() [9/11]

TagLib::MP4::Item::Item ( const StringList & value)

◆ Item() [10/11]

TagLib::MP4::Item::Item ( const ByteVectorList & value)

◆ Item() [11/11]

TagLib::MP4::Item::Item ( const CoverArtList & value)

Member Function Documentation

◆ atomDataType()

AtomDataType TagLib::MP4::Item::atomDataType ( ) const

◆ isValid()

bool TagLib::MP4::Item::isValid ( ) const

◆ operator!=()

bool TagLib::MP4::Item::operator!= ( const Item & other) const

Returns true if the Item and other differ in type or value.

◆ operator=()

Item & TagLib::MP4::Item::operator= ( const Item & item)

Copies the contents of item into this Item.

◆ operator==()

bool TagLib::MP4::Item::operator== ( const Item & other) const

Returns true if the Item and other are of the same type and contain the same value.

◆ setAtomDataType()

void TagLib::MP4::Item::setAtomDataType ( AtomDataType type)

◆ swap()

void TagLib::MP4::Item::swap ( Item & item)
noexcept

Exchanges the content of the Item with the content of item.

◆ toBool()

bool TagLib::MP4::Item::toBool ( ) const

◆ toByte()

unsigned char TagLib::MP4::Item::toByte ( ) const

◆ toByteVectorList()

ByteVectorList TagLib::MP4::Item::toByteVectorList ( ) const

◆ toCoverArtList()

CoverArtList TagLib::MP4::Item::toCoverArtList ( ) const

◆ toInt()

int TagLib::MP4::Item::toInt ( ) const

◆ toIntPair()

IntPair TagLib::MP4::Item::toIntPair ( ) const

◆ toLongLong()

long long TagLib::MP4::Item::toLongLong ( ) const

◆ toStringList()

StringList TagLib::MP4::Item::toStringList ( ) const

◆ toUInt()

unsigned int TagLib::MP4::Item::toUInt ( ) const

◆ type()

Type TagLib::MP4::Item::type ( ) const

The documentation for this class was generated from the following file: