Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Detail::TStatusBitsChecker Class Reference

Definition at line 25 of file TStatusBitsChecker.h.

Classes

class  Registry
 

Static Public Member Functions

static bool Check (const char *classname, bool verbose=false)
 Return false and print error messages if there is any unexpected duplicates BIT constant in the class hierarchy.
 
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 hierarchy.
 
static bool CheckAllClasses (bool verbosity=false)
 Return false and print error messages if there is any unexpected duplicates BIT constant in any of the class hierarchy knows to TClassTable.
 

Static Protected Member Functions

static UChar_t ConvertToBit (Long64_t constant, TClass &classRef, const char *constantName)
 Figure out which bit the constant has been set from/to.
 

#include <TStatusBitsChecker.h>

Member Function Documentation

◆ Check() [1/2]

bool TStatusBitsChecker::Check ( const char *  classname,
bool  verbose = false 
)
static

Return false and print error messages if there is any unexpected duplicates BIT constant in the class hierarchy.

If verbose is true, also print all the bit declare in this class and all its bases.

Definition at line 234 of file TStatusBitsChecker.cxx.

◆ Check() [2/2]

bool TStatusBitsChecker::Check ( TClass classRef,
bool  verbose = false 
)
static

Return false and print error messages if there is any unexpected duplicates BIT constant in the class hierarchy.

If verbose is true, also print all the bit declare in this class and all its bases.

Definition at line 225 of file TStatusBitsChecker.cxx.

◆ CheckAllClasses()

bool TStatusBitsChecker::CheckAllClasses ( bool  verbosity = false)
static

Return false and print error messages if there is any unexpected duplicates BIT constant in any of the class hierarchy knows to TClassTable.

If verbose is true, also print all the bit declare in eacho of the classes and all their bases.

Definition at line 248 of file TStatusBitsChecker.cxx.

◆ ConvertToBit()

UChar_t TStatusBitsChecker::ConvertToBit ( Long64_t  constant,
TClass classRef,
const char *  constantName 
)
staticprotected

Figure out which bit the constant has been set from/to.

Return 255 if the constant is not an integer or out of range.

Definition at line 100 of file TStatusBitsChecker.cxx.


The documentation for this class was generated from the following files: