28 #if defined HAVE_CONFIG_H 59 ID3D_NOTICE(
"id3::v2::renderFields(): found encoding = " << enc );
75 if (!this->NumFields())
82 const size_t hdr_size = hdr.
Size();
89 if (!this->GetCompression())
91 renderFields(fldWriter, *
this);
92 origSize = flds.size();
93 ID3D_NOTICE (
"ID3_FrameImpl::Render(): uncompressed fields" );
98 renderFields(cr, *
this);
101 ID3D_NOTICE (
"ID3_FrameImpl::Render(): compressed fields, orig size = " <<
105 size_t fldSize = flds.size();
106 ID3D_NOTICE (
"ID3_FrameImpl::Render(): field size = " << fldSize );
116 uchar eID = this->GetEncryptionID(), gID = this->GetGroupingID();
120 const char *tid = this->GetTextID();
143 ID3D_NOTICE(
"ID3_FrameImpl::Render(): frame is compressed, wrote origSize = " << origSize );
148 ID3D_NOTICE(
"ID3_FrameImpl::Render(): frame is compressed, encryption id = " << eID );
153 ID3D_NOTICE(
"ID3_FrameImpl::Render(): frame is compressed, grouping id = " << gID );
void flush()
Flush the writer.
virtual size_type writeChars(const char_type buf[], size_type len)=0
Write up to len characters into buf and advance the internal position accordingly.
virtual bool InScope(ID3_V2Spec spec) const =0
ID3_FrameID
Enumeration of the different types of frames recognized by id3lib.
virtual bool SetEncoding(ID3_TextEnc enc)=0
virtual uint32 Get() const =0
Returns the value of the integer field.
ID3_TextEnc
Enumeration of the types of text encodings: ascii or unicode.
Text encoding (unicode or ASCII)
size_type getOrigSize() const
Fields::const_iterator const_iterator
ID3_C_EXPORT size_t writeBENumber(ID3_Writer &, uint32 val, size_t)
The representative class of an ID3v2 field.
virtual void Render(ID3_Writer &) const =0
virtual int_type writeChar(char_type ch)
Write a single character and advance the internal position.
ID3_V2Spec GetSpec() const
virtual ID3_FieldID GetID() const =0
void Render(ID3_Writer &) const