#include <NameList.h>
Public Methods | |
NameList (void) | |
virtual | ~NameList (void) |
int | num (void) const |
void | clear (void) |
int | add_name (const char *nm, const T &val) |
const char * | name (int a) const |
int | typecode (const char *nm) const |
T | data (const char *nm) const |
T | data (int a) const |
void | set_data (int a, const T &val) |
void | set_name (int a, const char *nm) |
Protected Attributes | |
int | Num |
number of items in the list. More... | |
ResizeArray< char * > | names |
array of pointers to the strings;. More... | |
ResizeArray< T > | Data |
integer data for the items. More... | |
hash_t | hash |
hash table used to accelerate finds etc. More... |
Definition at line 40 of file NameList.h.
|
Definition at line 50 of file NameList.h. |
|
Definition at line 56 of file NameList.h. |
|
Definition at line 82 of file NameList.h. Referenced by SymbolTable::add_cfunction, Scene::add_color_category, Scene::add_color_item, SymbolTable::add_keyword, SymbolTable::add_singleword, SymbolTable::add_stringfctn, MaterialList::delete_material, and VMDApp::remove_menu. |
|
Definition at line 67 of file NameList.h. |
|
Definition at line 155 of file NameList.h. |
|
|
Definition at line 119 of file NameList.h. Referenced by MoleculeList::add_color_names, Scene::category_name, Scene::color_name, FileRenderer::format, GeometryList::geom_list_name, and MaterialList::material_name. |
|
Definition at line 64 of file NameList.h. Referenced by MoleculeList::add_color_names, MaterialList::delete_material, MaterialList::num, Scene::num_categories, GeometryList::num_lists, FileRenderer::numformats, and PickModeList::set_pick_mode. |
|
Definition at line 164 of file NameList.h. Referenced by MoleculeList::add_color_names, SymbolTable::add_keyword, SymbolTable::add_singleword, SymbolTable::add_stringfctn, and Scene::set_category_item. |
|
Definition at line 172 of file NameList.h. |
|
|
integer data for the items.
Definition at line 44 of file NameList.h. |
|
hash table used to accelerate finds etc.
Definition at line 45 of file NameList.h. |
|
array of pointers to the strings;.
Definition at line 43 of file NameList.h. |
|
number of items in the list.
Definition at line 42 of file NameList.h. Referenced by NameList< Material * >::add_name, NameList< Material * >::clear, NameList< Material * >::data, NameList< Material * >::name, NameList< Material * >::NameList, NameList< Material * >::num, NameList< Material * >::set_data, NameList< Material * >::set_name, and NameList< Material * >::~NameList. |