Provides string class with a small foot-printVersion: 01102013 Added eraseFirstWords() Version: 05052013 Added tokenize() to get char* tokens. Added clearAll(). Fixed str::printf() Version: 02122013 Added support for str memory on a stack (external memory). Fix removeAllSpecialChars() Version: 12082012 Remove encryption functions, fix beginsWithIgnoreCase(). Added operators for str Version: 10062012 Added scanf() Version: 06192012 Initial. More...

Go to the source code of this file.
Data Structures | |
class | str |
Macros | |
#define | STR_ON_STACK(name, size) |
Detailed Description
Provides string class with a small foot-print
Version: 01102013 Added eraseFirstWords() Version: 05052013 Added tokenize() to get char* tokens. Added clearAll(). Fixed str::printf() Version: 02122013 Added support for str memory on a stack (external memory). Fix removeAllSpecialChars() Version: 12082012 Remove encryption functions, fix beginsWithIgnoreCase(). Added operators for str Version: 10062012 Added scanf() Version: 06192012 Initial.
Macro Definition Documentation
#define STR_ON_STACK | ( | name, | |
size | |||
) |
Declare the str object on stack, no memory allocation is performed.
- Note
- str object on stack cannot grow, so insertion, printf beyond the memory available will fail.
This provides easy way to declare the string on stack. STR_ON_STACK(my_str, 128) turns into : char __my_strbuffer[128]; str my_str(__my_strbuffer, sizeof(__my_strbuffer));