TagLib API Documentation

TagLib::ID3v2::ExtendedHeader Class Reference

ID3v2 extended header implementation. More...

#include <id3v2extendedheader.h>

List of all members.

Public Member Functions

 ExtendedHeader ()
virtual ~ExtendedHeader ()
uint size () const
void setData (const ByteVector &data)

Protected Member Functions

void parse (const ByteVector &data)


Detailed Description

ID3v2 extended header implementation.

This class implements ID3v2 extended headers. It attempts to follow, both semantically and programatically, the structure specified in the ID3v2 standard. The API is based on the properties of ID3v2 extended headers specified there. If any of the terms used in this documentation are unclear please check the specification in the linked section. (Structure, 3.2)

Definition at line 43 of file id3v2extendedheader.h.


Constructor & Destructor Documentation

TagLib::ID3v2::ExtendedHeader::ExtendedHeader  ) 
 

Constructs an empty ID3v2 extended header.

virtual TagLib::ID3v2::ExtendedHeader::~ExtendedHeader  )  [virtual]
 

Destroys the extended header.


Member Function Documentation

uint TagLib::ID3v2::ExtendedHeader::size  )  const
 

Returns the size of the extended header. This is variable for the extended header.

void TagLib::ID3v2::ExtendedHeader::setData const ByteVector data  ) 
 

Sets the data that will be used as the extended header. Since the length is not known before the extended header has been parsed, this should just be a pointer to the first byte of the extended header. It will determine the length internally and make that available through size().

void TagLib::ID3v2::ExtendedHeader::parse const ByteVector data  )  [protected]
 

Called by setData() to parse the extended header data. It makes this information available through the public API.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for TagLib Version 1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jan 22 05:44:22 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2003