![]() |
OpenMS
|
Implements the BinInputStream class of the xerces-c library in order to read ZIP compressed XML files. More...
#include <OpenMS/FORMAT/ZipInputStream.h>
Public Member Functions | |
| ZipInputStream (const String &file_name) | |
| Constructor. | |
| ZipInputStream (const char *const file_name) | |
| ~ZipInputStream () override | |
| Destructor. | |
| bool | getIsOpen () const |
| returns true if file is open | |
| XMLFilePos | curPos () const override |
| returns the current position in the file | |
| XMLSize_t | readBytes (XMLByte *const to_fill, const XMLSize_t max_to_read) override |
| writes bytes into buffer from file | |
| const XMLCh * | getContentType () const override |
| returns 0 | |
| ZipInputStream ()=delete | |
| ZipInputStream (const ZipInputStream &stream)=delete | |
| ZipInputStream & | operator= (const ZipInputStream &stream)=delete |
Private Attributes | |
| ZipIfstream * | zip_ = nullptr |
| pointer to the zip decompression stream | |
| XMLSize_t | file_current_index_ |
| current index of the actual file | |
Implements the BinInputStream class of the xerces-c library in order to read ZIP compressed XML files.
|
explicit |
Constructor.
|
explicit |
|
override |
Destructor.
|
delete |
|
delete |
|
inlineoverride |
returns the current position in the file
References ZipInputStream::file_current_index_.
|
override |
returns 0
| bool getIsOpen | ( | ) | const |
returns true if file is open
|
delete |
|
override |
writes bytes into buffer from file
| [out] | to_fill | is the buffer which is written to |
| [in] | max_to_read | is the size of the buffer |
|
private |
current index of the actual file
Referenced by ZipInputStream::curPos().
|
private |
pointer to the zip decompression stream