Regina Calculation Engine
Public Member Functions | List of all members
regina::detail::XMLSimplicesReader< dim > Class Template Reference

Helper class that reads the XML element for the set of all top-dimensional simplices in a dim-dimensional triangulation. More...

#include <triangulation/detail/xmltrireader.h>

Inheritance diagram for regina::detail::XMLSimplicesReader< dim >:
regina::XMLElementReader

Public Member Functions

 XMLSimplicesReader (Triangulation< dim > *tri)
 Creates a new simplices element reader. More...
 
virtual void startElement (const std::string &, const regina::xml::XMLPropertyDict &props, XMLElementReader *) override
 Signifies that parsing of this XML element is beginning. More...
 
virtual XMLElementReaderstartSubElement (const std::string &subTagName, const regina::xml::XMLPropertyDict &) override
 Signifies that a subelement of this XML element is about to be parsed. More...
 
virtual void initialChars (const std::string &chars)
 Signifies that the initial text belonging to this XML element has been read. 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

template<int dim>
class regina::detail::XMLSimplicesReader< dim >

Helper class that reads the XML element for the set of all top-dimensional simplices in a dim-dimensional triangulation.

In other words, this reads the contents of a single <simplices> element for dimension dim ≥ 5, or a single <triangles>, <tetrahedra> or <pentachora> element for dimension dim = 2, 3 or 4.

It is assumed that the underlying triangulation has already been created, but its simplices have not.

Python:\n Not present.
Template Parameters
dimThe dimension of the triangulation being read.

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).