doj Namespace Reference


Classes

struct  doj::alphanum_less
 Functor class to compare two objects with the "Alphanum Algorithm". More...

Functions

int alphanum_impl (const char *l, const char *r)
int alphanum_comp (const std::string &l, const std::string &r)
 Compare l and r with the same semantics as strcmp(), but with the "Alphanum Algorithm" which produces more human-friendly results.
int alphanum_comp (const char *l, const char *r)


Function Documentation

IMPEX int doj::alphanum_comp const char *  l,
const char *  r
 

Definition at line 124 of file alphanum.cpp.

References alphanum_impl().

IMPEX int doj::alphanum_comp const std::string l,
const std::string r
 

Compare l and r with the same semantics as strcmp(), but with the "Alphanum Algorithm" which produces more human-friendly results.

Returns:
negative if l<r, 0 if l==r, positive if l>r.

Definition at line 119 of file alphanum.cpp.

References alphanum_impl().

Referenced by checkVersion(), comparePluginItem(), compareVersion(), doj::alphanum_less::operator()(), SortFilename::operator()(), and SortWxFilenames().

int alphanum_impl const char *  l,
const char *  r
 

Definition at line 44 of file alphanum.cpp.

Referenced by alphanum_comp().


Generated on Wed Aug 20 01:25:48 2014 for Hugintrunk by  doxygen 1.3.9.1