71 #ifndef __INCLUDE_CNXSTRING_HXX 72 #define __INCLUDE_CNXSTRING_HXX 78 #include <nuttx/config.h> 80 #include <sys/types.h> 94 #if defined(__cplusplus) 98 class CStringIterator;
154 return m_stringLength > 0;
266 void setText(FAR
const char *text);
307 void remove(
const int startIndex);
317 void remove(
const int startIndex,
const int count);
494 #endif // __cplusplus 496 #endif // __INCLUDE_CNXSTRING_HXX
int compareTo(const CNxString &string) const
int getAllocatedSize(void) const
const int lastIndexOf(nxwidget_char_t letter) const
void append(const CNxString &text)
FAR nxwidget_char_t * getCharPointer(const int index) const
const unsigned int getAllocSize(void) const
CNxString & operator=(const CNxString &string)
const int indexOf(nxwidget_char_t letter) const
void setText(const CNxString &text)
void allocateMemory(int chars, bool preserve)
FAR const nxwidget_char_t * getCharArray(void) const
const unsigned int getLength(void) const
const nxwidget_char_t getCharAt(int index) const
void copyToCharArray(FAR nxwidget_char_t *buffer) const
CStringIterator * newStringIterator(void) const
FAR nxwidget_char_t * m_text
void insert(const CNxString &text, const int index)
CNxString * subString(int startIndex) const