Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

AddressMap Class Reference

An AddressMap is a mapping between AddressId (unsinged int) and Address (void *). More...

#include <object_stream.h>

List of all members.

Public Methods

 AddressMap ()
virtual ~AddressMap ()
virtual void add ( AddressId id, Address address )
virtual void add_to_stream ( ObjectStream* object_stream )
virtual void remove_from_address_map ( Address address )
virtual void print ( ostream& o )


Detailed Description

An AddressMap is a mapping between AddressId (unsinged int) and Address (void *).

It is used in the serialization of objects.

Add a new pair into this map.

virtual void add( AddressId id, Address address );

Copy all entries from this map to the one in object_stream.

virtual void add_to_stream( ObjectStream* object_stream );

Remove an entry from this map.

virtual void remove_from_address_map( Address address );

Print the content of this map in human readable form to ostream o.

virtual void print( ostream& o );


Constructor & Destructor Documentation

AddressMap::AddressMap ()

AddressMap::~AddressMap () [virtual]


Member Function Documentation

void AddressMap::add ( AddressId id,
Address address) [virtual]

void AddressMap::add_to_stream ( ObjectStream * object_stream) [virtual]

void AddressMap::print ( ostream & o) [virtual]

void AddressMap::remove_from_address_map ( Address address) [virtual]


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:42:45 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000