Namespaces | |
| namespace | id3 |
| namespace | lyr3 |
| namespace | mm |
Functions | |
| size_t | renderNumber (uchar *buffer, uint32 val, size_t size) |
| String | renderNumber (uint32 val, size_t size) |
| String | convert (String data, ID3_TextEnc sourceEnc, ID3_TextEnc targetEnc) |
| size_t | ucslen (const unicode_t *unicode) |
| ID3_Err | createFile (String name, fstream &file) |
| size_t | getFileSize (fstream &file) |
| size_t | getFileSize (ifstream &file) |
| size_t | getFileSize (ofstream &file) |
| ID3_Err | openWritableFile (String name, fstream &file) |
| ID3_Err | openWritableFile (String name, ofstream &file) |
| ID3_Err | openReadableFile (String name, fstream &file) |
| ID3_Err | openReadableFile (String name, ifstream &file) |
| String | toString (uint32 val) |
| WString | toWString (const unicode_t buf[], size_t len) |
| template<typename T> | |
| const T & | min (const T &a, const T &b) |
| template<typename T> | |
| const T & | max (const T &a, const T &b) |
| template<typename T> | |
| const T & | mid (const T &lo, const T &mid, const T &hi) |
| template<typename T> | |
| T | abs (const T &a) |
| String ID3_C_EXPORT dami::convert | ( | String | data, | |
| ID3_TextEnc | sourceEnc, | |||
| ID3_TextEnc | targetEnc | |||
| ) |
Definition at line 185 of file utils.cpp.
References oldconvert().
Referenced by ID3_FieldImpl::SetEncoding().
| ID3_Err ID3_C_EXPORT dami::createFile | ( | String | name, | |
| fstream & | file | |||
| ) |
Definition at line 240 of file utils.cpp.
References ID3E_NoError, and ID3E_ReadOnly.
Referenced by RenderV2ToFile(), and ID3_TagImpl::Update().
| size_t ID3_C_EXPORT dami::getFileSize | ( | ofstream & | file | ) |
Definition at line 282 of file utils.cpp.
Referenced by ID3_TagImpl::Strip(), and ID3_TagImpl::Update().
| const T& dami::max | ( | const T & | a, | |
| const T & | b | |||
| ) |
| const T& dami::mid | ( | const T & | lo, | |
| const T & | mid, | |||
| const T & | hi | |||
| ) |
| const T& dami::min | ( | const T & | a, | |
| const T & | b | |||
| ) |
Definition at line 51 of file utils.h.
Referenced by ID3_FieldImpl::Get(), dami::id3::v2::getGenreNum(), ID3_GetGenreNum(), ID3_GetSyncLyrics(), mid(), ID3_FieldImpl::Set(), and ID3_TagImpl::Strip().
| ID3_Err ID3_C_EXPORT dami::openReadableFile | ( | String | name, | |
| ifstream & | file | |||
| ) |
Definition at line 350 of file utils.cpp.
References ID3E_NoError, ID3E_NoFile, and NOCREATE.
Referenced by ID3_TagImpl::ParseFile().
| ID3_Err ID3_C_EXPORT dami::openReadableFile | ( | String | name, | |
| fstream & | file | |||
| ) |
| ID3_Err ID3_C_EXPORT dami::openWritableFile | ( | String | name, | |
| ofstream & | file | |||
| ) |
Definition at line 315 of file utils.cpp.
References ID3E_NoError, ID3E_NoFile, ID3E_ReadOnly, and NOCREATE.
Referenced by RenderV2ToFile(), ID3_TagImpl::Strip(), and ID3_TagImpl::Update().
| ID3_Err ID3_C_EXPORT dami::openWritableFile | ( | String | name, | |
| fstream & | file | |||
| ) |
Definition at line 295 of file utils.cpp.
References ID3E_NoError, ID3E_NoFile, ID3E_ReadOnly, and NOCREATE.
| String ID3_C_EXPORT dami::renderNumber | ( | uint32 | val, | |
| size_t | size = sizeof(uint32) | |||
| ) |
| size_t ID3_C_EXPORT dami::renderNumber | ( | uchar * | buffer, | |
| uint32 | val, | |||
| size_t | size = sizeof(uint32) | |||
| ) |
| String ID3_C_EXPORT dami::toString | ( | uint32 | val | ) |
Definition at line 365 of file utils.cpp.
Referenced by dami::mm::parse(), dami::id3::v2::setGenre(), and dami::id3::v2::setTrack().
| WString ID3_C_EXPORT dami::toWString | ( | const unicode_t | buf[], | |
| size_t | len | |||
| ) |
| size_t ID3_C_EXPORT dami::ucslen | ( | const unicode_t * | unicode | ) |
Definition at line 216 of file utils.cpp.
References NULL, and NULL_UNICODE.
Referenced by ID3_FieldImpl::Add(), ID3_Tag::Find(), ID3_FieldImpl::Get(), ID3_FieldImpl::GetRawUnicodeTextItem(), and ID3_FieldImpl::Set().
1.5.0