dami::id3::v2 Namespace Reference


Functions

bool parse (ID3_TagImpl &tag, ID3_Reader &rdr)
void render (ID3_Writer &writer, const ID3_TagImpl &tag)
ID3_C_EXPORT String getString (const ID3_Frame *, ID3_FieldID)
ID3_C_EXPORT String getStringAtIndex (const ID3_Frame *, ID3_FieldID, size_t)
ID3_C_EXPORT String getFrameText (const ID3_TagImpl &, ID3_FrameID)
ID3_C_EXPORT ID3_FramesetFrameText (ID3_TagImpl &, ID3_FrameID, String)
ID3_C_EXPORT size_t removeFrames (ID3_TagImpl &, ID3_FrameID)
ID3_C_EXPORT ID3_FramehasArtist (const ID3_TagImpl &)
ID3_C_EXPORT String getArtist (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetArtist (ID3_TagImpl &, String)
ID3_C_EXPORT size_t removeArtists (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasAlbum (const ID3_TagImpl &)
ID3_C_EXPORT String getAlbum (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetAlbum (ID3_TagImpl &, String)
ID3_C_EXPORT size_t removeAlbums (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasTitle (const ID3_TagImpl &)
ID3_C_EXPORT String getTitle (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetTitle (ID3_TagImpl &, String)
ID3_C_EXPORT size_t removeTitles (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasYear (const ID3_TagImpl &)
ID3_C_EXPORT String getYear (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetYear (ID3_TagImpl &, String)
ID3_C_EXPORT size_t removeYears (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasV1Comment (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasComment (const ID3_TagImpl &)
ID3_C_EXPORT String getComment (const ID3_TagImpl &, String desc)
ID3_C_EXPORT String getV1Comment (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetComment (ID3_TagImpl &, String, String, String)
ID3_C_EXPORT size_t removeComments (ID3_TagImpl &, String)
ID3_C_EXPORT size_t removeAllComments (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasTrack (const ID3_TagImpl &)
ID3_C_EXPORT String getTrack (const ID3_TagImpl &)
ID3_C_EXPORT size_t getTrackNum (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetTrack (ID3_TagImpl &, uchar ucTrack, uchar ucTotal)
ID3_C_EXPORT size_t removeTracks (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasGenre (const ID3_TagImpl &)
ID3_C_EXPORT String getGenre (const ID3_TagImpl &)
ID3_C_EXPORT size_t getGenreNum (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetGenre (ID3_TagImpl &, size_t ucGenre)
ID3_C_EXPORT size_t removeGenres (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasLyrics (const ID3_TagImpl &)
ID3_C_EXPORT String getLyrics (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetLyrics (ID3_TagImpl &, String, String, String)
ID3_C_EXPORT size_t removeLyrics (ID3_TagImpl &)
ID3_C_EXPORT String getLyricist (const ID3_TagImpl &)
ID3_C_EXPORT ID3_FramesetLyricist (ID3_TagImpl &, String)
ID3_C_EXPORT size_t removeLyricists (ID3_TagImpl &)
ID3_C_EXPORT ID3_FramehasSyncLyrics (const ID3_TagImpl &, String lang, String desc)
ID3_C_EXPORT ID3_FramesetSyncLyrics (ID3_TagImpl &, BString, ID3_TimeStampFormat, String, String, ID3_ContentType)
ID3_C_EXPORT BString getSyncLyrics (const ID3_TagImpl &tag, String lang, String desc)


Function Documentation

String dami::id3::v2::getAlbum const ID3_TagImpl  ) 
 

Definition at line 165 of file helpers.cpp.

References getFrameText(), and ID3FID_ALBUM.

Referenced by dami::id3::v1::render().

String dami::id3::v2::getArtist const ID3_TagImpl  ) 
 

Definition at line 130 of file helpers.cpp.

References getString(), hasArtist(), and ID3FN_TEXT.

Referenced by dami::id3::v1::render().

String dami::id3::v2::getComment const ID3_TagImpl ,
String  desc
 

Definition at line 252 of file helpers.cpp.

References ID3_TagImpl::Find(), getString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, and ID3FN_TEXT.

String dami::id3::v2::getFrameText const ID3_TagImpl ,
ID3_FrameID 
 

Definition at line 99 of file helpers.cpp.

References ID3_TagImpl::Find(), getString(), and ID3FN_TEXT.

Referenced by getAlbum(), getGenre(), getLyricist(), getLyrics(), getTitle(), getTrack(), and getYear().

String dami::id3::v2::getGenre const ID3_TagImpl  ) 
 

Definition at line 383 of file helpers.cpp.

References getFrameText(), and ID3FID_CONTENTTYPE.

Referenced by getGenreNum().

size_t dami::id3::v2::getGenreNum const ID3_TagImpl  ) 
 

Definition at line 388 of file helpers.cpp.

References getGenre(), and dami::min().

Referenced by dami::id3::v1::render().

String dami::id3::v2::getLyricist const ID3_TagImpl  ) 
 

Definition at line 478 of file helpers.cpp.

References getFrameText(), and ID3FID_LYRICIST.

String dami::id3::v2::getLyrics const ID3_TagImpl  ) 
 

Definition at line 434 of file helpers.cpp.

References getFrameText(), and ID3FID_UNSYNCEDLYRICS.

String dami::id3::v2::getString const ID3_Frame ,
ID3_FieldID 
 

Definition at line 43 of file helpers.cpp.

References ID3_Field::GetEncoding(), ID3_Field::GetRawText(), ID3TE_ASCII, ID3_Field::SetEncoding(), and ID3_Field::Size().

Referenced by getArtist(), getComment(), getFrameText(), getV1Comment(), removeComments(), setComment(), and setLyrics().

String dami::id3::v2::getStringAtIndex const ID3_Frame ,
ID3_FieldID  ,
size_t 
 

Definition at line 63 of file helpers.cpp.

References ID3_Field::GetEncoding(), ID3_Field::GetNumTextItems(), ID3_Field::GetRawTextItem(), ID3TE_ASCII, and ID3_Field::SetEncoding().

BString dami::id3::v2::getSyncLyrics const ID3_TagImpl tag,
String  lang,
String  desc
 

Definition at line 527 of file helpers.cpp.

References ID3_TagImpl::Find(), ID3_Field::GetRawBinary(), ID3FID_SYNCEDLYRICS, ID3FN_DATA, NULL, and ID3_Field::Size().

String dami::id3::v2::getTitle const ID3_TagImpl  ) 
 

Definition at line 188 of file helpers.cpp.

References getFrameText(), and ID3FID_TITLE.

Referenced by dami::id3::v1::render().

String dami::id3::v2::getTrack const ID3_TagImpl  ) 
 

Definition at line 345 of file helpers.cpp.

References getFrameText(), and ID3FID_TRACKNUM.

Referenced by getTrackNum().

size_t dami::id3::v2::getTrackNum const ID3_TagImpl  ) 
 

Definition at line 350 of file helpers.cpp.

References getTrack().

Referenced by dami::id3::v1::render().

String dami::id3::v2::getV1Comment const ID3_TagImpl  ) 
 

Definition at line 243 of file helpers.cpp.

References ID3_TagImpl::Find(), getString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, ID3FN_TEXT, and STR_V1_COMMENT_DESC.

Referenced by dami::id3::v1::render().

String dami::id3::v2::getYear const ID3_TagImpl  ) 
 

Definition at line 211 of file helpers.cpp.

References getFrameText(), and ID3FID_YEAR.

Referenced by dami::id3::v1::render().

ID3_Frame * dami::id3::v2::hasAlbum const ID3_TagImpl  ) 
 

Definition at line 159 of file helpers.cpp.

References ID3_TagImpl::Find(), and ID3FID_ALBUM.

ID3_Frame * dami::id3::v2::hasArtist const ID3_TagImpl  ) 
 

Definition at line 120 of file helpers.cpp.

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

Referenced by getArtist(), and removeArtists().

ID3_Frame * dami::id3::v2::hasComment const ID3_TagImpl  ) 
 

Definition at line 237 of file helpers.cpp.

References ID3_TagImpl::Find(), and ID3FID_COMMENT.

ID3_Frame * dami::id3::v2::hasGenre const ID3_TagImpl  ) 
 

Definition at line 377 of file helpers.cpp.

References ID3_TagImpl::Find(), and ID3FID_CONTENTTYPE.

ID3_Frame * dami::id3::v2::hasLyrics const ID3_TagImpl  ) 
 

