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

Area Class Reference

#include <stddata.h>

Inheritance diagram for Area:

Object List of all members.

Public Member Functions

void init ()
int load (ht_object_stream *f)
virtual void done ()
OBJECT_ID object_id () const
void add (Object *Start, Object *End)
bool contains (Object *V)
area_sgetArea (Object *at)
ObjectfindNext (Object *From)
ObjectfindPrev (Object *From)
void freeRecursive (area_s *p)
virtual void store (ht_object_stream *f)

Public Attributes

area_sa

Member Function Documentation

void Area::add Object Start,
Object End
 

Definition at line 127 of file stddata.cc.

References a.

Referenced by XBEAnalyser::beginAnalysis(), PEFAnalyser::beginAnalysis(), PEAnalyser::beginAnalysis(), NEAnalyser::beginAnalysis(), MachoAnalyser::beginAnalysis(), LEAnalyser::beginAnalysis(), FLTAnalyser::beginAnalysis(), ElfAnalyser::beginAnalysis(), CoffAnalyser::beginAnalysis(), class_read(), and Analyser::gotoAddress().

bool Area::contains Object V  ) 
 

Definition at line 141 of file stddata.cc.

References a, ATOM_ADDRESS_INVALID, and Object::instanceOf().

Referenced by AnalyserTxtOutput::beginLine(), AnalyserHTOutput::beginLine(), generate_html_output(), Analyser::gotoAddress(), and ClassAnalyser::validAddress().

void Area::done  )  [virtual]
 

Reimplemented from Object.

Definition at line 67 of file stddata.cc.

References a, and freeRecursive().

Referenced by class_unread(), XBEAnalyser::done(), PEFAnalyser::done(), PEAnalyser::done(), NEAnalyser::done(), MachoAnalyser::done(), LEAnalyser::done(), FLTAnalyser::done(), ElfAnalyser::done(), CoffAnalyser::done(), Analyser::done(), and ClassAnalyser::init().

Object * Area::findNext Object From  ) 
 

Definition at line 157 of file stddata.cc.

References a, and NULL.

Referenced by Analyser::gotoAddress(), XBEAnalyser::nextValid(), PEFAnalyser::nextValid(), PEAnalyser::nextValid(), NEAnalyser::nextValid(), MachoAnalyser::nextValid(), LEAnalyser::nextValid(), FLTAnalyser::nextValid(), ElfAnalyser::nextValid(), CoffAnalyser::nextValid(), ClassAnalyser::nextValid(), and ht_analy_sub::search().

Object * Area::findPrev Object From  ) 
 

Definition at line 177 of file stddata.cc.

References a, and NULL.

Referenced by htclassimage_init().

void Area::freeRecursive area_s p  ) 
 

Definition at line 184 of file stddata.cc.

References area_s::end, area_s::left, area_s::right, and area_s::start.

Referenced by done().

area_s * Area::getArea Object at  ) 
 

Definition at line 86 of file stddata.cc.

References a.

Referenced by ht_analy_sub::search().

void Area::init  ) 
 

Reimplemented from Object.

Definition at line 33 of file stddata.cc.

References a, and NULL.

Referenced by class_read(), XBEAnalyser::init(), PEFAnalyser::init(), PEAnalyser::init(), NEAnalyser::init(), MachoAnalyser::init(), LEAnalyser::init(), FLTAnalyser::init(), ElfAnalyser::init(), CoffAnalyser::init(), and Analyser::init().

int Area::load ht_object_stream st  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 59 of file stddata.cc.

References a, ht_layer_stream::get_error(), and GET_INT_DEC.

OBJECT_ID Area::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 72 of file stddata.cc.

References ATOM_AREA.

void Area::store ht_object_stream f  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 222 of file stddata.cc.

References a, NULL, PUT_INT_DEC, and ht_object_stream::putObject().


Member Data Documentation

area_s* Area::a
 

Definition at line 33 of file stddata.h.

Referenced by add(), contains(), done(), findNext(), findPrev(), getArea(), init(), load(), and store().


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