Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Public Member Functions | Private Attributes

SgDebugToNewFile Class Reference

Temporarily redirect IO to file for lifetime of this object. More...

#include <SgDebug.h>

List of all members.

Public Member Functions

 SgDebugToNewFile (const char *filename)
 SgDebugToNewFile ()
void SetFile (const char *filename)
 ~SgDebugToNewFile ()

Private Attributes

std::ostream * m_old

Detailed Description

Temporarily redirect IO to file for lifetime of this object.

Definition at line 41 of file SgDebug.h.


Constructor & Destructor Documentation

SgDebugToNewFile::SgDebugToNewFile ( const char *  filename  )  [explicit]

Definition at line 72 of file SgDebug.cpp.

SgDebugToNewFile::SgDebugToNewFile (  )  [explicit]

Definition at line 77 of file SgDebug.cpp.

SgDebugToNewFile::~SgDebugToNewFile (  ) 

Definition at line 87 of file SgDebug.cpp.

References m_old, and SgSwapDebugStr().


Member Function Documentation

void SgDebugToNewFile::SetFile ( const char *  filename  ) 

Definition at line 82 of file SgDebug.cpp.

References m_old, and SgSwapDebugStr().


Member Data Documentation

std::ostream* SgDebugToNewFile::m_old [private]

Definition at line 53 of file SgDebug.h.

Referenced by SetFile(), and ~SgDebugToNewFile().


The documentation for this class was generated from the following files:


Sun Mar 13 2011 Doxygen 1.7.1