foobar2000 SDK  2015-08-03
Public Member Functions
pfc::sort_callbackabstract

#include <sort.h>

+ Inheritance diagram for pfc::sort_callback:

Public Member Functions

virtual int compare (t_size p_index1, t_size p_index2) const =0
 
virtual void swap (t_size p_index1, t_size p_index2)=0
 
void swap_check (t_size p_index1, t_size p_index2)
 

Detailed Description

Definition at line 79 of file sort.h.

Member Function Documentation

virtual int pfc::sort_callback::compare ( t_size  p_index1,
t_size  p_index2 
) const
pure virtual
virtual void pfc::sort_callback::swap ( t_size  p_index1,
t_size  p_index2 
)
pure virtual
void pfc::sort_callback::swap_check ( t_size  p_index1,
t_size  p_index2 
)
inline

Definition at line 84 of file sort.h.

84 {if (compare(p_index1,p_index2) > 0) swap(p_index1,p_index2);}
virtual int compare(t_size p_index1, t_size p_index2) const =0
virtual void swap(t_size p_index1, t_size p_index2)=0

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