#include <List.h>
Public Member Functions | |
ListBase () | |
ListBase (int n) | |
ListBase (const ListBase &lb) | |
~ListBase () | |
ListBase & | operator= (const ListBase &lb) |
ListBase (int n, const T &initVal) | |
ListBase (int n, const T *initVal) | |
ListBase (int n, const T *const *initVals) | |
ListBase (int n, T **pp) | |
ListBase (const ListBase &l, int offset, int length) | |
ListBase (ListBase &l, int offset, int length) | |
Element & | operator[] (int i) |
const T & | operator[] (int i) const |
void | push_back (const T &x) |
void | push_back (T *p) |
void | push_back (T *&pr) |
ListBase & | operator+= (const T &x) |
ListBase & | operator+= (T *p) |
ListBase & | operator+= (T *&pr) |
bool | isEmpty (int i) const |
ListBase | ( | ) | [inline] |
ListBase | ( | int | n | ) | [inline] |
~ListBase | ( | ) | [inline] |
ListBase | ( | int | n, | |
const T & | initVal | |||
) | [inline] |
ListBase | ( | int | n, | |
const T * | initVal | |||
) | [inline] |
References ArrayBase< T >::operator=().
ListBase | ( | int | n, | |
const T *const * | initVals | |||
) | [inline] |
ListBase | ( | int | n, | |
T ** | pp | |||
) | [inline] |
bool isEmpty | ( | int | i | ) | const [inline] |
References ListBase< T >::push_back().
ListBase& operator+= | ( | T *& | pr | ) | [inline] |
Reimplemented in List< T >.
References ArrayBase< T >::push_back().
ListBase& operator+= | ( | T * | p | ) | [inline] |
Reimplemented in List< T >.
References ArrayBase< T >::push_back().
ListBase& operator+= | ( | const T & | x | ) | [inline] |
Reimplemented in List< T >.
Referenced by List< T >::operator const ListView< T > &().
Referenced by ListView< T >::operator const List< T > &(), and ListView< T >::operator List< T > &().
const T& operator[] | ( | int | i | ) | const [inline] |
Reimplemented from ArrayBase< Concretize< T > >.
Element& operator[] | ( | int | i | ) | [inline] |
Reimplemented from ArrayBase< Concretize< T > >.
void push_back | ( | T *& | pr | ) | [inline] |
References ArrayBase< T >::operator[]().
void push_back | ( | T * | p | ) | [inline] |
References ArrayBase< T >::operator[]().
void push_back | ( | const T & | x | ) | [inline] |
Referenced by ListBase< T >::isEmpty().