All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UTnumberedStringCompare Struct Reference

#include <UT_String.h>

Public Member Functions

bool operator() (const char *s1, const char *s2) const
bool operator() (const std::string &s1, const std::string &s2) const

Detailed Description

Does a "smart" string compare which will sort based on numbered names. That is "text20" is bigger than "text3". In a strictly alphanumeric comparison, this would not be the case.

Definition at line 1473 of file UT_String.h.

Member Function Documentation

bool UTnumberedStringCompare::operator() ( const char *  s1,
const char *  s2 
) const

Definition at line 1475 of file UT_String.h.

bool UTnumberedStringCompare::operator() ( const std::string s1,
const std::string s2 
) const

Definition at line 1480 of file UT_String.h.

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