foobar2000 SDK
2015-01-14
|
#include <map.h>
Data Structures | |
class | comparator_wrapper |
class | enumeration_wrapper |
class | enumeration_wrapper_var |
struct | t_retrieve_key |
struct | t_search_query |
struct | t_search_set |
struct | t_storage |
Public Types | |
typedef t_content::const_iterator | const_iterator |
typedef t_content::iterator | iterator |
typedef t_storage_key | t_key |
typedef t_storage_value | t_value |
typedef traits_t< t_content > | traits |
Public Member Functions | |
template<typename t_callback > | |
void | enumerate (t_callback &p_callback) const |
template<typename t_callback > | |
void | enumerate (t_callback &p_callback) |
template<typename _t_key > | |
bool | exists (const _t_key &p_key) const |
template<typename _t_key > | |
iterator | find (const _t_key &key) |
template<typename _t_key > | |
const_iterator | find (const _t_key &key) const |
template<typename _t_key > | |
t_storage_value & | find_or_add (_t_key const &p_key) |
template<typename _t_key > | |
t_storage_value & | find_or_add_ex (_t_key const &p_key, bool &p_isnew) |
iterator | first () throw () |
const_iterator | first () const throw () |
t_size | get_count () const throw () |
template<typename _t_key > | |
bool | get_first (_t_key &p_out) const |
template<typename _t_key > | |
bool | get_last (_t_key &p_out) const |
template<typename _t_key > | |
bool | have_item (const _t_key &p_key) const |
iterator | last () throw () |
const_iterator | last () const throw () |
bool | operator!= (const t_self &other) const |
bool | operator== (const t_self &other) const |
template<typename _t_key > | |
const t_storage_value & | operator[] (const _t_key &p_key) const |
template<typename _t_key > | |
t_storage_value & | operator[] (const _t_key &p_key) |
template<typename t_source > | |
void | overwrite (const t_source &p_source) |
template<typename _t_key , typename _t_value > | |
bool | query (const _t_key &p_key, _t_value &p_value) const |
template<bool inclusive, bool above, typename _t_key , typename _t_value > | |
bool | query_nearest (_t_key &p_key, _t_value &p_value) const |
template<bool inclusive, bool above, typename _t_key > | |
const t_storage_value * | query_nearest_ptr (_t_key &p_key) const |
template<bool inclusive, bool above, typename _t_key > | |
t_storage_value * | query_nearest_ptr (_t_key &p_key) |
template<typename _t_key > | |
const t_storage_value * | query_ptr (const _t_key &p_key) const |
template<typename _t_key > | |
t_storage_value * | query_ptr (const _t_key &p_key) |
template<typename _t_key > | |
bool | query_ptr (const _t_key &p_key, const t_storage_value *&out) const |
template<typename _t_key > | |
bool | query_ptr (const _t_key &p_key, t_storage_value *&out) |
template<typename _t_key > | |
bool | remove (const _t_key &p_key) |
bool | remove (iterator const &iter) |
bool | remove (const_iterator const &iter) |
void | remove_all () throw () |
template<typename _t_key , typename _t_value > | |
void | set (const _t_key &p_key, const _t_value &p_value) |
Static Public Member Functions | |
static bool | equals (const t_self &v1, const t_self &v2) |
Private Types | |
typedef avltree_t< t_storage, comparator_wrapper > | t_content |
typedef map_t< t_storage_key, t_storage_value, t_comparator > | t_self |
Private Attributes | |
t_content | m_data |
typedef t_content::const_iterator pfc::map_t< t_storage_key, t_storage_value, t_comparator >::const_iterator |
typedef t_content::iterator pfc::map_t< t_storage_key, t_storage_value, t_comparator >::iterator |
|
private |
typedef t_storage_key pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_key |
|
private |
typedef t_storage_value pfc::map_t< t_storage_key, t_storage_value, t_comparator >::t_value |
typedef traits_t<t_content> pfc::map_t< t_storage_key, t_storage_value, t_comparator >::traits |
|
inline |
|
inline |
Definition at line 131 of file map.h.
|
inlinestatic |
Definition at line 237 of file map.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 34 of file map.h.
|
inline |
Definition at line 229 of file map.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 39 of file map.h.
|
inline |
Definition at line 230 of file map.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 44 of file map.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 64 of file map.h.
|
inline |
Definition at line 71 of file map.h.
|
inline |
Definition at line 78 of file map.h.
|
inline |
Definition at line 86 of file map.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 22 of file map.h.
|
private |