NLPACS::CQuadGrid< T >::CIterator Class Reference

#include <quad_grid.h>

Inheritance diagram for NLPACS::CQuadGrid< T >::CIterator:

NLPACS::CQuadGrid< T >::const_iterator

template<class T>
class NLPACS::CQuadGrid< T >::CIterator


Public Member Functions

 CIterator (CNode *p)
 CIterator ()
T & operator * () const
bool operator!= (const const_iterator &x) const
CIterator operator++ (int)
CIteratoroperator++ ()
CIterator operator-- (int)
CIteratoroperator-- ()
bool operator== (const const_iterator &x) const

Protected Attributes

CNode_Ptr

Friends

class CIterator
class CQuadGrid< T >

Constructor & Destructor Documentation

template<class T>
NLPACS::CQuadGrid< T >::CIterator::CIterator  )  [inline]
 

Definition at line 301 of file pacs/quad_grid.h.

00301 {_Ptr=NULL;}

template<class T>
NLPACS::CQuadGrid< T >::CIterator::CIterator CNode p  )  [inline]
 

Definition at line 302 of file pacs/quad_grid.h.

00302 : const_iterator(p) {}


Member Function Documentation

template<class T>
T& NLPACS::CQuadGrid< T >::CIterator::operator *  )  const [inline]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 303 of file pacs/quad_grid.h.

References NLPACS::CQuadGrid< T >::CNode::Elt.

00304                         {return _Ptr->Elt; }

template<class T>
bool NLPACS::CQuadGrid< T >::CIterator::operator!= const const_iterator x  )  const [inline]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 318 of file pacs/quad_grid.h.

References x.

00319                         {return (!(*this == x)); }

template<class T>
CIterator NLPACS::CQuadGrid< T >::CIterator::operator++ int   )  [inline]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 310 of file pacs/quad_grid.h.

00311                         {CIterator tmp = *this; ++*this; return (tmp); }

template<class T>
CIterator& NLPACS::CQuadGrid< T >::CIterator::operator++  )  [inline]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 308 of file pacs/quad_grid.h.

References NLPACS::CQuadGrid< T >::CBaseNode::Next.

00309                         {_Ptr = (CNode*)(_Ptr->Next); return (*this); }

template<class T>
CIterator NLPACS::CQuadGrid< T >::CIterator::operator-- int   )  [inline]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 314 of file pacs/quad_grid.h.

00315                         {CIterator tmp = *this; --*this; return (tmp); }

template<class T>
CIterator& NLPACS::CQuadGrid< T >::CIterator::operator--  )  [inline]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 312 of file pacs/quad_grid.h.

References NLPACS::CQuadGrid< T >::CBaseNode::Prev.

00313                         {_Ptr = (CNode*)(_Ptr->Prev); return (*this); }

template<class T>
bool NLPACS::CQuadGrid< T >::CIterator::operator== const const_iterator x  )  const [inline]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 316 of file pacs/quad_grid.h.

References x.

00317                         {return (_Ptr == x._Ptr); }


Friends And Related Function Documentation

template<class T>
friend class CIterator [friend, inherited]
 

Definition at line 294 of file pacs/quad_grid.h.

template<class T>
friend class CQuadGrid< T > [friend]
 

Reimplemented from NLPACS::CQuadGrid< T >::const_iterator.

Definition at line 321 of file pacs/quad_grid.h.


Field Documentation

template<class T>
CNode* NLPACS::CQuadGrid< T >::const_iterator::_Ptr [protected, inherited]
 

Definition at line 292 of file pacs/quad_grid.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 14:21:55 2004 for NeL by doxygen 1.3.6