AliPhysics  781d0c7 (781d0c7)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 802 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 1111 of file AliForwardUtil.cxx.

AliForwardUtil::DebugGuard::~DebugGuard ( )

Destructor

Definition at line 1123 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 1144 of file AliForwardUtil.cxx.

Referenced by DebugGuard().

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 1130 of file AliForwardUtil.cxx.

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

Output the message

Parameters
inDirection
msgMessage

Definition at line 1155 of file AliForwardUtil.cxx.

Referenced by DebugGuard().

Member Data Documentation

TString AliForwardUtil::DebugGuard::fMsg
private

Definition at line 842 of file AliForwardUtil.h.

Referenced by DebugGuard().


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