Jetson Inference
DNN Vision Library
alphanum.h File Reference
#include <cassert>
#include <functional>
#include <string>
#include <sstream>

Go to the source code of this file.

Classes

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

Namespaces

 doj
 

Functions

template<typename lT , typename rT >
int doj::alphanum_comp (const lT &left, const rT &right)
 Compare left and right with the same semantics as strcmp(), but with the "Alphanum Algorithm" which produces more human-friendly results. More...
 
template<>
int doj::alphanum_comp< std::string > (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. More...
 
int doj::alphanum_comp (char *l, char *r)
 Compare l and r with the same semantics as strcmp(), but with the "Alphanum Algorithm" which produces more human-friendly results. More...
 
int doj::alphanum_comp (const char *l, const char *r)
 
int doj::alphanum_comp (char *l, const char *r)
 
int doj::alphanum_comp (const char *l, char *r)
 
int doj::alphanum_comp (const std::string &l, char *r)
 
int doj::alphanum_comp (char *l, const std::string &r)
 
int doj::alphanum_comp (const std::string &l, const char *r)
 
int doj::alphanum_comp (const char *l, const std::string &r)