Chromium Embedded Framework (CEF)  131.2.1+ge081753+chromium-131.0.6778.13
CefStringTraitsWide Struct Reference

Traits implementation for wide character strings. More...

#include "include/internal/cef_string_wrappers.h"

Public Types

typedef wchar_t char_type
 
typedef cef_string_wide_t struct_type
 
typedef cef_string_userfree_wide_t userfree_struct_type
 

Static Public Member Functions

static void clear (struct_type *s)
 
static int set (const char_type *src, size_t src_size, struct_type *output, int copy)
 
static int compare (const struct_type *s1, const struct_type *s2)
 
static userfree_struct_type userfree_alloc ()
 
static void userfree_free (userfree_struct_type ufs)
 
static bool from_ascii (const char *str, size_t len, struct_type *s)
 
static std::string to_string (const struct_type *s)
 
static bool from_string (const std::string::value_type *data, size_t length, struct_type *s)
 
static bool from_string (const std::string &str, struct_type *s)
 
static std::wstring to_wstring (const struct_type *s)
 
static bool from_wstring (const std::wstring::value_type *data, size_t length, struct_type *s)
 
static bool from_wstring (const std::wstring &str, struct_type *s)
 
static bool from_string16 (const std::u16string &str, struct_type *s)
 

Detailed Description

Traits implementation for wide character strings.

Member Typedef Documentation

◆ char_type

◆ struct_type

◆ userfree_struct_type

Member Function Documentation

◆ clear()

static void CefStringTraitsWide::clear ( struct_type s)
inlinestatic

◆ compare()

static int CefStringTraitsWide::compare ( const struct_type s1,
const struct_type s2 
)
inlinestatic

◆ from_ascii()

static bool CefStringTraitsWide::from_ascii ( const char *  str,
size_t  len,
struct_type s 
)
inlinestatic

◆ from_string() [1/2]

static bool CefStringTraitsWide::from_string ( const std::string &  str,
struct_type s 
)
inlinestatic

◆ from_string() [2/2]

static bool CefStringTraitsWide::from_string ( const std::string::value_type *  data,
size_t  length,
struct_type s 
)
inlinestatic

◆ from_string16()

static bool CefStringTraitsWide::from_string16 ( const std::u16string &  str,
struct_type s 
)
inlinestatic

◆ from_wstring() [1/2]

static bool CefStringTraitsWide::from_wstring ( const std::wstring &  str,
struct_type s 
)
inlinestatic

◆ from_wstring() [2/2]

static bool CefStringTraitsWide::from_wstring ( const std::wstring::value_type *  data,
size_t  length,
struct_type s 
)
inlinestatic

◆ set()

static int CefStringTraitsWide::set ( const char_type src,
size_t  src_size,
struct_type output,
int  copy 
)
inlinestatic

◆ to_string()

static std::string CefStringTraitsWide::to_string ( const struct_type s)
inlinestatic

◆ to_wstring()

static std::wstring CefStringTraitsWide::to_wstring ( const struct_type s)
inlinestatic

◆ userfree_alloc()

static userfree_struct_type CefStringTraitsWide::userfree_alloc ( )
inlinestatic

◆ userfree_free()

static void CefStringTraitsWide::userfree_free ( userfree_struct_type  ufs)
inlinestatic

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