ZFFramework
|
types for ZFFramework More...
Go to the source code of this file.
Typedefs | |
typedef _ZFT_t_zfchar | zfchar |
char wrapper | |
typedef _ZFT_t_zfchar | zft_zfchar |
primitive number type, use only if necessary, for app, use zfchar instead | |
Functions | |
zfindex | zfcharGetSize (const zfchar *p) |
get logical char's size, see zfcharMoveNext | |
template<typename T_CharString > | |
void | zfcharMoveNext (T_CharString &p) |
move to next logical char | |
template<typename T_Str , typename T_CharString > | |
void | zfcharAppendAndMoveNext (T_Str &s, T_CharString &p) |
append logical char from p to s, then move p to next char, see zfcharMoveNext | |
zfindex | zfslen (const zfchar *s) |
strlen wrapper as zfchar type | |
zfchar * | zfscpy (zfchar *dst, const zfchar *src) |
strcpy wrapper as zfchar type | |
zfint | zfscmp (const zfchar *s1, const zfchar *s2) |
strcmp wrapper as zfchar type | |
zfint | zfsicmp (const zfchar *s1, const zfchar *s2) |
stricmp wrapper as zfchar type, no locale supported | |
zfint | zfsncmp (const zfchar *s1, const zfchar *s2, zfindex count) |
strncmp wrapper as zfchar type | |
zfint | zfsnicmp (const zfchar *s1, const zfchar *s2, zfindex count) |
strnicmp wrapper as zfchar type, no locale supported | |
types for ZFFramework
|
inline |
move to next logical char
since zfchar's encoding may take more than one char unit to store a logical char, you can't simply use "++p"
this macro take one param, which should be a pointer var of (zfchar *) or (const zfchar *), and this macro would move the pointer to next logical char