30 static const TNamed*
ptr(
const char* stringPtr) ;
31 static const char*
str(
const TNamed* ptr) ;
static const char * str(const TNamed *ptr)
Return C++ string corresponding to given TNamed pointer.
static void cleanup()
Cleanup function called by atexit() handler installed by RooSentinel to delete global objects on heap...
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
RooHashTable implements a hash table for TObjects.
static const TNamed * known(const char *stringPtr)
If the name is already known, return its TNamed pointer. Otherwise return 0 (don't register the name)...
static RooNameReg & instance()
Return reference to singleton instance.
static const TNamed * ptr(const char *stringPtr)
Return a unique TNamed pointer for given C++ string.
virtual ~RooNameReg()
Destructor.
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
RooNameReg(Int_t hashSize=31)
RooNameReg is a registry for 'const char*' name.
const TNamed * constPtr(const char *stringPtr)
Return a unique TNamed pointer for given C++ string.
static RooNameReg * _instance
const char * constStr(const TNamed *namePtr)
Return C++ string corresponding to given TNamed pointer.