#include <dsZipMmap.h>
Inheritance diagram for dsZipMmap:
Public Methods | |
dsZipMmap (const char *path, const mode_t openmode=0444, const int flags=0, const int advize=MADV_NORMAL) | |
~dsZipMmap () | |
dsMmap * | src () |
int | type () |
ZIPFILE * | zipList (ZIPFILE *zf) |
int | zipSeek (char *file) |
int | zipSeek (size_t offs) |
int | zipSeek (ZIPFILE *zf) |
void | zipPack (char *buf, local_header *fi) |
void | mapCreate (const size_t size, const int advize=MADV_NORMAL) |
void | mapResize (size_t newsize) |
int | fd () |
char | operator[] (int i) |
void | operator+= (int i) |
operator char * () | |
operator size_t () | |
char * | ptr () |
size_t | size () |
Protected Methods | |
void | zipReadFile (char *ptr) |
void | gzRead () |
virtual void | mapCreate (const int fd, const size_t size, const mode_t openmode=0444, const int advize=MADV_NORMAL) |
int | getPageSize () |
virtual void | mapDestroy (bool close_fd=false) |
virtual void | fileResize (size_t new_size) |
Protected Attributes | |
int | _fd |
char * | _filename |
mode_t | _mode |
size_t | _pagesize |
size_t | _pages |
char * | _ptr |
size_t | _size |
int | _advize |
bool | _close_fd |
Friends | |
class | dsMmapStreambuf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from dsMmap. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|