foobar2000 SDK  2015-01-14
Public Member Functions | Private Attributes
pfc::ptr_list_const_array_t< T, A >

#include <list.h>

+ Inheritance diagram for pfc::ptr_list_const_array_t< T, A >:

Public Member Functions

 ptr_list_const_array_t (A p_data, t_size p_count)
 
t_size get_count () const
 
void get_item_ex (T *&p_out, t_size n) const
 
- Public Member Functions inherited from pfc::list_base_const_t< T * >
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
 
Tget_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
 
Toperator[] (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
 

Private Attributes

t_size m_count
 
m_data
 

Additional Inherited Members

- Public Types inherited from pfc::list_base_const_t< T * >
typedef Tt_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)
 
- 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 &)
 

Detailed Description

template<typename T, typename A>
class pfc::ptr_list_const_array_t< T, A >

Definition at line 158 of file list.h.

Constructor & Destructor Documentation

template<typename T , typename A >
pfc::ptr_list_const_array_t< T, A >::ptr_list_const_array_t ( p_data,
t_size  p_count 
)
inline

Definition at line 161 of file list.h.

161 : m_data(p_data), m_count(p_count) {}

Member Function Documentation

template<typename T , typename A >
t_size pfc::ptr_list_const_array_t< T, A >::get_count ( ) const
inlinevirtual

Implements pfc::list_base_const_t< T * >.

Definition at line 162 of file list.h.

162 {return m_count;}
template<typename T , typename A >
void pfc::ptr_list_const_array_t< T, A >::get_item_ex ( T *&  p_out,
t_size  n 
) const
inlinevirtual

Implements pfc::list_base_const_t< T * >.

Definition at line 163 of file list.h.

163 {p_out = &m_data[n];}

Field Documentation

template<typename T , typename A >
t_size pfc::ptr_list_const_array_t< T, A >::m_count
private

Definition at line 166 of file list.h.

template<typename T , typename A >
A pfc::ptr_list_const_array_t< T, A >::m_data
private

Definition at line 165 of file list.h.


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