Logo ROOT   6.16/01
Reference Guide
List of all members | Classes | Static Public Member Functions | Static Protected Member Functions | List of all members
ROOT::Detail::TStatusBitsChecker Class Reference

Definition at line 26 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. More...
 
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. More...
 
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. More...
 

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. More...
 

#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 233 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 224 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 247 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 99 of file TStatusBitsChecker.cxx.


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