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

ID3_TagHeader Class Reference

#include <header_tag.h>

Inheritance diagram for ID3_TagHeader::

ID3_Header List of all members.

Public Types

enum  { UNSYNC = 1 << 7, EXTENDED = 1 << 6, EXPERIMENTAL = 1 << 5 }
enum  {
  ID_SIZE = 3, MAJOR_OFFSET = 3, MINOR_OFFSET = 4, FLAGS_OFFSET = 5,
  SIZE_OFFSET = 6, SIZE = 10
}

Public Methods

 ID3_TagHeader ()
virtual ~ID3_TagHeader ()
 ID3_TagHeader (const ID3_TagHeader &rhs)
bool SetSpec (ID3_V2Spec)
size_t Size () const
void Render (ID3_Writer &) const
bool Parse (ID3_Reader &)
ID3_TagHeader& operator= (const ID3_TagHeader &hdr)
bool SetUnsync (bool b)
bool GetUnsync () const
bool SetExtended (bool b)
bool GetExtended () const
bool SetExperimental (bool b)
bool GetExperimental () const

Static Public Attributes

const char* const ID = "ID3"

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
UNSYNC  
EXTENDED  
EXPERIMENTAL  

Definition at line 37 of file header_tag.h.

anonymous enum
 

Enumeration values:
ID_SIZE  
MAJOR_OFFSET  
MINOR_OFFSET  
FLAGS_OFFSET  
SIZE_OFFSET  
SIZE  

Definition at line 83 of file header_tag.h.


Constructor & Destructor Documentation

ID3_TagHeader::ID3_TagHeader ( ) [inline]
 

Definition at line 44 of file header_tag.h.

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

Definition at line 45 of file header_tag.h.

ID3_TagHeader::ID3_TagHeader ( const ID3_TagHeader & rhs ) [inline]
 

Parameters:
rhs  

Definition at line 46 of file header_tag.h.


Member Function Documentation

bool ID3_TagHeader::GetExperimental ( ) const [inline]
 

Definition at line 75 of file header_tag.h.

Referenced by ID3_TagImpl::GetExperimental().

bool ID3_TagHeader::GetExtended ( ) const [inline]
 

Definition at line 68 of file header_tag.h.

Referenced by ID3_TagImpl::GetExtended().

bool ID3_TagHeader::GetUnsync ( ) const [inline]
 

Definition at line 61 of file header_tag.h.

Referenced by ID3_TagImpl::GetUnsync().

bool ID3_TagHeader::Parse ( ID3_Reader & reader ) [virtual]
 

Parameters:
reader  

Reimplemented from ID3_Header.

Definition at line 90 of file header_tag.cpp.

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

Parameters:
writer  

Reimplemented from ID3_Header.

Definition at line 72 of file header_tag.cpp.

bool ID3_TagHeader::SetExperimental ( bool b ) [inline]
 

Parameters:
b  

Definition at line 69 of file header_tag.h.

Referenced by ID3_TagImpl::SetExperimental().

bool ID3_TagHeader::SetExtended ( bool b ) [inline]
 

Parameters:
b  

Definition at line 62 of file header_tag.h.

Referenced by ID3_TagImpl::SetExtended().

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

Parameters:
spec  

Reimplemented from ID3_Header.

Definition at line 45 of file header_tag.cpp.

Referenced by ID3_TagImpl::Clear(), Parse(), ID3_TagImpl::SetSpec(), and ID3_TagImpl::Size().

bool ID3_TagHeader::SetUnsync ( bool b ) [inline]
 

Parameters:
b  

Definition at line 55 of file header_tag.h.

Referenced by ID3_TagImpl::SetUnsync().

size_t ID3_TagHeader::Size ( ) const [virtual]
 

Reimplemented from ID3_Header.

Definition at line 59 of file header_tag.cpp.

Referenced by ID3_TagImpl::Size().

ID3_TagHeader & ID3_TagHeader::operator= ( const ID3_TagHeader & hdr ) [inline]
 

Parameters:
hdr  

Definition at line 52 of file header_tag.h.


Member Data Documentation

const char *const ID3_TagHeader::ID = "ID3" [static]
 

Definition at line 82 of file header_tag.h.


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