id3lib  3.8.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
ID3_TagImpl Class Reference

#include <tag_impl.h>

Public Types

typedef Frames::iterator iterator
 
typedef Frames::const_iterator const_iterator
 

Public Member Functions

 ID3_TagImpl (const char *name=NULL)
 
 ID3_TagImpl (const ID3_Tag &tag)
 
virtual ~ID3_TagImpl ()
 
void Clear ()
 
bool HasChanged () const
 
void SetChanged (bool b)
 
size_t Size () const
 
bool SetUnsync (bool)
 
bool SetExtended (bool)
 
bool SetExperimental (bool)
 
bool SetPadding (bool)
 
bool GetUnsync () const
 
bool GetExtended () const
 
bool GetExperimental () const
 
bool GetFooter () const
 
size_t GetExtendedBytes () const
 
void AddFrame (const ID3_Frame &)
 
void AddFrame (const ID3_Frame *)
 
bool AttachFrame (ID3_Frame *)
 
ID3_FrameRemoveFrame (const ID3_Frame *)
 
size_t Link (const char *fileInfo, flags_t=(flags_t) ID3TT_ALL)
 
size_t Link (ID3_Reader &reader, flags_t=(flags_t) ID3TT_ALL)
 
flags_t Update (flags_t=(flags_t) ID3TT_ALL)
 
flags_t Strip (flags_t=(flags_t) ID3TT_ALL)
 
size_t GetPrependedBytes () const
 
size_t GetAppendedBytes () const
 
size_t GetFileSize () const
 
dami::String GetFileName () const
 
ID3_FrameFind (ID3_FrameID id) const
 
ID3_FrameFind (ID3_FrameID id, ID3_FieldID fld, uint32 data) const
 
ID3_FrameFind (ID3_FrameID id, ID3_FieldID fld, dami::String) const
 
ID3_FrameFind (ID3_FrameID id, ID3_FieldID fld, dami::WString) const
 
size_t NumFrames () const
 
ID3_TagImploperator= (const ID3_Tag &)
 
bool HasTagType (ID3_TagType tt) const
 
ID3_V2Spec GetSpec () const
 
bool SetSpec (ID3_V2Spec)
 
const Mp3_HeaderinfoGetMp3HeaderInfo () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void AddNewFrame (ID3_Frame *f)
 
size_t Link (const char *fileInfo, bool parseID3v1, bool parseLyrics3)
 
void SetCompression (bool)
 
void AddFrames (const ID3_Frame *, size_t)
 
bool HasLyrics () const
 
bool HasV2Tag () const
 
bool HasV1Tag () const
 
size_t PaddingSize (size_t) const
 

Static Public Member Functions

static size_t IsV2Tag (ID3_Reader &)
 

Protected Member Functions

const_iterator Find (const ID3_Frame *) const
 
iterator Find (const ID3_Frame *)
 
void RenderExtHeader (uchar *)
 
void ParseFile ()
 
void ParseReader (ID3_Reader &reader)
 

Detailed Description

Definition at line 73 of file tag_impl.h.

Member Typedef Documentation

◆ const_iterator

typedef Frames::const_iterator ID3_TagImpl::const_iterator

Definition at line 78 of file tag_impl.h.

◆ iterator

typedef Frames::iterator ID3_TagImpl::iterator

Definition at line 77 of file tag_impl.h.

Constructor & Destructor Documentation

◆ ID3_TagImpl() [1/2]

ID3_TagImpl::ID3_TagImpl ( const char *  name = NULL)

Definition at line 91 of file tag_impl.cpp.

◆ ID3_TagImpl() [2/2]

ID3_TagImpl::ID3_TagImpl ( const ID3_Tag tag)

Definition at line 108 of file tag_impl.cpp.

◆ ~ID3_TagImpl()

ID3_TagImpl::~ID3_TagImpl ( )
virtual

Definition at line 121 of file tag_impl.cpp.

Member Function Documentation

◆ AddFrame() [1/2]

void ID3_TagImpl::AddFrame ( const ID3_Frame frame)

Definition at line 153 of file tag_impl.cpp.

◆ AddFrame() [2/2]

