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

#include "tsSLList.h"

Public Member Functions

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

Friends

class tsSLList< T >
 

Detailed Description

template<class T>
class tsSLIter< T >

Definition at line 30 of file tsSLList.h.

Constructor & Destructor Documentation

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

Definition at line 378 of file tsSLList.h.

378  :
379  pEntry ( 0 )
380 {
381 }

Member Function Documentation

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

Definition at line 396 of file tsSLList.h.

397 {
398  return this->pEntry != rhs.pEntry;
399 }
template<class T >
T & tsSLIter< T >::operator* ( ) const
inline

Definition at line 409 of file tsSLList.h.

410 {
411  return *this->pEntry;
412 }
template<class T >
tsSLIter< T > & tsSLIter< T >::operator++ ( )
inline

Definition at line 421 of file tsSLList.h.

422 {
423  const tsSLNode < T > *pCurNode = this->pEntry;
424  this->pEntry = pCurNode->pNext;
425  return *this;
426 }
template<class T >
tsSLIter< T > tsSLIter< T >::operator++ ( int  )
inline

Definition at line 429 of file tsSLList.h.

430 {
431  const tsSLIter<T> tmp = *this;
432  const tsSLNode < T > *pCurNode = this->pEntry;
433  this->pEntry = pCurNode->pNext;
434  return tmp;
435 }
template<class T >
T * tsSLIter< T >::operator-> ( ) const
inline

Definition at line 415 of file tsSLList.h.

416 {
417  return this->pEntry;
418 }
template<class T >
tsSLIter< T > & tsSLIter< T >::operator= ( const tsSLIter< T > &  rhs)
inline

Definition at line 402 of file tsSLList.h.

403 {
404  this->pEntry = rhs.pEntry;
405  return *this;
406 }
template<class T >
bool tsSLIter< T >::operator== ( const tsSLIter< T > &  rhs) const
inline

Definition at line 390 of file tsSLList.h.

391 {
392  return this->pEntry == rhs.pEntry;
393 }
template<class T >
T * tsSLIter< T >::pointer ( ) const
inline

Definition at line 438 of file tsSLList.h.

439 {
440  return this->pEntry;
441 }
template<class T >
bool tsSLIter< T >::valid ( ) const
inline

Definition at line 384 of file tsSLList.h.

385 {
386  return this->pEntry != 0;
387 }

Friends And Related Function Documentation

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

Definition at line 117 of file tsSLList.h.


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