KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
KviDebugContext Class Reference

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 KviDebugContextoperator= (const KviDebugContext &)
 

Private Attributes

KviCString m_szContext
 

Detailed Description

The KviDebugContext class.

This class...

Constructor & Destructor Documentation

KviDebugContext::KviDebugContext ( const char *  pcContext,
  ... 
)

Creates an instance of KviDebugContext.

Parameters
pcContextThe format list argument
...The succeding arguments
Returns
KviDebugContext

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().

Member Function Documentation

const KviDebugContext& KviDebugContext::operator= ( const KviDebugContext )
inlineprivate
void KviDebugContext::trace ( const char *  pcFmt,
  ... 
)
static
Parameters
pcFmtThe format list argument
...The succeding arguments
Returns
void

References KviCString::append(), g_szIndentPrefix, kvi_va_end, kvi_va_list, kvi_va_start, KviCString::ptr(), and KviCString::vsprintf().

Member Data Documentation

KviCString KviDebugContext::m_szContext
private

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