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

#include "resourceLib.h"

Public Member Functions

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

Friends

class resTable< T, ID >
 

Detailed Description

template<class T, class ID>
class resTableIterConst< T, ID >

Definition at line 48 of file resourceLib.h.

Constructor & Destructor Documentation

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

Definition at line 837 of file resourceLib.h.

837  :
838  iter ( tsSLList<T>::invalidIter() ),
839  index ( 0 ), pResTable ( 0 )
840 {
841 }

Member Function Documentation

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

Definition at line 874 of file resourceLib.h.

875 {
876  return ! this->operator == ( rhs );
877 }
bool operator==(const resTableIterConst< T, ID > &rhs) const
Definition: resourceLib.h:865
template<class T , class ID >
const T & resTableIterConst< T, ID >::operator* ( ) const
inline

Definition at line 890 of file resourceLib.h.

891 {
892  return this->iter.operator * ();
893 }
template<class T , class ID >
resTableIterConst< T, ID > & resTableIterConst< T, ID >::operator++ ( )
inline

Definition at line 902 of file resourceLib.h.

903 {
904  this->iter++;
905  if ( ! this->iter.valid() ) {
906  this->findNextEntry ();
907  }
908  return *this;
909 }
template<class T , class ID >
resTableIterConst< T, ID > resTableIterConst< T, ID >::operator++ ( int  )
inline

Definition at line 912 of file resourceLib.h.

913 {
914  resTableIterConst<T,ID> tmp = *this;
915  this->operator ++ ();
916  return tmp;
917 }
resTableIterConst< T, ID > & operator++()
Definition: resourceLib.h:902
template<class T , class ID >
const T * resTableIterConst< T, ID >::operator-> ( ) const
inline

Definition at line 896 of file resourceLib.h.

897 {
898  return this->iter.operator -> ();
899 }
template<class T , class ID >
resTableIterConst< T, ID > & resTableIterConst< T, ID >::operator= ( const resTableIterConst< T, ID > &  rhs)
inline

Definition at line 881 of file resourceLib.h.

882 {
883  this->pResTable = rhs.pResTable;
884  this->index = rhs.index;
885  this->iter = rhs.iter;
886  return *this;
887 }
template<class T , class ID >
bool resTableIterConst< T, ID >::operator== ( const resTableIterConst< T, ID > &  rhs) const
inline

Definition at line 865 of file resourceLib.h.

866 {
867  return ( this->pResTable == rhs.pResTable
868  && this->index == rhs.index
869  && this->iter == rhs.iter );
870 }
template<class T , class ID >
const T * resTableIterConst< T, ID >::pointer ( ) const
inline

Definition at line 920 of file resourceLib.h.

921 {
922  return this->iter.pointer ();
923 }
template<class T , class ID >
bool resTableIterConst< T, ID >::valid ( ) const
inline

Definition at line 858 of file resourceLib.h.

859 {
860  return this->iter.valid ();
861 }

Friends And Related Function Documentation

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

Definition at line 170 of file resourceLib.h.


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