Go to the source code of this file.
Defines | |
#define | ctl_mstring(tchar, handler) ppConcat4(ctl_mstring_,tchar,_,handler) |
Get class name from base name and character type. | |
#define | ctl_mstring_(tchar, handler, function) ppConcat3(ctl_mstring(tchar,handler),_,function) |
Build the function name from character type and root class. | |
#define | ctl_mstring_xgrow(tchar, handler, xgrow) ppConcat3(ctl_mstring_,handler,_xgrow)(tchar, xgrow ) |
#define | ctl_mstring_xfixed(tchar, handler, xfixed) ppConcat3(ctl_mstring_,handler,_xfixed)(tchar, xfixed ) |
#define | ctl_mstring_cond(tchar, handler, xgrow, xfixed) ppConcat3(ctl_mstring_,handler,_cond)(tchar, xgrow, xfixed ) |
#define | ctldecl_ctl_mstring(tchar, handler) |
Base class for ctl_fstring and ctl_string. | |
Functions | |
struct | ppConcat4 (ctl_mstring_, char, _, grow) |
Mutable string class. | |
struct | ppConcat4 (ctl_mstring_, wchar_t, _, grow) |
Mutable string class. | |
struct | ppConcat4 (ctl_mstring_, char, _, fixed) |
Mutable string class. | |
struct | ppConcat4 (ctl_mstring_, wchar_t, _, fixed) |
Mutable string class. |
Currently these only support wchar_t or char. The wchar_t is for assumed to be wide (unicode) characters, and if it isn't defined for your target, just stick to char, or define all of the relevant translations and extensions, then plug them in as your own lib.
mstring.h Contains the header that these reference mstring.temp.h Contains the template definitions mstring.c contains the template expansions fstring.h contains the "friendly" fixed string variants gstring.h contains the "friendly" grown string variants
Definition in file mstring.h.
#define ctl_mstring_cond | ( | tchar, | |||
handler, | |||||
xgrow, | |||||
xfixed | ) | ppConcat3(ctl_mstring_,handler,_cond)(tchar, xgrow, xfixed ) |
#define ctl_mstring_xfixed | ( | tchar, | |||
handler, | |||||
xfixed | ) | ppConcat3(ctl_mstring_,handler,_xfixed)(tchar, xfixed ) |
#define ctl_mstring_xgrow | ( | tchar, | |||
handler, | |||||
xgrow | ) | ppConcat3(ctl_mstring_,handler,_xgrow)(tchar, xgrow ) |