#include <ConnectionHandleParser.h>
|
ConnectionHandle | parseConnectionHandle () |
|
bool | readNextStartElement () |
| Like QXmlStreamReader::readNextStartElement(), but also checks mParseError.
|
|
QString | readElementText () |
| Returns the text (simplified()) between the current start element and the corresponding end element.
|
|
void | assertMandatoryElement (const QString &pValue, const char *const pElementName) |
| Issues a log warning and sets the error when the element has not been set, i.e.
|
|
template<typename T> |
bool | assertMandatoryList (const QList< T > &pList, const char *const pElementName) |
| Issues a log warning and sets the error when the list is empty.
|
|
bool | assertNoDuplicateElement (bool pNotYetSeen) |
| Issues a log warning and sets the error when a duplicate element has been encountered.
|
|
bool | readUniqueElementText (QString &pText) |
| Returns the text (simplified()) between the current start element and the corresponding end element, if the element has not been encountered yet.
|
|
void | skipCurrentElement () const |
| Skips parsing of the current element Used to ignore unknown or unrecognized elements while parsing.
|
|
QStringView | getElementName () const |
| Returns the name of the current element and issues a log message with it.
|
|
void | setParserFailed () |
|
void | initData (const QByteArray &pXmlData) |
|
QStringView | getElementTypeByNamespace (const QString &pNamespace) const |
|
◆ ConnectionHandleParser()
ConnectionHandleParser::ConnectionHandleParser |
( |
QSharedPointer< QXmlStreamReader > | pXmlReader | ) |
|
|
explicit |
◆ ~ConnectionHandleParser()
ConnectionHandleParser::~ConnectionHandleParser |
( |
| ) |
|
|
overridedefault |
◆ parse()
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: