32#include <id3/id3lib_frame.h>
122 size_t Link(
const char *fileInfo,
bool parseID3v1,
bool parseLyrics3);
The representative class of an id3v2 frame.
virtual const ID3_Frame * GetNext()=0
virtual ID3_Frame * GetNext()=0
The representative class of an id3 tag.
void AddFrame(const ID3_Frame &)
bool SetExperimental(bool)
void SetCompression(bool)
Deprecated.
bool SetPadding(bool)
Turns padding on or off, dependant on the value of the boolean parameter.
flags_t Strip(flags_t=(flags_t) ID3TT_ALL)
Strips the tag(s) from the attached file.
bool HasLyrics() const
Deprecated.
bool HasV1Tag() const
Deprecated.
ID3_V2Spec GetSpec() const
Deprecated.
size_t Size() const
Returns an over estimate of the number of bytes required to store a binary version of a tag.
void Clear()
Clears the object and disassociates it from any files.
size_t GetAppendedBytes() const
flags_t Update(flags_t=(flags_t) ID3TT_ALL)
bool GetExperimental() const
void AddNewFrame(ID3_Frame *f)
Deprecated.
bool HasChanged() const
Indicates whether the tag has been altered since the last parse, render, or update.
ID3_Tag & operator=(const ID3_Tag &)
Deprecated.
const Mp3_Headerinfo * GetMp3HeaderInfo() const
Get's the mp3 Info like bitrate, mpeg version, etc.
size_t NumFrames() const
Returns the number of frames present in the tag object.
bool AttachFrame(ID3_Frame *)
Attaches a frame to the tag; the tag takes responsibility for releasing the frame's memory when tag g...
bool SetUnsync(bool)
Turns unsynchronization on or off, dependant on the value of the boolean parameter.
bool HasV2Tag() const
Deprecated.
size_t GetFileSize() const
size_t Render(uchar *, ID3_TagType=ID3TT_ID3V2) const
Renders the tag and writes it to the attached file; the type of tag rendered can be specified as a pa...
bool GetExtendedHeader() const
size_t Parse(const uchar *, size_t)
size_t GetPrependedBytes() const
bool SetExtendedHeader(bool)
Turns extended header rendering on or off, dependant on the value of the boolean parameter.
ID3_Frame * Find(ID3_FrameID) const
Finds frame with given frame id, fld id, and integer data.
size_t Link(const char *fileInfo, flags_t=(flags_t) ID3TT_ALL)
Attaches a file to the tag, parses the file, and adds any tag information found in the file to the ta...
static size_t IsV2Tag(const uchar *)
Analyses a buffer to determine if we have a valid ID3v2 tag header.
void AddFrames(const ID3_Frame *, size_t)
Copies an array of frames to the tag.
ID3_Tag & operator<<(const ID3_Frame &)
Iterator * CreateIterator()
bool SetSpec(ID3_V2Spec)
Deprecated.
ID3_Frame * RemoveFrame(const ID3_Frame *)
Removes a frame from the tag.
const char * GetFileName() const
bool HasTagType(ID3_TagType tt) const
Deprecated.
ID3_Tag(const char *name=NULL)
Default constructor; it can accept an optional filename as a parameter.
ID3_FieldID
Enumeration of the different types of fields in a frame.
ID3_TagType
The various types of tags that id3lib can handle.
@ ID3TT_ID3V2
Represents an id3v2 tag.
@ ID3TT_ALL
Represents all possible types of tags.
#define ID3_C_EXPORT
This file defines common macros, types, constants, and enums used throughout id3lib.
ID3_FrameID
Enumeration of the different types of frames recognized by id3lib.
#define ID3_TAGHEADERSIZE
int32 ID3_C_EXPORT ID3_IsTagHeader(const uchar header[ID3_TAGHEADERSIZE])