BESUncompressBZ2 Class Reference

Function to uncompress gzip files with .bz2 extension. More...

#include <BESUncompressBZ2.h>

Inheritance diagram for BESUncompressBZ2:

Inheritance graph
[legend]
Collaboration diagram for BESUncompressBZ2:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void dump (ostream &strm) const =0
 dump the contents of this object to the specified ostream

Static Public Member Functions

static string uncompress (const string &src, const string &target)
 uncompress a file with the .bz2 file extension

Detailed Description

Function to uncompress gzip files with .bz2 extension.

Definition at line 44 of file BESUncompressBZ2.h.


Member Function Documentation

string BESUncompressBZ2::uncompress ( const string &  src_name,
const string &  target 
) [static]

uncompress a file with the .bz2 file extension

Parameters:
src file that will be uncompressed
target file to uncompress the src file to
Returns:
full path to the uncompressed file

Definition at line 68 of file BESUncompressBZ2.cc.

References CHUNK.

Referenced by BESUncompressManager::BESUncompressManager(), and bz2T::run().

virtual void BESObj::dump ( ostream &  strm  )  const [pure virtual, inherited]

dump the contents of this object to the specified ostream

This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...

The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from BESObj. A user could do the following:

Animal *a = new dog( "Sparky" ) ; cout << a << endl ;

And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...

Parameters:
strm C++ i/o stream to dump the object to

Implemented in BESAbstractModule, BESAggFactory, BESAggregationServer, BESApp, BESBaseApp, BESBasicHttpTransmitter, BESBasicTransmitter, BESCache, BESCatalog, BESCatalogDirectory, BESCatalogList, BESCatalogResponseHandler, BESCatalogUtils, BESCgiInterface, BESContainer, BESContainerStorage, BESContainerStorageCatalog, BESContainerStorageException, BESContainerStorageFile, BESContainerStorageList, BESContainerStorageVolatile, BESContextManager, BESDapModule, BESDapRequestHandler, BESDASResponse, BESDASResponseHandler, BESDataDDSResponse, BESDataResponseHandler, BESDDSResponse, BESDDSResponseHandler, BESDDXResponseHandler, BESDefine, BESDefineResponseHandler, BESDefinitionStorage, BESDefinitionStorageList, BESDefinitionStorageVolatile, BESDelContainerResponseHandler, BESDelContainersResponseHandler, BESDelDefResponseHandler, BESDelDefsResponseHandler, BESException, BESExceptionManager, BESFilterTransmitter, BESGlobalInit, BESHelpResponseHandler, BESHTMLInfo, BESInfo, BESInfoList, BESInitializer, BESInterface, BESKeys, BESKeysResponseHandler, BESLog, BESMemoryGlobalArea, BESModuleApp, BESPlugin< M >, BESPluginFactory< C >, BESProcessEncodedString, BESProcIdResponseHandler, BESReporter, BESReporterList, BESRequestHandler, BESRequestHandlerList, BESResponseHandler, BESResponseHandlerList, BESResponseObject, BESReturnManager, BESSetContainerResponseHandler, BESSetContextResponseHandler, BESShowContainersResponseHandler, BESShowContextResponseHandler, BESShowDefsResponseHandler, BESSilentInfo, BESStatusResponseHandler, BESStreamResponseHandler, BESTextInfo, BESTransmitter, BESUncompressManager, BESVersionInfo, BESVersionResponseHandler, BESXMLInfo, TestAggServer, TestReporter, BESServerHandler, ServerApp, TestCommand, TestEhmResponseHandler, TestModule, TestRequestHandler, TestSigResponseHandler, Connection, PPTClient, PPTConnection, PPTServer, ServerHandler, Socket, SocketListener, SSLClient, SSLConnection, SSLServer, TcpSocket, UnixSocket, CmdApp, CmdClient, BESCatalogCommand, BESCmdInterface, BESCommand, BESDefineCommand, BESDelContainerCommand, BESDelContainersCommand, BESDelDefCommand, BESDelDefsCommand, BESDeleteCommand, BESGetCommand, BESSetCommand, BESSetContainerCommand, BESSetContextCommand, BESShowCommand, BESTermCommand, BESTokenizer, DAPCommandModule, OPENDAP_CLASSModule, OPENDAP_CLASSRequestHandler, OPENDAP_RESPONSEResponseHandler, and BESPluginFactory< BESAbstractModule >.

Referenced by operator<<().


The documentation for this class was generated from the following files:
Generated on Wed Aug 29 03:29:59 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.5.2