37#ifndef stringOpsSort_H
38#define stringOpsSort_H
58 int natstrcmp(
const char* s1,
const char* s2);
68 const std::string& s1,
76 bool operator()(
const std::string& s1,
const std::string& s2)
const
85 bool operator()(
const std::string& s1,
const std::string& s2)
const
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
int natstrcmp(const char *s1, const char *s2)
'Natural' compare for C-strings
A list compare binary predicate for reverse natural sort.
bool operator()(const label a, const label b) const
const UList< T > & values
greater(const UList< T > &list)
A list compare binary predicate for natural sort.
bool operator()(const label a, const label b) const
const UList< T > & values
less(const UList< T > &list)
bool operator()(const std::string &s1, const std::string &s2) const
Reverse natural sorting.
Encapsulation of natural order sorting for algorithms.
static int compare(const std::string &s1, const std::string &s2)
Natural compare for std::string.
bool operator()(const std::string &s1, const std::string &s2) const
Default (forward) natural sorting.