Regina Calculation Engine
Public Member Functions | List of all members
regina::XMLCharsReader Class Reference

A reader for an XML element that contains only characters. More...

#include <utilities/xmlelementreader.h>

Inheritance diagram for regina::XMLCharsReader:
regina::XMLElementReader

Public Member Functions

 XMLCharsReader ()
 Creates a new XML element reader. More...
 
const std::string & chars ()
 Returns the characters stored in the XML element that has been read. More...
 
virtual void initialChars (const std::string &chars) override
 Signifies that the initial text belonging to this XML element has been read. More...
 
virtual void startElement (const std::string &tagName, const regina::xml::XMLPropertyDict &tagProps, XMLElementReader *parentReader)
 Signifies that parsing of this XML element is beginning. More...
 
virtual XMLElementReaderstartSubElement (const std::string &subTagName, const regina::xml::XMLPropertyDict &subTagProps)
 Signifies that a subelement of this XML element is about to be parsed. More...
 
virtual void endSubElement (const std::string &subTagName, XMLElementReader *subReader)
 Signifies that parsing has finished for a subelement of this XML element. More...
 
virtual void endElement ()
 Signifies that parsing of this XML element is finished. More...
 
virtual void usingParser (regina::xml::XMLParser *parser)
 Called for the top-level element in an XML file when parsing begins. More...
 
virtual void abort (XMLElementReader *subReader)
 Signifies that XML parsing has been aborted. More...
 

Detailed Description

A reader for an XML element that contains only characters.

Any XML subelements will be ignored (as will any characters occurring after any subelements).

Python:\n Not present.

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

Copyright © 1999-2020, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).