gatelib  2.1
Functions
g_car_base

Functions

template<class T >
bool g::car::is_between (T aChar, T aStart, T aStop)
 returns aStart >= aChar >= aStop.
 
template<class T >
bool g::car::is_char_a_digit (T aChar)
 returns true if char is a digit.
 
template<class T >
bool g::car::is_char_ucase (T aChar)
 returns true if char is a upper case letter.
 
template<class T >
bool g::car::is_char_lcase (T aChar)
 returns true if char is a lower case letter.
 
template<class T >
bool g::car::is_char_a_letter (T aChar)
 returns true if char is a letter.
 
template<class T >
g::car::u_case (T aChar)
 returns the corresponding upper case char.
 
template<class T >
g::car::l_case (T aChar)
 returns the corresponding lower case char.
 
template<>
bool g::car::is_between (char aChar, char aStart, char aStop)
 
template<>
bool g::car::is_between (wchar_t aChar, wchar_t aStart, wchar_t aStop)
 
template<class T >
bool g::car::chr_equal (T aC1, T aC2, bool aIsCaseSensitive)
 
template<class T >
GUint64_t g::car::get_chr_ordinal_code (T aChar)
 
template<class T >
int g::car::chr_compare (T aC1, T aC2, bool aIsCaseSensitive)
 Compares two chars. More...
 

Detailed Description

See also
g_car_base.h

Function Documentation

template<class T >
int g::car::chr_compare ( aC1,
aC2,
bool  aIsCaseSensitive 
)

Compares two chars.

Returns
  • -1 aC1 < aC2
  • 0 aC1 = aC2
  • +1 aC1 > aC2

Referenced by g::str::str_compare().