ZED Open Capture  v0.6.0
Low level camera driver for the ZED stereo camera family
Public Member Functions | List of all members
sl_oc::tools::SI_GenericCase< SI_CHAR > Struct Template Reference

#include <calibration.hpp>

Public Member Functions

bool operator() (const SI_CHAR *pLeft, const SI_CHAR *pRight) const
 

Detailed Description

template<class SI_CHAR>
struct sl_oc::tools::SI_GenericCase< SI_CHAR >

Generic case-sensitive less than comparison. This class returns numerically ordered ASCII case-sensitive text for all possible sizes and types of SI_CHAR.

Definition at line 2510 of file calibration.hpp.

Member Function Documentation

◆ operator()()

template<class SI_CHAR >
bool sl_oc::tools::SI_GenericCase< SI_CHAR >::operator() ( const SI_CHAR *  pLeft,
const SI_CHAR *  pRight 
) const
inline

Definition at line 2512 of file calibration.hpp.

2512  {
2513  long cmp;
2514  for (; *pLeft && *pRight; ++pLeft, ++pRight) {
2515  cmp = (long) *pLeft - (long) *pRight;
2516  if (cmp != 0) {
2517  return cmp < 0;
2518  }
2519  }
2520  return *pRight != 0;
2521  }

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