sc_core::sc_pvector< T > Class Template Reference

#include <sysc/utils/sc_pvector.h>

List of all members.

Public Types

typedef const T * const_iterator
typedef T * iterator

Public Member Functions

 sc_pvector (int alloc_n=0)
 sc_pvector (const sc_pvector< T > &rhs)
 ~sc_pvector ()
std::size_t size () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
sc_pvector< T > & operator= (const sc_pvector< T > &rhs)
T & operator[] (unsigned int i)
const T & operator[] (unsigned int i) const
T & fetch (int i)
const T & fetch (int i) const
T * raw_data ()
const T * raw_data () const
 operator const ::std::vector< T > & () const
void push_back (T item)
void erase_all ()
void sort (CFT compar)
void put (T item, int i)
void decr_count ()
void decr_count (int k)

Protected Attributes

mutable::std::vector< T > m_vector

Detailed Description

template<class T>
class sc_core::sc_pvector< T >

Definition at line 50 of file sc_pvector.h.


Member Typedef Documentation

template<class T>
typedef const T* sc_core::sc_pvector< T >::const_iterator

Definition at line 54 of file sc_pvector.h.

template<class T>
typedef T* sc_core::sc_pvector< T >::iterator

Definition at line 55 of file sc_pvector.h.


Constructor & Destructor Documentation

template<class T>
sc_core::sc_pvector< T >::sc_pvector ( int  alloc_n = 0  )  [inline]

Definition at line 59 of file sc_pvector.h.

template<class T>
sc_core::sc_pvector< T >::sc_pvector ( const sc_pvector< T > &  rhs  )  [inline]

Definition at line 63 of file sc_pvector.h.

template<class T>
sc_core::sc_pvector< T >::~sc_pvector (  )  [inline]

Definition at line 67 of file sc_pvector.h.


Member Function Documentation

template<class T>
const_iterator sc_core::sc_pvector< T >::begin (  )  const [inline]

Definition at line 78 of file sc_pvector.h.

template<class T>
iterator sc_core::sc_pvector< T >::begin (  )  [inline]

Definition at line 75 of file sc_pvector.h.

template<class T>
void sc_core::sc_pvector< T >::decr_count ( int  k  )  [inline]

Definition at line 141 of file sc_pvector.h.

template<class T>
void sc_core::sc_pvector< T >::decr_count (  )  [inline]

Definition at line 138 of file sc_pvector.h.

template<class T>
const_iterator sc_core::sc_pvector< T >::end (  )  const [inline]

Definition at line 84 of file sc_pvector.h.

template<class T>
iterator sc_core::sc_pvector< T >::end (  )  [inline]

Definition at line 81 of file sc_pvector.h.

template<class T>
void sc_core::sc_pvector< T >::erase_all (  )  [inline]

Definition at line 127 of file sc_pvector.h.

template<class T>
const T& sc_core::sc_pvector< T >::fetch ( int  i  )  const [inline]

Definition at line 109 of file sc_pvector.h.

template<class T>
T& sc_core::sc_pvector< T >::fetch ( int  i  )  [inline]

Definition at line 106 of file sc_pvector.h.

template<class T>
sc_core::sc_pvector< T >::operator const ::std::vector< T > & (  )  const [inline]

Definition at line 120 of file sc_pvector.h.

template<class T>
sc_pvector<T>& sc_core::sc_pvector< T >::operator= ( const sc_pvector< T > &  rhs  )  [inline]

Definition at line 90 of file sc_pvector.h.

template<class T>
const T& sc_core::sc_pvector< T >::operator[] ( unsigned int  i  )  const [inline]

Definition at line 100 of file sc_pvector.h.

template<class T>
T& sc_core::sc_pvector< T >::operator[] ( unsigned int  i  )  [inline]

Definition at line 94 of file sc_pvector.h.

template<class T>
void sc_core::sc_pvector< T >::push_back ( item  )  [inline]

Definition at line 123 of file sc_pvector.h.

template<class T>
void sc_core::sc_pvector< T >::put ( item,
int  i 
) [inline]

Definition at line 135 of file sc_pvector.h.

template<class T>
const T* sc_core::sc_pvector< T >::raw_data (  )  const [inline]

Definition at line 116 of file sc_pvector.h.

template<class T>
T* sc_core::sc_pvector< T >::raw_data (  )  [inline]

Definition at line 113 of file sc_pvector.h.

template<class T>
std::size_t sc_core::sc_pvector< T >::size (  )  const [inline]

Definition at line 71 of file sc_pvector.h.

template<class T>
void sc_core::sc_pvector< T >::sort ( CFT  compar  )  [inline]

Definition at line 130 of file sc_pvector.h.


Member Data Documentation

template<class T>
mutable ::std::vector<T> sc_core::sc_pvector< T >::m_vector [protected]

Definition at line 147 of file sc_pvector.h.


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

Generated on 12 Jun 2018 for SystemC by  doxygen 1.6.1