CMS 3D CMS Logo

List of all members
StreamOutFormatTarget Class Reference

#include <StreamOutFormatTarget.h>

Inheritance diagram for StreamOutFormatTarget:

constructors and destructor

std::ostream * mStream
 
 StreamOutFormatTarget (std::ostream &fStream)
 
 ~StreamOutFormatTarget () override
 
void writeChars (const XMLByte *const toWrite, const XMLSize_t count, XMLFormatter *const formatter) override
 
void flush () override
 
 StreamOutFormatTarget (const StreamOutFormatTarget &)=delete
 
StreamOutFormatTargetoperator= (const StreamOutFormatTarget &)=delete
 

Detailed Description

Definition at line 30 of file StreamOutFormatTarget.h.

Constructor & Destructor Documentation

◆ StreamOutFormatTarget() [1/2]

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

Definition at line 26 of file StreamOutFormatTarget.cc.

26 { mStream = &fStream; }

References mStream.

◆ ~StreamOutFormatTarget()

StreamOutFormatTarget::~StreamOutFormatTarget ( )
override

Definition at line 28 of file StreamOutFormatTarget.cc.

28 {}

◆ StreamOutFormatTarget() [2/2]

StreamOutFormatTarget::StreamOutFormatTarget ( const StreamOutFormatTarget )
privatedelete

Member Function Documentation

◆ flush()

void StreamOutFormatTarget::flush ( )
override

Definition at line 30 of file StreamOutFormatTarget.cc.

30 { mStream->flush(); }

References mStream.

◆ operator=()

StreamOutFormatTarget& StreamOutFormatTarget::operator= ( const StreamOutFormatTarget )
privatedelete

◆ writeChars()

void StreamOutFormatTarget::writeChars ( const XMLByte *const  toWrite,
const XMLSize_t  count,
XMLFormatter *const  formatter 
)
override

Definition at line 32 of file StreamOutFormatTarget.cc.

32  {
33  mStream->write((const char*)toWrite, sizeof(XMLByte) * count);
34  mStream->flush();
35 }

References submitPVResolutionJobs::count, and mStream.

Member Data Documentation

◆ mStream

std::ostream* StreamOutFormatTarget::mStream
private

Definition at line 46 of file StreamOutFormatTarget.h.

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

submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
StreamOutFormatTarget::mStream
std::ostream * mStream
Definition: StreamOutFormatTarget.h:46