Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

include/id3/misc_support.h File Reference

#include <id3/tag.h>

Go to the source code of this file.

Functions

ID3_C_EXPORT char * ID3_GetString (const ID3_Frame *, ID3_FieldID)
ID3_C_EXPORT char * ID3_GetString (const ID3_Frame *, ID3_FieldID, size_t nItems)
ID3_C_EXPORT void ID3_FreeString (char *str)
ID3_C_EXPORT char * ID3_GetArtist (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddArtist (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t ID3_RemoveArtists (ID3_Tag *)
ID3_C_EXPORT char * ID3_GetAlbum (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddAlbum (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t ID3_RemoveAlbums (ID3_Tag *)
ID3_C_EXPORT char * ID3_GetTitle (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddTitle (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t ID3_RemoveTitles (ID3_Tag *)
ID3_C_EXPORT char * ID3_GetYear (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddYear (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t ID3_RemoveYears (ID3_Tag *)
ID3_C_EXPORT char * ID3_GetComment (const ID3_Tag *, const char *desc=NULL)
ID3_C_EXPORT ID3_FrameID3_AddComment (ID3_Tag *, const char *, bool=false)
ID3_C_EXPORT ID3_FrameID3_AddComment (ID3_Tag *, const char *, const char *, bool=false)
ID3_C_EXPORT ID3_FrameID3_AddComment (ID3_Tag *, const char *, const char *, const char *, bool=false)
ID3_C_EXPORT size_t ID3_RemoveComments (ID3_Tag *, const char *=NULL)
ID3_C_EXPORT char * ID3_GetTrack (const ID3_Tag *)
ID3_C_EXPORT size_t ID3_GetTrackNum (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddTrack (ID3_Tag *, uchar ucTrack, uchar ucTotal=0, bool replace=false)
ID3_C_EXPORT size_t ID3_RemoveTracks (ID3_Tag *)
ID3_C_EXPORT char * ID3_GetGenre (const ID3_Tag *)
ID3_C_EXPORT size_t ID3_GetGenreNum (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddGenre (ID3_Tag *, size_t ucGenre, bool replace=false)
ID3_C_EXPORT ID3_FrameID3_AddGenre (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t ID3_RemoveGenres (ID3_Tag *)
ID3_C_EXPORT char * ID3_GetLyrics (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddLyrics (ID3_Tag *, const char *, bool=false)
ID3_C_EXPORT ID3_FrameID3_AddLyrics (ID3_Tag *, const char *, const char *, bool=false)
ID3_C_EXPORT ID3_FrameID3_AddLyrics (ID3_Tag *, const char *, const char *, const char *, bool=false)
ID3_C_EXPORT size_t ID3_RemoveLyrics (ID3_Tag *)
ID3_C_EXPORT char * ID3_GetLyricist (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddLyricist (ID3_Tag *, const char *, bool replace=false)
ID3_C_EXPORT size_t ID3_RemoveLyricist (ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, bool=false)
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, bool=false)
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, const char *, bool=false)
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, const char *, ID3_ContentType, bool=false)
ID3_C_EXPORT ID3_FrameID3_GetSyncLyricsInfo (const ID3_Tag *tag, const char *lang, const char *desc, char &stampformat, char &type, size_t &size)
ID3_C_EXPORT ID3_FrameID3_GetSyncLyrics (const ID3_Tag *tag, const char *lang, const char *desc, const uchar *&pData, size_t &size)
ID3_C_EXPORT int ID3_GetPictureData (const ID3_Tag *, const char *TempPicPath)
ID3_C_EXPORT char * ID3_GetPictureMimeType (const ID3_Tag *)
ID3_C_EXPORT bool ID3_HasPicture (const ID3_Tag *)
ID3_C_EXPORT ID3_FrameID3_AddPicture (ID3_Tag *, const char *TempPicPath, const char *MimeType, bool replace=false)
ID3_C_EXPORT ID3_FrameID3_AddPicture (ID3_Tag *, const char *TempPicPath, const char *MimeType, ID3_PictureType pictype, const char *Description, bool replace=false)
ID3_C_EXPORT size_t ID3_RemovePictures (ID3_Tag *)
ID3_C_EXPORT size_t ID3_GetPictureDataOfPicType (ID3_Tag *, const char *TempPicPath, ID3_PictureType pictype)
ID3_C_EXPORT char * ID3_GetMimeTypeOfPicType (ID3_Tag *, ID3_PictureType pictype)
ID3_C_EXPORT char * ID3_GetDescriptionOfPicType (ID3_Tag *, ID3_PictureType pictype)
ID3_C_EXPORT size_t ID3_RemovePictureType (ID3_Tag *, ID3_PictureType pictype)


Function Documentation

ID3_C_EXPORT ID3_Frame* ID3_AddAlbum ID3_Tag  ,
const char *   ,
bool    replace = false
 

Definition at line 172 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveAlbums(), ID3FID_ALBUM, ID3FN_TEXT, and NULL.

ID3_C_EXPORT ID3_Frame* ID3_AddArtist ID3_Tag  ,
const char *   ,
bool    replace = false
 

Definition at line 92 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveArtists(), ID3FID_BAND, ID3FID_COMPOSER, ID3FID_CONDUCTOR, ID3FID_LEADARTIST, ID3FN_TEXT, and NULL.

ID3_C_EXPORT ID3_Frame* ID3_AddComment ID3_Tag  ,
const char *   ,
const char *   ,
const char *   ,
bool    = false
 

Definition at line 369 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::CreateIterator(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3_RemoveComments(), ID3FID_COMMENT, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, ID3FN_TEXT, and NULL.

Referenced by ID3_AddComment().

ID3_C_EXPORT ID3_Frame* ID3_AddComment ID3_Tag  ,
const char *   ,
const char *   ,
bool    = false
 

Definition at line 363 of file misc_support.cpp.

References ID3_AddComment().

ID3_C_EXPORT ID3_Frame* ID3_AddComment ID3_Tag  ,
const char *   ,
bool    = false
 

Definition at line 358 of file misc_support.cpp.

References ID3_AddComment().

ID3_C_EXPORT ID3_Frame* ID3_AddGenre ID3_Tag  ,
const char *   ,
bool    replace = false
 

Definition at line 839 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveGenres(), ID3FID_CONTENTTYPE, ID3FN_TEXT, and NULL.

Referenced by ID3_AddGenre().

ID3_C_EXPORT ID3_Frame* ID3_AddGenre ID3_Tag  ,
size_t    ucGenre,
bool    replace = false
 

Definition at line 862 of file misc_support.cpp.

References ID3_AddGenre(), and luint.

ID3_C_EXPORT ID3_Frame* ID3_AddLyricist ID3_Tag  ,
const char *   ,
bool    replace = false
 

Definition at line 985 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveLyricist(), ID3FID_LYRICIST, ID3FN_TEXT, and NULL.

ID3_C_EXPORT ID3_Frame* ID3_AddLyrics ID3_Tag  ,
const char *   ,
const char *   ,
const char *   ,
bool    = false
 

Definition at line 923 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveLyrics(), ID3FID_UNSYNCEDLYRICS, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, ID3FN_TEXT, and NULL.

Referenced by ID3_AddLyrics().

ID3_C_EXPORT ID3_Frame* ID3_AddLyrics ID3_Tag  ,
const char *   ,
const char *   ,
bool    = false
 

Definition at line 917 of file misc_support.cpp.

References ID3_AddLyrics().

ID3_C_EXPORT ID3_Frame* ID3_AddLyrics ID3_Tag  ,
const char *   ,
bool    = false
 

Definition at line 912 of file misc_support.cpp.

References ID3_AddLyrics().

ID3_C_EXPORT ID3_Frame* ID3_AddPicture ID3_Tag  ,
const char *    TempPicPath,
const char *    MimeType,
ID3_PictureType    pictype,
const char *    Description,
bool    replace = false
 

Definition at line 660 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_PictureType, ID3_RemovePictureType(), ID3FID_PICTURE, ID3FN_DATA, ID3FN_DESCRIPTION, ID3FN_MIMETYPE, ID3FN_PICTURETYPE, and NULL.

ID3_C_EXPORT ID3_Frame* ID3_AddPicture ID3_Tag  ,
const char *    TempPicPath,
const char *    MimeType,
bool    replace = false
 

Definition at line 590 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemovePictures(), ID3FID_PICTURE, ID3FN_DATA, ID3FN_MIMETYPE, and NULL.

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics ID3_Tag  ,
const uchar  ,
size_t   ,
ID3_TimeStampFormat   ,
const char *   ,
const char *   ,
ID3_ContentType   ,
bool    = false
 

Definition at line 1049 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_ContentType, ID3_TimeStampFormat, ID3FID_SYNCEDLYRICS, ID3FN_CONTENTTYPE, ID3FN_DATA, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, ID3FN_TIMESTAMPFORMAT, NULL, ID3_Tag::RemoveFrame(), and uchar.

Referenced by ID3_AddSyncLyrics().

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics ID3_Tag  ,
const uchar  ,
size_t   ,
ID3_TimeStampFormat   ,
const char *   ,
const char *   ,
bool    = false
 

Definition at line 1041 of file misc_support.cpp.

References ID3_AddSyncLyrics(), ID3_TimeStampFormat, ID3CT_LYRICS, and uchar.

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics ID3_Tag  ,
const uchar  ,
size_t   ,
ID3_TimeStampFormat   ,
const char *   ,
bool    = false
 

Definition at line 1034 of file misc_support.cpp.

References ID3_AddSyncLyrics(), ID3_TimeStampFormat, and uchar.

ID3_C_EXPORT ID3_Frame* ID3_AddSyncLyrics ID3_Tag  ,
const uchar  ,
size_t   ,
ID3_TimeStampFormat   ,
bool    = false
 

Definition at line 1028 of file misc_support.cpp.

References ID3_AddSyncLyrics(), ID3_TimeStampFormat, and uchar.

ID3_C_EXPORT ID3_Frame* ID3_AddTitle ID3_Tag  ,
const char *   ,
bool    replace = false
 

Definition at line 231 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveTitles(), ID3FID_TITLE, ID3FN_TEXT, and NULL.

ID3_C_EXPORT ID3_Frame* ID3_AddTrack ID3_Tag  ,
uchar    ucTrack,
uchar    ucTotal = 0,
bool    replace = false
 

Definition at line 493 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveTracks(), ID3FID_TRACKNUM, ID3FN_TEXT, luint, NULL, and uchar.

ID3_C_EXPORT ID3_Frame* ID3_AddYear ID3_Tag  ,
const char *   ,
bool    replace = false
 

Definition at line 290 of file misc_support.cpp.

References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_RemoveYears(), ID3FID_YEAR, ID3FN_TEXT, and NULL.

ID3_C_EXPORT void ID3_FreeString char *    str
 

Definition at line 67 of file misc_support.cpp.

References NULL.

ID3_C_EXPORT char* ID3_GetAlbum const ID3_Tag  
 

Definition at line 156 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_ALBUM, ID3FN_TEXT, and NULL.

ID3_C_EXPORT char* ID3_GetArtist const ID3_Tag  
 

Definition at line 73 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_BAND, ID3FID_COMPOSER, ID3FID_CONDUCTOR, ID3FID_LEADARTIST, ID3FN_TEXT, and NULL.

ID3_C_EXPORT char* ID3_GetComment const ID3_Tag  ,
const char *    desc = NULL
 

Definition at line 333 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, ID3FN_TEXT, NULL, and STR_V1_COMMENT_DESC.

ID3_C_EXPORT char* ID3_GetDescriptionOfPicType ID3_Tag  ,
ID3_PictureType    pictype
 

Definition at line 745 of file misc_support.cpp.

References ID3_Tag::CreateIterator(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3_PictureType, ID3FID_PICTURE, ID3FN_DESCRIPTION, ID3FN_PICTURETYPE, and NULL.

ID3_C_EXPORT char* ID3_GetGenre const ID3_Tag  
 

Definition at line 792 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_CONTENTTYPE, ID3FN_TEXT, and NULL.

Referenced by ID3_GetGenreNum().

ID3_C_EXPORT size_t ID3_GetGenreNum const ID3_Tag  
 

Definition at line 809 of file misc_support.cpp.

References ID3_GetGenre(), min, and NULL.

ID3_C_EXPORT char* ID3_GetLyricist const ID3_Tag  
 

Definition at line 969 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_LYRICIST, ID3FN_TEXT, and NULL.

ID3_C_EXPORT char* ID3_GetLyrics const ID3_Tag  
 

Definition at line 896 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_UNSYNCEDLYRICS, ID3FN_TEXT, and NULL.

ID3_C_EXPORT char* ID3_GetMimeTypeOfPicType ID3_Tag  ,
ID3_PictureType    pictype
 

Definition at line 718 of file misc_support.cpp.

References ID3_Tag::CreateIterator(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3_PictureType, ID3FID_PICTURE, ID3FN_MIMETYPE, ID3FN_PICTURETYPE, and NULL.

ID3_C_EXPORT int ID3_GetPictureData const ID3_Tag  ,
const char *    TempPicPath
 

Definition at line 531 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_PICTURE, ID3FN_DATA, NULL, ID3_Field::Size(), and ID3_Field::ToFile().

ID3_C_EXPORT size_t ID3_GetPictureDataOfPicType ID3_Tag  ,
const char *    TempPicPath,
ID3_PictureType    pictype
 

Definition at line 684 of file misc_support.cpp.

References ID3_Tag::CreateIterator(), ID3_Tag::Iterator::GetNext(), ID3_PictureType, ID3FID_PICTURE, ID3FN_DATA, ID3FN_PICTURETYPE, NULL, ID3_Field::Size(), and ID3_Field::ToFile().

ID3_C_EXPORT char* ID3_GetPictureMimeType const ID3_Tag  
 

Definition at line 554 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_PICTURE, ID3FN_MIMETYPE, and NULL.

ID3_C_EXPORT char* ID3_GetString const ID3_Frame  ,
ID3_FieldID   ,
size_t    nItems
 

Definition at line 55 of file misc_support.cpp.

References ID3_FieldID, and NULL.

Referenced by ID3_AddComment(), ID3_GetAlbum(), ID3_GetArtist(), ID3_GetComment(), ID3_GetDescriptionOfPicType(), ID3_GetGenre(), ID3_GetLyricist(), ID3_GetLyrics(), ID3_GetMimeTypeOfPicType(), ID3_GetPictureMimeType(), ID3_GetTitle(), ID3_GetTrack(), ID3_GetYear(), and ID3_RemoveComments().

ID3_C_EXPORT char* ID3_GetString const ID3_Frame  ,
ID3_FieldID   
 

Definition at line 37 of file misc_support.cpp.

References ID3_Field::Get(), ID3_Field::GetEncoding(), ID3_FieldID, ID3_TextEnc, ID3TE_ISO8859_1, NULL, ID3_Field::SetEncoding(), and ID3_Field::Size().

ID3_C_EXPORT ID3_Frame* ID3_GetSyncLyrics const ID3_Tag   tag,
const char *    lang,
const char *    desc,
const uchar *&    pData,
size_t &    size
 

Definition at line 1137 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_SYNCEDLYRICS, ID3FN_DATA, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, min, NULL, and uchar.

ID3_C_EXPORT ID3_Frame* ID3_GetSyncLyricsInfo const ID3_Tag   tag,
const char *    lang,
const char *    desc,
char &    stampformat,
char &    type,
size_t &    size
 

ID3_C_EXPORT char* ID3_GetTitle const ID3_Tag  
 

Definition at line 215 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_TITLE, ID3FN_TEXT, and NULL.

ID3_C_EXPORT char* ID3_GetTrack const ID3_Tag  
 

Definition at line 465 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_TRACKNUM, ID3FN_TEXT, and NULL.

Referenced by ID3_GetTrackNum().

ID3_C_EXPORT size_t ID3_GetTrackNum const ID3_Tag  
 

Definition at line 481 of file misc_support.cpp.

References ID3_GetTrack(), and NULL.

ID3_C_EXPORT char* ID3_GetYear const ID3_Tag  
 

Definition at line 274 of file misc_support.cpp.

References ID3_Tag::Find(), ID3_GetString(), ID3FID_YEAR, ID3FN_TEXT, and NULL.

ID3_C_EXPORT bool ID3_HasPicture const ID3_Tag  
 

Definition at line 570 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_PICTURE, ID3FN_DATA, and NULL.

ID3_C_EXPORT size_t ID3_RemoveAlbums ID3_Tag  
 

Definition at line 195 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_ALBUM, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddAlbum().

ID3_C_EXPORT size_t ID3_RemoveArtists ID3_Tag  
 

Definition at line 118 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_BAND, ID3FID_COMPOSER, ID3FID_CONDUCTOR, ID3FID_LEADARTIST, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddArtist().

ID3_C_EXPORT size_t ID3_RemoveComments ID3_Tag  ,
const char *    = NULL
 

Definition at line 423 of file misc_support.cpp.

References ID3_Tag::CreateIterator(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddComment().

ID3_C_EXPORT size_t ID3_RemoveGenres ID3_Tag  
 

Definition at line 876 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_CONTENTTYPE, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddGenre().

ID3_C_EXPORT size_t ID3_RemoveLyricist ID3_Tag  
 

Definition at line 1008 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_LYRICIST, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddLyricist().

ID3_C_EXPORT size_t ID3_RemoveLyrics ID3_Tag  
 

Definition at line 949 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_UNSYNCEDLYRICS, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddLyrics().

ID3_C_EXPORT size_t ID3_RemovePictures ID3_Tag  
 

Definition at line 612 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_PICTURE, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddPicture().

ID3_C_EXPORT size_t ID3_RemovePictureType ID3_Tag  ,
ID3_PictureType    pictype
 

Definition at line 630 of file misc_support.cpp.

References ID3_Tag::CreateIterator(), ID3_Tag::Iterator::GetNext(), ID3_PictureType, ID3FID_PICTURE, ID3FN_PICTURETYPE, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddPicture().

ID3_C_EXPORT size_t ID3_RemoveTitles ID3_Tag  
 

Definition at line 254 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_TITLE, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddTitle().

ID3_C_EXPORT size_t ID3_RemoveTracks ID3_Tag  
 

Definition at line 772 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_TRACKNUM, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddTrack().

ID3_C_EXPORT size_t ID3_RemoveYears ID3_Tag  
 

Definition at line 313 of file misc_support.cpp.

References ID3_Tag::Find(), ID3FID_YEAR, NULL, and ID3_Tag::RemoveFrame().

Referenced by ID3_AddYear().


Generated on Thu Jan 23 04:46:18 2003 for id3lib by doxygen1.2.18