CMS 3D CMS Logo

lat::CPIOOutputStream Class Reference

Write a CPIO archive straight into an output stream. More...

#include <Iguana/Utilities/classlib/zip/CPIOOutputStream.h>

Inheritance diagram for lat::CPIOOutputStream:

lat::FilterOutputStream lat::CPIOConstants lat::OutputStream lat::ZipUtils lat::IOOutput

List of all members.

Public Member Functions

virtual void closeMember (void)
 CPIOOutputStream (OutputStream *output, int format=ODC_MAGIC)
virtual void finish (void)
virtual void nextMember (CPIOMember *member, bool autobuffer=false)
virtual IOSize write (const void *from, IOSize n)
 ~CPIOOutputStream (void)

Protected Member Functions

virtual void writeHeader (void)

Private Member Functions

void writePosixHeader (void)
void writeSvrHeader (void)

Private Attributes

MemoryStoragem_buffer
unsigned m_checksum
CPIOMemberm_current
bool m_finished
int m_format
IOOffset m_remaining


Detailed Description

Write a CPIO archive straight into an output stream.

This stream does not work on non-blocking output.

Definition at line 29 of file CPIOOutputStream.h.


Constructor & Destructor Documentation

lat::CPIOOutputStream::CPIOOutputStream ( OutputStream output,
int  format = ODC_MAGIC 
)

lat::CPIOOutputStream::~CPIOOutputStream ( void   ) 


Member Function Documentation

virtual void lat::CPIOOutputStream::closeMember ( void   )  [virtual]

virtual void lat::CPIOOutputStream::finish ( void   )  [virtual]

Reimplemented from lat::FilterOutputStream.

virtual void lat::CPIOOutputStream::nextMember ( CPIOMember member,
bool  autobuffer = false 
) [virtual]

virtual IOSize lat::CPIOOutputStream::write ( const void from,
IOSize  n 
) [virtual]

Reimplemented from lat::FilterOutputStream.

virtual void lat::CPIOOutputStream::writeHeader ( void   )  [protected, virtual]

void lat::CPIOOutputStream::writePosixHeader ( void   )  [private]

void lat::CPIOOutputStream::writeSvrHeader ( void   )  [private]


Member Data Documentation

MemoryStorage* lat::CPIOOutputStream::m_buffer [private]

Definition at line 52 of file CPIOOutputStream.h.

unsigned lat::CPIOOutputStream::m_checksum [private]

Definition at line 54 of file CPIOOutputStream.h.

CPIOMember* lat::CPIOOutputStream::m_current [private]

Definition at line 51 of file CPIOOutputStream.h.

bool lat::CPIOOutputStream::m_finished [private]

Definition at line 55 of file CPIOOutputStream.h.

int lat::CPIOOutputStream::m_format [private]

Definition at line 50 of file CPIOOutputStream.h.

IOOffset lat::CPIOOutputStream::m_remaining [private]

Definition at line 53 of file CPIOOutputStream.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:24 2009 for CMSSW by  doxygen 1.5.4