NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
CDebugDumpable Class Referenceabstract

Search Toolkit Book for CDebugDumpable

#include <corelib/ddumpable.hpp>

+ Inheritance diagram for CDebugDumpable:

Public Member Functions

 CDebugDumpable (void)
 
virtual ~CDebugDumpable (void)
 
void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const
 
void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const
 
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const =0
 
void DumpToConsole (void) const
 

Static Public Member Functions

static void EnableDebugDump (bool on)
 

Static Private Attributes

static bool sm_DumpEnabled = true
 

Detailed Description

Definition at line 139 of file ddumpable.hpp.

Constructor & Destructor Documentation

◆ CDebugDumpable()

CDebugDumpable::CDebugDumpable ( void  )
inline

Definition at line 142 of file ddumpable.hpp.

◆ ~CDebugDumpable()

CDebugDumpable::~CDebugDumpable ( void  )
virtual

Definition at line 44 of file ddumpable.cpp.

Member Function Documentation

◆ DebugDump()

virtual void CDebugDumpable::DebugDump ( CDebugDumpContext  ddc,
unsigned int  depth 
) const
pure virtual

◆ DebugDumpFormat()

void CDebugDumpable::DebugDumpFormat ( CDebugDumpFormatter ddf,
const string bundle,
unsigned int  depth 
) const

Definition at line 68 of file ddumpable.cpp.

References DebugDump(), depth, and sm_DumpEnabled.

Referenced by DebugDumpText().

◆ DebugDumpText()

void CDebugDumpable::DebugDumpText ( ostream &  out,
const string bundle,
unsigned int  depth 
) const

◆ DumpToConsole()

void CDebugDumpable::DumpToConsole ( void  ) const

Definition at line 80 of file ddumpable.cpp.

References DebugDumpText(), and kEmptyStr.

◆ EnableDebugDump()

void CDebugDumpable::EnableDebugDump ( bool  on)
static

Definition at line 50 of file ddumpable.cpp.

References sm_DumpEnabled.

Member Data Documentation

◆ sm_DumpEnabled

bool CDebugDumpable::sm_DumpEnabled = true
staticprivate

Definition at line 161 of file ddumpable.hpp.

Referenced by DebugDumpFormat(), DebugDumpText(), and EnableDebugDump().


The documentation for this class was generated from the following files:
Modified on Wed Sep 27 02:38:57 2023 by modify_doxy.py rev. 669887