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

ht_format_group Class Reference

#include <htformat.h>

Inheritance diagram for ht_format_group:

ht_format_viewer ht_viewer ht_view Object cview ht_coff ht_elf ht_flt ht_le ht_macho ht_mz ht_ne ht_pe ht_pef ht_xbe List of all members.

Public Member Functions

void init (bounds *b, int options, const char *desc, ht_streamfile *file, bool own_file, bool editable_file, format_viewer_if **ifs, ht_format_group *format_group)
virtual void done ()
virtual int childcount ()
virtual int focus (ht_view *view)
virtual char * func (UINT i, bool execute)
void getbounds (bounds *b)
virtual ht_viewgetfirstchild ()
virtual ht_viewgetselected ()
virtual void get_pindicator_str (char *buf)
virtual bool get_hscrollbar_pos (int *pstart, int *psize)
virtual bool get_vscrollbar_pos (int *pstart, int *psize)
virtual void handlemsg (htmsg *msg)
virtual void move (int x, int y)
virtual void receivefocus ()
virtual void redraw ()
virtual void releasefocus ()
virtual void resize (int rw, int rh)
virtual void setgroup (ht_group *group)
virtual void insert (ht_view *view)
void remove (ht_view *view)
void * get_shared_data ()

Protected Member Functions

void init_ifs (format_viewer_if **ifs)
void done_ifs ()
bool init_if (format_viewer_if *i)
bool done_if (format_viewer_if *i, ht_view *v)
bool edit ()

Protected Attributes

ht_clistformat_views
void * shared_data
bool editable_file
bool own_file
ht_xgroupxgroup

Member Function Documentation

int ht_format_group::childcount  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 152 of file htformat.cc.

References ht_group::childcount(), and xgroup.

void ht_format_group::done  )  [virtual]
 

Reimplemented from ht_format_viewer.

Reimplemented in cview, ht_coff, ht_elf, ht_flt, ht_le, ht_macho, ht_mz, ht_ne, ht_pe, ht_pef, and ht_xbe.

Definition at line 134 of file htformat.cc.

References ht_clist::destroy(), ht_stream::done(), ht_format_viewer::done(), ht_xgroup::done(), done_ifs(), format_views, own_file, and xgroup.

Referenced by ht_xbe::done(), ht_pef::done(), ht_pe::done(), ht_ne::done(), ht_mz::done(), ht_macho::done(), ht_le::done(), ht_flt::done(), ht_elf::done(), ht_coff::done(), and cview::done().

bool ht_format_group::done_if format_viewer_if i,
ht_view v
[protected]
 

Definition at line 157 of file htformat.cc.

References ht_view::done(), format_viewer_if::done, and remove().

Referenced by done_ifs().

void ht_format_group::done_ifs  )  [protected]
 

Definition at line 167 of file htformat.cc.

References done_if(), format_views, ht_clist::get(), ht_format_viewer_entry::instance, and ht_format_viewer_entry::interface.

Referenced by done().

bool ht_format_group::edit  )  [protected]
 

Definition at line 178 of file htformat.cc.

References FAM_WRITE, and ht_stream::get_access_mode().

int ht_format_group::focus ht_view view  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 183 of file htformat.cc.

References ht_group::focus(), ht_view::focus(), and xgroup.

char * ht_format_group::func UINT  i,
bool  execute
[virtual]
 

Reimplemented from ht_viewer.

Definition at line 190 of file htformat.cc.

References ht_viewer::func(), and UINT.

Referenced by handlemsg().

bool ht_format_group::get_hscrollbar_pos int *  pstart,
int *  psize
[virtual]
 

Reimplemented from ht_format_viewer.

Definition at line 225 of file htformat.cc.

References ht_group::current, ht_view::options, VO_FORMAT_VIEW, and xgroup.

void ht_format_group::get_pindicator_str char *  buf  )  [virtual]
 

Reimplemented from ht_format_viewer.

Definition at line 215 of file htformat.cc.

References buf, ht_group::current, ht_view::options, VO_FORMAT_VIEW, and xgroup.

void * ht_format_group::get_shared_data  ) 
 

Definition at line 200 of file htformat.cc.

References shared_data.

Referenced by ht_pe_il_viewer::done(), htclassimage_init(), htelfheader_init(), htpefheader_init(), htpefimage_init(), htpefimports_init(), ht_pe_header_viewer::ref_sel(), ht_xbe_import_viewer::select_entry(), ht_pe_import_viewer::select_entry(), ht_pe_export_viewer::select_entry(), and ht_pe_dimport_viewer::select_entry().

bool ht_format_group::get_vscrollbar_pos int *  pstart,
int *  psize
[virtual]
 

Reimplemented from ht_format_viewer.

