KVIrc
4.9.2
DeveloperAPIs
|
The KviDebugContext class. More...
#include <KviDebugContext.h>
Public Member Functions | |
KviDebugContext (const char *pcContext,...) | |
Creates an instance of KviDebugContext. More... | |
~KviDebugContext () | |
Destroys the instance of KviDebugContext and frees all the relevant resources. More... | |
Static Public Member Functions | |
static void | trace (const char *pcFmt,...) |
Private Member Functions | |
const KviDebugContext & | operator= (const KviDebugContext &) |
Private Attributes | |
KviCString | m_szContext |
The KviDebugContext class.
This class...
KviDebugContext::KviDebugContext | ( | const char * | pcContext, |
... | |||
) |
Creates an instance of KviDebugContext.
pcContext | The format list argument |
... | The succeding arguments |
References KviCString::append(), g_szIndentPrefix, kvi_va_end, kvi_va_list, kvi_va_start, m_szContext, KviCString::ptr(), and KviCString::vsprintf().
KviDebugContext::~KviDebugContext | ( | ) |
Destroys the instance of KviDebugContext and frees all the relevant resources.
References KviCString::append(), KviCString::cutRight(), g_szIndentPrefix, KVI_ASSERT, KviCString::len(), m_szContext, and KviCString::ptr().
|
inlineprivate |
|
static |
pcFmt | The format list argument |
... | The succeding arguments |
References KviCString::append(), g_szIndentPrefix, kvi_va_end, kvi_va_list, kvi_va_start, KviCString::ptr(), and KviCString::vsprintf().
|
private |
Referenced by KviDebugContext(), and ~KviDebugContext().