#include <MonitorXmlHandler.h>
Public Member Functions | |
| bool | getParseError () |
| QString | getParseErrorString () |
| MonitorXmlHandler (MonitorDataPlotter *) | |
| ~MonitorXmlHandler () | |
Protected Member Functions | |
| bool | characters (const QString &ch) |
| bool | endElement (const QString &, const QString &, const QString &) |
| bool | error (const QXmlParseException &exception) |
| QString | errorString () |
| bool | fatalError (const QXmlParseException &exception) |
| bool | startDocument () |
| bool | startElement (const QString &, const QString &, const QString &, const QXmlAttributes &) |
| bool | warning (const QXmlParseException &exception) |
Private Member Functions | |
| MonitorXmlHandler (const MonitorXmlHandler &) | |
| MonitorXmlHandler | operator= (const MonitorXmlHandler &) |
Private Attributes | |
| QString | currentElement |
| MonitorDataPlotter * | monitorDataPlotter |
| NewGraph | newGraph |
| bool | parseError |
| QString | parseErrorString |
Definition at line 39 of file MonitorXmlHandler.h.
|
|
Constructor. Definition at line 33 of file MonitorXmlHandler.cpp. References monitorDataPlotter. |
|
|
Destructor. Definition at line 40 of file MonitorXmlHandler.cpp. |
|
|
Declare copy constructor private so it cannot be used inadvertently. |
|
|
Called when parser encounters characters. Definition at line 68 of file MonitorXmlHandler.cpp. References currentElement, NewGraph::description, newGraph, parseError, parseErrorString, NewGraph::rangeHigh, and NewGraph::rangeLow. |
|
||||||||||||||||
|
Called when the parser encounters the end of an element. Definition at line 91 of file MonitorXmlHandler.cpp. References MonitorDataPlotter::addGraph(), MonitorDataPlotter::loadingComplete(), monitorDataPlotter, and newGraph. |
|
|
Called when the parser generates an error. Definition at line 102 of file MonitorXmlHandler.cpp. References parseError, and parseErrorString. |
|
|
Returns a default error string. Definition at line 111 of file MonitorXmlHandler.cpp. |
|
|
Called when the parser generates a fatal error. Definition at line 118 of file MonitorXmlHandler.cpp. References parseError, and parseErrorString. |
|
|
Returns true if an error has been encountered during parsing. Definition at line 52 of file MonitorXmlHandler.cpp. References parseError. Referenced by MonitorDataPlotter::setUpGraphs(). |
|
|
Returns a string describing the parsing error. Definition at line 58 of file MonitorXmlHandler.cpp. References parseErrorString. Referenced by MonitorDataPlotter::setUpGraphs(). |
|
|
Declare assignment private so it cannot be used inadvertently. |
|
|
Called when parser reaches the start of the document. Definition at line 127 of file MonitorXmlHandler.cpp. References parseError, and parseErrorString. |
|
||||||||||||||||||||
|
Called when parser reaches the start of an element. Definition at line 135 of file MonitorXmlHandler.cpp. References currentElement. |
|
|
Called when the parser generates a warning. Definition at line 142 of file MonitorXmlHandler.cpp. |
|
|
Stores the current element. Definition at line 64 of file MonitorXmlHandler.h. Referenced by characters(), and startElement(). |
|
|
Reference to the Neuron Monitor that this class is loading data for. Definition at line 67 of file MonitorXmlHandler.h. Referenced by endElement(), and MonitorXmlHandler(). |
|
|
NeuronGroup used to hold information about the neuron group as it is parsed. Definition at line 71 of file MonitorXmlHandler.h. Referenced by characters(), and endElement(). |
|
|
Records whether there has been an error during parsing. Definition at line 74 of file MonitorXmlHandler.h. Referenced by characters(), error(), fatalError(), getParseError(), and startDocument(). |
|
|
Error messages generated during parsing. Definition at line 77 of file MonitorXmlHandler.h. Referenced by characters(), error(), fatalError(), getParseErrorString(), and startDocument(). |
1.4.4