OpenMS  2.7.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CompressedInputSource Class Reference

This class is based on xercesc::LocalFileInputSource. More...

#include <OpenMS/FORMAT/CompressedInputSource.h>

Inheritance diagram for CompressedInputSource:
[legend]
Collaboration diagram for CompressedInputSource:
[legend]

Public Member Functions

 CompressedInputSource (const String &file_path, const String &header, xercesc::MemoryManager *const manager=xercesc::XMLPlatformUtils::fgMemoryManager)
 Constructor. More...
 
 CompressedInputSource (const XMLCh *const file_path, const String &header, xercesc::MemoryManager *const manager=xercesc::XMLPlatformUtils::fgMemoryManager)
 Constructor. More...
 
 ~CompressedInputSource () override
 Constructor. More...
 
xercesc::BinInputStream * makeStream () const override
 Depending on the header in the Constructor a Bzip2InputStream or a GzipInputStream object is returned. More...
 

Private Member Functions

 CompressedInputSource ()
 private CTor - not implemented More...
 
 CompressedInputSource (const CompressedInputSource &source)
 
CompressedInputSourceoperator= (const CompressedInputSource &source)
 

Private Attributes

String head_
 

Detailed Description

This class is based on xercesc::LocalFileInputSource.

Constructor & Destructor Documentation

◆ CompressedInputSource() [1/4]

CompressedInputSource ( const String file_path,
const String header,
xercesc::MemoryManager *const  manager = xercesc::XMLPlatformUtils::fgMemoryManager 
)

Constructor.

◆ CompressedInputSource() [2/4]

CompressedInputSource ( const XMLCh *const  file_path,
const String header,
xercesc::MemoryManager *const  manager = xercesc::XMLPlatformUtils::fgMemoryManager 
)

Constructor.

◆ ~CompressedInputSource()

~CompressedInputSource ( )
override

Constructor.

◆ CompressedInputSource() [3/4]

CompressedInputSource ( )
private

private CTor - not implemented

◆ CompressedInputSource() [4/4]

CompressedInputSource ( const CompressedInputSource source)
private

Member Function Documentation

◆ makeStream()

xercesc::BinInputStream* makeStream ( ) const
override

Depending on the header in the Constructor a Bzip2InputStream or a GzipInputStream object is returned.

Note
InputSource interface implementation

◆ operator=()

CompressedInputSource& operator= ( const CompressedInputSource source)
private

Member Data Documentation

◆ head_

String head_
private