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

sc_phash_base_iter Class Reference

#include <sc_hash.h>

Inheritance diagram for sc_phash_base_iter:

Inheritance graph
[legend]
Collaboration diagram for sc_phash_base_iter:

Collaboration graph
[legend]
List of all members.

Public Methods

void reset (sc_phash_base *t)
void reset (sc_phash_base &t)
 sc_phash_base_iter (sc_phash_base *t)
 sc_phash_base_iter (sc_phash_base &t)
 ~sc_phash_base_iter ()
bool empty () const
void step ()
void operator++ (int)
void remove ()
void remove (void(*kfree)(void *))
void * key () const
void * contents () const
void * set_contents (void *c)

Protected Attributes

sc_phash_basetable
sc_phash_elementry
sc_phash_elemnext
sc_phash_elem ** last
int index

Constructor & Destructor Documentation

sc_phash_base_iter::sc_phash_base_iter sc_phash_base   t [inline]
 

Definition at line 147 of file sc_hash.h.

References reset().

sc_phash_base_iter::sc_phash_base_iter sc_phash_base   t [inline]
 

Definition at line 148 of file sc_hash.h.

References reset().

sc_phash_base_iter::~sc_phash_base_iter   [inline]
 

Definition at line 149 of file sc_hash.h.


Member Function Documentation

void * sc_phash_base_iter::contents  
 

Reimplemented in sc_phash_iter< K, C >, and sc_pdhash_iter< K, C >.

Definition at line 585 of file sc_hash.cpp.

References sc_phash_elem::contents, and entry.

Referenced by sc_strhash_iter< C >::contents(), sc_pdhash_iter< K, C >::contents(), sc_phash_iter< K, C >::contents(), and sc_phash_base::copy().

bool sc_phash_base_iter::empty  
 

Definition at line 529 of file sc_hash.cpp.

References entry.

Referenced by sc_phash_base::copy().

void * sc_phash_base_iter::key  
 

Reimplemented in sc_phash_iter< K, C >, and sc_pdhash_iter< K, C >.

Definition at line 579 of file sc_hash.cpp.

References entry, and sc_phash_elem::key.

Referenced by sc_phash_base::copy(), sc_strhash_iter< C >::key(), sc_pdhash_iter< K, C >::key(), and sc_phash_iter< K, C >::key().

void sc_phash_base_iter::operator++ int    [inline]
 

Definition at line 153 of file sc_hash.h.

References step().

void sc_phash_base_iter::remove void(*    kfree)(void *)
 

Definition at line 568 of file sc_hash.cpp.

References entry, sc_phash_elem::key, last, next, sc_phash_base::num_entries, step(), and table.

void sc_phash_base_iter::remove  
 

Reimplemented in sc_pdhash_iter< K, C >, and sc_strhash_iter< C >.

Definition at line 558 of file sc_hash.cpp.

References entry, last, next, sc_phash_base::num_entries, step(), and table.

Referenced by sc_strhash_iter< C >::remove(), and sc_pdhash_iter< K, C >::remove().

void sc_phash_base_iter::reset sc_phash_base   t [inline]
 

Definition at line 145 of file sc_hash.h.

References reset().

void sc_phash_base_iter::reset sc_phash_base   t
 

Definition at line 510 of file sc_hash.cpp.

References sc_phash_base::bins, entry, index, last, sc_phash_elem::next, next, sc_phash_base::num_bins, and table.

Referenced by sc_strhash_iter< C >::reset(), sc_pdhash_iter< K, C >::reset(), sc_phash_iter< K, C >::reset(), reset(), and sc_phash_base_iter().

void * sc_phash_base_iter::set_contents void *    c
 

Definition at line 591 of file sc_hash.cpp.

References sc_phash_elem::contents, and entry.

Referenced by sc_strhash_iter< C >::set_contents(), sc_pdhash_iter< K, C >::set_contents(), and sc_phash_iter< K, C >::set_contents().

void sc_phash_base_iter::step  
 

Definition at line 535 of file sc_hash.cpp.

References sc_phash_base::bins, entry, index, last, next, sc_phash_elem::next, sc_phash_base::num_bins, and table.

Referenced by operator++(), and remove().


Member Data Documentation

sc_phash_elem* sc_phash_base_iter::entry [protected]
 

Definition at line 138 of file sc_hash.h.

Referenced by contents(), empty(), key(), remove(), reset(), set_contents(), and step().

int sc_phash_base_iter::index [protected]
 

Definition at line 141 of file sc_hash.h.

Referenced by reset(), and step().

sc_phash_elem** sc_phash_base_iter::last [protected]
 

Definition at line 140 of file sc_hash.h.

Referenced by remove(), reset(), and step().

sc_phash_elem* sc_phash_base_iter::next [protected]
 

Definition at line 139 of file sc_hash.h.

Referenced by remove(), reset(), and step().

sc_phash_base* sc_phash_base_iter::table [protected]
 

Definition at line 137 of file sc_hash.h.

Referenced by remove(), reset(), and step().


The documentation for this class was generated from the following files:
Generated on Fri Jan 14 08:31:45 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18