SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_plist< T > Class Template Reference

#include <sysc/kernel/sc_simcontext.h>

Inheritance diagram for sc_core::sc_plist< T >:
Collaboration diagram for sc_core::sc_plist< T >:

Public Types

typedef sc_plist_iter< T > iterator
 
typedef sc_plist_elem * handle_t
 

Public Member Functions

 sc_plist ()
 
 ~sc_plist ()
 
handle_t push_back (T d)
 
handle_t push_front (T d)
 
pop_back ()
 
pop_front ()
 
handle_t insert_before (handle_t h, T d)
 
handle_t insert_after (handle_t h, T d)
 
remove (handle_t h)
 
get (handle_t h) const
 
void set (handle_t h, T d)
 
front () const
 
back () const
 
handle_t push_back (void *d)
 
handle_t push_front (void *d)
 
handle_t insert_before (handle_t h, void *d)
 
handle_t insert_after (handle_t h, void *d)
 
void set (handle_t h, void *d)
 
void mapcar (sc_plist_map_fn f, void *arg)
 
void erase_all ()
 
bool empty () const
 
int size () const
 

Friends

class sc_plist_iter< T >
 

Detailed Description

template<class T>
class sc_core::sc_plist< T >

Definition at line 79 of file sc_simcontext.h.

Member Typedef Documentation

◆ handle_t

typedef sc_plist_elem* sc_core::sc_plist_base::handle_t
inherited

Definition at line 54 of file sc_list.h.

◆ iterator

template<class T>
typedef sc_plist_iter<T> sc_core::sc_plist< T >::iterator

Definition at line 111 of file sc_list.h.

Constructor & Destructor Documentation

◆ sc_plist()

template<class T>
sc_core::sc_plist< T >::sc_plist ( )
inline

Definition at line 113 of file sc_list.h.

◆ ~sc_plist()

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

Definition at line 114 of file sc_list.h.

Member Function Documentation

◆ back()

template<class T>
T sc_core::sc_plist< T >::back ( ) const
inline

Definition at line 136 of file sc_list.h.

◆ empty()

bool sc_core::sc_plist_base::empty ( ) const
inlineinherited

Definition at line 71 of file sc_list.h.

◆ erase_all()

void sc_core::sc_plist_base::erase_all ( )
inherited

◆ front()

template<class T>
T sc_core::sc_plist< T >::front ( ) const
inline

Definition at line 135 of file sc_list.h.

◆ get()

template<class T>
T sc_core::sc_plist< T >::get ( handle_t  h) const
inline

Definition at line 132 of file sc_list.h.

◆ insert_after() [1/2]

handle_t sc_core::sc_plist_base::insert_after ( handle_t  h,
void *  d 
)
inherited

◆ insert_after() [2/2]

template<class T>
handle_t sc_core::sc_plist< T >::insert_after ( handle_t  h,
d 
)
inline

Definition at line 124 of file sc_list.h.

◆ insert_before() [1/2]

handle_t sc_core::sc_plist_base::insert_before ( handle_t  h,
void *  d 
)
inherited

◆ insert_before() [2/2]

template<class T>
handle_t sc_core::sc_plist< T >::insert_before ( handle_t  h,
d 
)
inline

Definition at line 120 of file sc_list.h.

◆ mapcar()

void sc_core::sc_plist_base::mapcar ( sc_plist_map_fn  f,
void *  arg 
)
inherited

◆ pop_back()

template<class T>
T sc_core::sc_plist< T >::pop_back ( )
inline

Definition at line 118 of file sc_list.h.

◆ pop_front()

template<class T>
T sc_core::sc_plist< T >::pop_front ( )
inline

Definition at line 119 of file sc_list.h.

◆ push_back() [1/2]

handle_t sc_core::sc_plist_base::push_back ( void *  d)
inherited

◆ push_back() [2/2]

template<class T>
handle_t sc_core::sc_plist< T >::push_back ( d)
inline

Definition at line 116 of file sc_list.h.

◆ push_front() [1/2]

handle_t sc_core::sc_plist_base::push_front ( void *  d)
inherited

◆ push_front() [2/2]

template<class T>
handle_t sc_core::sc_plist< T >::push_front ( d)
inline

Definition at line 117 of file sc_list.h.

◆ remove()

template<class T>
T sc_core::sc_plist< T >::remove ( handle_t  h)
inline

Definition at line 128 of file sc_list.h.

◆ set() [1/2]

void sc_core::sc_plist_base::set ( handle_t  h,
void *  d 
)
inherited

◆ set() [2/2]

template<class T>
void sc_core::sc_plist< T >::set ( handle_t  h,
d 
)
inline

Definition at line 133 of file sc_list.h.

◆ size()

int sc_core::sc_plist_base::size ( ) const
inherited

Friends And Related Function Documentation

◆ sc_plist_iter< T >

template<class T>
friend class sc_plist_iter< T >
friend

Definition at line 108 of file sc_list.h.


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