regina::NXMLAbelianGroupReader Class Reference
[Algebraic Structures]

An XML element reader that reads a single abelian group. More...

#include <nxmlalgebrareader.h>

Inheritance diagram for regina::NXMLAbelianGroupReader:
regina::NXMLElementReader

List of all members.

Public Member Functions

 NXMLAbelianGroupReader ()
 Creates a new abelian group reader.
virtual NAbelianGroupgetGroup ()
 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)
virtual void initialChars (const std::string &chars)
 Signifies that the initial text belonging to this XML element has been read.

Detailed Description

An XML element reader that reads a single abelian group.

An abelian group is generally contained within an <abeliangroup> ... </abeliangroup> pair.

Python:
Not present.

Constructor & Destructor Documentation

regina::NXMLAbelianGroupReader::NXMLAbelianGroupReader (  )  [inline]

Creates a new abelian group reader.


Member Function Documentation

NAbelianGroup * regina::NXMLAbelianGroupReader::getGroup (  )  [inline, virtual]

Returns the newly allocated abelian group that has been read by this element reader.

Returns:
the group that has been read, or 0 if an error occurred.
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.

Parameters:
chars the initial text for this element.

Reimplemented from regina::NXMLElementReader.


The documentation for this class was generated from the following file:

Copyright © 1999-2009, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).