MeVisLabToolboxReference
SbList< Type > Class Template Reference

This contains the definition of the SbList generic pointer list class; an SbList is a list of (void *) pointers that allows easy insertion, removal, and other operations. More...

#include <SbList.h>

List of all members.

Public Member Functions

 SbList ()
 SbList (int initSize)
 SbList (const SbList &pl)
 ~SbList ()
void append (const Type &value)
int find (const Type &value) const
void insert (const Type &value, int addBefore)
void remove (int which)
int getLength () const
void truncate (int start)
void copy (const SbList &pl)
SbListoperator= (const SbList &pl)
Type & operator[] (int i) const
int operator== (const SbList &pl) const
int operator!= (const SbList &pl) const
void * get (int i) const
void set (int i, void *j)

Detailed Description

template<class Type>
class SbList< Type >

This contains the definition of the SbList generic pointer list class; an SbList is a list of (void *) pointers that allows easy insertion, removal, and other operations.

Definition at line 16 of file SbList.h.


Constructor & Destructor Documentation

template<class Type>
SbList< Type >::SbList ( ) [inline]

Definition at line 21 of file SbList.h.

template<class Type>
SbList< Type >::SbList ( int  initSize) [inline]

Definition at line 29 of file SbList.h.

template<class Type>
SbList< Type >::SbList ( const SbList< Type > &  pl) [inline]

Definition at line 38 of file SbList.h.

template<class Type>
SbList< Type >::~SbList ( ) [inline]

Definition at line 48 of file SbList.h.


Member Function Documentation

template<class Type>
void SbList< Type >::append ( const Type &  value) [inline]

Definition at line 53 of file SbList.h.

template<class Type>
void SbList< Type >::copy ( const SbList< Type > &  pl) [inline]

Definition at line 106 of file SbList.h.

Referenced by SbList< SbString >::operator=().

template<class Type>
int SbList< Type >::find ( const Type &  value) const [inline]

Definition at line 59 of file SbList.h.

template<class Type>
void* SbList< Type >::get ( int  i) const [inline]

Definition at line 134 of file SbList.h.

template<class Type>
int SbList< Type >::getLength ( void  ) const [inline]

Definition at line 95 of file SbList.h.

template<class Type>
void SbList< Type >::insert ( const Type &  value,
int  addBefore 
) [inline]

Definition at line 68 of file SbList.h.

template<class Type>
int SbList< Type >::operator!= ( const SbList< Type > &  pl) const [inline]

Definition at line 127 of file SbList.h.

template<class Type>
SbList& SbList< Type >::operator= ( const SbList< Type > &  pl) [inline]

Definition at line 113 of file SbList.h.

template<class Type>
int SbList< Type >::operator== ( const SbList< Type > &  pl) const [inline]

Definition at line 124 of file SbList.h.

template<class Type>
Type& SbList< Type >::operator[] ( int  i) const [inline]

Definition at line 118 of file SbList.h.

template<class Type>
void SbList< Type >::remove ( int  which) [inline]

Definition at line 85 of file SbList.h.

template<class Type>
void SbList< Type >::set ( int  i,
void *  j 
) [inline]

Definition at line 137 of file SbList.h.

template<class Type>
void SbList< Type >::truncate ( int  start) [inline]

Definition at line 101 of file SbList.h.


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