TDME2
1.9.200
src
tdme
utilities
RTTI.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
5
#include <
tdme/tdme.h
>
6
#include <
tdme/utilities/fwd-tdme.h
>
7
8
using
std::string;
9
10
/**
11
* Run time type information utility class
12
* @author Andreas Drewke
13
*/
14
class
tdme::utilities::RTTI
{
15
public
:
16
/**
17
* @brief Demangle c++ symbol names
18
* @return demangled name
19
*/
20
static
const
string
demangle
(
const
string
& name);
21
22
/**
23
* @brief Returns the current backtrace as string
24
* @return backtrace as string
25
*/
26
static
const
string
backtrace
();
27
};
tdme::utilities::RTTI
Run time type information utility class.
Definition:
RTTI.h:14
tdme::utilities::RTTI::backtrace
static const string backtrace()
Returns the current backtrace as string.
Definition:
RTTI.cpp:38
tdme::utilities::RTTI::demangle
static const string demangle(const string &name)
Demangle c++ symbol names.
Definition:
RTTI.cpp:25
tdme.h
fwd-tdme.h
Generated by
1.9.1