Torc
0.1
|
#include <torcxmlreader.h>
Public Member Functions | |
TorcXMLReader (const QString &File) | |
TorcXMLReader (QByteArray &Data) | |
~TorcXMLReader ()=default | |
bool | IsValid (QString &Message) const |
QVariantMap | GetResult (void) const |
A simple XML file reader.
TorcXMLReader will open and parse an XML file, returning the contents of the file as a hierarchical QVariantMap.
There is no support for mixed elements or any attributes - as these cannot be represented within a QVariantMap.
Definition at line 8 of file torcxmlreader.h.
|
explicit |
Definition at line 43 of file torcxmlreader.cpp.
|
explicit |
Definition at line 68 of file torcxmlreader.cpp.
|
default |
QVariantMap TorcXMLReader::GetResult | ( | void | ) | const |
Definition at line 86 of file torcxmlreader.cpp.
bool TorcXMLReader::IsValid | ( | QString & | Message | ) | const |
Definition at line 80 of file torcxmlreader.cpp.