foobar2000 SDK  2015-08-03
Data Structures | Namespaces | Typedefs | Enumerations | Functions
string_conv.h File Reference

Go to the source code of this file.

Data Structures

class  pfc::stringcvt::char_buffer_t< t_char, t_alloc >
 
class  pfc::stringcvt::string_ansi_from_utf8
 
class  pfc::stringcvt::string_ansi_from_wide
 
class  pfc::stringcvt::string_ascii_from_utf8
 
class  pfc::stringcvt::string_codepage_from_utf8
 
class  pfc::stringcvt::string_codepage_from_wide_t< t_alloc >
 
class  pfc::stringcvt::string_utf8_from_ansi
 
class  pfc::stringcvt::string_utf8_from_codepage
 
class  pfc::stringcvt::string_utf8_from_os_ex
 
class  pfc::stringcvt::string_utf8_from_wide_t< t_alloc >
 
class  pfc::stringcvt::string_utf8_from_win1252_t< t_alloc >
 
class  pfc::stringcvt::string_wide_from_ansi
 
class  pfc::stringcvt::string_wide_from_codepage_t< t_alloc >
 
class  pfc::stringcvt::string_wide_from_utf8_t< t_alloc >
 
class  pfc::stringcvt::string_wide_from_win1252_t< t_alloc >
 
class  pfc::stringcvt::string_win1252_from_utf8_t< t_alloc >
 
class  pfc::stringcvt::string_win1252_from_wide_t< t_alloc >
 

Namespaces

 pfc
 
 pfc::stringcvt
 

Typedefs

typedef string_win1252_from_utf8 pfc::stringcvt::string_ansi_from_utf8
 
typedef string_win1252_from_wide pfc::stringcvt::string_ansi_from_wide
 
typedef string_codepage_from_wide_t pfc::stringcvt::string_codepage_from_wide
 
typedef string_wide_from_utf8 pfc::stringcvt::string_os_from_utf8
 
typedef string_wide_from_utf8_fast pfc::stringcvt::string_os_from_utf8_fast
 
typedef string_utf8_from_win1252 pfc::stringcvt::string_utf8_from_ansi
 
typedef string_utf8_from_wide pfc::stringcvt::string_utf8_from_os
 
typedef string_utf8_from_wide_t pfc::stringcvt::string_utf8_from_wide
 
typedef string_utf8_from_win1252_t pfc::stringcvt::string_utf8_from_win1252
 
typedef string_wide_from_win1252 pfc::stringcvt::string_wide_from_ansi
 
typedef string_wide_from_codepage_t pfc::stringcvt::string_wide_from_codepage
 
typedef string_wide_from_utf8_t pfc::stringcvt::string_wide_from_utf8
 
typedef string_wide_from_utf8_t< alloc_fast_aggressive > pfc::stringcvt::string_wide_from_utf8_fast
 
typedef string_wide_from_win1252_t pfc::stringcvt::string_wide_from_win1252
 
typedef string_win1252_from_utf8_t pfc::stringcvt::string_win1252_from_utf8
 
typedef string_win1252_from_wide_t pfc::stringcvt::string_win1252_from_wide
 

Enumerations

enum  { pfc::stringcvt::codepage_system = CP_ACP, pfc::stringcvt::codepage_ascii = 20127, pfc::stringcvt::codepage_iso_8859_1 = 28591 }
 

Functions

t_size pfc::stringcvt::convert_ansi_to_wide (wchar_t *p_out, t_size p_out_size, const char *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::convert_codepage_to_wide (unsigned p_codepage, wchar_t *p_out, t_size p_out_size, const char *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::convert_utf8_to_ascii (char *p_out, t_size p_out_size, const char *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::convert_utf8_to_wide (wchar_t *p_out, t_size p_out_size, const char *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::convert_utf8_to_wide_unchecked (wchar_t *p_out, const char *p_in)
 
t_size pfc::stringcvt::convert_utf8_to_win1252 (char *p_out, t_size p_out_size, const char *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::convert_wide_to_ansi (char *p_out, t_size p_out_size, const wchar_t *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::convert_wide_to_codepage (unsigned p_codepage, char *p_out, t_size p_out_size, const wchar_t *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::convert_wide_to_utf8 (char *p_out, t_size p_out_size, const wchar_t *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::convert_wide_to_win1252 (char *p_out, t_size p_out_size, const wchar_t *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::convert_win1252_to_utf8 (char *p_out, t_size p_out_size, const char *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::convert_win1252_to_wide (wchar_t *p_out, t_size p_out_size, const char *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::estimate_ansi_to_wide (const char *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::estimate_codepage_to_wide (unsigned p_codepage, const char *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::estimate_utf8_to_ascii (const char *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::estimate_utf8_to_wide (const char *p_in)
 
t_size pfc::stringcvt::estimate_utf8_to_wide (const char *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::estimate_utf8_to_wide_quick (t_size sourceLen)
 
t_size pfc::stringcvt::estimate_utf8_to_wide_quick (const char *source)
 
t_size pfc::stringcvt::estimate_utf8_to_wide_quick (const char *source, t_size sourceLen)
 
t_size pfc::stringcvt::estimate_utf8_to_win1252 (const char *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::estimate_wide_to_ansi (const wchar_t *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::estimate_wide_to_codepage (unsigned p_codepage, const wchar_t *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::estimate_wide_to_utf8 (const wchar_t *p_source, t_size p_source_size)
 
t_size pfc::stringcvt::estimate_wide_to_win1252 (const wchar_t *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::estimate_win1252_to_utf8 (const char *p_in, t_size p_in_size)
 
t_size pfc::stringcvt::estimate_win1252_to_wide (const char *p_source, t_size p_source_size)
 
template<typename t_char >
const t_char * pfc::stringcvt::null_string_t ()
 
template<>
const char * pfc::stringcvt::null_string_t< char > ()
 
template<>
const wchar_t * pfc::stringcvt::null_string_t< wchar_t > ()
 
pfc::string_baseoperator<< (pfc::string_base &p_fmt, const wchar_t *p_str)
 
template<typename t_char >
bool pfc::stringcvt::string_is_empty_t (const t_char *p_string, t_size p_string_size=~0)
 
template<typename t_char >
t_size pfc::stringcvt::strlen_t (const t_char *p_string, t_size p_string_size=~0)
 

Function Documentation

pfc::string_base& operator<< ( pfc::string_base p_fmt,
const wchar_t *  p_str 
)
inline

Definition at line 558 of file string_conv.h.

558 { p_fmt.add_string(pfc::stringcvt::string_utf8_from_wide(p_str) ); return p_fmt; }
virtual void add_string(const char *p_string, t_size p_length=~0)=0