ListBase Class Template Reference

#include <List.h>

Inheritance diagram for ListBase:

ArrayBase List ListView List of all members.

template<class T>
class SimTK::ListBase< T >


Public Member Functions

 ListBase ()
 ListBase (int n)
 ListBase (const ListBase &lb)
 ~ListBase ()
ListBaseoperator= (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)
Elementoperator[] (int i)
const T & operator[] (int i) const
void push_back (const T &x)
void push_back (T *p)
void push_back (T *&pr)
ListBaseoperator+= (const T &x)
ListBaseoperator+= (T *p)
ListBaseoperator+= (T *&pr)
bool isEmpty (int i) const

Constructor & Destructor Documentation

ListBase (  )  [inline]

ListBase ( int  n  )  [inline]

ListBase ( const ListBase< T > &  lb  )  [inline]

~ListBase (  )  [inline]

ListBase ( int  n,
const T &  initVal 
) [inline]

ListBase ( int  n,
const T *  initVal 
) [inline]

ListBase ( int  n,
const T *const *  initVals 
) [inline]

ListBase ( int  n,
T **  pp 
) [inline]

ListBase ( const ListBase< T > &  l,
int  offset,
int  length 
) [inline]

ListBase ( ListBase< T > &  l,
int  offset,
int  length 
) [inline]


Member Function Documentation

bool isEmpty ( int  i  )  const [inline]

ListBase& operator+= ( T *&  pr  )  [inline]

Reimplemented in List.

ListBase& operator+= ( T *  p  )  [inline]

Reimplemented in List.

ListBase& operator+= ( const T &  x  )  [inline]

Reimplemented from ArrayBase.

Reimplemented in List.

ListBase& operator= ( const ListBase< T > &  lb  )  [inline]

const T& operator[] ( int  i  )  const [inline]

Reimplemented from ArrayBase.

Element& operator[] ( int  i  )  [inline]

Reimplemented from ArrayBase.

void push_back ( T *&  pr  )  [inline]

void push_back ( T *  p  )  [inline]

void push_back ( const T &  x  )  [inline]

Reimplemented from ArrayBase.


The documentation for this class was generated from the following file:
Generated on Thu Feb 28 01:34:36 2008 for SimTKcommon by  doxygen 1.4.7