#include <qgstring.h>
Public Member Functions | |
QGString () | |
QGString (uint size) | |
QGString (const QGString &s) | |
QGString (const char *str) | |
~QGString () | |
bool | resize (uint newlen) |
bool | enlarge (uint newlen) |
void | setLen (uint newlen) |
QGString & | operator= (const QGString &s) |
QGString & | operator= (const char *str) |
QGString & | operator+= (const QGString &s) |
QGString & | operator+= (const char *str) |
QGString & | operator+= (char c) |
bool | isNull () const |
bool | isEmpty () const |
uint | length () const |
uint | size () const |
char * | data () const |
bool | truncate (uint pos) |
operator const char * () const | |
char & | at (uint index) const |
char & | operator[] (int i) const |
Private Attributes | |
char * | m_data |
uint | m_len |
uint | m_memSize |
This is an alternative implementation of QCString.
Definition at line 19 of file qgstring.h.
QGString::QGString | ( | ) |
Definition at line 27 of file qgstring.cpp.
QGString::QGString | ( | uint | size | ) |
Definition at line 33 of file qgstring.cpp.
QGString::QGString | ( | const QGString & | s | ) |
Definition at line 52 of file qgstring.cpp.
QGString::QGString | ( | const char * | str | ) |
Definition at line 70 of file qgstring.cpp.
QGString::~QGString | ( | ) |
Definition at line 89 of file qgstring.cpp.
|
inline |
Definition at line 45 of file qgstring.h.
|
inline |
Definition at line 42 of file qgstring.h.
Definition at line 127 of file qgstring.cpp.
|
inline |
Definition at line 39 of file qgstring.h.
|
inline |
Definition at line 38 of file qgstring.h.
|
inline |
Definition at line 40 of file qgstring.h.
|
inline |
Definition at line 44 of file qgstring.h.
QGString & QGString::operator+= | ( | const char * | str | ) |
Definition at line 222 of file qgstring.cpp.
QGString & QGString::operator+= | ( | char | c | ) |
Definition at line 241 of file qgstring.cpp.
Definition at line 161 of file qgstring.cpp.
QGString & QGString::operator= | ( | const char * | str | ) |
Definition at line 182 of file qgstring.cpp.
|
inline |
Definition at line 46 of file qgstring.h.
Definition at line 96 of file qgstring.cpp.
void QGString::setLen | ( | uint | newlen | ) |
Definition at line 156 of file qgstring.cpp.
|
inline |
Definition at line 41 of file qgstring.h.
Definition at line 43 of file qgstring.h.
|
private |
Definition at line 49 of file qgstring.h.
|
private |
Definition at line 50 of file qgstring.h.
|
private |
Definition at line 51 of file qgstring.h.