#include <Array.h>
Public Types | |
typedef T * | iterator |
typedef const T * | const_iterator |
typedef T & | reference |
typedef const T & | const_reference |
Public Member Functions | |
ArrayBase () | |
ArrayBase (int n) | |
ArrayBase (int n, const T &ival) | |
ArrayBase (int n, const T *ivals) | |
ArrayBase (const ArrayBase &a, int offset, int length) | |
ArrayBase (ArrayBase &a, int offset, int length) | |
ArrayBase (const ArrayBase &src) | |
~ArrayBase () | |
ArrayBase & | operator= (const ArrayBase &src) |
ArrayBase & | operator= (const T &x) |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | reverse () |
int | capacity () const |
int | size () const |
const T & | operator[] (int i) const |
T & | operator[] (int i) |
ArrayBase & | operator+= (const T &x) |
void | push_back (const T &x) |
void | pop_back () |
void | clear () |
void | resize (int n) |
void | resize (int n, const T &x) |
void | reserve (int n) |
typedef T* iterator |
typedef const T* const_iterator |
typedef T& reference |
typedef const T& const_reference |
ArrayBase | ( | ) | [inline] |
ArrayBase | ( | int | n | ) | [inline, explicit] |
ArrayBase | ( | int | n, | |
const T & | ival | |||
) | [inline] |
ArrayBase | ( | int | n, | |
const T * | ivals | |||
) | [inline] |
~ArrayBase | ( | ) | [inline] |
Referenced by ListBase::operator=(), Array::operator=(), and ArrayView::operator=().
reference front | ( | ) | [inline] |
Referenced by ArrayBase< SimTK::Concretize< T > >::begin().
const_reference front | ( | ) | const [inline] |
reference back | ( | ) | [inline] |
Referenced by ArrayBase< SimTK::Concretize< T > >::end().
const_reference back | ( | ) | const [inline] |
iterator begin | ( | ) | [inline] |
const_iterator begin | ( | ) | const [inline] |
iterator end | ( | ) | [inline] |
const_iterator end | ( | ) | const [inline] |
void reverse | ( | ) | [inline] |
int capacity | ( | ) | const [inline] |
int size | ( | ) | const [inline] |
const T& operator[] | ( | int | i | ) | const [inline] |
T& operator[] | ( | int | i | ) | [inline] |
Reimplemented in ListBase.
ArrayBase& operator+= | ( | const T & | x | ) | [inline] |
void push_back | ( | const T & | x | ) | [inline] |
Reimplemented in ListBase.
Referenced by SimTK::findAllOf(), ArrayBase< SimTK::Concretize< T > >::operator+=(), and ListBase::push_back().
void pop_back | ( | ) | [inline] |
void clear | ( | ) | [inline] |
void resize | ( | int | n | ) | [inline] |
void resize | ( | int | n, | |
const T & | x | |||
) | [inline] |
void reserve | ( | int | n | ) | [inline] |