An abstract base class which serves as a common interface to archive input streams such as wxZipInputStream.
GetNextEntry() returns an wxArchiveEntry object containing the meta-data for the next entry in the archive (and gives away ownership). Reading from the wxArchiveInputStream then returns the entry's data. Eof() becomes true after an attempt has been made to read past the end of the entry's data. When there are no more entries, GetNextEntry() returns NULL and sets Eof().
Derived from
Include files
<wx/archive.h>
Data structures
typedef wxArchiveEntry entry_typeSee also
Archive formats such as zip
wxArchiveEntry
wxArchiveOutputStream
Members
wxArchiveInputStream::CloseEntry
wxArchiveInputStream::GetNextEntry
wxArchiveInputStream::OpenEntry
bool CloseEntry()
Closes the current entry. On a non-seekable stream reads to the end of the current entry first.
wxArchiveEntry* GetNextEntry()
Closes the current entry if one is open, then reads the meta-data for the next entry and returns it in a wxArchiveEntry object, giving away ownership. Reading this wxArchiveInputStream then returns the entry's data.
bool OpenEntry(wxArchiveEntry& entry)
Closes the current entry if one is open, then opens the entry specified by the wxArchiveEntry object.
entry must be from the same archive file that this wxArchiveInputStream is reading, and it must be reading it from a seekable stream.
See also
Looking up an archive entry by name