Object to count the number of warnings and errors emitted by a section of code, after construction of this type.
Definition at line 260 of file RLogger.hxx.
Public Member Functions  
RLogScopedDiagCount ()  
Construct the scoped count for any diagnostic, whatever its channel. More...  
RLogScopedDiagCount (RLogDiagCount &cnt)  
Construct the scoped count given a counter (e.g. More...  
long long  GetAccumulatedErrors () const 
Get the number of errors that the RLogDiagCount has emitted since construction of *this. More...  
long long  GetAccumulatedFatalErrors () const 
Get the number of errors that the RLogDiagCount has emitted since construction of *this. More...  
long long  GetAccumulatedWarnings () const 
Get the number of warnings that the RLogDiagCount has emitted since construction of *this. More...  
bool  HasErrorOccurred () const 
Whether the RLogDiagCount has emitted an error (fatal or not) since construction time of *this. More...  
bool  HasErrorOrWarningOccurred () const 
Whether the RLogDiagCount has emitted an error or a warning since construction time of *this. More...  
bool  HasWarningOccurred () const 
Whether the RLogDiagCount has emitted a warnings since construction time of *this. More...  
Private Attributes  
RLogDiagCount *  fCounter = nullptr 
long long  fInitialErrors = 0 
The number of the RLogDiagCount's emitted errors at construction time. More...  
long long  fInitialFatalErrors = 0 
The number of the RLogDiagCount's emitted fatal errors at construction time. More...  
long long  fInitialWarnings = 0 
The number of the RLogDiagCount's emitted warnings at construction time of *this. More...  
#include <ROOT/RLogger.hxx>

inlineexplicit 
Construct the scoped count given a counter (e.g.
a channel or RLogManager). The counter's lifetime must exceed the lifetime of this object!
Definition at line 272 of file RLogger.hxx.

inline 
Construct the scoped count for any diagnostic, whatever its channel.
Definition at line 279 of file RLogger.hxx.

inline 
Get the number of errors that the RLogDiagCount has emitted since construction of *this.
Definition at line 285 of file RLogger.hxx.

inline 
Get the number of errors that the RLogDiagCount has emitted since construction of *this.
Definition at line 288 of file RLogger.hxx.

inline 
Get the number of warnings that the RLogDiagCount has emitted since construction of *this.
Definition at line 282 of file RLogger.hxx.

inline 
Whether the RLogDiagCount has emitted an error (fatal or not) since construction time of *this.
Definition at line 294 of file RLogger.hxx.

inline 
Whether the RLogDiagCount has emitted an error or a warning since construction time of *this.
Definition at line 297 of file RLogger.hxx.

inline 
Whether the RLogDiagCount has emitted a warnings since construction time of *this.
Definition at line 291 of file RLogger.hxx.

private 
Definition at line 261 of file RLogger.hxx.

private 
The number of the RLogDiagCount's emitted errors at construction time.
Definition at line 265 of file RLogger.hxx.

private 
The number of the RLogDiagCount's emitted fatal errors at construction time.
Definition at line 267 of file RLogger.hxx.

private 
The number of the RLogDiagCount's emitted warnings at construction time of *this.
Definition at line 263 of file RLogger.hxx.