Bike-X
0.8
|
Namespaces | |
ByteUtil | |
Data Structures | |
struct | OperatorLess |
class | ArrayAdaptor |
class | ConstArrayAdaptor |
class | MemUtil |
Functions | |
template<typename T > | |
OVR_FORCE_INLINE void | Swap (T &a, T &b) |
template<typename T > | |
OVR_FORCE_INLINE const T | Min (const T a, const T b) |
template<typename T > | |
OVR_FORCE_INLINE const T | Max (const T a, const T b) |
template<typename T > | |
OVR_FORCE_INLINE const T | Clamp (const T v, const T minVal, const T maxVal) |
template<typename T > | |
OVR_FORCE_INLINE int | Chop (T f) |
template<typename T > | |
OVR_FORCE_INLINE T | Lerp (T a, T b, T f) |
template<typename T > | |
OVR_FORCE_INLINE const T | PMin (const T a, const T b) |
template<typename T > | |
OVR_FORCE_INLINE const T | PMax (const T a, const T b) |
template<typename T > | |
OVR_FORCE_INLINE const T | Abs (const T v) |
template<class Array , class Less > | |
void | QuickSortSliced (Array &arr, UPInt start, UPInt end, Less less) |
template<class Array > | |
void | QuickSortSliced (Array &arr, UPInt start, UPInt end) |
template<class Array , class Less > | |
bool | QuickSortSlicedSafe (Array &arr, UPInt start, UPInt end, Less less) |
template<class Array > | |
bool | QuickSortSlicedSafe (Array &arr, UPInt start, UPInt end) |
template<class Array , class Less > | |
void | QuickSort (Array &arr, Less less) |
template<class Array , class Less > | |
bool | QuickSortSafe (Array &arr, Less less) |
template<class Array > | |
void | QuickSort (Array &arr) |
template<class Array > | |
bool | QuickSortSafe (Array &arr) |
template<class Array , class Less > | |
void | InsertionSortSliced (Array &arr, UPInt start, UPInt end, Less less) |
template<class Array > | |
void | InsertionSortSliced (Array &arr, UPInt start, UPInt end) |
template<class Array , class Less > | |
void | InsertionSort (Array &arr, Less less) |
template<class Array > | |
void | InsertionSort (Array &arr) |
template<class Array > | |
Array::ValueType & | Median (Array &arr) |
template<class Array , class Value , class Less > | |
UPInt | LowerBoundSliced (const Array &arr, UPInt start, UPInt end, const Value &val, Less less) |
template<class Array , class Value > | |
UPInt | LowerBoundSliced (const Array &arr, UPInt start, UPInt end, const Value &val) |
template<class Array , class Value > | |
UPInt | LowerBoundSized (const Array &arr, UPInt size, const Value &val) |
template<class Array , class Value , class Less > | |
UPInt | LowerBound (const Array &arr, const Value &val, Less less) |
template<class Array , class Value > | |
UPInt | LowerBound (const Array &arr, const Value &val) |
template<class Array , class Value , class Less > | |
UPInt | UpperBoundSliced (const Array &arr, UPInt start, UPInt end, const Value &val, Less less) |
template<class Array , class Value > | |
UPInt | UpperBoundSliced (const Array &arr, UPInt start, UPInt end, const Value &val) |
template<class Array , class Value > | |
UPInt | UpperBoundSized (const Array &arr, UPInt size, const Value &val) |
template<class Array , class Value , class Less > | |
UPInt | UpperBound (const Array &arr, const Value &val, Less less) |
template<class Array , class Value > | |
UPInt | UpperBound (const Array &arr, const Value &val) |
template<class Array > | |
void | ReverseArray (Array &arr) |
template<class CDst , class CSrc > | |
void | AppendArray (CDst &dst, const CSrc &src) |
UByte | UpperBit (UPInt val) |
UByte | LowerBit (UPInt val) |
UInt16 | DecodeUInt16 (const UByte *buffer) |
SInt16 | DecodeSInt16 (const UByte *buffer) |
UInt32 | DecodeUInt32 (const UByte *buffer) |
SInt32 | DecodeSInt32 (const UByte *buffer) |
float | DecodeFloat (const UByte *buffer) |
void | EncodeUInt16 (UByte *buffer, UInt16 val) |
void | EncodeSInt16 (UByte *buffer, SInt16 val) |
void | EncodeUInt32 (UByte *buffer, UInt32 val) |
void | EncodeSInt32 (UByte *buffer, SInt32 val) |
void | EncodeFloat (UByte *buffer, float val) |
SByte | DecodeBCD (UByte byte) |
Variables | |
const UByte | UpperBitTable [256] |
const UByte | LowerBitTable [256] |
OVR_FORCE_INLINE const T OVR::Alg::Abs | ( | const T | v | ) |
void OVR::Alg::AppendArray | ( | CDst & | dst, |
const CSrc & | src | ||
) |
OVR_FORCE_INLINE int OVR::Alg::Chop | ( | T | f | ) |
OVR_FORCE_INLINE const T OVR::Alg::Clamp | ( | const T | v, |
const T | minVal, | ||
const T | maxVal | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void OVR::Alg::InsertionSort | ( | Array & | arr, |
Less | less | ||
) |
void OVR::Alg::InsertionSort | ( | Array & | arr | ) |
void OVR::Alg::InsertionSortSliced | ( | Array & | arr, |
UPInt | start, | ||
UPInt | end, | ||
Less | less | ||
) |
void OVR::Alg::InsertionSortSliced | ( | Array & | arr, |
UPInt | start, | ||
UPInt | end | ||
) |
OVR_FORCE_INLINE T OVR::Alg::Lerp | ( | T | a, |
T | b, | ||
T | f | ||
) |
UPInt OVR::Alg::LowerBound | ( | const Array & | arr, |
const Value & | val, | ||
Less | less | ||
) |
UPInt OVR::Alg::LowerBound | ( | const Array & | arr, |
const Value & | val | ||
) |
UPInt OVR::Alg::LowerBoundSized | ( | const Array & | arr, |
UPInt | size, | ||
const Value & | val | ||
) |
UPInt OVR::Alg::LowerBoundSliced | ( | const Array & | arr, |
UPInt | start, | ||
UPInt | end, | ||
const Value & | val, | ||
Less | less | ||
) |
UPInt OVR::Alg::LowerBoundSliced | ( | const Array & | arr, |
UPInt | start, | ||
UPInt | end, | ||
const Value & | val | ||
) |
OVR_FORCE_INLINE const T OVR::Alg::Max | ( | const T | a, |
const T | b | ||
) |
Array::ValueType& OVR::Alg::Median | ( | Array & | arr | ) |
OVR_FORCE_INLINE const T OVR::Alg::Min | ( | const T | a, |
const T | b | ||
) |
OVR_FORCE_INLINE const T OVR::Alg::PMax | ( | const T | a, |
const T | b | ||
) |
OVR_FORCE_INLINE const T OVR::Alg::PMin | ( | const T | a, |
const T | b | ||
) |
void OVR::Alg::QuickSort | ( | Array & | arr, |
Less | less | ||
) |
void OVR::Alg::QuickSort | ( | Array & | arr | ) |
bool OVR::Alg::QuickSortSafe | ( | Array & | arr, |
Less | less | ||
) |
bool OVR::Alg::QuickSortSafe | ( | Array & | arr | ) |
void OVR::Alg::QuickSortSliced | ( | Array & | arr, |
UPInt | start, | ||
UPInt | end, | ||
Less | less | ||
) |
void OVR::Alg::QuickSortSliced | ( | Array & | arr, |
UPInt | start, | ||
UPInt | end | ||
) |
bool OVR::Alg::QuickSortSlicedSafe | ( | Array & | arr, |
UPInt | start, | ||
UPInt | end, | ||
Less | less | ||
) |
bool OVR::Alg::QuickSortSlicedSafe | ( | Array & | arr, |
UPInt | start, | ||
UPInt | end | ||
) |
void OVR::Alg::ReverseArray | ( | Array & | arr | ) |
OVR_FORCE_INLINE void OVR::Alg::Swap | ( | T & | a, |
T & | b | ||
) |
UPInt OVR::Alg::UpperBound | ( | const Array & | arr, |
const Value & | val, | ||
Less | less | ||
) |
UPInt OVR::Alg::UpperBound | ( | const Array & | arr, |
const Value & | val | ||
) |
UPInt OVR::Alg::UpperBoundSized | ( | const Array & | arr, |
UPInt | size, | ||
const Value & | val | ||
) |
UPInt OVR::Alg::UpperBoundSliced | ( | const Array & | arr, |
UPInt | start, | ||
UPInt | end, | ||
const Value & | val, | ||
Less | less | ||
) |
UPInt OVR::Alg::UpperBoundSliced | ( | const Array & | arr, |
UPInt | start, | ||
UPInt | end, | ||
const Value & | val | ||
) |
const UByte OVR::Alg::LowerBitTable |
const UByte OVR::Alg::UpperBitTable |