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

htformat.h File Reference

#include "evalx.h"
#include "htdata.h"
#include "htobj.h"
#include "htstring.h"
#include "formats.h"

Go to the source code of this file.

Classes

class  ht_collapsable_sub
class  ht_data_tagstring
class  ht_format_group
class  ht_format_loc
class  ht_format_viewer
class  ht_format_viewer_entry
class  ht_group_sub
class  ht_hex_sub
class  ht_layer_sub
class  ht_linear_sub
struct  ht_mask_ptable
class  ht_mask_sub
class  ht_physical_search_result
class  ht_search_request
class  ht_search_result
class  ht_sub
class  ht_uformat_viewer
class  ht_viewer
class  ht_visual_search_result
struct  LINE_ID
struct  uformat_viewer_pos
union  viewer_pos

Defines

#define VC_NULL   0x0000
#define VC_EDIT   0x0001
#define VC_GOTO   0x0002
#define VC_SEARCH   0x0004
#define VC_REPLACE   0x0008
#define VC_RESIZE   0x0010
#define cursor_state_visible   0
#define cursor_state_invisible   1
#define cursor_state_disabled   2
#define SR_NOT_FOUND   0
#define SR_FOUND   1
#define SR_NOT_SUPPORTED   2

Functions

ht_search_resultlinear_expr_search (ht_search_request *search, FILEOFS start, FILEOFS end, ht_sub *sub, ht_uformat_viewer *ufv, FILEOFS fofs, dword fsize)
ht_search_resultlinear_bin_search (ht_search_request *search, FILEOFS start, FILEOFS end, ht_streamfile *file, FILEOFS fofs, dword fsize)
void clear_line_id (LINE_ID *l)
bool compeq_line_id (const LINE_ID &a, const LINE_ID &b)


Define Documentation

#define cursor_state_disabled   2
 

Definition at line 284 of file htformat.h.

Referenced by ht_uformat_viewer::check_cursor_visibility(), ht_uformat_viewer::complete_init(), ht_uformat_viewer::cursor_down(), ht_uformat_viewer::cursor_up(), ht_uformat_viewer::get_current_offset(), and ht_uformat_viewer::handlemsg().

#define cursor_state_invisible   1
 

Definition at line 283 of file htformat.h.

Referenced by ht_uformat_viewer::check_cursor_visibility(), ht_uformat_viewer::complete_init(), ht_uformat_viewer::cursor_down(), ht_uformat_viewer::cursor_up(), and ht_uformat_viewer::goto_offset().

#define cursor_state_visible   0
 

Definition at line 282 of file htformat.h.

Referenced by ht_uformat_viewer::check_cursor_visibility(), ht_uformat_viewer::complete_init(), ht_uformat_viewer::cursor_down(), ht_uformat_viewer::cursor_up(), ht_uformat_viewer::draw(), ht_uformat_viewer::goto_offset(), and ht_uformat_viewer::handlemsg().

#define SR_FOUND   1
 

Definition at line 421 of file htformat.h.

#define SR_NOT_FOUND   0
 

Definition at line 420 of file htformat.h.

#define SR_NOT_SUPPORTED   2
 

Definition at line 422 of file htformat.h.

#define VC_EDIT   0x0001
 

Definition at line 121 of file htformat.h.

Referenced by ht_app::create_window_clipboard(), ht_uformat_viewer::func(), ht_uformat_viewer::handlemsg(), htclassimage_init(), htdisasm_init(), htelfheader_init(), hthex_init(), htpefheader_init(), htpefimage_init(), and ht_uformat_viewer::ref_flags().

#define VC_GOTO   0x0002
 

Definition at line 122 of file htformat.h.

Referenced by ht_app::create_window_clipboard(), ht_uformat_viewer::func(), htclassimage_init(), htdisasm_init(), hthex_init(), and htpefimage_init().

#define VC_NULL   0x0000
 

Definition at line 120 of file htformat.h.

#define VC_REPLACE   0x0008
 

Definition at line 124 of file htformat.h.

Referenced by hthex_init().

#define VC_RESIZE   0x0010
 

Definition at line 125 of file htformat.h.

Referenced by ht_uformat_viewer::func(), and hthex_init().

#define VC_SEARCH   0x0004
 

Definition at line 123 of file htformat.h.

Referenced by ht_app::create_window_clipboard(), ht_uformat_viewer::func(), ht_uformat_viewer::handlemsg(), htclassimage_init(), htdisasm_init(), hthex_init(), and htpefimage_init().


Function Documentation

void clear_line_id LINE_ID l  ) 
 

Definition at line 56 of file htformat.cc.

References LINE_ID::id1, LINE_ID::id2, LINE_ID::id3, LINE_ID::id4, and LINE_ID::id5.

Referenced by ht_uformat_viewer::clear_viewer_pos(), ht_text_sub::convert_ofs_to_id(), ht_hex_sub::convert_ofs_to_id(), ht_text_sub::first_line_id(), ht_collapsable_sub::first_line_id(), ht_mask_sub::first_line_id(), ht_hex_sub::first_line_id(), ht_disasm_sub::first_line_id(), ht_analy_sub::first_line_id(), ht_collapsable_sub::init(), ht_text_sub::last_line_id(), ht_mask_sub::last_line_id(), ht_hex_sub::last_line_id(), ht_disasm_sub::last_line_id(), ht_analy_sub::last_line_id(), and ht_uformat_viewer::update_misc_info().

bool compeq_line_id const LINE_ID a,
const LINE_ID b
 

Definition at line 65 of file htformat.cc.

References LINE_ID::id1, LINE_ID::id2, LINE_ID::id3, LINE_ID::id4, and LINE_ID::id5.

Referenced by ht_uformat_viewer::compeq_viewer_pos(), ht_uformat_viewer::draw(), ht_collapsable_sub::getline(), ht_group_sub::next_line_id(), ht_collapsable_sub::next_line_id(), ht_group_sub::prev_line_id(), ht_collapsable_sub::prev_line_id(), ht_collapsable_sub::ref(), and ht_uformat_viewer::set_cursor().

ht_search_result* linear_bin_search ht_search_request search,
FILEOFS  start,
FILEOFS  end,
ht_streamfile file,
FILEOFS  fofs,
dword  fsize
 

Definition at line 1506 of file htsearch.cc.

ht_search_result* linear_expr_search ht_search_request search,
FILEOFS  start,
FILEOFS  end,
ht_sub sub,
ht_uformat_viewer ufv,
FILEOFS  fofs,
dword  fsize
 

Definition at line 4183 of file htformat.cc.

References ht_expr_search_pcontext::end, execute_process(), FILEOFS, ht_expr_search_pcontext::fv, ht_expr_search_pcontext::i, NULL, ht_expr_search_pcontext::o, process_search_expr(), ht_expr_search_pcontext::request, ht_expr_search_pcontext::result, ht_expr_search_pcontext::start, and ht_expr_search_pcontext::sub.

Referenced by ht_linear_sub::search(), and ht_analy_sub::search().


Generated on Fri May 7 21:15:48 2004 by doxygen 1.3.5