CASToR
2.0
Tomographic Reconstruction (PET/SPECT/CT)
|
Implementation of file to memory mapping. More...
#include "oMemoryMapped.hh"
#include <stdexcept>
#include <cstdio>
#include <iostream>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | _LARGEFILE64_SOURCE |
#define | _FILE_OFFSET_BITS 64 |
Implementation of file to memory mapping.
This class was taken from Stephan Brumme website and adapted to the CASToR project with almost no modifications. Many thanks to him! Copyright (c) 2013 Stephan Brumme. All rights reserved. see http://create.stephan-brumme.com/disclaimer.html
Definition in file oMemoryMapped.cc.
#define _FILE_OFFSET_BITS 64 |
Definition at line 55 of file oMemoryMapped.cc.
#define _LARGEFILE64_SOURCE |
Definition at line 50 of file oMemoryMapped.cc.