void ID3_TagImpl::AddFrame ( const ID3_Frame frame)

Definition at line 158 of file tag_impl.cpp.

◆ AddFrames()

void ID3_TagImpl::AddFrames ( const ID3_Frame ,
size_t   
)

◆ AddNewFrame()

void ID3_TagImpl::AddNewFrame ( ID3_Frame f)
inline

Definition at line 138 of file tag_impl.h.

◆ AttachFrame()

bool ID3_TagImpl::AttachFrame ( ID3_Frame frame)

Definition at line 167 of file tag_impl.cpp.

◆ begin() [1/2]

iterator ID3_TagImpl::begin ( )
inline

Definition at line 132 of file tag_impl.h.

◆ begin() [2/2]

const_iterator ID3_TagImpl::begin ( ) const
inline

Definition at line 134 of file tag_impl.h.

◆ Clear()

void ID3_TagImpl::Clear ( )

Definition at line 126 of file tag_impl.cpp.

◆ end() [1/2]

iterator ID3_TagImpl::end ( )
inline

Definition at line 133 of file tag_impl.h.

◆ end() [2/2]

const_iterator ID3_TagImpl::end ( ) const
inline

Definition at line 135 of file tag_impl.h.

◆ Find() [1/6]

ID3_TagImpl::iterator ID3_TagImpl::Find ( const ID3_Frame frame)
protected

Definition at line 46 of file tag_find.cpp.

◆ Find() [2/6]

ID3_TagImpl::const_iterator ID3_TagImpl::Find ( const ID3_Frame frame) const
protected

Definition at line 31 of file tag_find.cpp.

◆ Find() [3/6]

ID3_Frame * ID3_TagImpl::Find ( ID3_FrameID  id) const

Definition at line 61 of file tag_find.cpp.

◆ Find() [4/6]

ID3_Frame* ID3_TagImpl::Find ( ID3_FrameID  id,
ID3_FieldID  fld,
dami::String   
) const

◆ Find() [5/6]

ID3_Frame* ID3_TagImpl::Find ( ID3_FrameID  id,
ID3_FieldID  fld,
dami::WString   
) const

◆ Find() [6/6]

ID3_Frame * ID3_TagImpl::Find ( ID3_FrameID  id,
ID3_FieldID  fld,
uint32  data 
) const

Definition at line 202 of file tag_find.cpp.

◆ GetAppendedBytes()

size_t ID3_TagImpl::GetAppendedBytes ( ) const
inline

Definition at line 112 of file tag_impl.h.

◆ GetExperimental()

bool ID3_TagImpl::GetExperimental ( ) const

Definition at line 268 of file tag_impl.cpp.

◆ GetExtended()

bool ID3_TagImpl::GetExtended ( ) const

Definition at line 263 of file tag_impl.cpp.

◆ GetExtendedBytes()

size_t ID3_TagImpl::GetExtendedBytes ( ) const

Definition at line 278 of file tag_impl.cpp.

◆ GetFileName()

dami::String ID3_TagImpl::GetFileName ( ) const
inline

Definition at line 114 of file tag_impl.h.

◆ GetFileSize()

size_t ID3_TagImpl::GetFileSize ( ) const
inline

Definition at line 113 of file tag_impl.h.

◆ GetFooter()

bool ID3_TagImpl::GetFooter ( ) const

Definition at line 273 of file tag_impl.cpp.

◆ GetMp3HeaderInfo()

const Mp3_Headerinfo* ID3_TagImpl::GetMp3HeaderInfo ( ) const
inline

Definition at line 130 of file tag_impl.h.

◆ GetPrependedBytes()

size_t ID3_TagImpl::GetPrependedBytes ( ) const
inline

Definition at line 111 of file tag_impl.h.

◆ GetSpec()

ID3_V2Spec ID3_TagImpl::GetSpec ( ) const

Definition at line 232 of file tag_impl.cpp.

◆ GetUnsync()

bool ID3_TagImpl::GetUnsync ( ) const

Definition at line 258 of file tag_impl.cpp.

◆ HasChanged()

bool ID3_TagImpl::HasChanged ( ) const

