MySQL 8.0.39
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 uchar *s, const uchar *e) const
 

Private Types

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

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 uchar *, const uchar *)
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 uchar s,
const uchar 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: