#include <SgDebug.h>
Definition at line 63 of file SgDebug.h.
Public Member Functions | |
| SgDebugToString (bool writeToOldDebugStr) | |
| Constructor. | |
| ~SgDebugToString () | |
| std::string | GetString () const |
Private Attributes | |
| bool | m_writeToOldDebugStr |
| std::ostringstream | m_str |
| std::ostream * | m_old |
| SgDebugToString::SgDebugToString | ( | bool | writeToOldDebugStr | ) |
Constructor.
| writeToOldDebugStr | Also write the content of the string to the old stream, after it was reset in the desctructor. |
Definition at line 100 of file SgDebug.cpp.
References m_old, m_str, and SgSwapDebugStr().
| SgDebugToString::~SgDebugToString | ( | ) |
Definition at line 106 of file SgDebug.cpp.
References GetString(), m_old, m_writeToOldDebugStr, and SgSwapDebugStr().
| std::string SgDebugToString::GetString | ( | ) | const |
std::ostream* SgDebugToString::m_old [private] |
std::ostringstream SgDebugToString::m_str [private] |
bool SgDebugToString::m_writeToOldDebugStr [private] |