sprint 1-alpha
Public Member Functions
sprint::io::xzip Class Reference

#include <xzip.h>

Inherits sprint::io::xfolder.

List of all members.

Public Member Functions

 xzip (const char *file, flag_t openMode)
virtual xstreamopen (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)

Detailed Description

a zip folder


Constructor & Destructor Documentation

sprint::io::xzip::xzip ( const char *  file,
flag_t  openMode 
)

open a zip file


Member Function Documentation

bool sprint::io::xzip::IsValid ( ) const

Obtain a list of elements in current folder.

current stream is valid?

virtual xstream* sprint::io::xzip::open ( const char *  resource,
flag_t  mode 
) [virtual]

Create a stream from this place. allocated with new, should be deleted

Implements sprint::io::xfolder.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines