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

ID3_FrameHeader Class Reference

#include <header_frame.h>

Inheritance diagram for ID3_FrameHeader::

ID3_Header List of all members.

Public Types

enum  {
  TAGALTER = 1 << 15, FILEALTER = 1 << 14, READONLY = 1 << 13, COMPRESSION = 1 << 7,
  ENCRYPTION = 1 << 6, GROUPING = 1 << 5
}

Public Methods

 ID3_FrameHeader ()
virtual ~ID3_FrameHeader ()
size_t Size () const
bool Parse (ID3_Reader &)
void Render (ID3_Writer &) const
bool SetFrameID (ID3_FrameID id)
ID3_FrameID GetFrameID () const
const char* GetTextID () const
const ID3_FrameDefGetFrameDef () const
bool Clear ()
ID3_FrameHeader& operator= (const ID3_FrameHeader &)
bool SetCompression (bool b)
bool SetEncryption (bool b)
bool SetGrouping (bool b)
bool GetCompression () const
bool GetEncryption () const
bool GetGrouping () const
bool GetReadOnly () const

Protected Methods

bool SetFlags (uint16 f, bool b)
void SetUnknownFrame (const char *)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
TAGALTER  
FILEALTER  
READONLY  
COMPRESSION  
ENCRYPTION  
GROUPING  

Definition at line 40 of file header_frame.h.


Constructor & Destructor Documentation

ID3_FrameHeader::ID3_FrameHeader ( ) [inline]
 

Definition at line 50 of file header_frame.h.

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

Definition at line 51 of file header_frame.h.


Member Function Documentation

bool ID3_FrameHeader::Clear ( ) [virtual]
 

Reimplemented from ID3_Header.

Definition at line 231 of file header_frame.cpp.

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

bool ID3_FrameHeader::GetCompression ( ) const [inline]
 

Definition at line 67 of file header_frame.h.

Referenced by ID3_FrameImpl::GetCompression(), ID3_FrameImpl::Parse(), and ID3_FrameImpl::Render().

bool ID3_FrameHeader::GetEncryption ( ) const [inline]
 

Definition at line 68 of file header_frame.h.

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

const ID3_FrameDef * ID3_FrameHeader::GetFrameDef ( ) const
 

Definition at line 226 of file header_frame.cpp.

Referenced by ID3_FrameImpl::GetDescription(), and ID3_FrameImpl::_InitFields().

ID3_FrameID ID3_FrameHeader::GetFrameID ( ) const
 

Definition at line 215 of file header_frame.cpp.

Referenced by ID3_FrameImpl::GetID(), and SetFrameID().

bool ID3_FrameHeader::GetGrouping ( ) const [inline]
 

Definition at line 69 of file header_frame.h.

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

bool ID3_FrameHeader::GetReadOnly ( ) const [inline]
 

Definition at line 70 of file header_frame.h.

const char * ID3_FrameHeader::GetTextID ( ) const
 

Definition at line 169 of file header_frame.cpp.

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

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

Parameters:
reader  

Reimplemented from ID3_Header.

Definition at line 97 of file header_frame.cpp.

Referenced by ID3_FrameImpl::Parse().

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

Parameters:
writer  

Reimplemented from ID3_Header.

Definition at line 141 of file header_frame.cpp.

Referenced by ID3_FrameImpl::Render().

bool ID3_FrameHeader::SetCompression ( bool b ) [inline]
 

Parameters:
b  

Definition at line 63 of file header_frame.h.

Referenced by ID3_FrameImpl::Render(), and ID3_FrameImpl::SetCompression().

bool ID3_FrameHeader::SetEncryption ( bool b ) [inline]
 

Parameters:
b  

Definition at line 64 of file header_frame.h.

Referenced by ID3_FrameImpl::Render(), and ID3_FrameImpl::SetEncryptionID().

bool ID3_FrameHeader::SetFlags ( uint16 f,
bool b ) [inline, protected]
 

Parameters:
f  
b  

Definition at line 73 of file header_frame.h.

Referenced by SetCompression(), SetEncryption(), and SetGrouping().

bool ID3_FrameHeader::SetFrameID ( ID3_FrameID id )
 

Parameters:
id  

Definition at line 71 of file header_frame.cpp.

Referenced by Parse(), ID3_FrameImpl::Render(), and ID3_FrameImpl::_SetID().

bool ID3_FrameHeader::SetGrouping ( bool b ) [inline]
 

Parameters:
b  

Definition at line 65 of file header_frame.h.

Referenced by ID3_FrameImpl::Render(), and ID3_FrameImpl::SetGroupingID().

void ID3_FrameHeader::SetUnknownFrame ( const char * id ) [protected]
 

Parameters:
id  

Definition at line 44 of file header_frame.cpp.

Referenced by Parse().

size_t ID3_FrameHeader::Size ( ) const [virtual]
 

Reimplemented from ID3_Header.

Definition at line 85 of file header_frame.cpp.

Referenced by ID3_FrameImpl::Render(), and ID3_FrameImpl::Size().

ID3_FrameHeader & ID3_FrameHeader::operator= ( const ID3_FrameHeader & hdr )
 

Parameters:
hdr  

Definition at line 186 of file header_frame.cpp.


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