35 typedef int (*
CFT)(
const void*,
const void* );
40 #define ACCESS(I) m_vector[I]
41 #define ADDR_ACCESS(I) (m_vector.size() != 0 ? &m_vector[I] : 0 )
97 return (T&)
m_vector.operator [] ( i );
103 return (
const T&)
m_vector.operator [] ( i );
110 {
return (
const T&)
ACCESS(i); }
114 {
return (T*) &
ACCESS(0); }
117 {
return (
const T*) &
ACCESS(0); }
120 operator const ::std::vector<T>& ()
const
sc_pvector< T > & operator=(const sc_pvector< T > &rhs)
const_iterator end() const
const T & fetch(int i) const
const_iterator begin() const
int(* CFT)(const void *, const void *)
const T * raw_data() const
T & operator[](unsigned int i)
sc_pvector(const sc_pvector< T > &rhs)
sc_pvector(int alloc_n=0)
mutable::std::vector< T > m_vector