#include <Debug.h>

Public Member Functions

 SVDebug ()
 
 ~SVDebug ()
 
template<typename T >
SVDebugoperator<< (const T &t)
 
SVDebugoperator<< (QTextStreamFunction)
 

Static Public Member Functions

static void silence ()
 

Private Attributes

std::fstream m_stream
 
char * m_prefix
 
bool m_ok
 
bool m_eol
 
QElapsedTimer m_timer
 

Static Private Attributes

static bool m_silenced = false
 

Detailed Description

Definition at line 40 of file Debug.h.

Constructor & Destructor Documentation

SVDebug::SVDebug ( )

!! what to do if mkpath fails?

Definition at line 56 of file Debug.cpp.

References ResourceFinder::getUserResourcePrefix(), m_ok, m_prefix, m_silenced, m_stream, and m_timer.

SVDebug::~SVDebug ( )

Definition at line 96 of file Debug.cpp.

References m_stream.

Member Function Documentation

template<typename T >
SVDebug& SVDebug::operator<< ( const T &  t)
inline

Definition at line 46 of file Debug.h.

References m_eol, m_ok, m_prefix, m_silenced, m_stream, and m_timer.

SVDebug& SVDebug::operator<< ( QTextStreamFunction  )
inline

Definition at line 58 of file Debug.h.

References m_eol, m_silenced, and m_stream.

static void SVDebug::silence ( )
inlinestatic

Definition at line 65 of file Debug.h.

References m_silenced.

Member Data Documentation

std::fstream SVDebug::m_stream
private

Definition at line 68 of file Debug.h.

Referenced by operator<<(), SVDebug(), and ~SVDebug().

char* SVDebug::m_prefix
private

Definition at line 69 of file Debug.h.

Referenced by operator<<(), and SVDebug().

bool SVDebug::m_ok
private

Definition at line 70 of file Debug.h.

Referenced by operator<<(), and SVDebug().

bool SVDebug::m_eol
private

Definition at line 71 of file Debug.h.

Referenced by operator<<().

QElapsedTimer SVDebug::m_timer
private

Definition at line 72 of file Debug.h.

Referenced by operator<<(), and SVDebug().

bool SVDebug::m_silenced = false
staticprivate

Definition at line 73 of file Debug.h.

Referenced by getSVCerr(), operator<<(), SVCerr::operator<<(), silence(), SVCerr::silence(), and SVDebug().


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