12#ifndef ROOT_TStatusBitsChecker
13#define ROOT_TStatusBitsChecker
47 static bool Check(
TClass &classRef,
bool verbose =
false);
48 static bool Check(
const char *classname,
bool verbose =
false);
void Info(const char *location, const char *msgfmt,...)
std::map< UChar_t, std::list< Info > > fRegister
! Register of bits seen so far.
Registry()
Default constructor. Implemented in source file to allow hiding of the Info struct.
bool Check(TClass &classRef, bool verbose=false)
Return false and print error messages if there is any unexpected duplicates BIT constant in the class...
void RegisterBits(TClass &classRef)
Add to fRegister the Info about the bits in this class and its base classes.
~Registry()
Default destructor. Implemented in source file to allow hiding of the Info struct.
static bool Check(TClass &classRef, bool verbose=false)
Return false and print error messages if there is any unexpected duplicates BIT constant in the class...
static UChar_t ConvertToBit(Long64_t constant, TClass &classRef, const char *constantName)
Figure out which bit the constant has been set from/to.
static bool CheckAllClasses(bool verbosity=false)
Return false and print error messages if there is any unexpected duplicates BIT constant in any of th...
The ROOT global object gROOT contains a list of all defined classes.
Namespace for new ROOT classes and functions.