Definition at line 428 of file helpers.cpp.

References ID3_TagImpl::Find(), and ID3FID_UNSYNCEDLYRICS.

ID3_Frame * dami::id3::v2::hasSyncLyrics const ID3_TagImpl ,
String  lang,
String  desc
 

Definition at line 495 of file helpers.cpp.

References ID3_TagImpl::Find(), ID3FID_SYNCEDLYRICS, and NULL.

ID3_Frame * dami::id3::v2::hasTitle const ID3_TagImpl  ) 
 

Definition at line 182 of file helpers.cpp.

References ID3_TagImpl::Find(), and ID3FID_TITLE.

ID3_Frame * dami::id3::v2::hasTrack const ID3_TagImpl  ) 
 

Definition at line 339 of file helpers.cpp.

References ID3_TagImpl::Find(), and ID3FID_TRACKNUM.

ID3_Frame * dami::id3::v2::hasV1Comment const ID3_TagImpl  ) 
 

Definition at line 228 of file helpers.cpp.

References ID3_TagImpl::Find(), ID3FID_COMMENT, ID3FN_DESCRIPTION, NULL, and STR_V1_COMMENT_DESC.

ID3_Frame * dami::id3::v2::hasYear const ID3_TagImpl  ) 
 

Definition at line 205 of file helpers.cpp.

