debug_name_storage Struct Reference

class storing a set of shared debug name (source filename) More...

#include <name_storage.h>

Inheritance diagram for debug_name_storage:
Inheritance graph
[legend]
Collaboration diagram for debug_name_storage:
Collaboration graph
[legend]

Public Types

typedef unique_storage
< debug_name_tag, stored_name >
::id_value 
id_value
typedef std::vector< stored_namestored_values

Public Member Functions

std::string const & basename (debug_name_id id) const
 return the basename 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

Detailed Description

class storing a set of shared debug name (source filename)

Definition at line 51 of file name_storage.h.


Member Typedef Documentation

typedef unique_storage<debug_name_tag , stored_name>::id_value name_storage< debug_name_tag >::id_value [inherited]

Definition at line 38 of file name_storage.h.

typedef std::vector<stored_name > unique_storage< debug_name_tag , stored_name >::stored_values [inherited]

Definition at line 43 of file unique_storage.h.


Member Function Documentation

string const & debug_name_storage::basename ( debug_name_id  id  )  const

return the basename for the given ID

Definition at line 74 of file name_storage.cpp.

References stored_name::name, stored_name::name_processed, and op_basename().

Here is the call graph for this function:

id_value const unique_storage< debug_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.

References unique_storage< I, V >::ids, and unique_storage< I, V >::values.

stored_name const& unique_storage< debug_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.

References unique_storage< I, V >::values.

std::string const& name_storage< debug_name_tag >::name ( id_value const &  id  )  const [inline, inherited]

Definition at line 40 of file name_storage.h.

References unique_storage< I, stored_name >::get().

Here is the call graph for this function:


The documentation for this struct was generated from the following files:

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1