Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_tree Class Reference

#include <htdata.h>

Inheritance diagram for ht_tree:

Object ht_stree ht_dtree List of all members.

Public Member Functions

void init (compare_keys_func_ptr compare_keys)
virtual void done ()
virtual void destroy ()
virtual void balance ()
virtual uint count ()
virtual bool del (Object *key)
virtual Objectenum_next (Object **value, Object *prevkey)
virtual Objectenum_prev (Object **value, Object *nextkey)
virtual Objectget (Object *key)
virtual Objectget_insert (Object *key)
virtual bool insert (Object *key, Object *value)
virtual void set_compare_keys (compare_keys_func_ptr new_compare_keys)

Public Attributes

compare_keys_func_ptr compare_keys

Member Function Documentation

void ht_tree::balance  )  [virtual]
 

Reimplemented in ht_stree.

Definition at line 164 of file htdata.cc.

uint ht_tree::count  )  [virtual]
 

Reimplemented in ht_stree, and ht_dtree.

Definition at line 168 of file htdata.cc.

References uint.

Referenced by AnalyserOutput::generateAddr().

bool ht_tree::del Object key  )  [virtual]
 

Reimplemented in ht_stree, and ht_dtree.

Definition at line 173 of file htdata.cc.

Referenced by ht_registry::delete_node(), Analyser::deleteXRef(), and ht_streamfile_modifier::mod_page_destroy().

void ht_tree::destroy  )  [virtual]
 

Reimplemented in ht_stree.

Definition at line 159 of file htdata.cc.

References done().

Referenced by ht_reloc_file::done(), ht_info_viewer::done(), ht_ne::done(), ht_elf::done(), Analyser::freeLocation(), ht_info_viewer::igotonode(), and ht_streamfile_modifier::mod_pages_destroy().

void ht_tree::done  )  [virtual]
 

Reimplemented from Object.

Reimplemented in ht_stree, and ht_dtree.

Definition at line 154 of file htdata.cc.

References Object::done().

Referenced by destroy(), and ht_stree::done().

Object * ht_tree::enum_next Object **  value,
Object prevkey
[virtual]
 

Reimplemented in ht_stree, and ht_dtree.

Definition at line 178 of file htdata.cc.

References NULL.

Referenced by NEAnalyser::beginAnalysis(), ht_registry::debug_dump_i(), ht_registry::enum_next(), AnalyserOutput::generateAddr(), ht_info_viewer::handlemsg(), ElfAnalyser::initInsertFakeSymbols(), ht_streamfile_modifier::mod_pages_flush(), ht_reloc_file::read(), ht_aviewer::showXRefs(), and ht_reloc_file::write().

Object * ht_tree::enum_prev Object **  value,
Object nextkey
[virtual]
 

Reimplemented in ht_stree, and ht_dtree.

Definition at line 183 of file htdata.cc.

References NULL.

Referenced by ht_registry::enum_prev(), and ht_info_viewer::handlemsg().

Object * ht_tree::get Object key  )  [virtual]
 

Reimplemented in ht_stree.

Definition at line 188 of file htdata.cc.

References NULL.

Referenced by Analyser::addXRef(), Analyser::assignXRef(), ht_registry::find_entry_get_node(), ht_info_lexer::gettoken(), ht_info_viewer::handlemsg(), ht_streamfile_modifier::mod_page_find(), and ht_elf::relocate_section().

Object * ht_tree::get_insert Object key  )  [virtual]
 

Definition at line 193 of file htdata.cc.

References NULL.

void ht_tree::init compare_keys_func_ptr  compare_keys  ) 
 

Reimplemented in ht_stree.

Definition at line 147 of file htdata.cc.

References assert, compare_keys, compare_keys_func_ptr, and Object::init().

bool ht_tree::insert Object key,
Object value
[virtual]
 

Reimplemented in ht_stree, and ht_dtree.

Definition at line 198 of file htdata.cc.

Referenced by Analyser::addXRef(), Analyser::assignXRef(), ht_elf::fake_undefined_symbols32(), ht_reloc_file::insert_reloc(), ht_streamfile_modifier::mod_page_create(), and parse_xref_body().

void ht_tree::set_compare_keys compare_keys_func_ptr  new_compare_keys  )  [virtual]
 

Reimplemented in ht_stree, and ht_dtree.

Definition at line 203 of file htdata.cc.

References compare_keys_func_ptr.


Member Data Documentation

compare_keys_func_ptr ht_tree::compare_keys
 

Definition at line 104 of file htdata.h.

Referenced by ht_dtree::enum_next(), ht_stree::enum_next(), ht_stree::enum_next_i(), ht_dtree::enum_prev(), ht_stree::enum_prev(), ht_stree::enum_prev_i(), ht_stree::get_node_and_parent(), ht_stree::get_node_i(), init(), ht_dtree::insert(), and ht_stree::insert().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:04 2004 by doxygen 1.3.5