demangle_symbol.h File Reference

#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)

Detailed Description

Demangle a C++ symbol

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

Definition in file demangle_symbol.h.


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

Definition at line 17 of file demangle_symbol.h.


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 8 Nov 2012 for Oprofile by  doxygen 1.6.1