HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StringRef::NumberedCompare Struct Reference

#include <UT_StringHolder.h>

Public Member Functions

bool operator() (const UT_StringRef &s1, const UT_StringRef &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 867 of file UT_StringHolder.h.

Member Function Documentation

bool UT_StringRef::NumberedCompare::operator() ( const UT_StringRef s1,
const UT_StringRef s2 
) const
inline

Definition at line 869 of file UT_StringHolder.h.


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