doj Namespace Reference


Classes

struct  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

int doj::alphanum_impl ( const char *  l,
const char *  r 
)

Definition at line 44 of file alphanum.cpp.

Referenced by alphanum_comp().

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().

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

Definition at line 124 of file alphanum.cpp.

References alphanum_impl().


Generated on 23 Oct 2014 for Hugintrunk by  doxygen 1.4.7