foobar2000 SDK
2015-08-03
|
#include <list.h>
Data Structures | |
class | sort_callback |
class | sort_callback_auto |
class | sort_callback_impl_t |
Public Member Functions | |
t_size | add_item (const T &item) |
t_size | add_items (const list_base_const_t< T > &items) |
t_size | add_items_fromptr (const T *source, t_size num) |
t_size | add_items_repeat (T item, t_size num) |
virtual void | filter_mask (const bit_array &mask)=0 |
template<typename t_func > | |
void | for_each (t_func p_func) |
template<typename t_func > | |
void | for_each (t_func p_func, const bit_array &p_mask) |
t_size | insert_item (const T &item, t_size base) |
virtual t_size | insert_items (const list_base_const_t< T > &items, t_size base)=0 |
t_size | insert_items_fromptr (const T *source, t_size num, t_size base) |
t_size | insert_items_repeat (const T &item, t_size num, t_size base) |
template<typename t_in > | |
t_self & | operator+= (t_in const &p_source) |
template<typename t_in > | |
t_self & | operator= (t_in const &source) |
T | operator[] (t_size n) const |
template<typename t_in > | |
t_self & | operator|= (t_in const &p_source) |
void | remove_all () |
template<typename t_releasefunc > | |
void | remove_all_ex (t_releasefunc p_func) |
template<typename t_compare > | |
void | remove_duplicates_t (t_compare p_compare) |
void | remove_mask (const bit_array &mask) |
template<typename t_releasefunc > | |
void | remove_mask_ex (const bit_array &p_mask, t_releasefunc p_func) |
void | reorder (const t_size *p_data) |
virtual void | reorder_partial (t_size p_base, const t_size *p_data, t_size p_count)=0 |
virtual void | replace_item (t_size p_index, const T &p_item)=0 |
T | replace_item_ex (t_size p_index, const T &p_item) |
virtual void | sort (sort_callback &p_callback)=0 |
void | sort () |
template<typename t_compare > | |
void | sort_remove_duplicates_t (t_compare p_compare) |
virtual void | sort_stable (sort_callback &p_callback)=0 |
template<typename t_compare > | |
void | sort_stable_remove_duplicates_t (t_compare p_compare) |
template<typename t_compare > | |
void | sort_stable_t (t_compare p_compare) |
template<typename t_compare > | |
void | sort_t (t_compare p_compare) |
virtual void | swap_item_with (t_size p_index, T &p_item)=0 |
virtual void | swap_items (t_size p_index1, t_size p_index2)=0 |
void | truncate (t_size val) |
Public Member Functions inherited from pfc::list_base_const_t< T > | |
template<typename t_compare , typename t_param , typename t_permutation > | |
bool | bsearch_permutation_t (t_compare p_compare, t_param const &p_param, const t_permutation &p_permutation, t_size &p_index) const |
template<typename t_compare , typename t_param > | |
bool | bsearch_t (t_compare p_compare, t_param const &p_param, t_size &p_index) const |
template<typename t_callback > | |
void | enumerate (t_callback &p_callback) const |
template<typename t_compare , typename t_permutation > | |
t_size | find_duplicates_sorted_permutation_t (t_compare p_compare, t_permutation const &p_permutation, bit_array_var &p_out) |
template<typename t_compare > | |
t_size | find_duplicates_sorted_t (t_compare p_compare, bit_array_var &p_out) const |
template<typename t_search > | |
t_size | find_item (const t_search &p_item) const |
virtual t_size | get_count () const =0 |
T | get_item (t_size n) const |
virtual void | get_item_ex (T &p_out, t_size n) const =0 |
t_size | get_size () const |
template<typename t_search > | |
bool | have_item (const t_search &p_item) const |
bool | operator!= (const t_self &item2) const |
bool | operator== (const t_self &item2) const |
T | operator[] (t_size n) const |
template<typename t_compare , typename t_permutation > | |
void | sort_get_permutation_t (t_compare p_compare, t_permutation const &p_permutation) const |
template<typename t_compare , typename t_permutation > | |
void | sort_stable_get_permutation_t (t_compare p_compare, t_permutation const &p_permutation) const |
Protected Member Functions | |
list_base_t () | |
list_base_t (const t_self &) | |
~list_base_t () | |
void | operator= (const t_self &) |
Protected Member Functions inherited from pfc::list_base_const_t< T > | |
list_base_const_t () | |
list_base_const_t (const t_self &) | |
~list_base_const_t () | |
void | operator= (const t_self &) |
Private Types | |
typedef list_base_t< T > | t_self |
typedef const list_base_const_t< T > | t_self_const |
Additional Inherited Members | |
Public Types inherited from pfc::list_base_const_t< T > | |
typedef T | t_item |
Static Public Member Functions inherited from pfc::list_base_const_t< T > | |
static bool | g_equals (const t_self &item1, const t_self &item2) |
|
private |
|
private |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
Definition at line 207 of file list.h.
|
inline |
Definition at line 205 of file list.h.
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >, pfc::list_impl_t< pfc::string, array_t< pfc::string, alloc_fast > >, pfc::list_impl_t< pfc::rcptr_t< audio_chunk >, array_t< pfc::rcptr_t< audio_chunk >, alloc_fast > >, pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >, pfc::list_impl_t< t_object *, array_hybrid_t< t_object *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< char *, array_t< char *, alloc_fast > >, pfc::list_impl_t< TObj, array_t< TObj, alloc_fast > >, pfc::list_impl_t< item, array_t< item, alloc_fast > >, pfc::list_impl_t< dsp_preset_impl *, array_t< dsp_preset_impl *, alloc_fast > >, pfc::list_impl_t< service_ptr_t< metadb_handle >, array_t< service_ptr_t< metadb_handle >, t_alloc > >, pfc::list_impl_t< HWND, array_hybrid_t< HWND, p_fixed_count, alloc_fast > >, pfc::list_impl_t< GUID, array_t< GUID, alloc_fast > >, pfc::list_impl_t< service_ptr_t< T >, array_t< service_ptr_t< T >, t_alloc > >, pfc::list_impl_t< T *, array_hybrid_t< T *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< t_item, array_hybrid_t< t_item, p_fixed_count, t_alloc > >, pfc::list_impl_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, array_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, alloc_fast > >, and pfc::list_impl_t< metadb_io_hintlist::t_entry, array_t< metadb_io_hintlist::t_entry, pfc::alloc_fast > >.
|
inline |
|
inline |
Definition at line 273 of file list.h.
|
inline |
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >, pfc::list_impl_t< pfc::string, array_t< pfc::string, alloc_fast > >, pfc::list_impl_t< pfc::rcptr_t< audio_chunk >, array_t< pfc::rcptr_t< audio_chunk >, alloc_fast > >, pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >, pfc::list_impl_t< t_object *, array_hybrid_t< t_object *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< char *, array_t< char *, alloc_fast > >, pfc::list_impl_t< TObj, array_t< TObj, alloc_fast > >, pfc::list_impl_t< item, array_t< item, alloc_fast > >, pfc::list_impl_t< dsp_preset_impl *, array_t< dsp_preset_impl *, alloc_fast > >, pfc::list_impl_t< service_ptr_t< metadb_handle >, array_t< service_ptr_t< metadb_handle >, t_alloc > >, pfc::list_impl_t< HWND, array_hybrid_t< HWND, p_fixed_count, alloc_fast > >, pfc::list_impl_t< GUID, array_t< GUID, alloc_fast > >, pfc::list_impl_t< service_ptr_t< T >, array_t< service_ptr_t< T >, t_alloc > >, pfc::list_impl_t< T *, array_hybrid_t< T *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< t_item, array_hybrid_t< t_item, p_fixed_count, t_alloc > >, pfc::list_impl_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, array_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, alloc_fast > >, and pfc::list_impl_t< metadb_io_hintlist::t_entry, array_t< metadb_io_hintlist::t_entry, pfc::alloc_fast > >.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 292 of file list.h.
|
inlineprotected |
|
inline |
|
inline |
Definition at line 294 of file list.h.
|
inline |
Definition at line 213 of file list.h.
|
inline |
|
inline |
Definition at line 257 of file list.h.
|
inline |
Definition at line 212 of file list.h.
|
inline |
|
inline |
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >, pfc::list_impl_t< pfc::string, array_t< pfc::string, alloc_fast > >, pfc::list_impl_t< pfc::rcptr_t< audio_chunk >, array_t< pfc::rcptr_t< audio_chunk >, alloc_fast > >, pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >, pfc::list_impl_t< t_object *, array_hybrid_t< t_object *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< char *, array_t< char *, alloc_fast > >, pfc::list_impl_t< TObj, array_t< TObj, alloc_fast > >, pfc::list_impl_t< item, array_t< item, alloc_fast > >, pfc::list_impl_t< dsp_preset_impl *, array_t< dsp_preset_impl *, alloc_fast > >, pfc::list_impl_t< service_ptr_t< metadb_handle >, array_t< service_ptr_t< metadb_handle >, t_alloc > >, pfc::list_impl_t< HWND, array_hybrid_t< HWND, p_fixed_count, alloc_fast > >, pfc::list_impl_t< GUID, array_t< GUID, alloc_fast > >, pfc::list_impl_t< service_ptr_t< T >, array_t< service_ptr_t< T >, t_alloc > >, pfc::list_impl_t< T *, array_hybrid_t< T *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< t_item, array_hybrid_t< t_item, p_fixed_count, t_alloc > >, pfc::list_impl_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, array_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, alloc_fast > >, and pfc::list_impl_t< metadb_io_hintlist::t_entry, array_t< metadb_io_hintlist::t_entry, pfc::alloc_fast > >.
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >, pfc::list_impl_t< pfc::string, array_t< pfc::string, alloc_fast > >, pfc::list_impl_t< pfc::rcptr_t< audio_chunk >, array_t< pfc::rcptr_t< audio_chunk >, alloc_fast > >, pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >, pfc::list_impl_t< t_object *, array_hybrid_t< t_object *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< char *, array_t< char *, alloc_fast > >, pfc::list_impl_t< TObj, array_t< TObj, alloc_fast > >, pfc::list_impl_t< item, array_t< item, alloc_fast > >, pfc::list_impl_t< dsp_preset_impl *, array_t< dsp_preset_impl *, alloc_fast > >, pfc::list_impl_t< service_ptr_t< metadb_handle >, array_t< service_ptr_t< metadb_handle >, t_alloc > >, pfc::list_impl_t< HWND, array_hybrid_t< HWND, p_fixed_count, alloc_fast > >, pfc::list_impl_t< GUID, array_t< GUID, alloc_fast > >, pfc::list_impl_t< service_ptr_t< T >, array_t< service_ptr_t< T >, t_alloc > >, pfc::list_impl_t< T *, array_hybrid_t< T *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< t_item, array_hybrid_t< t_item, p_fixed_count, t_alloc > >, pfc::list_impl_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, array_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, alloc_fast > >, and pfc::list_impl_t< metadb_io_hintlist::t_entry, array_t< metadb_io_hintlist::t_entry, pfc::alloc_fast > >.
|
inline |
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >.
|
inline |
|
inline |
Definition at line 240 of file list.h.
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >.
|
inline |
Definition at line 248 of file list.h.
|
inline |
|
inline |
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >, pfc::list_impl_t< pfc::string, array_t< pfc::string, alloc_fast > >, pfc::list_impl_t< pfc::rcptr_t< audio_chunk >, array_t< pfc::rcptr_t< audio_chunk >, alloc_fast > >, pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >, pfc::list_impl_t< t_object *, array_hybrid_t< t_object *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< char *, array_t< char *, alloc_fast > >, pfc::list_impl_t< TObj, array_t< TObj, alloc_fast > >, pfc::list_impl_t< item, array_t< item, alloc_fast > >, pfc::list_impl_t< dsp_preset_impl *, array_t< dsp_preset_impl *, alloc_fast > >, pfc::list_impl_t< service_ptr_t< metadb_handle >, array_t< service_ptr_t< metadb_handle >, t_alloc > >, pfc::list_impl_t< HWND, array_hybrid_t< HWND, p_fixed_count, alloc_fast > >, pfc::list_impl_t< GUID, array_t< GUID, alloc_fast > >, pfc::list_impl_t< service_ptr_t< T >, array_t< service_ptr_t< T >, t_alloc > >, pfc::list_impl_t< T *, array_hybrid_t< T *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< t_item, array_hybrid_t< t_item, p_fixed_count, t_alloc > >, pfc::list_impl_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, array_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, alloc_fast > >, and pfc::list_impl_t< metadb_io_hintlist::t_entry, array_t< metadb_io_hintlist::t_entry, pfc::alloc_fast > >.
|
pure virtual |
Implemented in pfc::list_impl_t< T, t_storage >, pfc::list_impl_t< pfc::string, array_t< pfc::string, alloc_fast > >, pfc::list_impl_t< pfc::rcptr_t< audio_chunk >, array_t< pfc::rcptr_t< audio_chunk >, alloc_fast > >, pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >, pfc::list_impl_t< t_object *, array_hybrid_t< t_object *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< char *, array_t< char *, alloc_fast > >, pfc::list_impl_t< TObj, array_t< TObj, alloc_fast > >, pfc::list_impl_t< item, array_t< item, alloc_fast > >, pfc::list_impl_t< dsp_preset_impl *, array_t< dsp_preset_impl *, alloc_fast > >, pfc::list_impl_t< service_ptr_t< metadb_handle >, array_t< service_ptr_t< metadb_handle >, t_alloc > >, pfc::list_impl_t< HWND, array_hybrid_t< HWND, p_fixed_count, alloc_fast > >, pfc::list_impl_t< GUID, array_t< GUID, alloc_fast > >, pfc::list_impl_t< service_ptr_t< T >, array_t< service_ptr_t< T >, t_alloc > >, pfc::list_impl_t< T *, array_hybrid_t< T *, p_fixed_count, alloc_fast > >, pfc::list_impl_t< t_item, array_hybrid_t< t_item, p_fixed_count, t_alloc > >, pfc::list_impl_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, array_t< pfc::rcptr_t< foobar2000_io::directory_callback_impl::t_entry >, alloc_fast > >, and pfc::list_impl_t< metadb_io_hintlist::t_entry, array_t< metadb_io_hintlist::t_entry, pfc::alloc_fast > >.
|
inline |
Definition at line 214 of file list.h.