CMS 3D CMS Logo

StreamOutFormatTarget Class Reference

#include <CondTools/Hcal/interface/StreamOutFormatTarget.h>

List of all members.

Public Member Functions

virtual void flush ()
virtual void writeChars (const XMLByte *const toWrite, const unsigned int count, XMLFormatter *const formatter)
constructors and destructor
 StreamOutFormatTarget (std::ostream &fStream)
 ~StreamOutFormatTarget ()

Private Member Functions

StreamOutFormatTargetoperator= (const StreamOutFormatTarget &)
 StreamOutFormatTarget (const StreamOutFormatTarget &)

Private Attributes

std::ostream * mStream


Detailed Description

Definition at line 30 of file StreamOutFormatTarget.h.


Constructor & Destructor Documentation

XERCES_CPP_NAMESPACE_BEGIN StreamOutFormatTarget::StreamOutFormatTarget ( std::ostream &  fStream  ) 

Definition at line 26 of file StreamOutFormatTarget.cc.

References mStream.

00026                                                                 {
00027   mStream = &fStream;
00028 }

StreamOutFormatTarget::~StreamOutFormatTarget (  ) 

Definition at line 30 of file StreamOutFormatTarget.cc.

00031 {}

StreamOutFormatTarget::StreamOutFormatTarget ( const StreamOutFormatTarget  )  [private]


Member Function Documentation

void StreamOutFormatTarget::flush (  )  [virtual]

Definition at line 33 of file StreamOutFormatTarget.cc.

References mStream.

00034 {
00035     mStream->flush();
00036 }

StreamOutFormatTarget& StreamOutFormatTarget::operator= ( const StreamOutFormatTarget  )  [private]

void StreamOutFormatTarget::writeChars ( const XMLByte *const   toWrite,
const unsigned int  count,
XMLFormatter *const   formatter 
) [virtual]

Definition at line 38 of file StreamOutFormatTarget.cc.

References mStream.

00041 {
00042   mStream->write ((const char*) toWrite, sizeof(XMLByte) * count);
00043   mStream->flush ();
00044 }


Member Data Documentation

std::ostream* StreamOutFormatTarget::mStream [private]

Definition at line 49 of file StreamOutFormatTarget.h.

Referenced by flush(), StreamOutFormatTarget(), and writeChars().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:55 2009 for CMSSW by  doxygen 1.5.4