MySQL 8.4.2
Source Code Documentation
Mb_wc_through_function_pointer Class Reference

Functor that uses a function pointer to convert a multibyte sequence to a wide character. More...

#include <mb_wc.h>

Public Member Functions

 Mb_wc_through_function_pointer (const CHARSET_INFO *cs)
 
int operator() (my_wc_t *pwc, const uint8_t *s, const uint8_t *e) const
 

Private Types

typedef int(* mbwc_func_t) (const CHARSET_INFO *, my_wc_t *, const uint8_t *, const uint8_t *)
 

Private Attributes

const mbwc_func_t m_funcptr
 
const CHARSET_INFO *const m_cs
 

Detailed Description

Functor that uses a function pointer to convert a multibyte sequence to a wide character.

Member Typedef Documentation

◆ mbwc_func_t

typedef int(* Mb_wc_through_function_pointer::mbwc_func_t) (const CHARSET_INFO *, my_wc_t *, const uint8_t *, const uint8_t *)
private

Constructor & Destructor Documentation

◆ Mb_wc_through_function_pointer()

Mb_wc_through_function_pointer::Mb_wc_through_function_pointer ( const CHARSET_INFO cs)
inlineexplicit

Member Function Documentation

◆ operator()()

int Mb_wc_through_function_pointer::operator() ( my_wc_t pwc,
const uint8_t *  s,
const uint8_t *  e 
) const
inline

Member Data Documentation

◆ m_cs

const CHARSET_INFO* const Mb_wc_through_function_pointer::m_cs
private

◆ m_funcptr

const mbwc_func_t Mb_wc_through_function_pointer::m_funcptr
private

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