foobar2000 SDK
2015-08-03
|
#include <order_helper.h>
Public Member Functions | |
order_helper (t_size p_size) | |
order_helper (const order_helper &p_order) | |
t_size | find_reverse (t_size val) |
t_size | get_count () const |
t_size | get_item (t_size ptr) const |
const t_size * | get_ptr () const |
t_size & | operator[] (t_size ptr) |
t_size | operator[] (t_size ptr) const |
void | reverse (t_size base, t_size count) |
void | swap (t_size ptr1, t_size ptr2) |
Static Public Member Functions | |
template<typename t_int > | |
static void | g_fill (t_int *p_order, const t_size p_count) |
template<typename t_array > | |
static void | g_fill (t_array &p_array) |
static t_size | g_find_reverse (const t_size *order, t_size val) |
static bool | g_is_identity (const t_size *order, t_size count) |
template<typename t_array > | |
static bool | g_is_identity (const t_array &p_array) |
static void | g_reverse (t_size *order, t_size base, t_size count) |
static void | g_swap (t_size *p_data, t_size ptr1, t_size ptr2) |
Private Attributes | |
pfc::array_t< t_size > | m_data |
Definition at line 14 of file order_helper.h.
|
inline |
Definition at line 18 of file order_helper.h.
|
inline |
Definition at line 23 of file order_helper.h.
Insecure - may deadlock or crash on invalid permutation content. In theory faster than walking the permutation, but still O(n).
Definition at line 62 of file order_helper.h.
|
inlinestatic |
Definition at line 38 of file order_helper.h.
|
inlinestatic |
Definition at line 43 of file order_helper.h.
Definition at line 25 of file order_helper.h.
|
inlinestatic |
Definition at line 31 of file order_helper.h.
Definition at line 102 of file other.cpp.
|
inline |
Definition at line 67 of file order_helper.h.
Definition at line 49 of file order_helper.h.
|
inline |
Definition at line 57 of file order_helper.h.
Definition at line 51 of file order_helper.h.
Definition at line 52 of file order_helper.h.
Definition at line 65 of file order_helper.h.
Definition at line 55 of file order_helper.h.
|
private |
Definition at line 16 of file order_helper.h.