Back to Jetson Inference

Jetson Inference: doj Namespace Reference

docs/html/namespacedoj.html

latest4.7 KB
Original Source

| | Jetson Inference

DNN Vision Library |

Classes | Functions

doj Namespace Reference

|

Classes

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

|

Functions

| | template<typename lT , typename rT > | | int | 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 | 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 | 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 | alphanum_comp (const char *l, const char *r) | | | | int | alphanum_comp (char *l, const char *r) | | | | int | alphanum_comp (const char *l, char *r) | | | | int | alphanum_comp (const std::string &l, char *r) | | | | int | alphanum_comp (char *l, const std::string &r) | | | | int | alphanum_comp (const std::string &l, const char *r) | | | | int | alphanum_comp (const char *l, const std::string &r) | | |

Function Documentation

alphanum_comp() [1/9]

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

Returnsnegative if l<r, 0 if l==r, positive if l>r.

alphanum_comp() [2/9]

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

alphanum_comp() [3/9]

| int doj::alphanum_comp | ( | char * | l, | | | | const std::string & | r | | | ) | | |

alphanum_comp() [4/9]

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

alphanum_comp() [5/9]

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

alphanum_comp() [6/9]

| int doj::alphanum_comp | ( | const char * | l, | | | | const std::string & | r | | | ) | | |

alphanum_comp() [7/9]

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.

The classes lT and rT must implement "std::ostream operator<< (std::ostream&, const Ty&)".

Returnsnegative if left<right, 0 if left==right, positive if left>right.

alphanum_comp() [8/9]

| int doj::alphanum_comp | ( | const std::string & | l, | | | | char * | r | | | ) | | |

alphanum_comp() [9/9]

| int doj::alphanum_comp | ( | const std::string & | l, | | | | const char * | r | | | ) | | |

alphanum_comp< std::string >()

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.

Returnsnegative if l<r, 0 if l==r, positive if l>r.

  • doj
  • Generated on Tue Mar 28 2023 14:27:58 for Jetson Inference by 1.8.17