ug4
sort_util.h File Reference
#include <utility>

Go to the source code of this file.

Classes

class  CompareIndicesByClass< TCompareValues, bReverse >
 
class  CompareIndicesByClass2< TCompareValues, TCompare >
 
struct  SortStruct< TIndex, TValue >
 

Functions

bool boolstrcmp (const char *a, const char *b)
 
bool boolstrcmpReversed (const char *a, const char *b)
 
template<typename TCompareValues >
CompareIndicesByClass< TCompareValues, false > CompareIndicesBy (const TCompareValues &values)
 
template<typename TCompareValues , typename TCompare >
CompareIndicesByClass2< TCompareValues, TCompare > CompareIndicesBy (const TCompareValues &values, TCompare comp)
 
template<typename TCompareValues >
CompareIndicesByClass< TCompareValues, true > CompareIndicesReversedBy (const TCompareValues &values)
 
template<typename TCompareValues >
std::vector< size_t > GetSortedIndices (const TCompareValues &values)
 
template<typename TCompareValues , typename TCompare >
std::vector< size_t > GetSortedIndices (const TCompareValues &values, TCompare comp)
 
template<typename TCompareValues >
void GetSortedIndices (std::vector< size_t > &indices, const TCompareValues &values, bool bReverse=false)
 
template<typename TCompareValues , typename TCompare >
void GetSortedIndices (std::vector< size_t > &indices, const TCompareValues &values, TCompare comp)