foobar2000 SDK  2015-08-03
Public Types | Public Member Functions
pfc::list_t< t_item, t_alloc >

#include <list.h>

+ Inheritance diagram for pfc::list_t< t_item, t_alloc >:

Public Types

typedef list_t< t_item, t_alloc > t_self
 
- Public Types inherited from pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >
typedef list_base_t< t_itemt_base
 
typedef list_impl_t< t_item, array_t< t_item, t_alloc > > t_self
 
- Public Types inherited from pfc::list_base_const_t< t_item >
typedef t_item t_item
 

Public Member Functions

template<typename t_in >
t_selfoperator+= (t_in const &p_source)
 
template<typename t_in >
t_selfoperator= (t_in const &source)
 
template<typename t_in >
t_selfoperator|= (t_in const &p_source)
 
- Public Member Functions inherited from pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >
 list_impl_t ()
 
 list_impl_t (const t_self &p_source)
 
t_size _insert_item_t (const t_in &item, t_size idx)
 
t_size _insert_items_v (const list_base_const_t< t_item > &source, t_size base)
 
t_size add_item (const t_item &item)
 
t_size add_item (const t_in &item)
 
void add_items (const t_in &in)
 
void filter_mask (const bit_array &mask)
 
void filter_mask (const bool *mask)
 
t_size find_duplicates_sorted_permutation_t (t_compare p_compare, t_permutation p_permutation, bit_array_var &p_out)
 
t_size find_duplicates_sorted_t (t_compare p_compare, bit_array_var &p_out) const
 
t_size find_item (const t_search &p_item) const
 
t_size get_count () const
 
t_item get_item (t_size n) const
 
void get_item_ex (t_item &p_out, t_size n) const
 
const t_itemget_item_ref (t_size n) const
 
void get_items_mask (list_impl_t< t_item, array_t< t_item, t_alloc > > &out, const bit_array &mask)
 
const t_itemget_ptr () const
 
t_itemget_ptr ()
 
t_size get_size () const
 
bool have_item (const t_search &p_item) const
 
t_size insert_item (const t_in &item, t_size idx)
 
t_size insert_item (const t_item &item, t_size idx)
 
t_size insert_items (const list_base_const_t< t_item > &source, t_size base)
 
t_size insert_items (const list_base_t< t_item > &source, t_size base)
 
t_size insert_items (const t_in &source, t_size base)
 
void move_from (t_self &other)
 
t_selfoperator+= (t_in const &p_source)
 
t_selfoperator= (t_in const &source)
 
const t_itemoperator[] (t_size n) const
 
t_itemoperator[] (t_size n)
 
t_selfoperator|= (t_in const &p_source)
 
void prealloc (t_size count)
 
void remove_all ()
 
t_item remove_by_idx (t_size idx)
 
void remove_from_idx (t_size idx, t_size num)
 
void remove_item (const t_item &item)
 
void remove_mask (const bit_array &mask)
 
void remove_mask (const bool *mask)
 
void reorder_partial (t_size p_base, const t_size *p_order, t_size p_count)
 
void replace_item (t_size idx, const t_item &item)
 
void set_count (t_size p_count)
 
void set_size (t_size p_count)
 
void sort ()
 
void sort (typename t_base::sort_callback &p_callback)
 
void sort_stable (typename t_base::sort_callback &p_callback)
 
void sort_stable_t (t_compare p_compare)
 
void sort_t (t_compare p_compare)
 
void swap_item_with (t_size p_index, t_item &p_item)
 
void swap_items (t_size p_index1, t_size p_index2)
 
- Public Member Functions inherited from pfc::list_base_t< t_item >
t_size add_item (const t_item &item)
 
t_size add_items (const list_base_const_t< t_item > &items)
 
t_size add_items_fromptr (const t_item *source, t_size num)
 
t_size add_items_repeat (t_itemitem, t_size num)
 
void for_each (t_func p_func)
 
void for_each (t_func p_func, const bit_array &p_mask)
 
t_size insert_item (const t_item &item, t_size base)
 
t_size insert_items_fromptr (const t_item *source, t_size num, t_size base)
 
t_size insert_items_repeat (const t_item &item, t_size num, t_size base)
 
t_selfoperator+= (t_in const &p_source)
 
