Mantid
|
#include <LoadANSTOHelper.h>
Public Member Functions | |
void | close () |
FastReadOnlyFile (const char *filename) | |
FastReadOnlyFile (const FastReadOnlyFile &)=delete | |
void * | handle () const |
FastReadOnlyFile & | operator= (FastReadOnlyFile)=delete |
bool | read (void *buffer, uint32_t size) |
bool | seek (int64_t offset, int whence, int64_t *newPosition=nullptr) |
~FastReadOnlyFile () | |
Private Attributes | |
FILE * | m_handle |
Definition at line 142 of file LoadANSTOHelper.h.
Mantid::DataHandling::ANSTO::FastReadOnlyFile::FastReadOnlyFile | ( | const char * | filename | ) |
Definition at line 176 of file LoadANSTOHelper.cpp.
References m_handle.
Mantid::DataHandling::ANSTO::FastReadOnlyFile::~FastReadOnlyFile | ( | ) |
Definition at line 177 of file LoadANSTOHelper.cpp.
References close().
|
delete |
void Mantid::DataHandling::ANSTO::FastReadOnlyFile::close | ( | ) |
Definition at line 179 of file LoadANSTOHelper.cpp.
References m_handle.
Referenced by Mantid::DataHandling::ANSTO::Tar::File::close(), and ~FastReadOnlyFile().
void * Mantid::DataHandling::ANSTO::FastReadOnlyFile::handle | ( | ) | const |
Definition at line 178 of file LoadANSTOHelper.cpp.
References m_handle.
Referenced by Mantid::DataHandling::ANSTO::Tar::File::File().
|
delete |
bool Mantid::DataHandling::ANSTO::FastReadOnlyFile::read | ( | void * | buffer, |
uint32_t | size | ||
) |
Definition at line 183 of file LoadANSTOHelper.cpp.
References m_handle.
Referenced by Mantid::DataHandling::ANSTO::Tar::File::File(), Mantid::DataHandling::ANSTO::Tar::File::read(), and Mantid::DataHandling::ANSTO::Tar::File::read_byte().
bool Mantid::DataHandling::ANSTO::FastReadOnlyFile::seek | ( | int64_t | offset, |
int | whence, | ||
int64_t * | newPosition = nullptr |
||
) |
Definition at line 186 of file LoadANSTOHelper.cpp.
References m_handle.
Referenced by Mantid::DataHandling::ANSTO::Tar::File::File(), Mantid::DataHandling::ANSTO::Tar::File::select(), and Mantid::DataHandling::ANSTO::Tar::File::skip().
|
private |
Definition at line 147 of file LoadANSTOHelper.h.
Referenced by close(), FastReadOnlyFile(), handle(), read(), and seek().