Regina Calculation Engine
|
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>
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 XMLElementReader * | startSubElement (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... | |
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.
dim | The dimension of the triangulation being read. |