Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
t_debug Class Reference

#include <cddefines.h>

Inheritance diagram for t_debug:
Collaboration diagram for t_debug:

Public Member Functions

void enter (const char *name)
 
void leave (const char *name)
 

Protected Member Functions

 t_debug ()
 

Private Attributes

FILE * p_fp
 
int p_callLevel
 

Friends

class Singleton< t_debug >
 

Additional Inherited Members

- Static Public Member Functions inherited from Singleton< t_debug >
static t_debugInst ()
 

Detailed Description

entry and exit of each routine will go here, macros enabled if compiler-set flag DEBUG_FUN is defined

Constructor & Destructor Documentation

◆ t_debug()

t_debug::t_debug ( )
inlineprotected

References p_callLevel, and p_fp.

Member Function Documentation

◆ enter()

void t_debug::enter ( const char * name)
inline

References fprintf(), p_callLevel, and p_fp.

Here is the call graph for this function:

◆ leave()

void t_debug::leave ( const char * name)
inline

References fprintf(), p_callLevel, and p_fp.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ Singleton< t_debug >

friend class Singleton< t_debug >
friend

Member Data Documentation

◆ p_callLevel

int t_debug::p_callLevel
private

Referenced by enter(), leave(), and t_debug().

◆ p_fp

FILE* t_debug::p_fp
private

Referenced by enter(), leave(), and t_debug().


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