Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

Sct::Archive::IOManagerArchive Class Reference

Class for zipped archiving. More...

#include <IOManagerArchive.h>

Inheritance diagram for Sct::Archive::IOManagerArchive:

Inheritance graph
[legend]
Collaboration diagram for Sct::Archive::IOManagerArchive:

Collaboration graph
[legend]

Public Member Functions

 IOManagerArchive () throw ()
 constructor sets default compression level

void setCompressionLevel (int level)
 set the gzip compression level in the range 0->9

int getCompressionLevel () const
 get the gzip compression level

virtual std::string status () const=0
 return status string


Protected Attributes

int m_compression_level
 gzip compression level 1->9


Static Protected Attributes

int s_default_compression_level
 default gzip level 1->9;


Detailed Description

Class for zipped archiving.

Definition at line 9 of file IOManagerArchive.h.


Constructor & Destructor Documentation

Sct::Archive::IOManagerArchive::IOManagerArchive  )  throw ()
 

constructor sets default compression level

Definition at line 8 of file IOManagerArchive.cpp.


Member Function Documentation

int Sct::Archive::IOManagerArchive::getCompressionLevel  )  const
 

get the gzip compression level

Definition at line 21 of file IOManagerArchive.cpp.

References m_compression_level.

Referenced by SctArchiving::IOManagerDB::prepareInsertion(), and Sct::Archive::IOManagerArchiveFile::write().

void Sct::Archive::IOManagerArchive::setCompressionLevel int  level  ) 
 

set the gzip compression level in the range 0->9

Definition at line 14 of file IOManagerArchive.cpp.

References Sct::Archive::IOManagerStreamerVersioned::getMutex(), and m_compression_level.

Here is the call graph for this function:

virtual std::string Sct::Archive::IOManagerArchive::status  )  const [pure virtual]
 

return status string

Implemented in SctArchiving::IOManagerDB, and Sct::Archive::IOManagerArchiveFile.


Field Documentation

int Sct::Archive::IOManagerArchive::m_compression_level [protected]
 

gzip compression level 1->9

Definition at line 21 of file IOManagerArchive.h.

Referenced by getCompressionLevel(), and setCompressionLevel().

int Sct::Archive::IOManagerArchive::s_default_compression_level [static, protected]
 

default gzip level 1->9;

Definition at line 6 of file IOManagerArchive.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:51:35 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5