FixedStr class template is used to declare a string object which has enough space to store a string of MAXFIXED size. If the string being assigned is longer, heap memory is allocated. Otherwise no memory is allocated.
#include <str.h>
Collaboration diagram for jvar::FixedStr< MAXFIXED >:Public Member Functions | |
| FixedStr (const FixedStr &src) | |
| FixedStr (FixedStr &src) | |
| FixedStr & | operator= (const FixedStr &src) |
| FixedStr & | operator= (const FixedStr *src) |
| void | set (const char *val) |
| void | setExt (const char *val) |
| const char * | get () const |
| void | clear () |