ROOT 6.14/05 Reference Guide |
Object to count the number of warnings and errors emitted by a section of code, after construction of this type.
Definition at line 103 of file TLogger.hxx.
Public Member Functions | |
long long | GetAccumulatedErrors () const |
Get the number of errors that the TLogManager has emitted since construction of *this. More... | |
long long | GetAccumulatedWarnings () const |
Get the number of warnings that the TLogManager has emitted since construction of *this. More... | |
bool | HasErrorOccurred () const |
Whether the TLogManager has emitted an error since construction time of *this. More... | |
bool | HasErrorOrWarningOccurred () const |
Whether the TLogManager has emitted an error or a warning since construction time of *this. More... | |
bool | HasWarningOccurred () const |
Whether the TLogManager has emitted a warnings since construction time of *this. More... | |
Private Attributes | |
long long | fInitialErrors {TLogManager::Get().GetNumErrors()} |
The number of the TLogManager's emitted errors at construction time. More... | |
long long | fInitialWarnings {TLogManager::Get().GetNumWarnings()} |
The number of the TLogManager's emitted warnings at construction time of *this. More... | |
#include <ROOT/TLogger.hxx>
|
inline |
Get the number of errors that the TLogManager has emitted since construction of *this.
Definition at line 115 of file TLogger.hxx.
|
inline |
Get the number of warnings that the TLogManager has emitted since construction of *this.
Definition at line 112 of file TLogger.hxx.
|
inline |
Whether the TLogManager has emitted an error since construction time of *this.
Definition at line 121 of file TLogger.hxx.
|
inline |
Whether the TLogManager has emitted an error or a warning since construction time of *this.
Definition at line 124 of file TLogger.hxx.
|
inline |
Whether the TLogManager has emitted a warnings since construction time of *this.
Definition at line 118 of file TLogger.hxx.
|
private |
The number of the TLogManager's emitted errors at construction time.
Definition at line 108 of file TLogger.hxx.
|
private |
The number of the TLogManager's emitted warnings at construction time of *this.
Definition at line 106 of file TLogger.hxx.