filename_storage< I > Struct Template Reference

partial specialization for unique storage of filenames More...

#include <name_storage.h>

Inheritance diagram for filename_storage< I >:
Inheritance graph
[legend]
Collaboration diagram for filename_storage< I >:
Collaboration graph
[legend]

Public Types

typedef unique_storage< I,
stored_filename >::id_value 
id_value
typedef std::vector
< stored_filename
stored_values

Public Member Functions

std::string const & name (id_value const &id) const
id_value const create (stored_filenameconst &value)
 ensure this value is available
stored_filenameconst & get (id_value const &id) const
 return the stored value for the given ID

Detailed Description

template<typename I>
struct filename_storage< I >

partial specialization for unique storage of filenames

Definition at line 74 of file name_storage.h.


Member Typedef Documentation

template<typename I>
typedef unique_storage<I, stored_filename>::id_value filename_storage< I >::id_value

Definition at line 76 of file name_storage.h.

typedef std::vector<stored_filename > unique_storage< I , stored_filename >::stored_values [inherited]

Definition at line 43 of file unique_storage.h.


Member Function Documentation

id_value const unique_storage< I , stored_filename >::create ( stored_filename const &  value  )  [inline, inherited]

ensure this value is available

Definition at line 80 of file unique_storage.h.

stored_filename const& unique_storage< I , stored_filename >::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.

Referenced by filename_storage< image_name_tag >::name().

Here is the caller graph for this function:

template<typename I>
std::string const& filename_storage< I >::name ( id_value const &  id  )  const [inline]

Definition at line 78 of file name_storage.h.

Referenced by profile_container::select_symbols().

Here is the caller graph for this function:


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

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1