ICP
1
|
#include <SingleFile.h>
Public Member Functions | |
SingleFile () | |
int | open (const std::string &path, Mode mode, int shflag) |
size_t | write (const void *data, size_t element_size, size_t nelement) |
size_t | read (void *data, size_t element_size, size_t nelement) |
int | close () |
int | seek (int64_t offset, int whence) |
int | discardContents () |
bool | isOpen () const |
int | flush () |
~SingleFile () | |
Static Public Member Functions | |
static void | removeFile (const std::string &path) |
Private Member Functions | |
SingleFile (const SingleFile &) | |
void | operator= (const SingleFile &) |
Private Attributes | |
FILE * | m_file |
Additional Inherited Members | |
Public Types inherited from IFile | |
enum | Mode { ReadOnly, ReadWriteCreate } |
Protected Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
virtual std::string | loggingPrefix () const |
void | setThisLoggerLevel (int level) |
Static Protected Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Protected Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Definition at line 6 of file SingleFile.h.
|
inlineprivate |
Definition at line 10 of file SingleFile.h.
SingleFile::SingleFile | ( | ) |
Definition at line 4 of file SingleFile.cpp.
References ISIS::Base::setLoggerName().
SingleFile::~SingleFile | ( | ) |
Definition at line 9 of file SingleFile.cpp.
References close().
|
virtual |
Implements IFile.
Definition at line 51 of file SingleFile.cpp.
References m_file.
Referenced by ~SingleFile().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements IFile.
Definition at line 19 of file SingleFile.cpp.
References m_file, IFile::ReadOnly, and IFile::ReadWriteCreate.
|
inlineprivate |
Definition at line 11 of file SingleFile.h.
References m_file.
|
virtual |
|
static |
Definition at line 14 of file SingleFile.cpp.
|
virtual |
|
virtual |
|
private |
Definition at line 9 of file SingleFile.h.
Referenced by close(), discardContents(), flush(), isOpen(), open(), operator=(), read(), seek(), and write().