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

ht_sub Class Reference

#include <htformat.h>

Inheritance diagram for ht_sub:

Object ht_analy_sub ht_group_sub ht_layer_sub ht_linear_sub ht_mask_sub ht_collapsable_sub ht_disasm_sub ht_hex_sub ht_text_sub ht_hex_file_sub List of all members.

Public Member Functions

void init (ht_streamfile *file)
virtual void done ()
virtual bool convert_ofs_to_id (const FILEOFS offset, LINE_ID *line_id)
virtual bool convert_id_to_ofs (const LINE_ID line_id, FILEOFS *offset)
virtual bool closest_line_id (LINE_ID *line_id)
virtual void first_line_id (LINE_ID *line_id)
virtual bool getline (char *line, const LINE_ID line_id)
virtual void handlemsg (htmsg *msg)
virtual void last_line_id (LINE_ID *line_id)
virtual int next_line_id (LINE_ID *line_id, int n)
virtual int prev_line_id (LINE_ID *line_id, int n)
virtual bool ref (LINE_ID *id)
virtual ht_search_resultsearch (ht_search_request *search, FILEOFS start, FILEOFS end)

Public Attributes

ht_uformat_vieweruformat_viewer
ht_subprev
ht_subnext

Protected Attributes

ht_streamfilefile

Member Function Documentation

bool ht_sub::closest_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented in ht_analy_sub, and ht_layer_sub.

Definition at line 3949 of file htformat.cc.

References first_line_id().

Referenced by ht_layer_sub::closest_line_id(), and ht_uformat_viewer::draw().

bool ht_sub::convert_id_to_ofs const LINE_ID  line_id,
FILEOFS offset
[virtual]
 

Reimplemented in ht_disasm_sub, ht_hex_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3960 of file htformat.cc.

References FILEOFS.

Referenced by ht_layer_sub::convert_id_to_ofs().

bool ht_sub::convert_ofs_to_id const FILEOFS  offset,
LINE_ID line_id
[virtual]
 

Reimplemented in ht_analy_sub, ht_disasm_sub, ht_hex_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3955 of file htformat.cc.

References FILEOFS.

Referenced by ht_layer_sub::convert_ofs_to_id(), ht_uformat_viewer::goto_offset(), ht_hex_viewer::qword_to_pos(), and ht_disasm_viewer::qword_to_pos().

void ht_sub::done  )  [virtual]
 

Reimplemented from Object.

Reimplemented in ht_analy_sub, ht_disasm_sub, ht_linear_sub, ht_hex_sub, ht_mask_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3944 of file htformat.cc.

References Object::done().

Referenced by ht_uformat_viewer::clear_subs(), ht_group_sub::done(), ht_layer_sub::done(), ht_mask_sub::done(), ht_linear_sub::done(), and ht_analy_sub::done().

void ht_sub::first_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented in ht_analy_sub, ht_disasm_sub, ht_hex_sub, ht_mask_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3974 of file htformat.cc.

Referenced by closest_line_id(), ht_uformat_viewer::complete_init(), ht_group_sub::first_line_id(), ht_layer_sub::first_line_id(), ht_uformat_viewer::handlemsg(), ht_uformat_viewer::next_line(), ht_group_sub::next_line_id(), ht_group_sub::prev_line_id(), and ht_uformat_viewer::vsearch().

bool ht_sub::getline char *  line,
const LINE_ID  line_id
[virtual]
 

Reimplemented in ht_analy_sub, ht_disasm_sub, ht_hex_sub, ht_mask_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3965 of file htformat.cc.

Referenced by ht_uformat_viewer::complete_init(), ht_uformat_viewer::cursor_down(), ht_uformat_viewer::cursor_up(), ht_uformat_viewer::cursorline_get(), ht_uformat_viewer::cursormicroedit_forward(), ht_uformat_viewer::draw(), ht_uformat_viewer::edit_input_correctpos(), ht_uformat_viewer::find_first_edit_tag_with_offset(), ht_uformat_viewer::find_first_tag(), ht_group_sub::getline(), ht_layer_sub::getline(), ht_uformat_viewer::set_cursor(), and ht_uformat_viewer::vsearch().

