MUQ
0.4.3
Demangler.h
Go to the documentation of this file.
1
#ifndef DEMANGLER_H
2
#define DEMANGLER_H
3
4
#include <string>
5
#include <typeinfo>
6
7
namespace
muq
{
8
namespace
Utilities{
9
11
std::string
demangle
(
const
char
* name);
12
13
14
template
<
typename
Po
int
erType>
15
std::string
GetTypeName
(PointerType
const
& ptr){
16
if
(ptr.get()){
17
auto
& r = *ptr.get();
18
return
demangle
(
typeid
(r).name());
19
}
else
{
20
return
""
;
21
}
22
}
23
24
}
25
}
26
27
28
#endif
muq::Utilities::GetTypeName
std::string GetTypeName(PointerType const &ptr)
Definition:
Demangler.h:15
muq::Utilities::demangle
std::string demangle(const char *name)
Definition:
Demangler.cpp:6
muq
Definition:
AllClassWrappers.h:6
doxygen_prep
MUQ
Utilities
Demangler.h
Generated on Wed Jun 12 2024 00:48:29 for MUQ by
1.9.1