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

#include <quad_grid.h>

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

NLPACS::CQuadGrid< T >::CIterator

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


Public Member Functions

 const_iterator (const CIterator &x)
 const_iterator (CNode *p)
 const_iterator ()
const T & operator * () const
bool operator!= (const const_iterator &x) const
const_iterator operator++ (int)
const_iteratoroperator++ ()
const_iterator operator-- (int)
const_iteratoroperator-- ()
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 >::const_iterator::const_iterator  )  [inline]
 

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

00270 {_Ptr=NULL;}

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

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

00271 : _Ptr(p) {}

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

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

References x.

00272 : _Ptr(x._Ptr) {}


Member Function Documentation

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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

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

00275                         {return _Ptr->Elt; }

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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

References x.

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

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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

00282                         {const_iterator tmp = *this; ++*this; return (tmp); }

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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

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

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

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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

00286                         {const_iterator tmp = *this; --*this; return (tmp); }

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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

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

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

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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

References x.

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


Friends And Related Function Documentation

template<class T>
friend class CIterator [friend]
 

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

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

Reimplemented in NLPACS::CQuadGrid< T >::CIterator.

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


Field Documentation

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

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:56 2004 for NeL by doxygen 1.3.6