#include <metadb.h>
Helper implementation of file_info_filter_impl.
Definition at line 293 of file metadb.h.
Definition at line 295 of file metadb.h.
303 for(
t_size n = 0; n < order.get_size(); n++) {
305 m_infos[n] = *p_new_info[order[n]];
static void g_fill(t_int *p_order, const t_size p_count)
void set_count(t_size p_count)
void set_size(t_size p_size)
virtual t_size get_count() const =0
pfc::array_t< file_info_impl > m_infos
void sort_get_permutation_t(t_compare p_compare, t_permutation const &p_permutation) const
metadb_handle_list m_handles
Alters specified file_info entry; called as a part of tag update process. Specified file_info has been read from a file, and will be written back.
WARNING: This will be typically called from another thread than main app thread (precisely, from thread created by tag updater). You should copy all relevant data to members of your file_info_filter instance in constructor and reference only member data in apply_filter() implementation.
- Returns
- True when you have altered file_info and changes need to be written back to the file; false if no changes have been made.
Implements file_info_filter.
Definition at line 309 of file metadb.h.
311 if (
m_handles.
bsearch_t(pfc::compare_t<metadb_handle_ptr,metadb_handle_ptr>,p_location,index)) {
bool bsearch_t(t_compare p_compare, t_param const &p_param, t_size &p_index) const
pfc::array_t< file_info_impl > m_infos
metadb_handle_list m_handles
The documentation for this class was generated from the following file: