|
Regina Calculation Engine
|
An XML packet reader that reads a single 2-dimensional triangulation. More...
#include <triangulation/xmltrireader2.h>
Public Member Functions | |
| XMLTriangulationReader (XMLTreeResolver &resolver) | |
| Creates a new triangulation reader. More... | |
| XMLElementReader * | startPropertySubElement (const std::string &subTagName, const regina::xml::XMLPropertyDict &subTagProps) |
| Returns an XML element reader for the given optional property of a dim-dimensional triangulation. More... | |
| virtual Packet * | packet () override |
| virtual XMLElementReader * | startContentSubElement (const std::string &subTagName, const regina::xml::XMLPropertyDict &subTagProps) override |
| virtual void | endContentSubElement (const std::string &subTagName, XMLElementReader *subReader) override |
Protected Member Functions | |
| XMLElementReader * | propertyReader (const std::string &subTagName, const regina::xml::XMLPropertyDict &subTagProps) |
| Returns a reader for the generic triangulation property with the given subtag name. More... | |
Protected Attributes | |
| Triangulation< dim > * | tri_ |
| The triangulation currently being read. More... | |
An XML packet reader that reads a single 2-dimensional triangulation.
This is a specialisation of the generic XMLTriangulationReader class template; see the XMLTriangulationReader documentation for an overview of how this class works.
This 2-dimensional specialisation contains no extra functionality, though this may change in future releases of Regina.
|
inlineprotectedinherited |
Returns a reader for the generic triangulation property with the given subtag name.
If subTagName refers to a property that is managed by the generic base class TriangulationBase<dim>, then this routine returns an appropriate element reader. Otherwise this routine returns null.
| subTagName | the name of the XML subelement opening tag. |
| subTagProps | the properties associated with the subelement opening tag. |
null otherwise.
|
protectedinherited |
The triangulation currently being read.