foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
pfc::reorder_callback_impl_t< t_container >

#include <sort.h>

+ Inheritance diagram for pfc::reorder_callback_impl_t< t_container >:

Public Member Functions

 reorder_callback_impl_t (t_container &p_data)
 
void swap (t_size p_index1, t_size p_index2)
 

Private Attributes

t_container & m_data
 

Detailed Description

template<typename t_container>
class pfc::reorder_callback_impl_t< t_container >

Definition at line 16 of file sort.h.

Constructor & Destructor Documentation

template<typename t_container>
pfc::reorder_callback_impl_t< t_container >::reorder_callback_impl_t ( t_container &  p_data)
inline

Definition at line 19 of file sort.h.

19 : m_data(p_data) {}
t_container & m_data
Definition: sort.h:25

Member Function Documentation

template<typename t_container>
void pfc::reorder_callback_impl_t< t_container >::swap ( t_size  p_index1,
t_size  p_index2 
)
inlinevirtual

Implements pfc::reorder_callback.

Definition at line 20 of file sort.h.

21  {
22  pfc::swap_t(m_data[p_index1],m_data[p_index2]);
23  }
t_container & m_data
Definition: sort.h:25
void swap_t(T &p_item1, T &p_item2)
Definition: primitives.h:285

Field Documentation

template<typename t_container>
t_container& pfc::reorder_callback_impl_t< t_container >::m_data
private

Definition at line 25 of file sort.h.


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