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