Public Types | Static Public Member Functions | Static Public Attributes

base::CharTraits< wchar_t > Struct Template Reference

character traits for data type wchar_t More...

#include <libppbase/base/CharTraits.h>

List of all members.

Public Types

typedef size_t size_type
 data type for sizes

Static Public Member Functions

static size_type dtoa (double n, wchar_t *s)
 double to string
static int isalnum (wchar_t ch)
 is alphanumeric
static int isalpha (wchar_t ch)
 is alphabetic
static int isdigit (wchar_t ch)
 is a digit
static int isspace (wchar_t ch)
 is spacing
static size_type length (const wchar_t *s)
 string length
static size_type ltoa (long n, wchar_t *s)
 long to string
static size_type lltoa (longlong_t n, wchar_t *s)
 long long to string
static int memcmp (const wchar_t *a, const wchar_t *b, size_type n)
 compare mem
static void memmove (wchar_t *d, const wchar_t *s, size_type n)
 move mem
static void memset (wchar_t *d, wchar_t ch, size_type n)
 set mem
static int strcasecmp (const wchar_t *a, const wchar_t *b)
 case-insensitive compare strings
static const wchar_t * strchr (const wchar_t *a, wchar_t b)
 find char
static wchar_t * strchr (wchar_t *a, wchar_t b)
 find char
static int strcmp (const wchar_t *a, const wchar_t *b)
 compare strings
static wchar_t * strcpy (wchar_t *dest, const wchar_t *src)
 copy strings
static int strncmp (const wchar_t *a, const wchar_t *b, size_type n)
 compare strings
static wchar_t * strncpy (wchar_t *dest, const wchar_t *src, size_type n)
 copy strings
static void swap (wchar_t *ch)
 swap byte halfs
static wchar_t tolower (wchar_t ch)
 conver to lower case
static wchar_t toupper (wchar_t ch)
 convert to upper case
static size_type ultoa (unsigned long n, wchar_t *s)
 unsigned long to string
static size_type ulltoa (u_longlong_t n, wchar_t *s)
 unsigned long long to string
static size_type vxprintf (wchar_t *d, size_type n, const wchar_t *f, va_list ap)
 variable string printf

Static Public Attributes

static const wchar_t ch_ast = L'*'
 asterisk
static const wchar_t ch_neg = L'-'
 minus
static const wchar_t ch_qm = L'?'
 question mark
static const wchar_t ch0 = L'0'
 zero
static const wchar_t cha = L'a'
 small a
static const wchar_t chA = L'A'
 capital A
static const wchar_t chx = L'x'
 small x
static const wchar_t chX = L'X'
 capital X
static const wchar_t * empty
 empty string
static const wchar_t * eoln
 end of line marker
static const wchar_t nul = L'\0'
 zero byte
static const wchar_t path_separator_char = L'/'
 path separator
static const wchar_t * path_separator_string
 path separator

Detailed Description

template<>
struct base::CharTraits< wchar_t >

character traits for data type wchar_t


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