DeSR Dependency Parser |
#include <mappedFile.h>
Public Member Functions | |
mappedFile (char const *path, std::ios::openmode mode=std::ios::in) | |
bool | open (char const *path, std::ios::openmode=std::ios::in) |
void | close () |
Munmaps and closes a file previously opened and mmapped by mappedFile::open(). | |
operator bool () const | |
int | error () const |
bool | write (off64_t offset, void const *data, Size length) |
Write an entry in the file at. | |
bool | remap (Size size, std::ios::openmode=std::ios::in) |
FileHandle & | handle () |
Definition at line 152 of file mappedFile.h.
void IXE::io::mappedFile::close | ( | ) |
Munmaps and closes a file previously opened and mmapped by mappedFile::open().
Reimplemented from IXE::io::MappedFileView.
Definition at line 258 of file mappedFile.cpp.
References IXE::io::FileHandle::close().
bool IXE::io::mappedFile::write | ( | off64_t | offset, | |
void const * | data, | |||
Size | length | |||
) |
Write an entry in the file at.
offset. | File is expanded and filled with 0 from end to offset. |
Definition at line 241 of file mappedFile.cpp.
References IXE::io::FileHandle::write().