SystemC 3.0.0
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Friends | List of all members
sc_core::sc_plist< T > Class Template Reference

#include <sysc/utils/sc_list.h>

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

Public Types

typedef sc_plist_iter< T > iterator
 
- Public Types inherited from sc_core::sc_plist_base
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
 
- Public Member Functions inherited from sc_core::sc_plist_base
 sc_plist_base ()
 
 ~sc_plist_base ()
 
handle_t push_back (void *d)
 
handle_t push_front (void *d)
 
void * pop_back ()
 
void * pop_front ()
 
handle_t insert_before (handle_t h, void *d)
 
handle_t insert_after (handle_t h, void *d)
 
void * remove (handle_t h)
 
void * get (handle_t h) const
 
void set (handle_t h, void *d)
 
void mapcar (sc_plist_map_fn f, void *arg)
 
void * front () const
 
void * back () const
 
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 103 of file sc_list.h.

Member Typedef Documentation

◆ iterator

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

Definition at line 107 of file sc_list.h.

Constructor & Destructor Documentation

◆ sc_plist()

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

Definition at line 109 of file sc_list.h.

◆ ~sc_plist()

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

Definition at line 110 of file sc_list.h.

Member Function Documentation

◆ back()

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

Definition at line 132 of file sc_list.h.

◆ front()

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

Definition at line 131 of file sc_list.h.

◆ get()

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

Definition at line 128 of file sc_list.h.

◆ insert_after()

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

Definition at line 120 of file sc_list.h.

◆ insert_before()

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

Definition at line 116 of file sc_list.h.

◆ pop_back()

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

Definition at line 114 of file sc_list.h.

◆ pop_front()

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

Definition at line 115 of file sc_list.h.

◆ push_back()

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

Definition at line 112 of file sc_list.h.

◆ push_front()

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

Definition at line 113 of file sc_list.h.

◆ remove()

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

Definition at line 124 of file sc_list.h.

◆ set()

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

Definition at line 129 of file sc_list.h.

Friends And Related Function Documentation

◆ sc_plist_iter< T >

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

Definition at line 97 of file sc_list.h.


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