Workspace 6.21.5
|
Functor for comparing two strings differently if they are alphabetic vs numeric. If both strings are numbers, they will be compared numerically. If one or the other is a string, they will be compared as strings. More...
#include <Workspace/Application/LanguageUtils/compare.h>
Public Member Functions | |
int | operator() (const QString &left, const QString &right) const |
-1 means left < right 0 means left == right 1 means left > right
int operator() | ( | const QString & | left, |
const QString & | right | ||
) | const |
left | The left operand of the comparison function. |
right | The right operand of the comparison function. |