This is Unofficial EPICS BASE Doxygen Site
resTableIter< T, ID > Class Template Reference

#include "resourceLib.h"

Public Member Functions

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

Friends

class resTable< T, ID >
 

Detailed Description

template<class T, class ID>
class resTableIter< T, ID >

Definition at line 47 of file resourceLib.h.

Constructor & Destructor Documentation

template<class T , class ID >
resTableIter< T, ID >::resTableIter ( )
inline

Definition at line 738 of file resourceLib.h.

738  :
739  iter ( tsSLList<T>::invalidIter() ),
740  index ( 0 ), pResTable ( 0 )
741 {
742 }

Member Function Documentation

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

Definition at line 774 of file resourceLib.h.

775 {
776  return ! this->operator == ( rhs );
777 }
bool operator==(const resTableIter< T, ID > &rhs) const
Definition: resourceLib.h:765
template<class T , class ID >
T & resTableIter< T, ID >::operator* ( ) const
inline

Definition at line 790 of file resourceLib.h.

791 {
792  return this->iter.operator * ();
793 }
template<class T , class ID >
resTableIter< T, ID > & resTableIter< T, ID >::operator++ ( )
inline

Definition at line 802 of file resourceLib.h.

803 {
804  this->iter++;
805  if ( ! this->iter.valid() ) {
806  this->findNextEntry ();
807  }
808  return *this;
809 }
template<class T , class ID >
resTableIter< T, ID > resTableIter< T, ID >::operator++ ( int  )
inline

Definition at line 812 of file resourceLib.h.

813 {
814  resTableIter<T,ID> tmp = *this;
815  this->operator ++ ();
816  return tmp;
817 }
resTableIter< T, ID > & operator++()
Definition: resourceLib.h:802
template<class T , class ID >
T * resTableIter< T, ID >::operator-> ( ) const
inline

Definition at line 796 of file resourceLib.h.

797 {
798  return this->iter.operator -> ();
799 }
template<class T , class ID >
resTableIter< T, ID > & resTableIter< T, ID >::operator= ( const resTableIter< T, ID > &  rhs)
inline

Definition at line 781 of file resourceLib.h.

782 {
783  this->pResTable = rhs.pResTable;
784  this->index = rhs.index;
785  this->iter = rhs.iter;
786  return *this;
787 }
template<class T , class ID >
bool resTableIter< T, ID >::operator== ( const resTableIter< T, ID > &  rhs) const
inline

Definition at line 765 of file resourceLib.h.

766 {
767  return ( this->pResTable == rhs.pResTable
768  && this->index == rhs.index
769  && this->iter == rhs.iter );
770 }
template<class T , class ID >
T * resTableIter< T, ID >::pointer ( )
inline

Definition at line 820 of file resourceLib.h.

821 {
822  return this->iter.pointer ();
823 }
template<class T , class ID >
bool resTableIter< T, ID >::valid ( ) const
inline

Definition at line 758 of file resourceLib.h.

759 {
760  return this->iter.valid ();
761 }

Friends And Related Function Documentation

template<class T, class ID>
friend class resTable< T, ID >
friend

Definition at line 143 of file resourceLib.h.


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