test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Utilities
General
src
ClassName.cc
Go to the documentation of this file.
1
#include "
Utilities/General/interface/ClassName.h
"
2
#include <cxxabi.h>
3
#include <cstring>
4
5
Demangle::Demangle
(
const
char
* sc) : demangle(0) {
6
if
(sc==0)
return
;
7
int
status
;
8
demangle
= abi::__cxa_demangle(sc, 0, 0, &status);
9
if
(status == 0)
return
;
10
demangle
= 0;
11
if
(status == -1)
12
throw
std::bad_alloc();
13
else
if
(status == -2) {
14
demangle
= strdup(sc);
15
}
16
}
17
ClassName.h
Demangle::Demangle
Demangle(const char *sc)
Definition:
ClassName.cc:5
Demangle::demangle
char * demangle
Definition:
ClassName.h:25
mps_update.status
tuple status
Definition:
mps_update.py:57
Generated for CMSSW Reference Manual by
1.8.5