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. | |
| GzipInputStream (const char *const file_name) | |
| virtual | ~GzipInputStream () |
| Destructor. | |
| bool | getIsOpen () const |
| returns true if file is open | |
| virtual XMLFilePos | curPos () const |
| returns the current position in the file | |
| virtual XMLSize_t | readBytes (XMLByte *const to_fill, const XMLSize_t max_to_read) |
| writes bytes into buffer from file | |
| virtual const XMLCh * | getContentType () const |
| returns 0 | |
Private Member Functions | |
| GzipInputStream () | |
| GzipInputStream (const GzipInputStream &stream) | |
| GzipInputStream & | operator= (const GzipInputStream &stream) |
Private Attributes | |
| GzipIfstream * | gzip_ |
| pointer to an compression 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 gzip compressed XML files.
| GzipInputStream | ( | const String & | file_name | ) |
Constructor.
| GzipInputStream | ( | const char *const | file_name | ) |
| virtual ~GzipInputStream | ( | ) | [virtual] |
Destructor.
| GzipInputStream | ( | ) | [private] |
| GzipInputStream | ( | const GzipInputStream & | stream | ) | [private] |
| XMLFilePos curPos | ( | ) | const [inline, virtual] |
returns the current position in the file
References GzipInputStream::file_current_index_.
| virtual const XMLCh* getContentType | ( | ) | const [virtual] |
returns 0
| bool getIsOpen | ( | ) | const [inline] |
returns true if file is open
References GzipInputStream::gzip_, and GzipIfstream::isOpen().
| GzipInputStream& operator= | ( | const GzipInputStream & | stream | ) | [private] |
| virtual XMLSize_t readBytes | ( | XMLByte *const | to_fill, | |
| const XMLSize_t | max_to_read | |||
| ) | [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 |
XMLSize_t file_current_index_ [private] |
current index of the actual file
Referenced by GzipInputStream::curPos().
GzipIfstream* gzip_ [private] |
pointer to an compression stream
Referenced by GzipInputStream::getIsOpen().
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:53 using doxygen 1.7.1 |