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

#include <quad_grid.h>

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

NL3D::CQuadGrid< T >::CIterator

template<class T>
class NL3D::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>
NL3D::CQuadGrid< T >::const_iterator::const_iterator  )  [inline]
 

Definition at line 337 of file 3d/quad_grid.h.

References NL3D::CQuadGrid< T >::const_iterator::_Ptr.

00337 {_Ptr=NULL;}

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

Definition at line 338 of file 3d/quad_grid.h.

References NL3D::CQuadGrid< T >::const_iterator::_Ptr.

00338 : _Ptr(p) {}

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

Definition at line 339 of file 3d/quad_grid.h.

References NL3D::CQuadGrid< T >::const_iterator::_Ptr, and x.

00339 : _Ptr(x._Ptr) {}


Member Function Documentation

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

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

Definition at line 341 of file 3d/quad_grid.h.

References NL3D::CQuadGrid< T >::const_iterator::_Ptr, and NL3D::CQuadGrid< T >::CNode::Elt.

00342                         {return _Ptr->Elt; }

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

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

Definition at line 356 of file 3d/quad_grid.h.

References x.

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

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

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

Definition at line 348 of file 3d/quad_grid.h.

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

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

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

Definition at line 346 of file 3d/quad_grid.h.

References NL3D::CQuadGrid< T >::const_iterator::_Ptr, and NL3D::CQuadGrid< T >::CBaseNode::Next.

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

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

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

Definition at line 352 of file 3d/quad_grid.h.

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

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

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

Definition at line 350 of file 3d/quad_grid.h.

References NL3D::CQuadGrid< T >::const_iterator::_Ptr, and NL3D::CQuadGrid< T >::CBaseNode::Prev.

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

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

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

Definition at line 354 of file 3d/quad_grid.h.

References NL3D::CQuadGrid< T >::const_iterator::_Ptr, and x.

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


Friends And Related Function Documentation

template<class T>
friend class CIterator [friend]
 

Definition at line 361 of file 3d/quad_grid.h.

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

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

Definition at line 360 of file 3d/quad_grid.h.


Field Documentation

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

Definition at line 359 of file 3d/quad_grid.h.

Referenced by NL3D::CQuadGrid< T >::const_iterator::const_iterator(), NL3D::CQuadGrid< T >::const_iterator::operator *(), NL3D::CQuadGrid< T >::const_iterator::operator++(), NL3D::CQuadGrid< T >::const_iterator::operator--(), and NL3D::CQuadGrid< T >::const_iterator::operator==().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 07:33:53 2004 for NeL by doxygen 1.3.6