AliPhysics  41af4b0 (41af4b0)
AliForwardUtil::DebugGuard Struct Reference

#include <AliForwardUtil.h>

Public Member Functions

 DebugGuard (Int_t lvl, Int_t msgLvl, const char *format,...)
 
 ~DebugGuard ()
 

Static Public Member Functions

static void Message (Int_t lvl, Int_t msgLvl, const char *format,...)
 

Static Private Member Functions

static void Output (int in, TString &msg)
 
static void Format (TString &out, const char *format, va_list ap)
 

Private Attributes

TString fMsg
 

Detailed Description

A guard idom for producing debug output

Definition at line 818 of file AliForwardUtil.h.

Constructor & Destructor Documentation

AliForwardUtil::DebugGuard::DebugGuard ( Int_t  lvl,
Int_t  msgLvl,
const char *  format,
  ... 
)

Constructor

Parameters
lvlCurrent level
msgLvlTarget level
formatprintf -like format
Returns

Definition at line 1143 of file AliForwardUtil.cxx.

AliForwardUtil::DebugGuard::~DebugGuard ( )

Destructor

Definition at line 1155 of file AliForwardUtil.cxx.

Member Function Documentation

void AliForwardUtil::DebugGuard::Format ( TString out,
const char *  format,
va_list  ap 
)
staticprivate

Format a message

Parameters
outOutput is stored here
formatprintf -like format
apList of arguments

Definition at line 1176 of file AliForwardUtil.cxx.

Referenced by DebugGuard(), and Message().

void AliForwardUtil::DebugGuard::Message ( Int_t  lvl,
Int_t  msgLvl,
const char *  format,
  ... 
)
static

Make a message

Parameters
lvlCurrent level
msgLvlTarget level
formatprintf -like format

Definition at line 1162 of file AliForwardUtil.cxx.

void AliForwardUtil::DebugGuard::Output ( int  in,
TString msg 
)
staticprivate

Output the message

Parameters
inDirection
msgMessage

Definition at line 1187 of file AliForwardUtil.cxx.

Referenced by DebugGuard(), Message(), and ~DebugGuard().

Member Data Documentation

TString AliForwardUtil::DebugGuard::fMsg
private

Definition at line 858 of file AliForwardUtil.h.

Referenced by DebugGuard(), and ~DebugGuard().


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