t_selfoperator= (t_in const &source)
 
t_item operator[] (t_size n) const
 
t_selfoperator|= (t_in const &p_source)
 
void remove_all ()
 
void remove_all_ex (t_releasefunc p_func)
 
void remove_duplicates_t (t_compare p_compare)
 
void remove_mask (const bit_array &mask)
 
void remove_mask_ex (const bit_array &p_mask, t_releasefunc p_func)
 
void reorder (const t_size *p_data)
 
t_item replace_item_ex (t_size p_index, const t_item &p_item)
 
virtual void sort (sort_callback &p_callback)=0
 
void sort ()
 
void sort_remove_duplicates_t (t_compare p_compare)
 
virtual void sort_stable (sort_callback &p_callback)=0
 
void sort_stable_remove_duplicates_t (t_compare p_compare)
 
void sort_stable_t (t_compare p_compare)
 
void sort_t (t_compare p_compare)
 
void truncate (t_size val)
 
- Public Member Functions inherited from pfc::list_base_const_t< t_item >
bool bsearch_permutation_t (t_compare p_compare, t_param const &p_param, const t_permutation &p_permutation, t_size &p_index) const
 
bool bsearch_t (t_compare p_compare, t_param const &p_param, t_size &p_index) const
 
void enumerate (t_callback &p_callback) const
 
t_size find_duplicates_sorted_permutation_t (t_compare p_compare, t_permutation const &p_permutation, bit_array_var &p_out)
 
t_size find_duplicates_sorted_t (t_compare p_compare, bit_array_var &p_out) const
 
t_size find_item (const t_search &p_item) const
 
t_item get_item (t_size n) const
 
t_size get_size () const
 
bool have_item (const t_search &p_item) const
 
bool operator!= (const t_self &item2) const
 
bool operator== (const t_self &item2) const
 
t_item operator[] (t_size n) const
 
void sort_get_permutation_t (t_compare p_compare, t_permutation const &p_permutation) const
 
void sort_stable_get_permutation_t (t_compare p_compare, t_permutation const &p_permutation) const
 

Additional Inherited Members

- Static Public Member Functions inherited from pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >
static void g_swap (list_impl_t< t_item, array_t< t_item, t_alloc > > &p_item1, list_impl_t< t_item, array_t< t_item, t_alloc > > &p_item2)
 
- Static Public Member Functions inherited from pfc::list_base_const_t< t_item >
static bool g_equals (const t_self &item1, const t_self &item2)
 
- Protected Member Functions inherited from pfc::list_base_t< t_item >
 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_item >
 list_base_const_t ()
 
 list_base_const_t (const t_self &)
 
 ~list_base_const_t ()
 
void operator= (const t_self &)
 
- Protected Attributes inherited from pfc::list_impl_t< t_item, array_t< t_item, t_alloc > >
array_t< t_item, t_alloc > m_buffer
 

Detailed Description

template<typename t_item, template< typename > class t_alloc = alloc_fast>
class pfc::list_t< t_item, t_alloc >

Definition at line 579 of file list.h.

Member Typedef Documentation

template<typename t_item, template< typename > class t_alloc = alloc_fast>
typedef list_t<t_item, t_alloc> pfc::list_t< t_item, t_alloc >::t_self

Definition at line 581 of file list.h.

Member Function Documentation

template<typename t_item, template< typename > class t_alloc = alloc_fast>
template<typename t_in >
t_self& pfc::list_t< t_item, t_alloc >::operator+= ( t_in const &  p_source)
inline

Definition at line 583 of file list.h.

583 {this->add_item(p_source); return *this;}
template<typename t_item, template< typename > class t_alloc = alloc_fast>
template<typename t_in >
t_self& pfc::list_t< t_item, t_alloc >::operator= ( t_in const &  source)
inline

Definition at line 582 of file list.h.

582 {this->remove_all(); this->add_items(source); return *this;}
template<typename t_item, template< typename > class t_alloc = alloc_fast>
template<typename t_in >
t_self& pfc::list_t< t_item, t_alloc >::operator|= ( t_in const &  p_source)
inline

Definition at line 584 of file list.h.

584 {this->add_items(p_source); return *this;}

The documentation for this class was generated from the following file: