slist< T > Class Template Reference

#include <SegmentationTools.h>

List of all members.

Public Member Functions

T * front () const
T * back () const
void setLast (T *l)
void cutFront ()
 slist ()
void push_front (T *lp)
void push_back (const T *lp)
void push_back (slist< T > &lst)
unsigned getSize () const
bool empty ()
void clear ()
T * pop_front ()
void insert (T *pos, T *i)
void erase (T *e)

Private Attributes

unsigned int size
T * first
T * last

Classes

class  iterator


Detailed Description

template<class T>
class slist< T >

the slist itself

Definition at line 112 of file SegmentationTools.h.


Constructor & Destructor Documentation

template<class T>
slist< T >::slist (  )  [inline]

Definition at line 167 of file SegmentationTools.h.


Member Function Documentation

template<class T>
T* slist< T >::back (  )  const [inline]

Definition at line 162 of file SegmentationTools.h.

References slist< T >::last.

Referenced by slist< T >::push_back().

template<class T>
void slist< T >::clear (  )  [inline]

Definition at line 200 of file SegmentationTools.h.

References slist< T >::first, slist< T >::last, and slist< T >::size.

Referenced by RFieldSpecialist::executePostProcessing(), and RFieldSpecialist::init().

template<class T>
void slist< T >::cutFront (  )  [inline]

Definition at line 165 of file SegmentationTools.h.

References slist< T >::first, slist< T >::last, and slist< T >::size.

Referenced by slist< T >::push_back().

template<class T>
bool slist< T >::empty (  )  [inline]

Definition at line 198 of file SegmentationTools.h.

References slist< T >::size.

template<class T>
void slist< T >::erase ( T *  e  )  [inline]

Definition at line 236 of file SegmentationTools.h.

References slist< T >::last, and slist< T >::size.

Referenced by RFieldSpecialist::fusionLines().

template<class T>
T* slist< T >::front (  )  const [inline]

Definition at line 161 of file SegmentationTools.h.

References slist< T >::first.

Referenced by RFieldSpecialist::checkRamp(), createLinearSegment(), RFieldSpecialist::executePostProcessing(), RFieldSpecialist::fusionLines(), RFieldSpecialist::makeLines(), and slist< T >::push_back().

template<class T>
unsigned slist< T >::getSize (  )  const [inline]

Definition at line 197 of file SegmentationTools.h.

References slist< T >::size.

Referenced by createLinearSegment(), RFieldSpecialist::executePostProcessing(), RFieldSpecialist::makeLines(), and slist< T >::push_back().

template<class T>
void slist< T >::insert ( T *  pos,
T *  i 
) [inline]

Definition at line 220 of file SegmentationTools.h.

References slist< T >::last, and slist< T >::size.

template<class T>
T* slist< T >::pop_front (  )  [inline]

Definition at line 210 of file SegmentationTools.h.

References slist< T >::first, slist< T >::last, and slist< T >::size.

template<class T>
void slist< T >::push_back ( slist< T > &  lst  )  [inline]

Definition at line 185 of file SegmentationTools.h.

References slist< T >::back(), slist< T >::cutFront(), slist< T >::first, slist< T >::front(), slist< T >::getSize(), slist< T >::last, and slist< T >::size.

template<class T>
void slist< T >::push_back ( const T *  lp  )  [inline]

Definition at line 178 of file SegmentationTools.h.

References slist< T >::first, slist< T >::last, and slist< T >::size.

template<class T>
void slist< T >::push_front ( T *  lp  )  [inline]

Definition at line 169 of file SegmentationTools.h.

References slist< T >::first, slist< T >::last, and slist< T >::size.

Referenced by RFieldSpecialist::invokeOnPreScan(), and RFieldSpecialist::makeLines().

template<class T>
void slist< T >::setLast ( T *  l  )  [inline]

Definition at line 163 of file SegmentationTools.h.

References slist< T >::last.

Referenced by createLinearSegment().


Member Data Documentation

template<class T>
T* slist< T >::first [private]

Definition at line 116 of file SegmentationTools.h.

Referenced by slist< T >::clear(), slist< T >::cutFront(), slist< T >::front(), slist< T >::pop_front(), slist< T >::push_back(), and slist< T >::push_front().

template<class T>
T * slist< T >::last [private]

Definition at line 116 of file SegmentationTools.h.

Referenced by slist< T >::back(), slist< T >::clear(), slist< T >::cutFront(), slist< T >::erase(), slist< T >::insert(), slist< T >::pop_front(), slist< T >::push_back(), slist< T >::push_front(), and slist< T >::setLast().

template<class T>
unsigned int slist< T >::size [private]

Definition at line 115 of file SegmentationTools.h.

Referenced by slist< T >::clear(), slist< T >::cutFront(), slist< T >::empty(), slist< T >::erase(), slist< T >::getSize(), slist< T >::insert(), slist< T >::pop_front(), slist< T >::push_back(), and slist< T >::push_front().


The documentation for this class was generated from the following file:
Generated on Thu Dec 7 02:05:21 2006 for DT2005.panorama by  doxygen 1.4.7