SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_phash_base_iter Class Reference

#include <sysc/utils/sc_hash.h>

Inheritance diagram for sc_core::sc_phash_base_iter:
Collaboration diagram for sc_core::sc_phash_base_iter:

Public Member Functions

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_elem * entry
 
sc_phash_elem * next
 
sc_phash_elem ** last
 
int index
 

Detailed Description

Definition at line 128 of file sc_hash.h.

Constructor & Destructor Documentation

◆ sc_phash_base_iter() [1/2]

sc_core::sc_phash_base_iter::sc_phash_base_iter ( sc_phash_base t)
inline

Definition at line 140 of file sc_hash.h.

◆ sc_phash_base_iter() [2/2]

sc_core::sc_phash_base_iter::sc_phash_base_iter ( sc_phash_base t)
inline

Definition at line 143 of file sc_hash.h.

◆ ~sc_phash_base_iter()

sc_core::sc_phash_base_iter::~sc_phash_base_iter ( )
inline

Definition at line 146 of file sc_hash.h.

Member Function Documentation

◆ contents()

void* sc_core::sc_phash_base_iter::contents ( ) const

◆ empty()

bool sc_core::sc_phash_base_iter::empty ( ) const

◆ key()

void* sc_core::sc_phash_base_iter::key ( ) const

◆ operator++()

void sc_core::sc_phash_base_iter::operator++ ( int  )
inline

Definition at line 150 of file sc_hash.h.

◆ remove() [1/2]

void sc_core::sc_phash_base_iter::remove ( )

◆ remove() [2/2]

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

◆ reset() [1/2]

void sc_core::sc_phash_base_iter::reset ( sc_phash_base t)

◆ reset() [2/2]

void sc_core::sc_phash_base_iter::reset ( sc_phash_base t)
inline

Definition at line 138 of file sc_hash.h.

◆ set_contents()

void* sc_core::sc_phash_base_iter::set_contents ( void *  c)

◆ step()

void sc_core::sc_phash_base_iter::step ( )

Member Data Documentation

◆ entry

sc_phash_elem* sc_core::sc_phash_base_iter::entry
protected

Definition at line 131 of file sc_hash.h.

◆ index

int sc_core::sc_phash_base_iter::index
protected

Definition at line 134 of file sc_hash.h.

◆ last

sc_phash_elem** sc_core::sc_phash_base_iter::last
protected

Definition at line 133 of file sc_hash.h.

◆ next

sc_phash_elem* sc_core::sc_phash_base_iter::next
protected

Definition at line 132 of file sc_hash.h.

◆ table

sc_phash_base* sc_core::sc_phash_base_iter::table
protected

Definition at line 130 of file sc_hash.h.


The documentation for this class was generated from the following file: