This is Unofficial EPICS BASE Doxygen Site
tsSLIterConst< T > Class Template Reference

#include "tsSLList.h"

Public Member Functions

 tsSLIterConst ()
 
bool valid () const
 
bool operator== (const tsSLIterConst< T > &rhs) const
 
bool operator!= (const tsSLIterConst< T > &rhs) const
 
tsSLIterConst< T > & operator= (const tsSLIterConst< T > &)
 
const T & operator* () const
 
const T * operator-> () const
 
tsSLIterConst< T > & operator++ ()
 
tsSLIterConst< T > operator++ (int)
 
const T * pointer () const
 

Protected Member Functions

 tsSLIterConst (const T *pInitialEntry)
 

Protected Attributes

const T * pEntry
 

Friends

class tsSLList< T >
 

Detailed Description

template<class T>
class tsSLIterConst< T >

Definition at line 31 of file tsSLList.h.

Constructor & Destructor Documentation

template<class T >
tsSLIterConst< T >::tsSLIterConst ( )
inline

Definition at line 300 of file tsSLList.h.

300  :
301  pEntry ( 0 )
302 {
303 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
tsSLIterConst< T >::tsSLIterConst ( const T *  pInitialEntry)
inlineprotected

Definition at line 294 of file tsSLList.h.

294  :
295  pEntry ( pInitialEntry )
296 {
297 }
const T * pEntry
Definition: tsSLList.h:93

Member Function Documentation

template<class T >
bool tsSLIterConst< T >::operator!= ( const tsSLIterConst< T > &  rhs) const
inline

Definition at line 318 of file tsSLList.h.

319 {
320  return this->pEntry != rhs.pConstEntry;
321 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
const T & tsSLIterConst< T >::operator* ( ) const
inline

Definition at line 331 of file tsSLList.h.

332 {
333  return *this->pEntry;
334 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
tsSLIterConst< T > & tsSLIterConst< T >::operator++ ( )
inline

Definition at line 343 of file tsSLList.h.

344 {
345  const tsSLNode < T > *pCurNode = this->pEntry;
346  this->pEntry = pCurNode->pNext;
347  return *this;
348 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
tsSLIterConst< T > tsSLIterConst< T >::operator++ ( int  )
inline

Definition at line 351 of file tsSLList.h.

352 {
353  const tsSLIterConst<T> tmp = *this;
354  const tsSLNode < T > *pCurNode = this->pEntry;
355  this->pEntry = pCurNode->pNext;
356  return tmp;
357 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
const T * tsSLIterConst< T >::operator-> ( ) const
inline

Definition at line 337 of file tsSLList.h.

338 {
339  return this->pEntry;
340 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
tsSLIterConst< T > & tsSLIterConst< T >::operator= ( const tsSLIterConst< T > &  rhs)
inline

Definition at line 324 of file tsSLList.h.

325 {
326  this->pEntry = rhs.pEntry;
327  return *this;
328 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
bool tsSLIterConst< T >::operator== ( const tsSLIterConst< T > &  rhs) const
inline

Definition at line 312 of file tsSLList.h.

313 {
314  return this->pEntry == rhs.pConstEntry;
315 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
const T * tsSLIterConst< T >::pointer ( ) const
inline

Definition at line 360 of file tsSLList.h.

361 {
362  return this->pEntry;
363 }
const T * pEntry
Definition: tsSLList.h:93
template<class T >
bool tsSLIterConst< T >::valid ( ) const
inline

Definition at line 306 of file tsSLList.h.

307 {
308  return this->pEntry != 0;
309 }
const T * pEntry
Definition: tsSLList.h:93

Friends And Related Function Documentation

template<class T>
friend class tsSLList< T >
friend

Definition at line 95 of file tsSLList.h.

Member Data Documentation

template<class T>
const T* tsSLIterConst< T >::pEntry
protected

Definition at line 93 of file tsSLList.h.


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