43 #ifndef __EST_TSimpleVector_H__ 44 #define __EST_TSimpleVector_H__ 68 int free_when_destroyed=0):
EST_TVector<T>(n,memory) {
70 (void) free_when_destroyed;};
78 void copy_section(T* dest,
int offset=0,
int num=-1)
const;
79 void set_section(
const T* src,
int offset=0,
int num=-1);
EST_TSimpleVector()
default constructor
void zero(void)
Fill entire array with 0 bits.
const T & a(ssize_t n) const
EST_TSimpleVector(int n)
"size" constructor
void copy_section(T *dest, int offset=0, int num=-1) const
EST_TSimpleVector & operator=(const EST_TSimpleVector< T > &s)
assignment operator
void set_section(const T *src, int offset=0, int num=-1)
EST_TSimpleVector(int n, T *memory, int offset=0, int free_when_destroyed=0)
memory constructor
INLINE ssize_t n() const
number of items in vector.
void resize(int n, int set=1)
resize vector