References ID3_TagImpl::Find(), and ID3FID_YEAR.

bool dami::id3::v2::parse ID3_TagImpl tag,
ID3_Reader rdr
 

Definition at line 137 of file tag_parse.cpp.

References ID3_Reader::getCur(), ID3_TagHeader::Parse(), and ID3_TagHeader::SIZE.

size_t dami::id3::v2::removeAlbums ID3_TagImpl  ) 
 

Definition at line 175 of file helpers.cpp.

References ID3FID_ALBUM, and removeFrames().

size_t dami::id3::v2::removeAllComments ID3_TagImpl  ) 
 

Definition at line 303 of file helpers.cpp.

References ID3FID_COMMENT, and removeFrames().

size_t dami::id3::v2::removeArtists ID3_TagImpl  ) 
 

Definition at line 142 of file helpers.cpp.

References hasArtist(), NULL, and ID3_TagImpl::RemoveFrame().

Referenced by setArtist().

size_t dami::id3::v2::removeComments ID3_TagImpl ,
String 
 

Definition at line 309 of file helpers.cpp.

References ID3_TagImpl::begin(), ID3_TagImpl::end(), getString(), ID3FID_COMMENT, NULL, and ID3_TagImpl::RemoveFrame().

size_t dami::id3::v2::removeFrames ID3_TagImpl ,
ID3_FrameID 
 

Definition at line 84 of file helpers.cpp.

References ID3_TagImpl::Find(), NULL, and ID3_TagImpl::RemoveFrame().

Referenced by removeAlbums(), removeAllComments(), removeGenres(), removeLyricists(), removeLyrics(), removeTitles(), removeTracks(), and removeYears().

size_t dami::id3::v2::removeGenres ID3_TagImpl  ) 
 

Definition at line 421 of file helpers.cpp.

References ID3FID_CONTENTTYPE, and removeFrames().

size_t dami::id3::v2::removeLyricists ID3_TagImpl  ) 
 

Definition at line 488 of file helpers.cpp.

References ID3FID_LYRICIST, and removeFrames().

