Implements the BinInputStream class of the xerces-c library in order to read gzip compressed XML files. More...
#include <OpenMS/FORMAT/GzipInputStream.h>
Public Member Functions | |
GzipInputStream (const String &file_name) | |
Constructor. More... | |
GzipInputStream (const char *const file_name) | |
virtual | ~GzipInputStream () |
Destructor. More... | |
bool | getIsOpen () const |
returns true if file is open More... | |
virtual XMLFilePos | curPos () const |
returns the current position in the file More... | |
virtual XMLSize_t | readBytes (XMLByte *const to_fill, const XMLSize_t max_to_read) |
writes bytes into buffer from file More... | |
virtual const XMLCh * | getContentType () const |
returns 0 More... | |
Private Member Functions | |
GzipInputStream () | |
GzipInputStream (const GzipInputStream &stream) | |
GzipInputStream & | operator= (const GzipInputStream &stream) |
Private Attributes | |
GzipIfstream * | gzip_ |
pointer to an compression stream More... | |
XMLSize_t | file_current_index_ |
current index of the actual file More... | |
Implements the BinInputStream class of the xerces-c library in order to read gzip compressed XML files.
|
explicit |
Constructor.
|
explicit |
|
virtual |
Destructor.
|
private |
|
private |
|
inlinevirtual |
returns the current position in the file
|
virtual |
returns 0
If no content type is provided for the data, 0 is returned (as is the case here, see xerces docs).
|
inline |
returns true if file is open
|
private |
|
virtual |
writes bytes into buffer from file
to_fill | is the buffer which is written to |
max_to_read | is the size of the buffer |
|
private |
current index of the actual file
|
private |
pointer to an compression stream
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:09 using doxygen 1.8.13 |