kioslaves
parseString Class Reference
a string used during parsing the string allows you to move the effective start of the string using str.pos++ and str.pos--. More...
#include <imapparser.h>
Public Member Functions | |
void | clear () |
QCString | cstr () const |
int | find (char c, int index=0) |
void | fromString (const QString &s) |
bool | isEmpty () const |
uint | length () |
char | operator[] (uint i) const |
parseString () | |
void | takeLeft (QCString &dest, uint len) const |
void | takeLeftNoResize (QCString &dest, uint len) const |
void | takeMid (QCString &dest, uint start, uint len) const |
void | takeMidNoResize (QCString &dest, uint start, uint len) const |
Public Attributes | |
QByteArray | data |
uint | pos |
Detailed Description
a string used during parsing the string allows you to move the effective start of the string using str.pos++ and str.pos--.
- Bug:
- it is possible to move past the beginning and end of the string
Definition at line 52 of file imapparser.h.
Constructor & Destructor Documentation
parseString::parseString | ( | ) | [inline] |
Definition at line 55 of file imapparser.h.
Member Function Documentation
void parseString::clear | ( | ) | [inline] |
Definition at line 90 of file imapparser.h.
QCString parseString::cstr | ( | ) | const [inline] |
Definition at line 58 of file imapparser.h.
int parseString::find | ( | char | c, | |
int | index = 0 | |||
) | [inline] |
Definition at line 63 of file imapparser.h.
void parseString::fromString | ( | const QString & | s | ) | [inline] |
Definition at line 99 of file imapparser.h.
bool parseString::isEmpty | ( | ) | const [inline] |
Definition at line 57 of file imapparser.h.
uint parseString::length | ( | ) | [inline] |
Definition at line 95 of file imapparser.h.
char parseString::operator[] | ( | uint | i | ) | const [inline] |
Definition at line 56 of file imapparser.h.
void parseString::takeLeft | ( | QCString & | dest, | |
uint | len | |||
) | const [inline] |
Definition at line 69 of file imapparser.h.
void parseString::takeLeftNoResize | ( | QCString & | dest, | |
uint | len | |||
) | const [inline] |
Definition at line 75 of file imapparser.h.
void parseString::takeMid | ( | QCString & | dest, | |
uint | start, | |||
uint | len | |||
) | const [inline] |
Definition at line 80 of file imapparser.h.
void parseString::takeMidNoResize | ( | QCString & | dest, | |
uint | start, | |||
uint | len | |||
) | const [inline] |
Definition at line 86 of file imapparser.h.
Member Data Documentation
Definition at line 104 of file imapparser.h.
uint parseString::pos |
Definition at line 105 of file imapparser.h.
The documentation for this class was generated from the following file: