Regina Calculation Engine
|
Deals with reading and writing packet trees to and from old-style binary files. More...
#include "regina-core.h"
#include "shareableobject.h"
#include "file/nresources.h"
#include "maths/nlargeinteger.h"
#include "utilities/nbooleans.h"
Classes | |
class | regina::NFile |
Represents an old-style binary file containing a packet tree. More... | |
Namespaces | |
regina | |
Contains the entire Regina calculation engine. | |
Constant Groups | |
regina | |
Contains the entire Regina calculation engine. | |
Macros | |
#define | NFILE_PROGRAM_NAME "Regina" |
String name of the program, to be placed at the beginning of data files. More... | |
#define | NFILE_SIZE_INT 4 |
The number of bytes written to files to represent an integer; any higher order bytes will be ignored. More... | |
#define | NFILE_SIZE_LONG 8 |
The number of bytes written to files to represent a long integer; any higher order bytes will be ignored. More... | |
#define | NFILE_SIZE_FILEPOS 8 |
The number of bytes written to files to represent a file position; any higher order bytes will be ignored. More... | |
Functions | |
REGINA_API NPacket * | regina::readFromFile (const char *fileName) |
Reads a packet tree from the given old-style binary file doing everything in a single step. More... | |
REGINA_API bool | regina::writeToFile (const char *fileName, NPacket *packet) |
Writes the given packet tree to the given old-style binary file doing everything in a single step. More... | |
Deals with reading and writing packet trees to and from old-style binary files.