ListBase< T > Class Template Reference

#include <List.h>

Inheritance diagram for ListBase< T >:
ArrayBase< Concretize< T > > List< T > ListView< T >

List of all members.

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

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


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< 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 > &().

ListBase& operator= ( const ListBase< T > &  lb  )  [inline]
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]
void push_back ( T *  p  )  [inline]
void push_back ( const T &  x  )  [inline]

Referenced by ListBase< T >::isEmpty().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2