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

SymbolBox Class Reference

#include <htanaly.h>

Inheritance diagram for SymbolBox:

ht_listbox ht_view Object List of all members.

Public Member Functions

void init (bounds *b, Analyser *Analy)
virtual void done ()
virtual int calcCount ()
virtual int cursorAdjust ()
virtual int estimateEntryPos (void *entry)
virtual void * getFirst ()
virtual void * getLast ()
virtual void * getNext (void *entry)
virtual void * getPrev (void *entry)
virtual char * getStr (int col, void *entry)
virtual bool idle ()
virtual int numColumns ()
virtual void * quickfind (char *s)
virtual char * quickfindCompletition (char *s)

Public Attributes

Analyseranaly
char * str
int idle_count
int symbols

Member Function Documentation

int SymbolBox::calcCount  )  [virtual]
 

Implements ht_listbox.

Definition at line 130 of file htanaly.cc.

References analy, and Analyser::getSymbolCount().

int SymbolBox::cursorAdjust  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 135 of file htanaly.cc.

References Location::addr, getFirst(), Symbol::location, and Address::stringSize().

void SymbolBox::done  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 124 of file htanaly.cc.

References ht_listbox::done(), and str.

int SymbolBox::estimateEntryPos void *  entry  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 142 of file htanaly.cc.

void * SymbolBox::getFirst  )  [virtual]
 

Implements ht_listbox.

Definition at line 147 of file htanaly.cc.

References analy, Analyser::enumSymbols(), and NULL.

Referenced by cursorAdjust().

void * SymbolBox::getLast  )  [virtual]
 

Implements ht_listbox.

Definition at line 152 of file htanaly.cc.

References analy, Analyser::enumSymbolsReverse(), and NULL.

void * SymbolBox::getNext void *  entry  )  [virtual]
 

Implements ht_listbox.

Definition at line 157 of file htanaly.cc.

References analy, Analyser::enumSymbols(), and NULL.

void * SymbolBox::getPrev void *  entry  )  [virtual]
 

Implements ht_listbox.

Definition at line 163 of file htanaly.cc.

References analy, Analyser::enumSymbolsReverse(), and NULL.

char * SymbolBox::getStr int  col,
void *  entry
[virtual]
 

Implements ht_listbox.

Definition at line 169 of file htanaly.cc.

References Location::addr, ADDRESS_STRING_FORMAT_LEADING_WHITESPACE, global_analyser_address_string_format, ht_snprintf(), label_type_short(), Symbol::location, Symbol::name, NULL, str, and Symbol::type.

bool SymbolBox::idle  )  [virtual]
 

Standard Object idle function. Overwrite and register with htidle.cc:register_idle()

Returns:
true if working, false if really idle

Reimplemented from Object.

Definition at line 188 of file htanaly.cc.

References analy, Analyser::getSymbolCount(), idle_count, ht_listbox::redraw(), symbols, and ht_listbox::update().

void SymbolBox::init bounds *  b,
Analyser Analy
 

Definition at line 115 of file htanaly.cc.

References analy, Analyser::getSymbolCount(), idle_count, Object::init(), smalloc(), str, and symbols.

Referenced by ht_aviewer::showSymbols().

int SymbolBox::numColumns  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 201 of file htanaly.cc.

void * SymbolBox::quickfind char *  s  )  [virtual]
 

Implements ht_listbox.

Definition at line 206 of file htanaly.cc.

References analy, Analyser::enumSymbolsByName(), Analyser::getSymbolByName(), Symbol::name, and NULL.

Referenced by ht_aviewer::showSymbols().

char * SymbolBox::quickfindCompletition char *  s  )  [virtual]
 

Reimplemented from ht_listbox.

Definition at line 223 of file htanaly.cc.

References analy, Analyser::enumSymbols(), Analyser::enumSymbolsByName(), Analyser::getSymbolByName(), ht_strdup(), ht_strncmp(), Symbol::name, smalloc(), and strccomm().


Member Data Documentation

Analyser* SymbolBox::analy
 

Definition at line 81 of file htanaly.h.

Referenced by calcCount(), getFirst(), getLast(), getNext(), getPrev(), idle(), init(), quickfind(), and quickfindCompletition().

int SymbolBox::idle_count
 

Definition at line 83 of file htanaly.h.

Referenced by idle(), and init().

char* SymbolBox::str
 

Definition at line 82 of file htanaly.h.

Referenced by done(), getStr(), and init().

int SymbolBox::symbols
 

Definition at line 84 of file htanaly.h.

Referenced by idle(), and init().


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