foobar2000 SDK  2015-01-14
Public Member Functions | Static Public Member Functions | Data Fields
pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage

Public Member Functions

template<typename _t_key >
 t_storage (t_search_query< _t_key > const &p_source)
 
template<typename _t_key , typename _t_value >
 t_storage (t_search_set< _t_key, _t_value > const &p_source)
 
bool operator!= (const t_storage &other) const
 
bool operator== (const t_storage &other) const
 

Static Public Member Functions

static bool equals (const t_storage &v1, const t_storage &v2)
 

Data Fields

const t_storage_key m_key
 
t_storage_value m_value
 

Detailed Description

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
struct pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage

Definition at line 180 of file map.h.

Constructor & Destructor Documentation

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
template<typename _t_key >
pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage::t_storage ( t_search_query< _t_key > const &  p_source)
inline

Definition at line 185 of file map.h.

185 : m_key(p_source.m_key), m_value() {}
const t_storage_key m_key
Definition: map.h:181
t_storage_value m_value
Definition: map.h:182
template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
template<typename _t_key , typename _t_value >
pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage::t_storage ( t_search_set< _t_key, _t_value > const &  p_source)
inline

Definition at line 188 of file map.h.

188 : m_key(p_source.m_key), m_value(p_source.m_value) {}
const t_storage_key m_key
Definition: map.h:181
t_storage_value m_value
Definition: map.h:182

Member Function Documentation

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
static bool pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage::equals ( const t_storage v1,
const t_storage v2 
)
inlinestatic

Definition at line 190 of file map.h.

190 {return v1.m_key == v2.m_key && v1.m_value == v2.m_value;}
template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
bool pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage::operator!= ( const t_storage other) const
inline

Definition at line 192 of file map.h.

192 {return !equals(*this,other);}
static bool equals(const t_storage &v1, const t_storage &v2)
Definition: map.h:190
template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
bool pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage::operator== ( const t_storage other) const
inline

Definition at line 191 of file map.h.

191 {return equals(*this,other);}
static bool equals(const t_storage &v1, const t_storage &v2)
Definition: map.h:190

Field Documentation

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
const t_storage_key pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage::m_key

Definition at line 181 of file map.h.

template<typename t_storage_key, typename t_storage_value, typename t_comparator = comparator_default>
t_storage_value pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_storage::m_value

Definition at line 182 of file map.h.


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