|
openMSX
|
#include <FileBase.hh>


Public Member Functions | |
| FileBase () | |
| virtual | ~FileBase () |
| virtual void | read (void *buffer, size_t num)=0 |
| virtual void | write (const void *buffer, size_t num)=0 |
| virtual const byte * | mmap (size_t &size) |
| virtual void | munmap () |
| virtual size_t | getSize ()=0 |
| virtual void | seek (size_t pos)=0 |
| virtual size_t | getPos ()=0 |
| virtual void | truncate (size_t size) |
| virtual void | flush ()=0 |
| virtual const std::string | getURL () const =0 |
| virtual const std::string | getLocalReference () |
| virtual const std::string | getOriginalName () |
| virtual bool | isReadOnly () const =0 |
| virtual time_t | getModificationDate ()=0 |
Additional Inherited Members |
Definition at line 11 of file FileBase.hh.
| openmsx::FileBase::FileBase | ( | ) |
Definition at line 10 of file FileBase.cc.
|
virtual |
Definition at line 14 of file FileBase.cc.
References munmap().
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
|
virtual |
Reimplemented in openmsx::LocalFile.
Definition at line 55 of file FileBase.cc.
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
|
virtual |
Reimplemented in openmsx::CompressedFileAdapter.
Definition at line 62 of file FileBase.cc.
References openmsx::FileOperations::getFilename(), getURL(), and string_ref::str().
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Referenced by mmap(), and truncate().
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Referenced by getOriginalName().
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
|
virtual |
Reimplemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Definition at line 19 of file FileBase.cc.
References openmsx::MemBuffer< T >::data(), openmsx::MemBuffer< T >::empty(), getSize(), read(), and utf8::unchecked::size().
|
virtual |
Reimplemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Definition at line 30 of file FileBase.cc.
References openmsx::MemBuffer< T >::clear().
Referenced by ~FileBase().
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Referenced by mmap().
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Referenced by truncate().
|
virtual |
Reimplemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Definition at line 35 of file FileBase.cc.
|
pure virtual |
Implemented in openmsx::LocalFile, and openmsx::CompressedFileAdapter.
Referenced by truncate().
1.8.1.2