neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::ci_char_traits< Traits > Struct Template Reference

#include <string_ci.hpp>

Inheritance diagram for neolib::ci_char_traits< Traits >:

Public Types

typedef Traits::char_type char_type
 
typedef Traits::int_type int_type
 

Static Public Member Functions

static int compare (const char_type *s1, const char_type *s2, std::size_t n)
 
static const char_typefind (const char_type *str, std::size_t n, const char_type &c)
 
static bool eq (const char_type &c1, const char_type &c2)
 
static bool lt (const char_type &c1, const char_type &c2)
 
static int_type lower (char_type c)
 

Detailed Description

template<typename Traits>
struct neolib::ci_char_traits< Traits >

Definition at line 45 of file string_ci.hpp.

Member Typedef Documentation

◆ char_type

template<typename Traits >
typedef Traits::char_type neolib::ci_char_traits< Traits >::char_type

Definition at line 48 of file string_ci.hpp.

◆ int_type

template<typename Traits >
typedef Traits::int_type neolib::ci_char_traits< Traits >::int_type

Definition at line 49 of file string_ci.hpp.

Member Function Documentation

◆ compare()

template<typename Traits >
static int neolib::ci_char_traits< Traits >::compare ( const char_type s1,
const char_type s2,
std::size_t  n 
)
inlinestatic

Definition at line 51 of file string_ci.hpp.

◆ eq()

template<typename Traits >
static bool neolib::ci_char_traits< Traits >::eq ( const char_type c1,
const char_type c2 
)
inlinestatic

Definition at line 75 of file string_ci.hpp.

◆ find()

template<typename Traits >
static const char_type * neolib::ci_char_traits< Traits >::find ( const char_type str,
std::size_t  n,
const char_type c 
)
inlinestatic

Definition at line 64 of file string_ci.hpp.

◆ lower()

template<typename Traits >
static int_type neolib::ci_char_traits< Traits >::lower ( char_type  c)
inlinestatic

Definition at line 83 of file string_ci.hpp.

◆ lt()

template<typename Traits >
static bool neolib::ci_char_traits< Traits >::lt ( const char_type c1,
const char_type c2 
)
inlinestatic

Definition at line 79 of file string_ci.hpp.


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