size_t dami::id3::v2::removeLyrics ID3_TagImpl  ) 
 

Definition at line 473 of file helpers.cpp.

References ID3FID_UNSYNCEDLYRICS, and removeFrames().

size_t dami::id3::v2::removeTitles ID3_TagImpl  ) 
 

Definition at line 198 of file helpers.cpp.

References ID3FID_TITLE, and removeFrames().

size_t dami::id3::v2::removeTracks ID3_TagImpl  ) 
 

Definition at line 370 of file helpers.cpp.

References ID3FID_TRACKNUM, and removeFrames().

size_t dami::id3::v2::removeYears ID3_TagImpl  ) 
 

Definition at line 221 of file helpers.cpp.

References ID3FID_YEAR, and removeFrames().

void dami::id3::v2::render ID3_Writer writer,
const ID3_TagImpl tag
 

Definition at line 78 of file tag_render.cpp.

References ID3_TagImpl::NumFrames().

ID3_Frame * dami::id3::v2::setAlbum ID3_TagImpl ,
String 
 

Definition at line 170 of file helpers.cpp.

References ID3FID_ALBUM, and setFrameText().

ID3_Frame * dami::id3::v2::setArtist ID3_TagImpl ,
String 
 

Definition at line 136 of file helpers.cpp.

References ID3FID_LEADARTIST, removeArtists(), and setFrameText().

ID3_Frame * dami::id3::v2::setComment ID3_TagImpl ,
String  ,
String  ,
String 
 

Definition at line 258 of file helpers.cpp.

References ID3_TagImpl::begin(), ID3_TagImpl::end(), getString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, and NULL.

ID3_Frame * dami::id3::v2::setFrameText ID3_TagImpl ,
ID3_FrameID  ,
String 
 

Definition at line 105 of file helpers.cpp.

References ID3_TagImpl::AttachFrame(), ID3_TagImpl::Find(), ID3FN_TEXT, and NULL.

Referenced by setAlbum(), setArtist(), setGenre(), setLyricist(), setTitle(), setTrack(), and setYear().

ID3_Frame * dami::id3::v2::setGenre ID3_TagImpl ,
size_t  ucGenre
 

Definition at line 414 of file helpers.cpp.

References ID3FID_CONTENTTYPE, setFrameText(), and dami::toString().

ID3_Frame * dami::id3::v2::setLyricist ID3_TagImpl ,
String 
 

Definition at line 483 of file helpers.cpp.

References ID3FID_LYRICIST, and setFrameText().

ID3_Frame * dami::id3::v2::setLyrics ID3_TagImpl ,
String  ,
String  ,
String 
 

Definition at line 439 of file helpers.cpp.

References ID3_TagImpl::begin(), ID3_TagImpl::end(), getString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, and NULL.

ID3_Frame * dami::id3::v2::setSyncLyrics ID3_TagImpl ,
BString  ,
ID3_TimeStampFormat  ,
String  ,
String  ,
ID3_ContentType 
 

Definition at line 503 of file helpers.cpp.

References ID3_TagImpl::AttachFrame(), ID3_TagImpl::Find(), ID3FID_SYNCEDLYRICS, ID3FN_CONTENTTYPE, ID3FN_DATA, ID3FN_TIMESTAMPFORMAT, and NULL.

ID3_Frame * dami::id3::v2::setTitle ID3_TagImpl ,
String 
 

Definition at line 193 of file helpers.cpp.

References ID3FID_TITLE, and setFrameText().

ID3_Frame * dami::id3::v2::setTrack ID3_TagImpl ,
uchar  ucTrack,
uchar  ucTotal
 

Definition at line 356 of file helpers.cpp.

References ID3FID_TRACKNUM, NULL, setFrameText(), and dami::toString().

ID3_Frame * dami::id3::v2::setYear ID3_TagImpl ,
String 
 

Definition at line 216 of file helpers.cpp.

References ID3FID_YEAR, and setFrameText().


Generated on Thu Sep 13 15:53:12 2007 for id3lib by  doxygen 1.4.6