KVIrc 5.2.4
Developer APIs
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.
 
 ~KviDebugContext ()
 Destroys the instance of KviDebugContext and frees all the relevant resources.
 

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::KviDebugContext ( const char *  pcContext,
  ... 
)

Creates an instance of KviDebugContext.

Parameters
pcContextThe format list argument
...The succeeding 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::~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

◆ operator=()

const KviDebugContext & KviDebugContext::operator= ( const KviDebugContext )
inlineprivate

◆ trace()

void KviDebugContext::trace ( const char *  pcFmt,
  ... 
)
static
Parameters
pcFmtThe format list argument
...The succeeding 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

◆ m_szContext

KviCString KviDebugContext::m_szContext
private

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