#include <frame_impl.h>
Public Types | |
typedef Fields::iterator | iterator |
typedef Fields::const_iterator | const_iterator |
Public Methods | |
ID3_FrameImpl (ID3_FrameID id=ID3FID_NOFRAME) | |
ID3_FrameImpl (const ID3_FrameHeader &) | |
ID3_FrameImpl (const ID3_Frame &) | |
virtual | ~ID3_FrameImpl () |
Destructor. More... | |
void | Clear () |
bool | SetID (ID3_FrameID id) |
ID3_FrameID | GetID () const |
ID3_Field * | GetField (ID3_FieldID name) const |
size_t | NumFields () const |
const char * | GetDescription () const |
const char * | GetTextID () const |
ID3_FrameImpl & | operator= (const ID3_Frame &) |
bool | HasChanged () const |
bool | Parse (ID3_Reader &) |
void | Render (ID3_Writer &) const |
size_t | Size () |
bool | Contains (ID3_FieldID fld) const |
bool | SetSpec (ID3_V2Spec) |
ID3_V2Spec | GetSpec () const |
bool | SetCompression (bool b) |
Sets the compression flag within the frame. More... | |
bool | GetCompression () const |
Returns whether or not the compression flag is set. More... | |
size_t | GetDataSize () const |
bool | SetEncryptionID (uchar id) |
uchar | GetEncryptionID () const |
bool | SetGroupingID (uchar id) |
uchar | GetGroupingID () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
Static Public Methods | |
const char * | GetDescription (ID3_FrameID) |
Protected Methods | |
bool | _SetID (ID3_FrameID) |
bool | _ClearFields () |
void | _InitFields () |
void | _InitFieldBits () |
void | _UpdateFieldDeps () |
|
Definition at line 47 of file frame_impl.h. Referenced by begin, end, GetField, and HasChanged. |
|
Definition at line 46 of file frame_impl.h. Referenced by _ClearFields, begin, end, operator=, and Size. |
|
Definition at line 38 of file frame_impl.cpp. References ID3_FrameID, ID3V2_LATEST, SetID, and SetSpec. |
|
Definition at line 49 of file frame_impl.cpp. References _InitFields. |
|
Definition at line 60 of file frame_impl.cpp. |
|
Destructor.
Definition at line 70 of file frame_impl.cpp. References Clear. |
|
Definition at line 75 of file frame_impl.cpp. References iterator. |
|
|
|
Definition at line 97 of file frame_impl.cpp. References ID3_FieldDef::_id, ID3_FrameDef::aeFieldDefs, ID3_FieldDef::DEFAULT, ID3_FrameHeader::GetFrameDef, ID3_Field::GetID, ID3FN_NOFIELD, and NULL. Referenced by _SetID, ID3_FrameImpl, and Parse. |
|
Definition at line 132 of file frame_impl.cpp. References _ClearFields, _InitFields, ID3_FrameID, and ID3_FrameHeader::SetFrameID. Referenced by SetID. |
|
|
|
Definition at line 118 of file frame_impl.h. References const_iterator. |
|
Definition at line 116 of file frame_impl.h. References iterator. Referenced by operator=. |
|
Definition at line 89 of file frame_impl.cpp. References _ClearFields, and ID3_FrameHeader::Clear. Referenced by ID3_Frame::Clear, and ~ID3_FrameImpl. |
|
Definition at line 75 of file frame_impl.h. References ID3_FieldID. Referenced by ID3_Frame::Contains, and GetField. |
|
Definition at line 119 of file frame_impl.h. References const_iterator. |
|
Definition at line 117 of file frame_impl.h. References iterator. Referenced by operator=. |
|
Returns whether or not the compression flag is set. After parsing a tag, this will indicate whether or not the frame was compressed. After rendering a tag, however, it does not actually indicate if the frame is compressed rendering. It only indicates whether or not compression was attempted. A frame will not be compressed, even whent the compression flag is set, if the "compressed" data is no smaller than the "uncompressed" data. Definition at line 94 of file frame_impl.h. References ID3_FrameHeader::GetCompression. Referenced by ID3_Frame::GetCompression, and Render. |
|
Definition at line 95 of file frame_impl.h. References ID3_Header::GetDataSize. Referenced by ID3_Frame::GetDataSize. |
|
Definition at line 248 of file frame_impl.cpp. References ID3_FindFrameDef, ID3_FrameID, NULL, and ID3_FrameDef::sDescription. |
|
Definition at line 258 of file frame_impl.cpp. References ID3_FrameHeader::GetFrameDef, NULL, and ID3_FrameDef::sDescription. Referenced by ID3_Frame::GetDescription. |
|
Definition at line 105 of file frame_impl.h. References uchar. Referenced by ID3_Frame::GetEncryptionID, Render, and Size. |
|
Definition at line 150 of file frame_impl.cpp. References const_iterator, Contains, ID3_FieldID, and NULL. Referenced by ID3_Frame::GetField. |
|
Definition at line 114 of file frame_impl.h. References uchar. Referenced by ID3_Frame::GetGroupingID, Render, and Size. |
|
Definition at line 59 of file frame_impl.h. References ID3_FrameHeader::GetFrameID, and ID3_FrameID. Referenced by ID3_Frame::GetID, Render, and SetID. |
|
Definition at line 145 of file frame_impl.cpp. References ID3_Header::GetSpec, and ID3_V2Spec. Referenced by ID3_Frame::GetSpec. |
|
Definition at line 68 of file frame_impl.h. References ID3_FrameHeader::GetTextID. Referenced by ID3_Frame::GetTextID, and Render. |
|
Definition at line 207 of file frame_impl.cpp. References const_iterator. Referenced by ID3_Frame::HasChanged. |
|
Definition at line 167 of file frame_impl.cpp. Referenced by ID3_Frame::NumFields, and Render. |
|
Definition at line 223 of file frame_impl.cpp. References begin, ID3_Frame::CreateIterator, end, ID3_Frame::GetCompression, ID3_Frame::GetEncryptionID, ID3_Frame::GetGroupingID, ID3_Frame::GetID, ID3_Frame::ConstIterator::GetNext, ID3_Frame::GetSpec, ID3_FrameID, iterator, NULL, SetCompression, SetEncryptionID, SetGroupingID, SetID, and SetSpec. |
|
Definition at line 109 of file frame_parse.cpp. References _ClearFields, _InitFields, ID3_Reader::getBeg, ID3_FrameHeader::GetCompression, ID3_Reader::getCur, ID3_Header::GetDataSize, ID3_FrameHeader::GetEncryption, ID3_Reader::getEnd, ID3_FrameHeader::GetGrouping, ID3_FrameHeader::GetTextID, ID3_FrameHeader::Parse, ID3_Reader::pos_type, SetEncryptionID, and SetGroupingID. Referenced by ID3_Frame::Parse. |
|
|
Sets the compression flag within the frame. When the compression flag is is set, compression will be attempted. However, the frame might not actually be compressed after it is rendered if the "compressed" data is no smaller than the "uncompressed" data. Definition at line 85 of file frame_impl.h. References ID3_FrameHeader::SetCompression. Referenced by operator=, and ID3_Frame::SetCompression. |
|
Definition at line 97 of file frame_impl.h. References ID3_FrameHeader::SetEncryption, and uchar. Referenced by operator=, Parse, and ID3_Frame::SetEncryptionID. |
|
Definition at line 106 of file frame_impl.h. References ID3_FrameHeader::SetGrouping, and uchar. Referenced by operator=, Parse, and ID3_Frame::SetGroupingID. |
|
Definition at line 121 of file frame_impl.cpp. References _SetID, GetID, and ID3_FrameID. Referenced by ID3_FrameImpl, operator=, and ID3_Frame::SetID. |
|
Definition at line 140 of file frame_impl.cpp. References ID3_V2Spec, and ID3_Header::SetSpec. Referenced by ID3_FrameImpl, operator=, and ID3_Frame::SetSpec. |
|
Definition at line 172 of file frame_impl.cpp. References GetEncryptionID, GetGroupingID, ID3_TextEnc, ID3FN_TEXTENC, ID3TE_ASCII, iterator, and ID3_FrameHeader::Size. Referenced by ID3_Frame::Size. |