SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | List of all members
sc_core::sc_ppq< T > Class Template Reference

#include <sysc/utils/sc_pq.h>

Inheritance diagram for sc_core::sc_ppq< T >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_ppq< T >:
Collaboration graph
[legend]

Public Member Functions

 sc_ppq (int sz, compare_fn_t cmp)
 
 ~sc_ppq ()
 
top () const
 
extract_top ()
 
void insert (T elem)
 
- Public Member Functions inherited from sc_core::sc_ppq_base
 sc_ppq_base (int sz, compare_fn_t cmp)
 
 ~sc_ppq_base ()
 
void * top () const
 
void * extract_top ()
 
void insert (void *elem)
 
int size () const
 
bool empty () const
 

Additional Inherited Members

- Public Types inherited from sc_core::sc_ppq_base
typedef int(* compare_fn_t )(const void *, const void *)
 
- Protected Member Functions inherited from sc_core::sc_ppq_base
int parent (int i) const
 
int left (int i) const
 
int right (int i) const
 
void heapify (int i)
 

Detailed Description

template<class T>
class sc_core::sc_ppq< T >

Definition at line 96 of file sc_pq.h.

Constructor & Destructor Documentation

template<class T>
sc_core::sc_ppq< T >::sc_ppq ( int  sz,
compare_fn_t  cmp 
)
inline

Definition at line 104 of file sc_pq.h.

template<class T>
sc_core::sc_ppq< T >::~sc_ppq ( )
inline

Definition at line 108 of file sc_pq.h.

Member Function Documentation

template<class T>
T sc_core::sc_ppq< T >::extract_top ( )
inline

Definition at line 117 of file sc_pq.h.

template<class T>
void sc_core::sc_ppq< T >::insert ( elem)
inline

Definition at line 122 of file sc_pq.h.

template<class T>
T sc_core::sc_ppq< T >::top ( ) const
inline

Definition at line 112 of file sc_pq.h.


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