#include <sysc/utils/sc_pvector.h>
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 |
Definition at line 50 of file sc_pvector.h.
typedef const T* sc_core::sc_pvector< T >::const_iterator |
Definition at line 54 of file sc_pvector.h.
typedef T* sc_core::sc_pvector< T >::iterator |
Definition at line 55 of file sc_pvector.h.
sc_core::sc_pvector< T >::sc_pvector | ( | int | alloc_n = 0 |
) | [inline] |
Definition at line 59 of file sc_pvector.h.
sc_core::sc_pvector< T >::sc_pvector | ( | const sc_pvector< T > & | rhs | ) | [inline] |
Definition at line 63 of file sc_pvector.h.
sc_core::sc_pvector< T >::~sc_pvector | ( | ) | [inline] |
Definition at line 67 of file sc_pvector.h.
const_iterator sc_core::sc_pvector< T >::begin | ( | ) | const [inline] |
Definition at line 78 of file sc_pvector.h.
iterator sc_core::sc_pvector< T >::begin | ( | ) | [inline] |
Definition at line 75 of file sc_pvector.h.
void sc_core::sc_pvector< T >::decr_count | ( | int | k | ) | [inline] |
Definition at line 141 of file sc_pvector.h.
void sc_core::sc_pvector< T >::decr_count | ( | ) | [inline] |
Definition at line 138 of file sc_pvector.h.
const_iterator sc_core::sc_pvector< T >::end | ( | ) | const [inline] |
Definition at line 84 of file sc_pvector.h.
iterator sc_core::sc_pvector< T >::end | ( | ) | [inline] |
Definition at line 81 of file sc_pvector.h.
void sc_core::sc_pvector< T >::erase_all | ( | ) | [inline] |
Definition at line 127 of file sc_pvector.h.
const T& sc_core::sc_pvector< T >::fetch | ( | int | i | ) | const [inline] |
Definition at line 109 of file sc_pvector.h.
T& sc_core::sc_pvector< T >::fetch | ( | int | i | ) | [inline] |
Definition at line 106 of file sc_pvector.h.
sc_core::sc_pvector< T >::operator const ::std::vector< T > & | ( | ) | const [inline] |
Definition at line 120 of file sc_pvector.h.
sc_pvector<T>& sc_core::sc_pvector< T >::operator= | ( | const sc_pvector< T > & | rhs | ) | [inline] |
Definition at line 90 of file sc_pvector.h.
const T& sc_core::sc_pvector< T >::operator[] | ( | unsigned int | i | ) | const [inline] |
Definition at line 100 of file sc_pvector.h.
T& sc_core::sc_pvector< T >::operator[] | ( | unsigned int | i | ) | [inline] |
Definition at line 94 of file sc_pvector.h.
void sc_core::sc_pvector< T >::push_back | ( | T | item | ) | [inline] |
Definition at line 123 of file sc_pvector.h.
void sc_core::sc_pvector< T >::put | ( | T | item, | |
int | i | |||
) | [inline] |
Definition at line 135 of file sc_pvector.h.
const T* sc_core::sc_pvector< T >::raw_data | ( | ) | const [inline] |
Definition at line 116 of file sc_pvector.h.
T* sc_core::sc_pvector< T >::raw_data | ( | ) | [inline] |
Definition at line 113 of file sc_pvector.h.
std::size_t sc_core::sc_pvector< T >::size | ( | ) | const [inline] |
Definition at line 71 of file sc_pvector.h.
void sc_core::sc_pvector< T >::sort | ( | CFT | compar | ) | [inline] |
Definition at line 130 of file sc_pvector.h.
mutable ::std::vector<T> sc_core::sc_pvector< T >::m_vector [protected] |
Definition at line 147 of file sc_pvector.h.