#include <nxmlalgebrareader.h>
Public Member Functions | |
NXMLAbelianGroupReader () | |
Creates a new abelian group reader. | |
virtual NAbelianGroup * | getGroup () |
Returns the newly allocated abelian group that has been read by this element reader. | |
virtual void | startElement (const std::string &tagName, const regina::xml::XMLPropertyDict &tagProps, NXMLElementReader *parentReader) |
Signifies that parsing of this XML element is beginning. | |
virtual void | initialChars (const std::string &chars) |
Signifies that the initial text belonging to this XML element has been read. |
An abelian group is generally contained within an <abeliangroup>
... </abeliangroup>
pair.
regina::NXMLAbelianGroupReader::NXMLAbelianGroupReader | ( | ) | [inline] |
Creates a new abelian group reader.
NAbelianGroup * regina::NXMLAbelianGroupReader::getGroup | ( | ) | [inline, virtual] |
Returns the newly allocated abelian group that has been read by this element reader.
virtual void regina::NXMLAbelianGroupReader::initialChars | ( | const std::string & | chars | ) | [virtual] |
Signifies that the initial text belonging to this XML element has been read.
The initial text is everything between the opening tag and the first subelement or closing tag.
The default implementation does nothing.
chars | the initial text for this element. |
Reimplemented from regina::NXMLElementReader.
virtual void regina::NXMLAbelianGroupReader::startElement | ( | const std::string & | tagName, | |
const regina::xml::XMLPropertyDict & | tagProps, | |||
NXMLElementReader * | parentReader | |||
) | [virtual] |
Signifies that parsing of this XML element is beginning.
The default implementation does nothing.
tagName | the name of the opening tag for this element. | |
tagProps | the properties associated with the opening tag. | |
parentReader | the reader currently parsing the parent XML element, or 0 if this is the top-level element. If this paraneter is non-zero, it is guaranteed that startSubElement() has already been called upon the parent reader. |
Reimplemented from regina::NXMLElementReader.