sprint 1-alpha
|
#include <xzip.h>
Inherits sprint::io::xfolder.
Public Member Functions | |
xzip (const char *file, flag_t openMode) | |
virtual xstream * | open (const char *resource, flag_t mode) |
bool | IsValid () const |
Obtain a list of elements in current folder. | |
int | OpenNewFileInZip (const char *name) |
int | WriteInFileInZip (const void *buf, unsigned int len) |
void | CloseFileInZip () |
int | OpenCurrentFile () |
int | ReadCurrentFile (void *buf, unsigned int len) |
void | CloseCurrentFile () |
bool | ReadCurFileName (char *buf, int len) |
bool | GoToFirstFile (char *name, int len) |
bool | GoToNextFile (char *name, int len) |
int | LocateFile (const char *name) |
a zip folder
sprint::io::xzip::xzip | ( | const char * | file, |
flag_t | openMode | ||
) |
open a zip file
bool sprint::io::xzip::IsValid | ( | ) | const |
Obtain a list of elements in current folder.
current stream is valid?
Create a stream from this place. allocated with new, should be deleted
Implements sprint::io::xfolder.