MeVisLab Toolbox Reference
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>

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
 
voidget (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 25 of file SbList.h.

Constructor & Destructor Documentation

◆ SbList() [1/3]

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

Definition at line 30 of file SbList.h.

◆ SbList() [2/3]

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

Definition at line 38 of file SbList.h.

References mlrange_cast().

◆ SbList() [3/3]

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

Definition at line 47 of file SbList.h.

References mlrange_cast().

◆ ~SbList()

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

Definition at line 57 of file SbList.h.

Member Function Documentation

◆ append()

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

Definition at line 62 of file SbList.h.

◆ copy()

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

Definition at line 115 of file SbList.h.

References mlrange_cast().

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

◆ find()

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

Definition at line 68 of file SbList.h.

References mlrange_cast().

◆ get()

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

Definition at line 143 of file SbList.h.

References mlrange_cast().

◆ getLength()

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

Definition at line 104 of file SbList.h.

◆ insert()

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

Definition at line 77 of file SbList.h.

References mlrange_cast().

◆ operator!=()

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

Definition at line 136 of file SbList.h.

References mlrange_cast().

◆ operator=()

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

Definition at line 122 of file SbList.h.

References SbList< Type >::copy(), and mlrange_cast().

◆ operator==()

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

Definition at line 133 of file SbList.h.

References mlrange_cast().

◆ operator[]()

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

Definition at line 127 of file SbList.h.

References mlrange_cast().

◆ remove()

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

Definition at line 94 of file SbList.h.

References mlrange_cast().

◆ set()

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

Definition at line 146 of file SbList.h.

References mlrange_cast().

◆ truncate()

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

Definition at line 110 of file SbList.h.


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