Regina Calculation Engine
Classes | Functions
File I/O

File reading and writing. More...

Classes

class  regina::NFileInfo
 Stores information about a Regina data file, including file type and version. More...
 
class  regina::NGlobalDirs
 Provides global routines that return directories in which various components of Regina are installed on the system. More...
 
class  regina::NXMLCallback
 Provides the callbacks for an XMLParser required to parse an entire file using a series of NXMLElementReader objects. More...
 
class  regina::NXMLElementReader
 Used to read the contents of a single XML element. More...
 
class  regina::NXMLCharsReader
 A reader for an XML element that contains only characters. More...
 

Functions

REGINA_API bool regina::writeXMLFile (const char *filename, NPacket *subtree, bool compressed=true)
 Deprecated routine that writes a packet tree (or subtree) to a Regina data file using Regina's native XML file format. More...
 
REGINA_API NPacket * regina::readXMLFile (const char *filename)
 Deprecated routine that reads a packet tree from the given Regina data file using Regina's native XML file format. More...
 
REGINA_API NPacket * regina::readFileMagic (const std::string &filename)
 Deprecated routine that reads a packet tree from the given Regina data file using Regina's native XML file format. More...
 

Detailed Description

File reading and writing.

Function Documentation

NPacket * regina::readFileMagic ( const std::string &  filename)
inline

Deprecated routine that reads a packet tree from the given Regina data file using Regina's native XML file format.

Deprecated:
This routine has been renamed as regina::open(), and is now declared in npacket.h. See the documentation for regina::open() for further details.
NPacket * regina::readXMLFile ( const char *  filename)
inline

Deprecated routine that reads a packet tree from the given Regina data file using Regina's native XML file format.

Deprecated:
This routine has been renamed as regina::open(), and is now declared in npacket.h. See the documentation for regina::open() for further details.
bool regina::writeXMLFile ( const char *  filename,
NPacket *  subtree,
bool  compressed = true 
)
inline

Deprecated routine that writes a packet tree (or subtree) to a Regina data file using Regina's native XML file format.

Deprecated:
This routine has been renamed as NPacket::save(). See the documentation of NPacket::save() for further details.

Copyright © 1999-2014, 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@debian.org).