#include <file_info_impl.h>

Public Member Functions | |
| file_info_impl (const file_info_impl &p_source) | |
| file_info_impl (const file_info &p_source) | |
| file_info_impl () | |
| ~file_info_impl () | |
| double | get_length () const |
| Retrieves length, in seconds. | |
| void | set_length (double p_length) |
| Sets length, in seconds. | |
| void | copy_meta (const file_info &p_source) |
| Copies metadata from specified file_info object. | |
| void | copy_info (const file_info &p_source) |
| Copies technical info from specified file_info object. | |
| t_size | meta_get_count () const |
| Retrieves count of metadata entries. | |
| const char * | meta_enum_name (t_size p_index) const |
| Retrieves the name of metadata entry of specified index. Return value is a null-terminated UTF-8 encoded string. | |
| t_size | meta_enum_value_count (t_size p_index) const |
| Retrieves count of values in metadata entry of specified index. The value is always equal to or greater than 1. | |
| const char * | meta_enum_value (t_size p_index, t_size p_value_number) const |
| Retrieves specified value from specified metadata entry. Return value is a null-terminated UTF-8 encoded string. | |
| t_size | meta_set_ex (const char *p_name, t_size p_name_length, const char *p_value, t_size p_value_length) |
| Creates a new metadata entry of specified name with specified value. If an entry of same name already exists, it is erased. Return value is the index of newly created metadata entry. | |
| void | meta_insert_value_ex (t_size p_index, t_size p_value_index, const char *p_value, t_size p_value_length) |
| Inserts a new value into specified metadata entry. | |
| void | meta_remove_mask (const bit_array &p_mask) |
| Removes metadata entries according to specified bit mask. | |
| void | meta_reorder (const t_size *p_order) |
| Reorders metadata entries according to specified permutation. | |
| void | meta_remove_values (t_size p_index, const bit_array &p_mask) |
| Removes values according to specified bit mask from specified metadata entry. If all values are removed, entire metadata entry is removed as well. | |
| void | meta_modify_value_ex (t_size p_index, t_size p_value_index, const char *p_value, t_size p_value_length) |
| Alters specified value in specified metadata entry. | |
| t_size | info_get_count () const |
| Retrieves number of technical info entries. | |
| const char * | info_enum_name (t_size p_index) const |
| Retrieves the name of specified technical info entry. Return value is a null-terminated UTF-8 encoded string. | |
| const char * | info_enum_value (t_size p_index) const |
| Retrieves the value of specified technical info entry. Return value is a null-terminated UTF-8 encoded string. | |
| t_size | info_set_ex (const char *p_name, t_size p_name_length, const char *p_value, t_size p_value_length) |
| Creates a new technical info entry with specified name and specified value. If an entry of the same name already exists, it is erased. Return value is the index of newly created entry. | |
| void | info_remove_mask (const bit_array &p_mask) |
| Removes technical info entries indicated by specified bit mask. | |
| const file_info_impl & | operator= (const file_info_impl &p_source) |
| replaygain_info | get_replaygain () const |
| Retrieves ReplayGain information. | |
| void | set_replaygain (const replaygain_info &p_info) |
| Sets ReplayGain information. | |
Protected Member Functions | |
| t_size | meta_set_nocheck_ex (const char *p_name, t_size p_name_length, const char *p_value, t_size p_value_length) |
| t_size | info_set_nocheck_ex (const char *p_name, t_size p_name_length, const char *p_value, t_size p_value_length) |
| file_info_impl::file_info_impl | ( | const file_info_impl & | p_source | ) |
| file_info_impl::file_info_impl | ( | const file_info & | p_source | ) |
| file_info_impl::file_info_impl | ( | ) |
| file_info_impl::~file_info_impl | ( | ) |
| double file_info_impl::get_length | ( | ) | const [virtual] |
| void file_info_impl::set_length | ( | double | p_length | ) | [virtual] |
| void file_info_impl::copy_meta | ( | const file_info & | p_source | ) | [virtual] |
| void file_info_impl::copy_info | ( | const file_info & | p_source | ) | [virtual] |
| t_size file_info_impl::meta_get_count | ( | ) | const [virtual] |
| const char* file_info_impl::meta_enum_name | ( | t_size | p_index | ) | const [virtual] |
Retrieves the name of metadata entry of specified index. Return value is a null-terminated UTF-8 encoded string.
Implements file_info.
Retrieves count of values in metadata entry of specified index. The value is always equal to or greater than 1.
Implements file_info.
| const char* file_info_impl::meta_enum_value | ( | t_size | p_index, | |
| t_size | p_value_number | |||
| ) | const [virtual] |
Retrieves specified value from specified metadata entry. Return value is a null-terminated UTF-8 encoded string.
Implements file_info.
| t_size file_info_impl::meta_set_ex | ( | const char * | p_name, | |
| t_size | p_name_length, | |||
| const char * | p_value, | |||
| t_size | p_value_length | |||
| ) | [virtual] |
Creates a new metadata entry of specified name with specified value. If an entry of same name already exists, it is erased. Return value is the index of newly created metadata entry.
Implements file_info.
| void file_info_impl::meta_remove_mask | ( | const bit_array & | p_mask | ) | [virtual] |
| void file_info_impl::meta_reorder | ( | const t_size * | p_order | ) | [virtual] |
Removes values according to specified bit mask from specified metadata entry. If all values are removed, entire metadata entry is removed as well.
Implements file_info.
| t_size file_info_impl::info_get_count | ( | ) | const [virtual] |
| const char* file_info_impl::info_enum_name | ( | t_size | p_index | ) | const [virtual] |
Retrieves the name of specified technical info entry. Return value is a null-terminated UTF-8 encoded string.
Implements file_info.
| const char* file_info_impl::info_enum_value | ( | t_size | p_index | ) | const [virtual] |
Retrieves the value of specified technical info entry. Return value is a null-terminated UTF-8 encoded string.
Implements file_info.
| t_size file_info_impl::info_set_ex | ( | const char * | p_name, | |
| t_size | p_name_length, | |||
| const char * | p_value, | |||
| t_size | p_value_length | |||
| ) | [virtual] |
Creates a new technical info entry with specified name and specified value. If an entry of the same name already exists, it is erased. Return value is the index of newly created entry.
Implements file_info.
| void file_info_impl::info_remove_mask | ( | const bit_array & | p_mask | ) | [virtual] |
| const file_info_impl& file_info_impl::operator= | ( | const file_info_impl & | p_source | ) |
| replaygain_info file_info_impl::get_replaygain | ( | ) | const [virtual] |
| void file_info_impl::set_replaygain | ( | const replaygain_info & | p_info | ) | [virtual] |
| t_size file_info_impl::meta_set_nocheck_ex | ( | const char * | p_name, | |
| t_size | p_name_length, | |||
| const char * | p_value, | |||
| t_size | p_value_length | |||
| ) | [protected, virtual] |
Implements file_info.
| t_size file_info_impl::info_set_nocheck_ex | ( | const char * | p_name, | |
| t_size | p_name_length, | |||
| const char * | p_value, | |||
| t_size | p_value_length | |||
| ) | [protected, virtual] |
Implements file_info.
1.5.5