Public Types | Static Public Member Functions | Static Public Attributes

base::CharTraits< char > Struct Template Reference

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

Static Public Attributes

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

Detailed Description

template<>
struct base::CharTraits< char >

character traits for data type char


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