Definition at line 202 of file tag_impl.cpp.

◆ HasLyrics()

bool ID3_TagImpl::HasLyrics ( ) const
inline

Definition at line 142 of file tag_impl.h.

◆ HasTagType()

bool ID3_TagImpl::HasTagType ( ID3_TagType  tt) const
inline

Definition at line 124 of file tag_impl.h.

◆ HasV1Tag()

bool ID3_TagImpl::HasV1Tag ( ) const
inline

Definition at line 144 of file tag_impl.h.

◆ HasV2Tag()

bool ID3_TagImpl::HasV2Tag ( ) const
inline

Definition at line 143 of file tag_impl.h.

◆ IsV2Tag()

size_t ID3_TagImpl::IsV2Tag ( ID3_Reader reader)
static

Definition at line 38 of file tag_impl.cpp.

◆ Link() [1/3]

size_t ID3_TagImpl::Link ( const char *  fileInfo,
bool  parseID3v1,
bool  parseLyrics3 
)

Definition at line 117 of file tag_file.cpp.

◆ Link() [2/3]

size_t ID3_TagImpl::Link ( const char *  fileInfo,
flags_t  tag_types = (flags_tID3TT_ALL 
)

Definition at line 131 of file tag_file.cpp.

◆ Link() [3/3]

size_t ID3_TagImpl::Link ( ID3_Reader reader,
flags_t  tag_types = (flags_tID3TT_ALL 
)

Definition at line 149 of file tag_file.cpp.

◆ NumFrames()

size_t ID3_TagImpl::NumFrames ( ) const
inline

Definition at line 121 of file tag_impl.h.

◆ operator=()

ID3_TagImpl & ID3_TagImpl::operator= ( const ID3_Tag rTag)

Definition at line 305 of file tag_impl.cpp.

◆ PaddingSize()

size_t ID3_TagImpl::PaddingSize ( size_t  curSize) const

Definition at line 192 of file tag_render.cpp.

◆ ParseFile()

void ID3_TagImpl::ParseFile ( )
protected

Definition at line 205 of file tag_parse.cpp.

◆ ParseReader()

void ID3_TagImpl::ParseReader ( ID3_Reader reader)
protected

Definition at line 219 of file tag_parse.cpp.

◆ RemoveFrame()

ID3_Frame * ID3_TagImpl::RemoveFrame ( const ID3_Frame frame)

Definition at line 185 of file tag_impl.cpp.

◆ RenderExtHeader()

void ID3_TagImpl::RenderExtHeader ( uchar buffer)
protected

Definition at line 178 of file tag_render.cpp.

◆ SetChanged()

void ID3_TagImpl::SetChanged ( bool  b)
inline

Definition at line 86 of file tag_impl.h.

◆ SetCompression()

void ID3_TagImpl::SetCompression ( bool  )
inline

Definition at line 140 of file tag_impl.h.

◆ SetExperimental()

bool ID3_TagImpl::SetExperimental ( bool  exp)

Definition at line 251 of file tag_impl.cpp.

◆ SetExtended()

bool ID3_TagImpl::SetExtended ( bool  ext)

Definition at line 244 of file tag_impl.cpp.

◆ SetPadding()

bool ID3_TagImpl::SetPadding ( bool  pad)

Definition at line 291 of file tag_impl.cpp.

◆ SetSpec()

bool ID3_TagImpl::SetSpec ( ID3_V2Spec  spec)

Definition at line 225 of file tag_impl.cpp.

◆ SetUnsync()

bool ID3_TagImpl::SetUnsync ( bool  b)

Definition at line 237 of file tag_impl.cpp.

◆ Size()

size_t ID3_TagImpl::Size ( ) const

Definition at line 140 of file tag_render.cpp.

◆ Strip()

flags_t ID3_TagImpl::Strip ( flags_t  ulTagFlag = (flags_tID3TT_ALL)

Definition at line 371 of file tag_file.cpp.

◆ Update()

flags_t ID3_TagImpl::Update ( flags_t  ulTagFlag = (flags_tID3TT_ALL)

Definition at line 323 of file tag_file.cpp.


The documentation for this class was generated from the following files: