tag_processor Namespace Reference


Functions

void write_id3v1 (const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
 Strips all recognized tags from the file and writes an ID3v1 tag with specified info.
void write_apev2 (const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
 Strips all recognized tags from the file and writes an APEv2 tag with specified info.
void write_apev2_id3v1 (const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
 Strips all recognized tags from the file and writes ID3v1+APEv2 tags with specified info.
void write_id3v2 (const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
 Strips all recognized tags from the file and writes an ID3v2 tag with specified info.
void write_id3v2_id3v1 (const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort)
 Strips all recognized tags from the file and writes ID3v1+ID3v2 tags with specified info.
void write_multi (const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort, bool p_write_id3v1, bool p_write_id3v2, bool p_write_apev2)
 Strips all recognized tags from the file and writes new tags with specified info according to parameters.
void write_multi_ex (tag_write_callback &p_callback, const service_ptr_t< file > &p_file, const file_info &p_info, abort_callback &p_abort, bool p_write_id3v1, bool p_write_id3v2, bool p_write_apev2)
 Strips all recognized tags from the file and writes new tags with specified info according to parameters. Extended to allow write-tags-to-temp-file-and-swap scheme.
void remove_trailing (const service_ptr_t< file > &p_file, abort_callback &p_abort)
 Removes trailing tags from the file.
void remove_id3v2 (const service_ptr_t< file > &p_file, abort_callback &p_abort)
 Removes ID3v2 tags from the file.
void remove_id3v2_trailing (const service_ptr_t< file > &p_file, abort_callback &p_abort)
 Removes ID3v2 and trailing tags from specified file (not to be confused with trailing ID3v2 which are not yet supported).
void read_trailing (const service_ptr_t< file > &p_file, file_info &p_info, abort_callback &p_abort)
 Reads trailing tags from the file.
void read_trailing_ex (const service_ptr_t< file > &p_file, file_info &p_info, t_filesize &p_tagoffset, abort_callback &p_abort)
 Reads trailing tags from the file. Extended version, returns offset at which parsed tags start.
void read_id3v2 (const service_ptr_t< file > &p_file, file_info &p_info, abort_callback &p_abort)
 Reads ID3v2 tags from specified file.
void read_id3v2_trailing (const service_ptr_t< file > &p_file, file_info &p_info, abort_callback &p_abort)
 Reads ID3v2 and trailing tags from specified file (not to be confused with trailing ID3v2 which are not yet supported).
void skip_id3v2 (const service_ptr_t< file > &p_file, t_filesize &p_size_skipped, abort_callback &p_abort)
bool is_id3v1_sufficient (const file_info &p_info)
void truncate_to_id3v1 (file_info &p_info)


Function Documentation

bool tag_processor::is_id3v1_sufficient ( const file_info p_info  ) 

void tag_processor::read_id3v2 ( const service_ptr_t< file > &  p_file,
file_info p_info,
abort_callback &  p_abort 
)

Reads ID3v2 tags from specified file.

void tag_processor::read_id3v2_trailing ( const service_ptr_t< file > &  p_file,
file_info p_info,
abort_callback &  p_abort 
)

Reads ID3v2 and trailing tags from specified file (not to be confused with trailing ID3v2 which are not yet supported).

void tag_processor::read_trailing ( const service_ptr_t< file > &  p_file,
file_info p_info,
abort_callback &  p_abort 
)

Reads trailing tags from the file.

void tag_processor::read_trailing_ex ( const service_ptr_t< file > &  p_file,
file_info p_info,
t_filesize &  p_tagoffset,
abort_callback &  p_abort 
)

Reads trailing tags from the file. Extended version, returns offset at which parsed tags start.

void tag_processor::remove_id3v2 ( const service_ptr_t< file > &  p_file,
abort_callback &  p_abort 
)

Removes ID3v2 tags from the file.

void tag_processor::remove_id3v2_trailing ( const service_ptr_t< file > &  p_file,
abort_callback &  p_abort 
)

Removes ID3v2 and trailing tags from specified file (not to be confused with trailing ID3v2 which are not yet supported).

void tag_processor::remove_trailing ( const service_ptr_t< file > &  p_file,
abort_callback &  p_abort 
)

Removes trailing tags from the file.

void tag_processor::skip_id3v2 ( const service_ptr_t< file > &  p_file,
t_filesize &  p_size_skipped,
abort_callback &  p_abort 
)

void tag_processor::truncate_to_id3v1 ( file_info p_info  ) 

void tag_processor::write_apev2 ( const service_ptr_t< file > &  p_file,
const file_info p_info,
abort_callback &  p_abort 
)

Strips all recognized tags from the file and writes an APEv2 tag with specified info.

void tag_processor::write_apev2_id3v1 ( const service_ptr_t< file > &  p_file,
const file_info p_info,
abort_callback &  p_abort 
)

Strips all recognized tags from the file and writes ID3v1+APEv2 tags with specified info.

void tag_processor::write_id3v1 ( const service_ptr_t< file > &  p_file,
const file_info p_info,
abort_callback &  p_abort 
)

Strips all recognized tags from the file and writes an ID3v1 tag with specified info.

void tag_processor::write_id3v2 ( const service_ptr_t< file > &  p_file,
const file_info p_info,
abort_callback &  p_abort 
)

Strips all recognized tags from the file and writes an ID3v2 tag with specified info.

void tag_processor::write_id3v2_id3v1 ( const service_ptr_t< file > &  p_file,
const file_info p_info,
abort_callback &  p_abort 
)

Strips all recognized tags from the file and writes ID3v1+ID3v2 tags with specified info.

void tag_processor::write_multi ( const service_ptr_t< file > &  p_file,
const file_info p_info,
abort_callback &  p_abort,
bool  p_write_id3v1,
bool  p_write_id3v2,
bool  p_write_apev2 
)

Strips all recognized tags from the file and writes new tags with specified info according to parameters.

void tag_processor::write_multi_ex ( tag_write_callback p_callback,
const service_ptr_t< file > &  p_file,
const file_info p_info,
abort_callback &  p_abort,
bool  p_write_id3v1,
bool  p_write_id3v2,
bool  p_write_apev2 
)

Strips all recognized tags from the file and writes new tags with specified info according to parameters. Extended to allow write-tags-to-temp-file-and-swap scheme.


Generated on Fri Apr 18 13:57:05 2008 for foobar2000 SDK by  doxygen 1.5.5