Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ID3_Header Class Reference

#include <header.h>

Inheritance diagram for ID3_Header::

ID3_FrameHeader ID3_TagHeader List of all members.

Public Methods

 ID3_Header ()
virtual ~ID3_Header ()
virtual bool SetSpec (ID3_V2Spec)
ID3_V2Spec GetSpec () const
bool SetDataSize (size_t size)
size_t GetDataSize () const
virtual bool Clear ()
virtual size_t Size () const=0
virtual void Render (ID3_Writer &) const=0
virtual bool Parse (ID3_Reader &)=0
ID3_Header& operator= (const ID3_Header &rhs)

Protected Attributes

ID3_V2Spec _spec
size_t _data_size
ID3_Flags _flags
const Info_info
bool _changed

Constructor & Destructor Documentation

ID3_Header::ID3_Header ( ) [inline]
 

Definition at line 50 of file header.h.

ID3_Header::~ID3_Header ( ) [inline, virtual]
 

Definition at line 58 of file header.h.


Member Function Documentation

bool ID3_Header::Clear ( ) [inline, virtual]
 

Reimplemented in ID3_FrameHeader.

Definition at line 72 of file header.h.

Referenced by ID3_TagImpl::Clear(), ID3_FrameHeader::Clear(), ID3_Header(), and ID3_FrameHeader::~ID3_FrameHeader().

size_t ID3_Header::GetDataSize ( ) const [inline]
 

Definition at line 70 of file header.h.

Referenced by ID3_FrameImpl::GetDataSize(), and ID3_FrameImpl::Parse().

ID3_V2Spec ID3_Header::GetSpec ( ) const [inline]
 

Definition at line 61 of file header.h.

Referenced by Clear(), ID3_TagImpl::GetSpec(), ID3_FrameImpl::GetSpec(), ID3_TagHeader::Parse(), and operator=().

bool ID3_Header::Parse ( ID3_Reader & reader ) [pure virtual]
 

Parameters:
reader  

Reimplemented in ID3_FrameHeader, and ID3_TagHeader.

void ID3_Header::Render ( ID3_Writer & writer ) const [pure virtual]
 

Parameters:
writer  

Reimplemented in ID3_FrameHeader, and ID3_TagHeader.

bool ID3_Header::SetDataSize ( size_t size ) [inline]
 

Parameters:
size  

Definition at line 63 of file header.h.

Referenced by Clear(), ID3_TagHeader::Parse(), ID3_FrameHeader::Parse(), ID3_FrameImpl::Render(), and operator=().

bool ID3_Header::SetSpec ( ID3_V2Spec spec ) [virtual]
 

Parameters:
spec  

Reimplemented in ID3_TagHeader.

Definition at line 42 of file header.cpp.

Referenced by Clear(), ID3_TagHeader::SetSpec(), ID3_FrameImpl::SetSpec(), and operator=().

size_t ID3_Header::Size ( ) const [pure virtual]
 

Reimplemented in ID3_FrameHeader, and ID3_TagHeader.

ID3_Header & ID3_Header::operator= ( const ID3_Header & rhs ) [inline]
 

Parameters:
rhs  

Definition at line 89 of file header.h.

Referenced by ID3_TagHeader::operator=(), and ID3_FrameHeader::operator=().


Member Data Documentation

bool ID3_Header::_changed [protected]
 

Definition at line 105 of file header.h.

size_t ID3_Header::_data_size [protected]
 

Definition at line 102 of file header.h.

ID3_Flags ID3_Header::_flags [protected]
 

Definition at line 103 of file header.h.

const Info * ID3_Header::_info [protected]
 

Definition at line 104 of file header.h.

ID3_V2Spec ID3_Header::_spec [protected]
 

Definition at line 101 of file header.h.


The documentation for this class was generated from the following files:
Generated at Sat Sep 8 15:51:12 2001 for id3lib by doxygen1.2.8 written by Dimitri van Heesch, © 1997-2001