Definition at line 234 of file htformat.cc.

References ht_group::current, ht_view::options, VO_FORMAT_VIEW, and xgroup.

void ht_format_group::getbounds bounds *  b  ) 
 

Reimplemented from ht_view.

Definition at line 195 of file htformat.cc.

References ht_view::getbounds(), and xgroup.

Referenced by init_if().

ht_view * ht_format_group::getfirstchild  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 205 of file htformat.cc.

References ht_group::getfirstchild(), and xgroup.

ht_view * ht_format_group::getselected  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 210 of file htformat.cc.

References ht_group::getselected(), and xgroup.

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

Reimplemented from ht_format_viewer.

Definition at line 243 of file htformat.cc.

References clearmsg(), func(), ht_xgroup::handlemsg(), ht_format_viewer::handlemsg(), K_F1, K_F10, K_F11, K_F12, K_F2, K_F3, K_F4, K_F5, K_F6, K_F7, K_F8, K_F9, msg_funcexec, msg_funcquery, msg_keypressed, msg_retval, mt_empty, ht_view::sendmsg(), and xgroup.

void ht_format_group::init bounds *  b,
int  options,
const char *  desc,
ht_streamfile file,
bool  own_file,
bool  editable_file,
format_viewer_if **  ifs,
ht_format_group format_group
 

Definition at line 117 of file htformat.cc.

References editable_file, format_views, ht_view::group, ht_clist::init(), ht_xgroup::init(), Object::init(), init_ifs(), options, own_file, VIEW_DEBUG_NAME, and xgroup.

Referenced by ht_app::create_window_file_bin().

bool ht_format_group::init_if format_viewer_if i  )  [protected]
 

Definition at line 298 of file htformat.cc.

References format_views, getbounds(), format_viewer_if::init, ht_clist::insert(), insert(), ht_format_viewer_entry::instance, ht_format_viewer_entry::interface, msg_complete_init, and ht_view::sendmsg().

Referenced by ht_elf::init(), and init_ifs().

void ht_format_group::init_ifs format_viewer_if **  ifs  )  [protected]
 

Definition at line 327 of file htformat.cc.

References init_if().

Referenced by ht_xbe::init(), ht_pef::init(), ht_pe::init(), ht_ne::init(), ht_mz::init(), ht_macho::init(), ht_le::init(), init(), ht_flt::init(), ht_elf::init(), ht_coff::init(), and cview::init().

void ht_format_group::insert ht_view view  )  [virtual]
 

Definition at line 337 of file htformat.cc.

References ht_group::insert(), and xgroup.

Referenced by init_if().

void ht_format_group::move int  x,
int  y
[virtual]
 

Reimplemented from ht_view.

Definition at line 342 of file htformat.cc.

References ht_group::move(), ht_view::move(), and xgroup.

void ht_format_group::receivefocus  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 348 of file htformat.cc.

References ht_group::receivefocus(), and xgroup.

void ht_format_group::redraw  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 353 of file htformat.cc.

References ht_xgroup::redraw(), and xgroup.

void ht_format_group::releasefocus  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 358 of file htformat.cc.

References ht_group::releasefocus(), and xgroup.

void ht_format_group::remove ht_view view  ) 
 

Definition at line 363 of file htformat.cc.

References ht_group::remove(), and xgroup.

Referenced by done_if().

void ht_format_group::resize int  rw,
int  rh
[virtual]
 

Reimplemented from ht_view.

Definition at line 368 of file htformat.cc.

References ht_group::resize(), ht_view::resize(), and xgroup.

void ht_format_group::setgroup ht_group group  )  [virtual]
 

Reimplemented from ht_view.

Definition at line 374 of file htformat.cc.

References ht_view::setgroup(), and xgroup.


Member Data Documentation

bool ht_format_group::editable_file [protected]
 

Definition at line 240 of file htformat.h.

Referenced by init().

ht_clist* ht_format_group::format_views [protected]
 

Definition at line 238 of file htformat.h.

Referenced by done(), done_ifs(), init(), and init_if().

bool ht_format_group::own_file [protected]
 

Definition at line 241 of file htformat.h.

Referenced by done(), and init().

void* ht_format_group::shared_data [protected]
 

Definition at line 239 of file htformat.h.

Referenced by get_shared_data().

ht_xgroup* ht_format_group::xgroup [protected]
 

Definition at line 242 of file htformat.h.

Referenced by childcount(), done(), focus(), get_hscrollbar_pos(), get_pindicator_str(), get_vscrollbar_pos(), getbounds(), getfirstchild(), getselected(), handlemsg(), init(), insert(), move(), receivefocus(), redraw(), releasefocus(), remove(), resize(), and setgroup().


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