SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_pdhash_iter< K, C > Class Template Reference

#include <sysc/utils/sc_hash.h>

Inheritance diagram for sc_core::sc_pdhash_iter< K, C >:
Collaboration diagram for sc_core::sc_pdhash_iter< K, C >:

Public Member Functions

 sc_pdhash_iter (sc_pdhash< K, C > *t)
 
 sc_pdhash_iter (sc_pdhash< K, C > &t)
 
 ~sc_pdhash_iter ()
 
void reset (sc_pdhash< K, C > *t)
 
void reset (sc_pdhash< K, C > &t)
 
void remove ()
 
key () const
 
contents () const
 
set_contents (C c)
 
void reset (sc_phash_base *t)
 
void reset (sc_phash_base &t)
 
bool empty () const
 
void step ()
 
void operator++ (int)
 
void remove (void(*kfree)(void *))
 
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

template<class K, class C>
class sc_core::sc_pdhash_iter< K, C >

Definition at line 44 of file sc_hash.h.

Constructor & Destructor Documentation

◆ sc_pdhash_iter() [1/2]

template<class K , class C >
sc_core::sc_pdhash_iter< K, C >::sc_pdhash_iter ( sc_pdhash< K, C > *  t)
inline

Definition at line 332 of file sc_hash.h.

◆ sc_pdhash_iter() [2/2]

template<class K , class C >
sc_core::sc_pdhash_iter< K, C >::sc_pdhash_iter ( sc_pdhash< K, C > &  t)
inline

Definition at line 333 of file sc_hash.h.

◆ ~sc_pdhash_iter()

template<class K , class C >
sc_core::sc_pdhash_iter< K, C >::~sc_pdhash_iter ( )
inline

Definition at line 334 of file sc_hash.h.

Member Function Documentation

◆ contents()

template<class K , class C >
C sc_core::sc_pdhash_iter< K, C >::contents ( ) const
inline

Definition at line 341 of file sc_hash.h.

◆ empty()

bool sc_core::sc_phash_base_iter::empty ( ) const
inherited

◆ key()

template<class K , class C >
K sc_core::sc_pdhash_iter< K, C >::key ( ) const
inline

Definition at line 340 of file sc_hash.h.

◆ operator++()

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

Definition at line 150 of file sc_hash.h.

◆ remove() [1/2]

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

◆ remove() [2/2]

template<class K , class C >
void sc_core::sc_pdhash_iter< K, C >::remove ( )
inline

Definition at line 339 of file sc_hash.h.

◆ reset() [1/4]

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

◆ reset() [2/4]

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

Definition at line 138 of file sc_hash.h.

◆ reset() [3/4]

template<class K , class C >
void sc_core::sc_pdhash_iter< K, C >::reset ( sc_pdhash< K, C > *  t)
inline

Definition at line 336 of file sc_hash.h.

◆ reset() [4/4]

template<class K , class C >
void sc_core::sc_pdhash_iter< K, C >::reset ( sc_pdhash< K, C > &  t)
inline

Definition at line 337 of file sc_hash.h.

◆ set_contents() [1/2]

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

◆ set_contents() [2/2]

template<class K , class C >
C sc_core::sc_pdhash_iter< K, C >::set_contents ( c)
inline

Definition at line 342 of file sc_hash.h.

◆ step()

void sc_core::sc_phash_base_iter::step ( )
inherited

Member Data Documentation

◆ entry

sc_phash_elem* sc_core::sc_phash_base_iter::entry
protectedinherited

Definition at line 131 of file sc_hash.h.

◆ index

int sc_core::sc_phash_base_iter::index
protectedinherited

Definition at line 134 of file sc_hash.h.

◆ last

sc_phash_elem** sc_core::sc_phash_base_iter::last
protectedinherited

Definition at line 133 of file sc_hash.h.

◆ next

sc_phash_elem* sc_core::sc_phash_base_iter::next
protectedinherited

Definition at line 132 of file sc_hash.h.

◆ table

sc_phash_base* sc_core::sc_phash_base_iter::table
protectedinherited

Definition at line 130 of file sc_hash.h.


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