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

#include "tsDLList.h"

Public Member Functions

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

Friends

class tsDLList< T >
 

Detailed Description

template<class T>
class tsDLIter< T >

Definition at line 23 of file tsDLList.h.

Constructor & Destructor Documentation

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

Definition at line 603 of file tsDLList.h.

603  :
604  pEntry ( 0 ) {}

Member Function Documentation

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

Definition at line 619 of file tsDLList.h.

620 {
621  return this->pEntry != rhs.pEntry;
622 }
template<class T >
T & tsDLIter< T >::operator* ( ) const
inline

Definition at line 632 of file tsDLList.h.

633 {
634  return *this->pEntry;
635 }
template<class T >
tsDLIter< T > & tsDLIter< T >::operator++ ( )
inline

Definition at line 644 of file tsDLList.h.

645 {
646  const tsDLNode<T> &entryNode = *this->pEntry;
647  this->pEntry = entryNode.pNext;
648  return *this;
649 }
template<class T >
tsDLIter< T > tsDLIter< T >::operator++ ( int  )
inline

Definition at line 652 of file tsDLList.h.

653 {
654  const tsDLIter<T> tmp = *this;
655  const tsDLNode<T> &entryNode = *this->pEntry;
656  this->pEntry = entryNode.pNext;
657  return tmp;
658 }
template<class T >
tsDLIter< T > & tsDLIter< T >::operator-- ( )
inline

Definition at line 661 of file tsDLList.h.

662 {
663  const tsDLNode<T> &entryNode = *this->pEntry;
664  this->pEntry = entryNode.pPrev;
665  return *this;
666 }
template<class T >
tsDLIter< T > tsDLIter< T >::operator-- ( int  )
inline

Definition at line 669 of file tsDLList.h.

670 {
671  const tsDLIter<T> tmp = *this;
672  const tsDLNode<T> &entryNode = *this->pEntry;
673  this->pEntry = entryNode.pPrev;
674  return tmp;
675 }
template<class T >
T * tsDLIter< T >::operator-> ( ) const
inline

Definition at line 638 of file tsDLList.h.

639 {
640  return this->pEntry;
641 }
template<class T>
tsDLIter< T > & tsDLIter< T >::operator= ( const tsDLIter< T > &  rhs)
inline

Definition at line 625 of file tsDLList.h.

626 {
627  this->pEntry = rhs.pEntry;
628  return *this;
629 }
template<class T>
bool tsDLIter< T >::operator== ( const tsDLIter< T > &  rhs) const
inline

Definition at line 613 of file tsDLList.h.

614 {
615  return this->pEntry == rhs.pEntry;
616 }
template<class T >
T * tsDLIter< T >::pointer ( ) const
inline

Definition at line 678 of file tsDLList.h.

679 {
680  return this->pEntry;
681 }
template<class T >
bool tsDLIter< T >::valid ( ) const
inline

Definition at line 607 of file tsDLList.h.

608 {
609  return this->pEntry != 0;
610 }

Friends And Related Function Documentation

template<class T>
friend class tsDLList< T >
friend

Definition at line 133 of file tsDLList.h.


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