jvar
JS inspired Variant and Json
jvar::FixedStr< MAXFIXED > Class Template Reference

Detailed Description

template<int MAXFIXED>
class jvar::FixedStr< MAXFIXED >

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)
FixedStroperator= (const FixedStr &src)
FixedStroperator= (const FixedStr *src)
void set (const char *val)
void setExt (const char *val)
const char * get () const
void clear ()

The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerator