#include <nxmlfilterreader.h>
Inheritance diagram for regina::NXMLFilterReader:
Public Member Functions | |
NXMLFilterReader () | |
Creates a new filter element reader. | |
virtual NSurfaceFilter * | getFilter () |
Returns the newly allocated filter that has been read by this element reader. |
These details are generally contained within a <filter>
... </filter>
pair.
Generally a subclass of NXMLFilterReader will be used to receive and store filters that you care about. However, if you simply wish to ignore a particular filter (and all of its descendants), you can use class NXMLFilterReader itself for the filter(s) you wish to ignore.
Routine getFilter() is used to return the filter that was read; see its documentation for further notes on how the filter should be constructed.
regina::NXMLFilterReader::NXMLFilterReader | ( | ) | [inline] |
Creates a new filter element reader.
NSurfaceFilter * regina::NXMLFilterReader::getFilter | ( | ) | [inline, virtual] |
Returns the newly allocated filter that has been read by this element reader.
Deallocation of this new filter is not the responsibility of this class. Once this routine gives a non-zero return value, it should continue to give the same non-zero return value from this point onwards.
The default implementation returns 0.