Namespaces | Classes | Functions | Variables
OVR::Alg Namespace Reference

Namespaces

namespace  ByteUtil

Classes

class  ArrayAdaptor
class  ConstArrayAdaptor
class  MemUtil
struct  OperatorLess

Functions

template<typename T >
OVR_FORCE_INLINE const T Abs (const T v)
template<class CDst , class CSrc >
void AppendArray (CDst &dst, const CSrc &src)
template<typename T >
OVR_FORCE_INLINE int Chop (T f)
template<typename T >
OVR_FORCE_INLINE const T Clamp (const T v, const T minVal, const T maxVal)
template<class Array , class Less >
void InsertionSort (Array &arr, Less less)
template<class Array >
void InsertionSort (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<typename T >
OVR_FORCE_INLINELerp (T a, T b, T f)
UByte LowerBit (UPInt 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 >
UPInt LowerBoundSized (const Array &arr, UPInt size, const Value &val)
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<typename T >
OVR_FORCE_INLINE const T Max (const T a, const 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 PMax (const T a, const T b)
template<typename T >
OVR_FORCE_INLINE const T PMin (const T a, const T b)
template<class Array , class Less >
void QuickSort (Array &arr, Less less)
template<class Array >
void QuickSort (Array &arr)
template<class Array , class Less >
bool QuickSortSafe (Array &arr, Less less)
template<class Array >
bool QuickSortSafe (Array &arr)
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 >
void ReverseArray (Array &arr)
template<typename T >
OVR_FORCE_INLINE void Swap (T &a, T &b)
UByte UpperBit (UPInt 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 , class Value >
UPInt UpperBoundSized (const Array &arr, UPInt size, 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)

Variables

const UByte LowerBitTable [256]
const UByte UpperBitTable [256]

Function Documentation

template<typename T >
OVR_FORCE_INLINE const T OVR::Alg::Abs ( const T  v)

Definition at line 68 of file OVR_Alg.h.

template<class CDst , class CSrc >
void OVR::Alg::AppendArray ( CDst &  dst,
const CSrc &  src 
)

Definition at line 583 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE int OVR::Alg::Chop ( f)

Definition at line 44 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE const T OVR::Alg::Clamp ( const T  v,
const T  minVal,
const T  maxVal 
)

Definition at line 41 of file OVR_Alg.h.

template<class Array , class Less >
void OVR::Alg::InsertionSort ( Array &  arr,
Less  less 
)

Definition at line 407 of file OVR_Alg.h.

template<class Array >
void OVR::Alg::InsertionSort ( Array &  arr)

Definition at line 419 of file OVR_Alg.h.

template<class Array , class Less >
void OVR::Alg::InsertionSortSliced ( Array &  arr,
UPInt  start,
UPInt  end,
Less  less 
)

Definition at line 366 of file OVR_Alg.h.

template<class Array >
void OVR::Alg::InsertionSortSliced ( Array &  arr,
UPInt  start,
UPInt  end 
)

Definition at line 393 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE T OVR::Alg::Lerp ( a,
b,
f 
)

Definition at line 47 of file OVR_Alg.h.

UByte OVR::Alg::LowerBit ( UPInt  val) [inline]

Definition at line 682 of file OVR_Alg.h.

template<class Array , class Value , class Less >
UPInt OVR::Alg::LowerBound ( const Array &  arr,
const Value &  val,
Less  less 
)

Definition at line 478 of file OVR_Alg.h.

template<class Array , class Value >
UPInt OVR::Alg::LowerBound ( const Array &  arr,
const Value &  val 
)

Definition at line 488 of file OVR_Alg.h.

template<class Array , class Value >
UPInt OVR::Alg::LowerBoundSized ( const Array &  arr,
UPInt  size,
const Value &  val 
)

Definition at line 469 of file OVR_Alg.h.

template<class Array , class Value , class Less >
UPInt OVR::Alg::LowerBoundSliced ( const Array &  arr,
UPInt  start,
UPInt  end,
const Value &  val,
Less  less 
)

Definition at line 431 of file OVR_Alg.h.

template<class Array , class Value >
UPInt OVR::Alg::LowerBoundSliced ( const Array &  arr,
UPInt  start,
UPInt  end,
const Value &  val 
)

Definition at line 460 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE const T OVR::Alg::Max ( const T  a,
const T  b 
)

Definition at line 38 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE const T OVR::Alg::Min ( const T  a,
const T  b 
)

Definition at line 35 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE const T OVR::Alg::PMax ( const T  a,
const T  b 
)

Definition at line 61 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE const T OVR::Alg::PMin ( const T  a,
const T  b 
)

Definition at line 56 of file OVR_Alg.h.

template<class Array , class Less >
void OVR::Alg::QuickSort ( Array &  arr,
Less  less 
)

Definition at line 321 of file OVR_Alg.h.

template<class Array >
void OVR::Alg::QuickSort ( Array &  arr)

Definition at line 341 of file OVR_Alg.h.

template<class Array , class Less >
bool OVR::Alg::QuickSortSafe ( Array &  arr,
Less  less 
)

Definition at line 328 of file OVR_Alg.h.

template<class Array >
bool OVR::Alg::QuickSortSafe ( Array &  arr)

Definition at line 348 of file OVR_Alg.h.

template<class Array , class Less >
void OVR::Alg::QuickSortSliced ( Array &  arr,
UPInt  start,
UPInt  end,
Less  less 
)

Definition at line 91 of file OVR_Alg.h.

template<class Array >
void OVR::Alg::QuickSortSliced ( Array &  arr,
UPInt  start,
UPInt  end 
)

Definition at line 193 of file OVR_Alg.h.

template<class Array , class Less >
bool OVR::Alg::QuickSortSlicedSafe ( Array &  arr,
UPInt  start,
UPInt  end,
Less  less 
)

Definition at line 202 of file OVR_Alg.h.

template<class Array >
bool OVR::Alg::QuickSortSlicedSafe ( Array &  arr,
UPInt  start,
UPInt  end 
)

Definition at line 308 of file OVR_Alg.h.

template<class Array >
void OVR::Alg::ReverseArray ( Array &  arr)

Definition at line 567 of file OVR_Alg.h.

template<typename T >
OVR_FORCE_INLINE void OVR::Alg::Swap ( T &  a,
T &  b 
)

Definition at line 29 of file OVR_Alg.h.

UByte OVR::Alg::UpperBit ( UPInt  val) [inline]

Definition at line 637 of file OVR_Alg.h.

template<class Array , class Value , class Less >
UPInt OVR::Alg::UpperBound ( const Array &  arr,
const Value &  val,
Less  less 
)

Definition at line 548 of file OVR_Alg.h.

template<class Array , class Value >
UPInt OVR::Alg::UpperBound ( const Array &  arr,
const Value &  val 
)

Definition at line 558 of file OVR_Alg.h.

template<class Array , class Value >
UPInt OVR::Alg::UpperBoundSized ( const Array &  arr,
UPInt  size,
const Value &  val 
)

Definition at line 538 of file OVR_Alg.h.

template<class Array , class Value , class Less >
UPInt OVR::Alg::UpperBoundSliced ( const Array &  arr,
UPInt  start,
UPInt  end,
const Value &  val,
Less  less 
)

Definition at line 499 of file OVR_Alg.h.

template<class Array , class Value >
UPInt OVR::Alg::UpperBoundSliced ( const Array &  arr,
UPInt  start,
UPInt  end,
const Value &  val 
)

Definition at line 528 of file OVR_Alg.h.


Variable Documentation

Initial value:
{
    8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
    5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
    6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
    5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
    7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
    5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
    6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,
    5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0
}

Definition at line 632 of file OVR_Alg.h.

Initial value:
{
    0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,
    5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
    6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
    6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
    7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
    7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
    7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
    7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
}

Definition at line 631 of file OVR_Alg.h.



oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12