void ht_sub::handlemsg htmsg *  msg  )  [virtual]
 

Reimplemented in ht_linear_sub, ht_hex_sub, ht_layer_sub, ht_group_sub, and ht_hex_file_sub.

Definition at line 3970 of file htformat.cc.

Referenced by ht_group_sub::handlemsg(), ht_layer_sub::handlemsg(), and ht_uformat_viewer::sendsubmsg().

void ht_sub::init ht_streamfile file  ) 
 

Reimplemented in ht_group_sub.

Definition at line 3935 of file htformat.cc.

References file, Object::init(), next, NULL, prev, and uformat_viewer.

void ht_sub::last_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented in ht_analy_sub, ht_disasm_sub, ht_hex_sub, ht_mask_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3978 of file htformat.cc.

Referenced by ht_uformat_viewer::handlemsg(), ht_group_sub::last_line_id(), ht_layer_sub::last_line_id(), ht_group_sub::next_line_id(), ht_uformat_viewer::prev_line(), and ht_group_sub::prev_line_id().

int ht_sub::next_line_id LINE_ID line_id,
int  n
[virtual]
 

Reimplemented in ht_analy_sub, ht_disasm_sub, ht_hex_sub, ht_mask_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3987 of file htformat.cc.

Referenced by ht_uformat_viewer::next_line(), ht_group_sub::next_line_id(), ht_layer_sub::next_line_id(), and ht_uformat_viewer::vsearch().

int ht_sub::prev_line_id LINE_ID line_id,
int  n
[virtual]
 

Reimplemented in ht_analy_sub, ht_disasm_sub, ht_hex_sub, ht_mask_sub, ht_layer_sub, ht_collapsable_sub, ht_group_sub, and ht_text_sub.

Definition at line 3982 of file htformat.cc.

Referenced by ht_uformat_viewer::prev_line(), ht_group_sub::prev_line_id(), and ht_layer_sub::prev_line_id().

bool ht_sub::ref LINE_ID id  )  [virtual]
 

Reimplemented in ht_layer_sub, ht_collapsable_sub, and ht_group_sub.

Definition at line 3992 of file htformat.cc.

Referenced by ht_group_sub::ref(), ht_layer_sub::ref(), and ht_uformat_viewer::ref().

ht_search_result * ht_sub::search ht_search_request search,
FILEOFS  start,
FILEOFS  end
[virtual]
 

Reimplemented in ht_analy_sub, ht_linear_sub, ht_layer_sub, ht_collapsable_sub, and ht_group_sub.

Definition at line 3997 of file htformat.cc.

References FILEOFS, and NULL.

Referenced by ht_uformat_viewer::psearch(), and ht_layer_sub::search().


Member Data Documentation

ht_streamfile* ht_sub::file [protected]
 

Definition at line 426 of file htformat.h.

Referenced by init().

ht_sub * ht_sub::next
 

Definition at line 429 of file htformat.h.

Referenced by ht_uformat_viewer::clear_subs(), ht_uformat_viewer::goto_offset(), init(), ht_uformat_viewer::insertsub(), ht_uformat_viewer::next_line(), ht_uformat_viewer::psearch(), ht_uformat_viewer::sendsubmsg(), and ht_uformat_viewer::vsearch().

ht_sub* ht_sub::prev
 

Definition at line 429 of file htformat.h.

Referenced by init(), ht_uformat_viewer::insertsub(), and ht_uformat_viewer::prev_line().

ht_uformat_viewer* ht_sub::uformat_viewer
 

Definition at line 428 of file htformat.h.

Referenced by init(), and ht_uformat_viewer::insertsub().


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