TagLib::TagUnion Class Reference

#include <tagunion.h>

Inheritance diagram for TagLib::TagUnion:
[legend]
Collaboration diagram for TagLib::TagUnion:
[legend]

Public Types

enum  AccessType { Read, Write }
 

Public Member Functions

 TagUnion (Tag *first=0, Tag *second=0, Tag *third=0)
 
virtual ~TagUnion ()
 
Tag * operator[] (int index) const
 
Tag * tag (int index) const
 
void set (int index, Tag *tag)
 
virtual String title () const
 
virtual String artist () const
 
virtual String album () const
 
virtual String comment () const
 
virtual String genre () const
 
virtual uint year () const
 
virtual uint track () const
 
virtual void setTitle (const String &s)
 
virtual void setArtist (const String &s)
 
virtual void setAlbum (const String &s)
 
virtual void setComment (const String &s)
 
virtual void setGenre (const String &s)
 
virtual void setYear (uint i)
 
virtual void setTrack (uint i)
 
virtual bool isEmpty () const
 
template<class T >
T * access (int index, bool create)
 

Detailed Description

Definition at line 39 of file tagunion.h.

Member Enumeration Documentation

Enumerator
Read 
Write 

Definition at line 43 of file tagunion.h.

Constructor & Destructor Documentation

TagLib::TagUnion::TagUnion ( Tag *  first = 0,
Tag *  second = 0,
Tag *  third = 0 
)

Creates a TagLib::Tag that is the union of first, second, and third. The TagUnion takes ownership of these tags and will handle their deletion.

virtual TagLib::TagUnion::~TagUnion ( )
virtual

Member Function Documentation

template<class T >
T* TagLib::TagUnion::access ( int  index,
bool  create 
)
inline

Definition at line 76 of file tagunion.h.

Here is the call graph for this function:

virtual String TagLib::TagUnion::album ( ) const
virtual
virtual String TagLib::TagUnion::artist ( ) const
virtual
virtual String TagLib::TagUnion::comment ( ) const
virtual
virtual String TagLib::TagUnion::genre ( ) const
virtual
virtual bool TagLib::TagUnion::isEmpty ( ) const
virtual
Tag* TagLib::TagUnion::operator[] ( int  index) const
void TagLib::TagUnion::set ( int  index,
Tag *  tag 
)

Here is the caller graph for this function:

virtual void TagLib::TagUnion::setAlbum ( const String s)
virtual
virtual void TagLib::TagUnion::setArtist ( const String s)
virtual
virtual void TagLib::TagUnion::setComment ( const String s)
virtual
virtual void TagLib::TagUnion::setGenre ( const String s)
virtual
virtual void TagLib::TagUnion::setTitle ( const String s)
virtual
virtual void TagLib::TagUnion::setTrack ( uint  i)
virtual
virtual void TagLib::TagUnion::setYear ( uint  i)
virtual
Tag* TagLib::TagUnion::tag ( int  index) const

Here is the caller graph for this function:

virtual String TagLib::TagUnion::title ( ) const
virtual
virtual uint TagLib::TagUnion::track ( ) const
virtual
virtual uint TagLib::TagUnion::year ( ) const
virtual

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