An XML element reader that reads a single group presentation. More...
#include <nxmlalgebrareader.h>
Public Member Functions | |
NXMLGroupPresentationReader () | |
Creates a new group presentation reader. | |
virtual NGroupPresentation * | getGroup () |
Returns the newly allocated group presentation that has been read by this element reader. | |
virtual void | startElement (const std::string &tagName, const regina::xml::XMLPropertyDict &tagProps, NXMLElementReader *parentReader) |
virtual NXMLElementReader * | startSubElement (const std::string &subTagName, const regina::xml::XMLPropertyDict &subTagProps) |
Signifies that a subelement of this XML element is about to be parsed. | |
virtual void | endSubElement (const std::string &subTagName, NXMLElementReader *subReader) |
An XML element reader that reads a single group presentation.
A group presentation is generally contained within a <group>
... </group>
pair.
regina::NXMLGroupPresentationReader::NXMLGroupPresentationReader | ( | ) | [inline] |
Creates a new group presentation reader.
NGroupPresentation * regina::NXMLGroupPresentationReader::getGroup | ( | ) | [inline, virtual] |
Returns the newly allocated group presentation that has been read by this element reader.
virtual NXMLElementReader* regina::NXMLGroupPresentationReader::startSubElement | ( | const std::string & | subTagName, | |
const regina::xml::XMLPropertyDict & | subTagProps | |||
) | [virtual] |
Signifies that a subelement of this XML element is about to be parsed.
The default implementation returns a new NXMLElementReader which can be used to ignore the subelement completely.
subTagName | the name of the subelement opening tag. | |
subTagProps | the properties associated with the subelement opening tag. |
Reimplemented from regina::NXMLElementReader.