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

#include <sort.h>

+ Inheritance diagram for pfc::reorder_callback_impl_ptr_t< T >:

Public Member Functions

 reorder_callback_impl_ptr_t (T *p_data)
 
void swap (t_size p_index1, t_size p_index2)
 

Private Attributes

Tm_data
 

Detailed Description

template<typename T>
class pfc::reorder_callback_impl_ptr_t< T >

Definition at line 58 of file sort.h.

Constructor & Destructor Documentation

template<typename T >
pfc::reorder_callback_impl_ptr_t< T >::reorder_callback_impl_ptr_t ( T p_data)
inline

Definition at line 61 of file sort.h.

61 : m_data(p_data) {}

Member Function Documentation

template<typename T >
void pfc::reorder_callback_impl_ptr_t< T >::swap ( t_size  p_index1,
t_size  p_index2 
)
inlinevirtual

Implements pfc::reorder_callback.

Definition at line 62 of file sort.h.

63  {
64  pfc::swap_t(m_data[p_index1],m_data[p_index2]);
65  }
void swap_t(T &p_item1, T &p_item2)
Definition: primitives.h:285

Field Documentation

template<typename T >
T* pfc::reorder_callback_impl_ptr_t< T >::m_data
private

Definition at line 67 of file sort.h.


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