Implements the BinInputStream class of the xerces-c library in order to read bzip2 compressed XML files. More...
#include <OpenMS/FORMAT/Bzip2InputStream.h>
 
  
 | Public Member Functions | |
| Bzip2InputStream (const String &file_name) | |
| Constructor.  More... | |
| Bzip2InputStream (const char *const file_name) | |
| virtual | ~Bzip2InputStream () | 
| 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 | |
| Bzip2InputStream () | |
| Bzip2InputStream (const Bzip2InputStream &stream) | |
| Bzip2InputStream & | operator= (const Bzip2InputStream &stream) | 
| Private Attributes | |
| Bzip2Ifstream * | bzip2_ | 
| 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 bzip2 compressed XML files.
| Bzip2InputStream | ( | const String & | file_name | ) | 
Constructor.
| Bzip2InputStream | ( | const char *const | file_name | ) | 
| 
 | virtual | 
Destructor.
| 
 | private | 
| 
 | private | 
| 
 | inlinevirtual | 
returns the current position in the file
References Bzip2InputStream::file_current_index_.
| 
 | virtual | 
returns 0
| 
 | inline | 
returns true if file is open
References Bzip2InputStream::bzip2_, and Bzip2Ifstream::isOpen().
| 
 | 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 | 
pointer to an compression stream
Referenced by Bzip2InputStream::getIsOpen().
| 
 | private | 
current index of the actual file
Referenced by Bzip2InputStream::curPos().
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:30 using doxygen 1.8.5 |