#include <Utilities/General/interface/ClassName.h>
Public Member Functions | |
Demangle (const char *sc) | |
const char * | operator() () const |
~Demangle () | |
Private Attributes | |
char * | demangle |
Definition at line 14 of file ClassName.h.
Demangle::Demangle | ( | const char * | sc | ) |
Definition at line 4 of file ClassName.cc.
References demangle, and StDecayID::status.
00004 : demangle(0) { 00005 if (sc==0) return; 00006 int status; 00007 demangle = abi::__cxa_demangle(sc, 0, 0, &status); 00008 if(status == 0) return; 00009 demangle = 0; 00010 if(status == -1) 00011 throw std::bad_alloc(); 00012 else if(status == -2) { 00013 demangle = strdup(sc); 00014 } 00015 }
Demangle::~Demangle | ( | ) | [inline] |
const char* Demangle::operator() | ( | void | ) | const [inline] |
char* Demangle::demangle [private] |