class storing a set of shared symbol name More...
#include <name_storage.h>
Public Types | |
typedef unique_storage < symbol_name_tag, stored_name > ::id_value | id_value |
typedef std::vector< stored_name > | stored_values |
Public Member Functions | |
std::string const & | demangle (symbol_name_id id) const |
return the demangled name for the given ID | |
std::string const & | name (id_value const &id) const |
id_value const | create (stored_nameconst &value) |
ensure this value is available | |
stored_nameconst & | get (id_value const &id) const |
return the stored value for the given ID |
class storing a set of shared symbol name
Definition at line 128 of file name_storage.h.
typedef unique_storage<symbol_name_tag , stored_name>::id_value name_storage< symbol_name_tag >::id_value [inherited] |
Definition at line 38 of file name_storage.h.
typedef std::vector<stored_name > unique_storage< symbol_name_tag , stored_name >::stored_values [inherited] |
Definition at line 43 of file unique_storage.h.
id_value const unique_storage< symbol_name_tag , stored_name >::create | ( | stored_name const & | value | ) | [inline, inherited] |
ensure this value is available
Definition at line 80 of file unique_storage.h.
string const & symbol_name_storage::demangle | ( | symbol_name_id | id | ) | const |
return the demangled name for the given ID
Definition at line 83 of file name_storage.cpp.
References demangle_symbol(), ltrim(), stored_name::name, and stored_name::name_processed.
Referenced by format_output::formatter::format_symb_name(), arc_recorder::process(), and arc_recorder::process_children().
stored_name const& unique_storage< symbol_name_tag , stored_name >::get | ( | id_value const & | id | ) | const [inline, inherited] |
return the stored value for the given ID
Definition at line 92 of file unique_storage.h.
std::string const& name_storage< symbol_name_tag >::name | ( | id_value const & | id | ) | const [inline, inherited] |
Definition at line 40 of file name_storage.h.