Go to the documentation of this file.
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 list compare binary predicate for natural sort.
const UList< T > & values
bool operator()(const std::string &s1, const std::string &s2) const
Default (forward) natural sorting.
bool operator()(const label a, const label b) const
greater(const UList< T > &list)
int natstrcmp(const char *s1, const char *s2)
'Natural' compare for C-strings
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
less(const UList< T > &list)
static int compare(const std::string &s1, const std::string &s2)
Natural compare for std::string.
A list compare binary predicate for reverse natural sort.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
bool operator()(const std::string &s1, const std::string &s2) const
Reverse natural sorting.
Encapsulation of natural order sorting for algorithms.
const UList< T > & values
bool operator()(const label a, const label b) const