sc_core::sc_pvector< T > Class Template Reference

#include <sysc/utils/sc_vector.h>

Inheritance diagram for sc_core::sc_pvector< T >:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef const Tconst_iterator
typedef Titerator

Public Member Functions

 sc_pvector (int alloc_n=0)
 sc_pvector (const sc_pvector< T > &rhs)
 ~sc_pvector ()
int size () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
sc_pvector< T > & operator= (const sc_pvector< T > &rhs)
Toperator[] (unsigned int i)
const Toperator[] (unsigned int i) const
Tfetch (int i)
const Tfetch (int i) const
Traw_data ()
const Traw_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< Tm_vector


Detailed Description

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

Definition at line 68 of file sc_vector.h.


Member Typedef Documentation

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

Definition at line 72 of file sc_vector.h.

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

Definition at line 73 of file sc_vector.h.


Constructor & Destructor Documentation

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

Definition at line 77 of file sc_vector.h.

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

Definition at line 81 of file sc_vector.h.

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

Definition at line 85 of file sc_vector.h.


Member Function Documentation

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

Definition at line 89 of file sc_vector.h.

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

Definition at line 93 of file sc_vector.h.

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

Definition at line 96 of file sc_vector.h.

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

Definition at line 99 of file sc_vector.h.

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

Definition at line 102 of file sc_vector.h.

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

Definition at line 106 of file sc_vector.h.

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

Definition at line 110 of file sc_vector.h.

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

Definition at line 116 of file sc_vector.h.

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

Definition at line 122 of file sc_vector.h.

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

Definition at line 125 of file sc_vector.h.

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

Definition at line 129 of file sc_vector.h.

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

Definition at line 132 of file sc_vector.h.

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

Definition at line 136 of file sc_vector.h.

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

Definition at line 139 of file sc_vector.h.

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

Definition at line 143 of file sc_vector.h.

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

Definition at line 146 of file sc_vector.h.

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

Definition at line 151 of file sc_vector.h.

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

Definition at line 154 of file sc_vector.h.

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

Definition at line 157 of file sc_vector.h.


Member Data Documentation

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

Definition at line 163 of file sc_vector.h.


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

Generated on Wed Jan 21 15:32:16 2009 for SystemC by  doxygen 1.5.5