#include "shareableobject.h"
#include "file/nresources.h"
#include "utilities/nmpi.h"
#include "utilities/nbooleans.h"
Namespaces | |
namespace | regina |
Classes | |
class | regina::NFile |
Represents an old-style binary file containing a packet tree. More... | |
Defines | |
#define | NFILE_PROGRAM_NAME "Regina" |
String name of the program, to be placed at the beginning of data files. | |
#define | NFILE_SIZE_INT 4 |
The number of bytes written to files to represent an integer; any higher order bytes will be ignored. | |
#define | NFILE_SIZE_LONG 8 |
The number of bytes written to files to represent a long integer; any higher order bytes will be ignored. | |
#define | NFILE_SIZE_FILEPOS 8 |
The number of bytes written to files to represent a file position; any higher order bytes will be ignored. | |
Functions | |
NPacket * | readFromFile (const char *fileName) |
Reads a packet tree from the given old-style binary file doing everything in a single step. | |
bool | writeToFile (const char *fileName, NPacket *packet) |
Writes the given packet tree to the given old-style binary file doing everything in a single step. |