Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

SWIstring.h File Reference

#include <SWIchar.h>

Functions

*double SWIatof (const char *str)
 Convert a string to double.
float SWIatofloat (const char *str)
 Convert a string to float.
SWIcharResult SWIdtostr (double d, char *str, int len)
 Convert a double to a string.
SWIcharResult SWIdtowcs (double d, wchar_t *wstr, int len)
 Convert a double to a wide string.
double SWIwcstod (const wchar_t *wstr)
 Convert a wide string to double.
float SWIwcstof (const wchar_t *wstr)
 Convert a wide string to float.
SWIcharResult SWIwtof (const wchar_t *wstr, float *fval)
 Convert a wide string to float.
SWIcharResult SWIstrtowcs (const char *str, wchar_t *wstr, int len)
 Convert a narrow string to wide.
SWIcharResult SWIwcstostr (const wchar_t *wstr, char *str, int len)
 Convert a wide string to narrow.
SWIcharResult SWIitowcs (int i, wchar_t *wstr, int len)
 Convert a integer to a wide string.
SWIcharResult SWIwcstoi (const wchar_t *wstr, int *pi)
 Convert a integer to a wide string.
int SWIwtoi (const wchar_t *wstr)
 Convert a wide string to an integer.
int SWIwcsstrcmp (const wchar_t *w, const char *str)
 Compares a wide string to a narrow string.
int SWIisascii (const wchar_t *wstr)
 Tests that the given wchar string contains only ASCII characters, which are any character with a value less than than or equal to 0x7F.
int SWIislatin1 (const wchar_t *wstr)
 Tests that the given wchar string contains only LATIN-1 characters, which are any character with a value less than than or equal to 0xFF.
int SWIisvalid_unicode (const wchar_t *wstr)
 Tests that the given wchar string
  • does not contain high surrogates (D800 to DBFF)
  • does not contain non-characters (FFFE and FFFF)
  • the top 16-bit of 32-bit wchar are 0.

wchar_t * SWIwcstok (wchar_t *wcs, const wchar_t *delim, wchar_t **ptr)
 Find the next token in a wide string.
char * SWIstrtok (char *str, const char *delim, char **ptr)
 Find the next token in a string.


Generated on Wed Jun 1 12:50:18 2005 for OpenVXI by  doxygen 1.4.2