Navigation
API > API/Developer > API/Developer/TraceServices
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::LowerBoundBy
(
const TPagedArray< ItemType, PageType >& PagedArray, |
Common/PagedArray.h | ||
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::LowerBoundBy
(
const TPagedArray< ItemType, PageType >& PagedArray, |
Performs binary search, resulting in position of the first element with projected value >= Value. | Common/PagedArray.h |
TraceServices::PagedArrayAlgo::LowerBoundBy(const TPagedArray< ItemType, PageType > &, const ValueType &, ProjectionType)
| Name | TraceServices::PagedArrayAlgo::LowerBoundBy |
| Type | function |
| Header File | /Engine/Source/Developer/TraceServices/Public/Common/PagedArray.h |
| Include Path | #include "Common/PagedArray.h" |
namespace TraceServices
{
namespace PagedArrayAlgo
{
template<typename ItemType, typename PageType, typename ValueType, typename ProjectionType>
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::LowerBoundBy
(
const TPagedArray < ItemType, PageType > & PagedArray,
const ValueType & Value,
ProjectionType Projection
)
}
}
TraceServices::PagedArrayAlgo::LowerBoundBy(const TPagedArray< ItemType, PageType > &, const ValueType &, ProjectionType, SortPredicateType)
Description
Performs binary search, resulting in position of the first element with projected value >= Value.
| Name | TraceServices::PagedArrayAlgo::LowerBoundBy |
| Type | function |
| Header File | /Engine/Source/Developer/TraceServices/Public/Common/PagedArray.h |
| Include Path | #include "Common/PagedArray.h" |
namespace TraceServices
{
namespace PagedArrayAlgo
{
template<typename ItemType, typename PageType, typename ValueType, typename ProjectionType, typename SortPredicateType>
decltype(GetNum(PagedArray)) TraceServices::PagedArrayAlgo::LowerBoundBy
(
const TPagedArray < ItemType, PageType > & PagedArray,
const ValueType & Value,
ProjectionType Projection,
SortPredicateType SortPredicate
)
}
}
Position of the first element with projected value >= Value; may be == Num.
Parameters
| Name | Remarks |
|---|---|
| PagedArray | The paged array to search through, must be already sorted by SortPredicate. |
| Value | The value to look for |
| Projection | Functor or data member pointer; called via Invoke to compare to Value. |
| SortPredicate | Predicate for sort comparison; defaults to <. |