Go to the documentation of this file.
28 #include "id3/utils.h"
49 this->SetInteger(val);
74 return this->GetInteger();
89 ID3D_NOTICE(
"ID3_FieldImpl::ParseInteger(): beg = " << reader.
getBeg() );
90 ID3D_NOTICE(
"ID3_FieldImpl::ParseInteger(): cur = " << reader.
getCur() );
91 ID3D_NOTICE(
"ID3_FieldImpl::ParseInteger(): end = " << reader.
getEnd() );
96 size_t fixed = this->
Size();
97 size_t nBytes = (fixed > 0) ? fixed :
sizeof(uint32);
void RenderInteger(ID3_Writer &) const
virtual pos_type getCur()=0
Return the current position in the reader.
bool ParseInteger(ID3_Reader &)
ID3_C_EXPORT uint32 readBENumber(ID3_Reader &, size_t)
void Set(uint32)
Sets the value of the field to the specified integer.
virtual pos_type getEnd()
Return the ending position in the reader.
virtual pos_type getBeg()
Return the beginning position in the reader.
uint32 GetInteger() const
uint32 Get() const
Returns the value of the integer field.
ID3_C_EXPORT size_t writeBENumber(ID3_Writer &, uint32 val, size_t)