demangle_symbol.h File Reference

Demangle a C++ symbol. More...

#include <string>
Include dependency graph for demangle_symbol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  demangle_type { dmt_none, dmt_normal, dmt_smart }
 

demangle type: specify what demangling we use

More...

Functions

std::string const demangle_symbol (std::string const &name)
 demangle_symbol - demangle a symbol

Detailed Description

Demangle a C++ symbol.

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon

Enumeration Type Documentation

demangle type: specify what demangling we use

Enumerator:
dmt_none 

no demangling.

dmt_normal 

use cplus_demangle()

dmt_smart 

normal plus a pass through the regular expression to simplify the mangled name


Function Documentation

std::string const demangle_symbol ( std::string const &  name  ) 

demangle_symbol - demangle a symbol

Parameters:
name the mangled symbol name
Returns:
the demangled name

Demangle the symbol name, if the global variable demangle is true.

The demangled name lists the parameters and type qualifiers such as "const".


Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1