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

Definition at line 31 of file TStatusBitsChecker.h.

Public Member Functions

 Registry ()
 Default constructor. Implemented in source file to allow hiding of the Info struct. More...
 
 ~Registry ()
 Default destructor. Implemented in source file to allow hiding of the Info struct. More...
 
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 or any of the bits already registered. More...
 
void RegisterBits (TClass &classRef)
 Add to fRegister the Info about the bits in this class and its base classes. More...
 

Protected Attributes

std::map< UChar_t, std::list< Info > > fRegister
 ! Register of bits seen so far. More...
 

#include <TStatusBitsChecker.h>

Constructor & Destructor Documentation

◆ Registry()

ROOT::Detail::TStatusBitsChecker::Registry::Registry ( )
default

Default constructor. Implemented in source file to allow hiding of the Info struct.

◆ ~Registry()

ROOT::Detail::TStatusBitsChecker::Registry::~Registry ( )
default

Default destructor. Implemented in source file to allow hiding of the Info struct.

Member Function Documentation

◆ Check()

bool ROOT::Detail::TStatusBitsChecker::Registry::Check ( TClass classRef,
bool  verbose = false 
)

Return false and print error messages if there is any unexpected duplicates BIT constant in the class hierarchy or any of the bits already registered.

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

Definition at line 181 of file TStatusBitsChecker.cxx.

◆ RegisterBits()

void ROOT::Detail::TStatusBitsChecker::Registry::RegisterBits ( TClass classRef)

Add to fRegister the Info about the bits in this class and its base classes.

Definition at line 135 of file TStatusBitsChecker.cxx.

Member Data Documentation

◆ fRegister

std::map<UChar_t, std::list<Info> > ROOT::Detail::TStatusBitsChecker::Registry::fRegister
protected

! Register of bits seen so far.

Definition at line 35 of file TStatusBitsChecker.h.


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