56 for(
t_size meta_walk = 0, meta_count = in.
meta_get_count(); meta_walk < meta_count; meta_walk++ ) {
59 if (rating > entry.m_rating) {
60 entry.m_rating = rating;
62 entry.m_data.set_size(value_count);
63 for(
t_size value_walk = 0; value_walk < value_count; value_walk++ ) {
70 meta_merge_map_enumerator en(p_out);
void enumerate(t_callback &p_callback) const
virtual t_size meta_enum_value_count(t_size p_index) const =0
Retrieves count of values in metadata entry of specified index. The value is always equal to or great...
virtual const char * meta_enum_value(t_size p_index, t_size p_value_number) const =0
Retrieves specified value from specified metadata entry. Return value is a null-terminated UTF-8 enco...
static t_size merge_tags_calc_rating_by_index(const file_info &p_info, t_size p_index)
t_storage_value & find_or_add(_t_key const &p_key)
Main interface class for information about some playable object.
virtual t_size get_count() const =0
virtual t_size meta_get_count() const =0
Retrieves count of metadata entries.
virtual const char * meta_enum_name(t_size p_index) const =0
Retrieves the name of metadata entry of specified index. Return value is a null-terminated UTF-8 enco...