Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

id3 Class Reference

#include <id3.h>

Inheritance diagram for id3:

Inheritance graph
Collaboration diagram for id3:

Collaboration graph
List of all members.

Detailed Description

ID3 class.


Public Member Functions

 id3 (void)
 ID3 constructor.

virtual ~id3 (void)
 ID3 destructor.

void link (const string &FileName)
 Link the tag object with a file.

string GetSong (void) const
 Get the song from the tag.

string GetArtist (void) const
 Get the artist from the tag.

string GetAlbum (void) const
 Get the album from the tag.

string GetYear (void) const
 Get the year from the tag.

string GetTrack (void) const
 Get the track from the tag.

string GetGenre (void) const
 Get the genre from the tag.

string GetComment (void) const
 Get the comment from the tag.


Protected Attributes

ID3_Tag * m_pTag
 ID3 Tag object from ID3Lib.


Private Member Functions

string GetFrameDesc (ID3_FrameID FrameID) const
 Get the frame description.

string GetGenreDesc (int Genre) const
 Get the genre description.


Static Private Attributes

const int ID3_GENRES = 148
 Number of genres.

const string GENRE_DESC [ID3_GENRES]
 Genres description.


Constructor & Destructor Documentation

id3::id3 void   ) 
 

ID3 constructor.

id3::~id3 void   )  [virtual]
 

ID3 destructor.


Member Function Documentation

void id3::link const string &  FileName  ) 
 

Link the tag object with a file.

Parameters:
FileName: File to be linked.

string id3::GetSong void   )  const
 

Get the song from the tag.

Returns:
String with the song.

Here is the call graph for this function:

string id3::GetArtist void   )  const
 

Get the artist from the tag.

Returns:
String with the artist.

Here is the call graph for this function:

string id3::GetAlbum void   )  const
 

Get the album from the tag.

Returns:
String with the album.

Here is the call graph for this function:

string id3::GetYear void   )  const
 

Get the year from the tag.

Returns:
String with the year.

Here is the call graph for this function:

string id3::GetTrack void   )  const
 

Get the track from the tag.

Returns:
String with the track.

Here is the call graph for this function:

string id3::GetGenre void   )  const
 

Get the genre from the tag.

Returns:
String with the genre.

Here is the call graph for this function:

string id3::GetComment void   )  const
 

Get the comment from the tag.

Returns:
String with the comment.

Here is the call graph for this function:

string id3::GetFrameDesc ID3_FrameID  FrameID  )  const [private]
 

Get the frame description.

Parameters:
FrameID: Frame identifier.
Returns:
String with the frame description.

string id3::GetGenreDesc int  GenreID  )  const [private]
 

Get the genre description.

Parameters:
GenreID: Genre identifier.
Returns:
String with the genre description.


Member Data Documentation

const int id3::ID3_GENRES = 148 [static, private]
 

Number of genres.

const string id3::GENRE_DESC [static, private]
 

Genres description.

ID3_Tag* id3::m_pTag [protected]
 

ID3 Tag object from ID3Lib.


The documentation for this class was generated from the following files:
doxygen sourceforge id3lib