#include <menu_helpers.h>
Definition at line 24 of file menu_helpers.h.
struct menu_helpers::guid_to_name_table::entry |
menu_helpers::guid_to_name_table::guid_to_name_table |
( |
| ) |
|
menu_helpers::guid_to_name_table::~guid_to_name_table |
( |
| ) |
|
int menu_helpers::guid_to_name_table::entry_compare |
( |
const entry & |
entry1, |
|
|
const entry & |
entry2 |
|
) |
| |
|
staticprivate |
Definition at line 168 of file menu_helpers.cpp.
int guid_compare(const GUID &g1, const GUID &g2)
int menu_helpers::guid_to_name_table::entry_compare_search |
( |
const entry & |
entry1, |
|
|
const GUID & |
entry2 |
|
) |
| |
|
staticprivate |
Definition at line 163 of file menu_helpers.cpp.
int guid_compare(const GUID &g1, const GUID &g2)
const char * menu_helpers::guid_to_name_table::search |
( |
const GUID & |
p_guid | ) |
|
Definition at line 128 of file menu_helpers.cpp.
140 unsigned n, m = ptr->get_num_items();
143 assert(dataptr <
m_data.get_size());
145 ptr->get_item_name(n,nametemp);
146 m_data[dataptr].m_name = _strdup(nametemp);
147 m_data[dataptr].m_guid = ptr->get_item_guid(n);
151 assert(dataptr ==
m_data.get_size());
158 return m_data[index].m_name;
static void sort_t(t_container &p_data, t_compare p_compare, t_size p_count)
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
bool next(service_ptr_t< t_query > &p_out)
string8_t< pfc::alloc_fast_aggressive > string8_fastalloc
bool bsearch_t(t_size p_count, const t_container &p_container, t_compare p_compare, const t_param &p_param, t_size &p_index)
bool menu_helpers::guid_to_name_table::m_inited |
|
private |
The documentation for this class was generated from the following files: