TagLib API Documentation
Public Member Functions | List of all members
TagLib::DSDIFF::DIIN::Tag Class Reference

#include <dsdiffdiintag.h>

Inheritance diagram for TagLib::DSDIFF::DIIN::Tag:
[legend]
Collaboration diagram for TagLib::DSDIFF::DIIN::Tag:
[legend]

Public Member Functions

 Tag ()
 
 ~Tag () override
 
String title () const override
 
String artist () const override
 
String album () const override
 
String comment () const override
 
String genre () const override
 
unsigned int year () const override
 
unsigned int track () const override
 
void setTitle (const String &title) override
 
void setArtist (const String &artist) override
 
void setAlbum (const String &album) override
 
void setComment (const String &comment) override
 
void setGenre (const String &genre) override
 
void setYear (unsigned int year) override
 
void setTrack (unsigned int track) override
 
PropertyMap properties () const override
 
PropertyMap setProperties (const PropertyMap &) override
 
- Public Member Functions inherited from TagLib::Tag
virtual ~Tag ()
 
 Tag (const Tag &)=delete
 
Tagoperator= (const Tag &)=delete
 
virtual PropertyMap properties () const
 
virtual void removeUnsupportedProperties (const StringList &properties)
 
virtual PropertyMap setProperties (const PropertyMap &origProps)
 
virtual StringList complexPropertyKeys () const
 
virtual List< VariantMapcomplexProperties (const String &key) const
 
virtual bool setComplexProperties (const String &key, const List< VariantMap > &value)
 
virtual String title () const =0
 
virtual String artist () const =0
 
virtual String album () const =0
 
virtual String comment () const =0
 
virtual String genre () const =0
 
virtual unsigned int year () const =0
 
virtual unsigned int track () const =0
 
virtual void setTitle (const String &s)=0
 
virtual void setArtist (const String &s)=0
 
virtual void setAlbum (const String &s)=0
 
virtual void setComment (const String &s)=0
 
virtual void setGenre (const String &s)=0
 
virtual void setYear (unsigned int i)=0
 
virtual void setTrack (unsigned int i)=0
 
virtual bool isEmpty () const
 

Additional Inherited Members

- Static Public Member Functions inherited from TagLib::Tag
static void duplicate (const Tag *source, Tag *target, bool overwrite=true)
 
static String joinTagValues (const StringList &values)
 
- Protected Member Functions inherited from TagLib::Tag
 Tag ()
 

Detailed Description

Tags from the Edited Master Chunk Info

Only Title and Artist tags are supported

Constructor & Destructor Documentation

◆ Tag()

TagLib::DSDIFF::DIIN::Tag::Tag ( )

◆ ~Tag()

TagLib::DSDIFF::DIIN::Tag::~Tag ( )
overridevirtual

Destroys this Tag instance.

Reimplemented from TagLib::Tag.

Member Function Documentation

◆ album()

String TagLib::DSDIFF::DIIN::Tag::album ( ) const
overridevirtual

Not supported. Therefore always returns String().

Implements TagLib::Tag.

◆ artist()

String TagLib::DSDIFF::DIIN::Tag::artist ( ) const
overridevirtual

Returns the artist name; if no artist name is present in the tag String() will be returned.

Implements TagLib::Tag.

◆ comment()

String TagLib::DSDIFF::DIIN::Tag::comment ( ) const
overridevirtual

Not supported. Therefore always returns String().

Implements TagLib::Tag.

◆ genre()

String TagLib::DSDIFF::DIIN::Tag::genre ( ) const
overridevirtual

Not supported. Therefore always returns String().

Implements TagLib::Tag.

◆ properties()

PropertyMap TagLib::DSDIFF::DIIN::Tag::properties ( ) const
overridevirtual

Implements the unified property interface – export function. Since the DIIN tag is very limited, the exported map is as well.

Reimplemented from TagLib::Tag.

◆ setAlbum()

void TagLib::DSDIFF::DIIN::Tag::setAlbum ( const String album)
overridevirtual

Not supported and therefore ignored.

Implements TagLib::Tag.

◆ setArtist()

void TagLib::DSDIFF::DIIN::Tag::setArtist ( const String artist)
overridevirtual

Sets the artist to artist. If artist is String() then this value will be cleared.

Implements TagLib::Tag.

◆ setComment()

void TagLib::DSDIFF::DIIN::Tag::setComment ( const String comment)
overridevirtual

Not supported and therefore ignored.

Implements TagLib::Tag.

◆ setGenre()

void TagLib::DSDIFF::DIIN::Tag::setGenre ( const String genre)
overridevirtual

Not supported and therefore ignored.

Implements TagLib::Tag.

◆ setProperties()

PropertyMap TagLib::DSDIFF::DIIN::Tag::setProperties ( const PropertyMap )
overridevirtual

Implements the unified property interface – import function. Because of the limitations of the DIIN file tag, any tags besides TITLE and ARTIST, will be returned. Additionally, if the map contains tags with multiple values, all but the first will be contained in the returned map of unsupported properties.

Reimplemented from TagLib::Tag.

◆ setTitle()

void TagLib::DSDIFF::DIIN::Tag::setTitle ( const String title)
overridevirtual

Sets the title to title. If title is String() then this value will be cleared.

Implements TagLib::Tag.

◆ setTrack()

void TagLib::DSDIFF::DIIN::Tag::setTrack ( unsigned int  track)
overridevirtual

Not supported and therefore ignored.

Implements TagLib::Tag.

◆ setYear()

void TagLib::DSDIFF::DIIN::Tag::setYear ( unsigned int  year)
overridevirtual

Not supported and therefore ignored.

Implements TagLib::Tag.

◆ title()

String TagLib::DSDIFF::DIIN::Tag::title ( ) const
overridevirtual

Returns the track name; if no track name is present in the tag String() will be returned.

Implements TagLib::Tag.

◆ track()

unsigned int TagLib::DSDIFF::DIIN::Tag::track ( ) const
overridevirtual

Not supported. Therefore always returns 0.

Implements TagLib::Tag.

◆ year()

unsigned int TagLib::DSDIFF::DIIN::Tag::year ( ) const
overridevirtual

Not supported. Therefore always returns 0.

Implements TagLib::Tag.


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