Regina Calculation Engine
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
regina::XMLTriangulationReader< 4 > Class Reference

An XML packet reader that reads a single 4-dimensional triangulation. More...

#include <triangulation/xmltrireader4.h>

Inheritance diagram for regina::XMLTriangulationReader< 4 >:
regina::detail::XMLTriangulationReaderBase< 4 >

Public Member Functions

 XMLTriangulationReader (XMLTreeResolver &resolver)
 Creates a new triangulation reader. More...
 
XMLElementReaderstartPropertySubElement (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 Packetpacket () override
 
virtual XMLElementReaderstartContentSubElement (const std::string &subTagName, const regina::xml::XMLPropertyDict &subTagProps) override
 
virtual void endContentSubElement (const std::string &subTagName, XMLElementReader *subReader) override
 

Protected Member Functions

XMLElementReaderpropertyReader (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...
 

Detailed Description

An XML packet reader that reads a single 4-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 4-dimensional specialisation contains extra functionality for reading optional properties specific to 4-dimensional triangulations.

Member Function Documentation

◆ propertyReader()

XMLElementReader * regina::detail::XMLTriangulationReaderBase< dim >::propertyReader ( const std::string &  subTagName,
const regina::xml::XMLPropertyDict subTagProps 
)
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.

Parameters
subTagNamethe name of the XML subelement opening tag.
subTagPropsthe properties associated with the subelement opening tag.
Returns
a newly created element reader if the corresponding triangulation property is managed by TriangulationBase<dim>, or null otherwise.

Member Data Documentation

◆ tri_

Triangulation<dim>* regina::detail::XMLTriangulationReaderBase< dim >::tri_
protectedinherited

The triangulation currently being read.


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

Copyright © 1999-2018, 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).