Ark Server API (ASE) - Wiki
|
Functions | |
template<typename T , int32 ArraySize> | |
FORCEINLINE void | Reverse (T(&Array)[ArraySize]) |
template<typename T > | |
FORCEINLINE void | Reverse (T *Array, int32 ArraySize) |
template<typename ContainerType > | |
FORCEINLINE void | Reverse (ContainerType &Container) |
template<typename RangeType , typename ValueType , typename SortPredicateType > | |
FORCEINLINE int32 | LowerBound (RangeType &Range, const ValueType &Value, SortPredicateType SortPredicate) |
template<typename RangeType , typename ValueType > | |
FORCEINLINE int32 | LowerBound (RangeType &Range, const ValueType &Value) |
template<typename RangeType , typename ValueType , typename ProjectionType , typename SortPredicateType > | |
FORCEINLINE int32 | LowerBoundBy (RangeType &Range, const ValueType &Value, ProjectionType Projection, SortPredicateType SortPredicate) |
template<typename RangeType , typename ValueType , typename ProjectionType > | |
FORCEINLINE int32 | LowerBoundBy (RangeType &Range, const ValueType &Value, ProjectionType Projection) |
template<typename RangeType , typename ValueType , typename SortPredicateType > | |
FORCEINLINE int32 | UpperBound (RangeType &Range, const ValueType &Value, SortPredicateType SortPredicate) |
template<typename RangeType , typename ValueType > | |
FORCEINLINE int32 | UpperBound (RangeType &Range, const ValueType &Value) |
template<typename RangeType , typename ValueType , typename ProjectionType , typename SortPredicateType > | |
FORCEINLINE int32 | UpperBoundBy (RangeType &Range, const ValueType &Value, ProjectionType Projection, SortPredicateType SortPredicate) |
template<typename RangeType , typename ValueType , typename ProjectionType > | |
FORCEINLINE int32 | UpperBoundBy (RangeType &Range, const ValueType &Value, ProjectionType Projection) |
template<typename RangeType , typename ValueType , typename SortPredicateType > | |
FORCEINLINE int32 | BinarySearch (RangeType &Range, const ValueType &Value, SortPredicateType SortPredicate) |
template<typename RangeType , typename ValueType > | |
FORCEINLINE int32 | BinarySearch (RangeType &Range, const ValueType &Value) |
template<typename RangeType , typename ValueType , typename ProjectionType , typename SortPredicateType > | |
FORCEINLINE int32 | BinarySearchBy (RangeType &Range, const ValueType &Value, ProjectionType Projection, SortPredicateType SortPredicate) |
template<typename RangeType , typename ValueType , typename ProjectionType > | |
FORCEINLINE int32 | BinarySearchBy (RangeType &Range, const ValueType &Value, ProjectionType Projection) |
template<typename RangeType > | |
FORCEINLINE void | Sort (RangeType &Range) |
template<typename RangeType , typename PredicateType > | |
FORCEINLINE void | Sort (RangeType &Range, PredicateType Pred) |
template<typename RangeType , typename ProjectionType > | |
FORCEINLINE void | SortBy (RangeType &Range, ProjectionType Proj) |
template<typename RangeType , typename ProjectionType , typename PredicateType > | |
FORCEINLINE void | SortBy (RangeType &Range, ProjectionType Proj, PredicateType Pred) |
template<typename RangeType > | |
FORCEINLINE void | IntroSort (RangeType &Range) |
template<typename RangeType , typename PredicateType > | |
FORCEINLINE void | IntroSort (RangeType &Range, PredicateType Predicate) |
template<typename RangeType , typename ProjectionType > | |
FORCEINLINE void | IntroSortBy (RangeType &Range, ProjectionType Projection) |
template<typename RangeType , typename ProjectionType , typename PredicateType > | |
FORCEINLINE void | IntroSortBy (RangeType &Range, ProjectionType Projection, PredicateType Predicate) |
FORCEINLINE int32 Algo::BinarySearch | ( | RangeType & | Range, |
const ValueType & | Value ) |
Definition at line 188 of file BinarySearch.h.
FORCEINLINE int32 Algo::BinarySearch | ( | RangeType & | Range, |
const ValueType & | Value, | ||
SortPredicateType | SortPredicate ) |
Returns index to the first found element matching a value in a range, the range must be sorted by <
Range | The range to search, must be already sorted by SortPredicate |
Value | The value to search for |
SortPredicate | Predicate for sort comparison, defaults to < |
Definition at line 173 of file BinarySearch.h.
FORCEINLINE int32 Algo::BinarySearchBy | ( | RangeType & | Range, |
const ValueType & | Value, | ||
ProjectionType | Projection ) |
Definition at line 218 of file BinarySearch.h.
FORCEINLINE int32 Algo::BinarySearchBy | ( | RangeType & | Range, |
const ValueType & | Value, | ||
ProjectionType | Projection, | ||
SortPredicateType | SortPredicate ) |
Returns index to the first found element with projected value matching Value in a range, the range must be sorted by predicate
Range | The range to search, must be already sorted by SortPredicate |
Value | The value to search for |
Projection | Functor or data member pointer, called via Invoke to compare to Value |
SortPredicate | Predicate for sort comparison, defaults to < |
Definition at line 203 of file BinarySearch.h.
FORCEINLINE void Algo::IntroSort | ( | RangeType & | Range | ) |
Sort a range of elements using its operator<. The sort is unstable.
Range | The range to sort. |
Definition at line 137 of file IntroSort.h.
FORCEINLINE void Algo::IntroSort | ( | RangeType & | Range, |
PredicateType | Predicate ) |
Sort a range of elements using a user-defined predicate class. The sort is unstable.
Range | The range to sort. |
Predicate | A binary predicate object used to specify if one element should precede another. |
Definition at line 149 of file IntroSort.h.
FORCEINLINE void Algo::IntroSortBy | ( | RangeType & | Range, |
ProjectionType | Projection ) |
Sort a range of elements by a projection using the projection's operator<. The sort is unstable.
Range | The range to sort. |
Projection | The projection to sort by when applied to the element. |
Definition at line 161 of file IntroSort.h.
FORCEINLINE void Algo::IntroSortBy | ( | RangeType & | Range, |
ProjectionType | Projection, | ||
PredicateType | Predicate ) |
Sort a range of elements by a projection using a user-defined predicate class. The sort is unstable.
Range | The range to sort. |
Projection | The projection to sort by when applied to the element. |
Predicate | A binary predicate object, applied to the projection, used to specify if one element should precede another. |
Definition at line 174 of file IntroSort.h.
FORCEINLINE int32 Algo::LowerBound | ( | RangeType & | Range, |
const ValueType & | Value ) |
Definition at line 97 of file BinarySearch.h.
FORCEINLINE int32 Algo::LowerBound | ( | RangeType & | Range, |
const ValueType & | Value, | ||
SortPredicateType | SortPredicate ) |
Performs binary search, resulting in position of the first element >= Value using predicate
Range | Range to search through, must be already sorted by SortPredicate |
Value | Value to look for |
SortPredicate | Predicate for sort comparison, defaults to < |
Definition at line 92 of file BinarySearch.h.
FORCEINLINE int32 Algo::LowerBoundBy | ( | RangeType & | Range, |
const ValueType & | Value, | ||
ProjectionType | Projection ) |
Definition at line 118 of file BinarySearch.h.
FORCEINLINE int32 Algo::LowerBoundBy | ( | RangeType & | Range, |
const ValueType & | Value, | ||
ProjectionType | Projection, | ||
SortPredicateType | SortPredicate ) |
Performs binary search, resulting in position of the first element with projected value >= Value using predicate
Range | Range to search through, must be already sorted by SortPredicate |
Value | Value to look for |
Projection | Functor or data member pointer, called via Invoke to compare to Value |
SortPredicate | Predicate for sort comparison, defaults to < |
Definition at line 113 of file BinarySearch.h.
FORCEINLINE void Algo::Reverse | ( | ContainerType & | Container | ) |
FORCEINLINE void Algo::Reverse | ( | T * | Array, |
int32 | ArraySize ) |
FORCEINLINE void Algo::Reverse | ( | T(&) | Array[ArraySize] | ) |
FORCEINLINE void Algo::Sort | ( | RangeType & | Range | ) |
FORCEINLINE void Algo::Sort | ( | RangeType & | Range, |
PredicateType | Pred ) |
FORCEINLINE void Algo::SortBy | ( | RangeType & | Range, |
ProjectionType | Proj ) |
FORCEINLINE void Algo::SortBy | ( | RangeType & | Range, |
ProjectionType | Proj, | ||
PredicateType | Pred ) |
Sort a range of elements by a projection using a user-defined predicate class. The sort is unstable.
Range | The range to sort. |
Proj | The projection to sort by when applied to the element. |
Predicate | A binary predicate object, applied to the projection, used to specify if one element should precede another. |
FORCEINLINE int32 Algo::UpperBound | ( | RangeType & | Range, |
const ValueType & | Value ) |
Definition at line 138 of file BinarySearch.h.
FORCEINLINE int32 Algo::UpperBound | ( | RangeType & | Range, |
const ValueType & | Value, | ||
SortPredicateType | SortPredicate ) |
Performs binary search, resulting in position of the first element > Value using predicate
Range | Range to search through, must be already sorted by SortPredicate |
Value | Value to look for |
SortPredicate | Predicate for sort comparison, defaults to < |
Definition at line 133 of file BinarySearch.h.
FORCEINLINE int32 Algo::UpperBoundBy | ( | RangeType & | Range, |
const ValueType & | Value, | ||
ProjectionType | Projection ) |
Definition at line 159 of file BinarySearch.h.
FORCEINLINE int32 Algo::UpperBoundBy | ( | RangeType & | Range, |
const ValueType & | Value, | ||
ProjectionType | Projection, | ||
SortPredicateType | SortPredicate ) |
Performs binary search, resulting in position of the first element with projected value > Value using predicate
Range | Range to search through, must be already sorted by SortPredicate |
Value | Value to look for |
Projection | Functor or data member pointer, called via Invoke to compare to Value |
SortPredicate | Predicate for sort comparison, defaults to < |
Definition at line 154 of file BinarySearch.h.