DataDumper::iosave Class Reference

Collaboration diagram for DataDumper::iosave:
Collaboration graph

List of all members.

Public Member Functions

 iosave (std::ios &aStream)
 ~iosave ()
 Destructor - reset stream to its initial state.

Private Member Functions

 iosave (iosave const &aCopy)
iosaveoperator= (iosave const &aCopy)

Private Attributes

std::ios * mStreamPtr
std::ios::fmtflags mFlagsCopy
char mFillCopy
int mPrecisionCopy

Detailed Description

Class to save default output format before changing it. Parameters are `sticky', so save them before modification, and restore them when you are through. This class will restore the values when it goes out of scope.

Constructor & Destructor Documentation

DataDumper::iosave::iosave ( std::ios &  aStream  )  [inline]

Constructor - save a copy of the io stream parameters

aStream a reference to the io stream to save
DataDumper::iosave::~iosave (  )  [inline]

Destructor - reset stream to its initial state.

References mFillCopy, mFlagsCopy, mPrecisionCopy, and mStreamPtr.

DataDumper::iosave::iosave ( iosave const &  aCopy  )  [private]

Member Function Documentation

iosave& DataDumper::iosave::operator= ( iosave const &  aCopy  )  [private]

Member Data Documentation

Referenced by ~iosave().

std::ios::fmtflags DataDumper::iosave::mFlagsCopy [private]

Referenced by ~iosave().

Referenced by ~iosave().

std::ios* DataDumper::iosave::mStreamPtr [private]

Referenced by ~iosave().

The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:39:25 2010 for WfcamSrc by  doxygen 1.6.3