OpenTTD Source 20241224-master-gf74b0cf984
CaseInsensitiveCharTraits Struct Reference

Case insensitive implementation of the standard character type traits. More...

Inheritance diagram for CaseInsensitiveCharTraits:

Static Public Member Functions

static bool eq (char c1, char c2)
 
static bool ne (char c1, char c2)
 
static bool lt (char c1, char c2)
 
static int compare (const char *s1, const char *s2, size_t n)
 
static const char * find (const char *s, size_t n, char a)
 

Detailed Description

Case insensitive implementation of the standard character type traits.

Definition at line 288 of file string.cpp.

Member Function Documentation

◆ compare()

static int CaseInsensitiveCharTraits::compare ( const char *  s1,
const char *  s2,
size_t  n 
)
inlinestatic

Definition at line 293 of file string.cpp.

◆ eq()

static bool CaseInsensitiveCharTraits::eq ( char  c1,
char  c2 
)
inlinestatic

Definition at line 289 of file string.cpp.

◆ find()

static const char * CaseInsensitiveCharTraits::find ( const char *  s,
size_t  n,
char  a 
)
inlinestatic

Definition at line 303 of file string.cpp.

◆ lt()

static bool CaseInsensitiveCharTraits::lt ( char  c1,
char  c2 
)
inlinestatic

Definition at line 291 of file string.cpp.

◆ ne()

static bool CaseInsensitiveCharTraits::ne ( char  c1,
char  c2 
)
inlinestatic

Definition at line 290 of file string.cpp.


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