foobar2000 SDK  2015-01-14
Public Member Functions | Private Attributes
pfc::map_t< t_storage_key, t_storage_value, t_comparator >::enumeration_wrapper< t_callback >

Public Member Functions

 enumeration_wrapper (t_callback &p_callback)
 
void operator() (const t_storage &p_item)
 

Private Attributes

t_callback & m_callback
 

Detailed Description

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
template<typename t_callback>
class pfc::map_t< t_storage_key, t_storage_value, t_comparator >::enumeration_wrapper< t_callback >

Definition at line 204 of file map.h.

Constructor & Destructor Documentation

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
template<typename t_callback >
pfc::map_t< t_storage_key, t_storage_value, t_comparator >::enumeration_wrapper< t_callback >::enumeration_wrapper ( t_callback &  p_callback)
inline

Definition at line 206 of file map.h.

206 : m_callback(p_callback) {}
t_callback & m_callback
Definition: map.h:209

Member Function Documentation

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
template<typename t_callback >
void pfc::map_t< t_storage_key, t_storage_value, t_comparator >::enumeration_wrapper< t_callback >::operator() ( const t_storage p_item)
inline

Definition at line 207 of file map.h.

207 {m_callback(p_item.m_key,p_item.m_value);}
t_callback & m_callback
Definition: map.h:209

Field Documentation

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
template<typename t_callback >
t_callback& pfc::map_t< t_storage_key, t_storage_value, t_comparator >::enumeration_wrapper< t_callback >::m_callback
private

Definition at line 209 of file map.h.


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