back to io 

wxArchiveOutputStream

generated from ../src/mod_io/aostream.cpp

wxArchiveOutputStream is a prototype object for archive output streams such as wxZipOutputStream.

Constants

Methods

closeEntry

closeEntry() : Boolean
 

Closes the current entry. On a non-seekable stream reads to the end of the current entry first.

copyArchiveMetaData

copyArchiveMetaData(Zip) : Boolean
 
Name Type Default Description
Zip wxArchiveInputStream

Transfers the zip comment from the wxArchiveInputStream to this output stream.

copyEntry

copyEntry(Entry, 
          Input) : Boolean
 
Name Type Default Description
Entry wxArchiveEntry
Input wxArchiveInputStream

Takes ownership of entry and uses it to create a new entry in the zip. Entry is then opened in inputStream and its contents copied to this stream. copyEntry() is much more efficient than transferring the data using read() and write() since it will copy them without decompressing and recompressing them. Creates a new entry in the archive.

putNextDirEntry

putNextDirEntry(Name, 
                Date = Now()) : Boolean
 
Name Type Default Description
Name String
Date Date Now()

Creates a new directory entry in the archive with the given name and timestamp.

putNextEntry

putNextEntry(Entry) : Boolean
 
Name Type Default Description
Entry wxArchiveEntry
putNextEntry(Name, 
             Date = Now(), 
             Offset = -1) : Boolean
 
Name Type Default Description
Name String
Date Date Now()
Offset Integer -1

Creates a new entry in the archive



SourceForge.net Logo Support This Project

Table of Contents

Prototype

wxOutputStream

Methods

closeEntry
copyArchiveMetaData
copyEntry
putNextDirEntry
putNextEntry


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.