HDK
 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 1512 of file UT_String.h.

Member Function Documentation

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

Definition at line 1514 of file UT_String.h.

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

Definition at line 1519 of file UT_String.h.


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