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

AddressFlat32 Class Reference

#include <analy.h>

Inheritance diagram for AddressFlat32:

Address Object List of all members.

Public Member Functions

 AddressFlat32 ()
 AddressFlat32 (dword a)
virtual bool add (int offset)
virtual int byteSize ()
virtual int compareTo (const Object *obj) const
virtual int compareDelinear (Address *to)
virtual void getFromArray (const byte *array)
virtual void getFromCPUAddress (CPU_ADDR *ca)
virtual bool difference (int &result, Address *to)
virtual Objectduplicate ()
virtual int load (ht_object_stream *s)
virtual OBJECT_ID object_id () const
virtual int parseString (const char *s, int length, Analyser *a)
virtual void putIntoArray (byte *array)
virtual void putIntoCPUAddress (CPU_ADDR *ca)
virtual void store (ht_object_stream *s)
virtual int stringify (char *s, int max_length, int format)
virtual int stringSize ()

Public Attributes

dword addr

Constructor & Destructor Documentation

AddressFlat32::AddressFlat32  ) 
 

Definition at line 133 of file analy.cc.

Referenced by duplicate().

AddressFlat32::AddressFlat32 dword  a  ) 
 

Definition at line 137 of file analy.cc.

References addr.


Member Function Documentation

bool AddressFlat32::add int  offset  )  [virtual]
 

Implements Address.

Definition at line 142 of file analy.cc.

References addr.

int AddressFlat32::byteSize  )  [virtual]
 

Implements Address.

Definition at line 154 of file analy.cc.

int AddressFlat32::compareDelinear Address to  )  [virtual]
 

Reimplemented from Address.

Definition at line 167 of file analy.cc.

References addr, assert, delinearize(), dword, Object::object_id(), and object_id().

int AddressFlat32::compareTo const Object obj  )  const [virtual]
 

Standard Object comparator.

Parameters:
obj object to compare to
Returns:
0 for equality, negative number if |this<obj| and positive number if |this>obj|

Implements Address.

Definition at line 159 of file analy.cc.

References addr, assert, Object::object_id(), and object_id().

bool AddressFlat32::difference int &  result,
Address to
[virtual]
 

Implements Address.

Definition at line 177 of file analy.cc.

References addr, Object::object_id(), and object_id().

Object * AddressFlat32::duplicate  )  [virtual]
 

Standard Object duplicator.

Returns:
copy of object

Reimplemented from Object.

Definition at line 187 of file analy.cc.

References addr, and AddressFlat32().

void AddressFlat32::getFromArray const byte *  array  )  [virtual]
 

Implements Address.

Definition at line 192 of file analy.cc.

References addr, dword, and UNALIGNED_MOVE.

void AddressFlat32::getFromCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 197 of file analy.cc.

References addr, and CPU_ADDR::addr32.

int AddressFlat32::load ht_object_stream st  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 202 of file analy.cc.

References addr, ht_layer_stream::get_error(), ht_object_stream::getIntHex(), and NULL.

OBJECT_ID AddressFlat32::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 208 of file analy.cc.

References ATOM_ADDRESS_FLAT_32.

Referenced by compareDelinear(), compareTo(), and difference().

int AddressFlat32::parseString const char *  s,
int  length,
Analyser a
[virtual]
 

Implements Address.

Definition at line 213 of file analy.cc.

void AddressFlat32::putIntoArray byte *  array  )  [virtual]
 

Implements Address.

Definition at line 218 of file analy.cc.

References addr, dword, and UNALIGNED_MOVE.

void AddressFlat32::putIntoCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 223 of file analy.cc.

References addr, and CPU_ADDR::addr32.

void AddressFlat32::store ht_object_stream st  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 228 of file analy.cc.

References addr, NULL, and ht_object_stream::putIntHex().

int AddressFlat32::stringify char *  s,
int  max_length,
int  format
[virtual]
 

Implements Address.

Definition at line 233 of file analy.cc.

References addr, ADDRESS_STRING_FORMAT_ADD_0X, ADDRESS_STRING_FORMAT_ADD_H, and ht_snprintf().

int AddressFlat32::stringSize  )  [virtual]
 

Implements Address.

Definition at line 248 of file analy.cc.


Member Data Documentation

dword AddressFlat32::addr
 

Definition at line 88 of file analy.h.

Referenced by add(), AddressFlat32(), compareDelinear(), compareTo(), difference(), duplicate(), getFromArray(), getFromCPUAddress(), load(), putIntoArray(), putIntoCPUAddress(), store(), and stringify().


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