Go to the documentation of this file.
27 #if defined HAVE_CONFIG_H
77 for (
iterator fi = _fields.begin(); fi != _fields.end(); ++fi)
93 _encryption_id =
'\0';
104 _fields.push_back(fld);
105 _bitset.set(fld->
GetID());
113 _fields.push_back(fld);
114 _bitset.set(fld->
GetID());
123 bool changed = (this->
GetID() != id);
155 for (
const_iterator fi = _fields.begin(); fi != _fields.end(); ++fi)
157 if ((*fi)->GetID() == fieldName)
169 return _fields.size();
174 size_t bytesUsed = _hdr.
Size();
187 for (
iterator fi = _fields.begin(); fi != _fields.end(); ++fi)
189 if (*fi && (*fi)->InScope(this->GetSpec()))
197 (*fi)->SetEncoding(enc);
199 bytesUsed += (*fi)->BinSize();
209 bool changed = _changed;
211 for (
const_iterator fi = _fields.begin(); fi != _fields.end(); ++fi)
213 if (*fi && (*fi)->InScope(this->GetSpec()))
215 changed = (*fi)->HasChanged();
229 while (li != this->
end())
233 if (thisFld !=
NULL && thatFld !=
NULL)
251 if (myFrameDef !=
NULL)
virtual ID3_FieldID GetID() const =0
Iterator * CreateIterator()
ID3_FrameImpl & operator=(const ID3_Frame &)
The representative class of an ID3v2 field.
ID3_FrameID GetID() const
Returns the type of frame that the object represents.
ID3_V2Spec GetSpec() const
virtual const ID3_Field * GetNext()=0
ID3_FrameID
Enumeration of the different types of frames recognized by id3lib.
ID3_Field * GetField(ID3_FieldID name) const
uchar GetGroupingID() const
ID3_FieldID
Enumeration of the different types of fields in a frame.
bool SetGroupingID(uchar id)
The representative class of an id3v2 frame.
const char * GetDescription() const
ID3_V2Spec GetSpec() const
uchar GetGroupingID() const
uchar GetEncryptionID() const
bool SetID(ID3_FrameID id)
ID3_FrameImpl(ID3_FrameID id=ID3FID_NOFRAME)
static const ID3_FieldDef * DEFAULT
ID3_FrameID GetID() const
virtual ~ID3_FrameImpl()
Destructor.
uchar GetEncryptionID() const
Fields::const_iterator const_iterator
const ID3_FieldDef * aeFieldDefs
Fields::iterator iterator
bool SetCompression(bool b)
Sets the compression flag within the frame.
Text encoding (unicode or ASCII)
const char * sDescription
bool SetEncryptionID(uchar id)
bool Contains(ID3_FieldID fld) const
bool GetCompression() const
Returns whether or not the compression flag is set.
ID3_FrameDef * ID3_FindFrameDef(ID3_FrameID id)
Generated for id3lib by
1.8.16