12#ifndef ROOT_TStatusBitsChecker
13#define ROOT_TStatusBitsChecker
46 static bool Check(
TClass &classRef,
bool verbose =
false);
47 static bool Check(
const char *classname,
bool verbose =
false);
Basic types used by ROOT and required by TInterpreter.
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
long long Long64_t
Portable signed long integer 8 bytes.
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...
TClass instances represent classes, structs and namespaces in the ROOT type system.
Special implementation of ROOT::RRangeCast for TCollection, including a check that the cast target ty...