Plasma Engine  2.0
Loading...
Searching...
No Matches
plCompareDataDirPath Struct Reference

Comparator that first sort case-insensitive and then case-sensitive if necessary for a unique ordering. More...

#include <DataDirPath.h>

Static Public Member Functions

static bool Less (plStringView lhs, plStringView rhs)
 
static bool Equal (plStringView lhs, plStringView rhs)
 

Detailed Description

Comparator that first sort case-insensitive and then case-sensitive if necessary for a unique ordering.

Use this comparator when sorting e.g. files on disk like they would appear in a windows explorer. This comparator is using plStringView instead of plDataDirPath as all string and plDataDirPath can be implicitly converted to plStringView.


The documentation for this struct was generated from the following files: