wxArchiveOutputStream
generated from ../src/mod_io/aostream.cppwxArchiveOutputStream 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
© 2002 - 2007 Franky Braem.