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

#include <quad_tree.h>

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

NL3D::CQuadTree< T >::CIterator

template<class T>
class NL3D::CQuadTree< 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 CQuadTree< T >

Constructor & Destructor Documentation

template<class T>
NL3D::CQuadTree< T >::const_iterator::const_iterator  )  [inline]
 

Definition at line 592 of file quad_tree.h.

00592 {_Ptr=NULL;}

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

Definition at line 593 of file quad_tree.h.

00593 : _Ptr(p) {}

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

Definition at line 594 of file quad_tree.h.

References x.

00594 : _Ptr(x._Ptr) {}


Member Function Documentation

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

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

Definition at line 596 of file quad_tree.h.

References NL3D::CQuadTree< T >::CNode::Value.

00597                         {return _Ptr->Value; }

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

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

Definition at line 611 of file quad_tree.h.

References x.

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

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

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

Definition at line 603 of file quad_tree.h.

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

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

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

Definition at line 601 of file quad_tree.h.

References NL3D::CQuadTree< T >::CBaseNode::Next.

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

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

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

Definition at line 607 of file quad_tree.h.

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

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

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

Definition at line 605 of file quad_tree.h.

References NL3D::CQuadTree< T >::CBaseNode::Prev.

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

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

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

Definition at line 609 of file quad_tree.h.

References x.

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


Friends And Related Function Documentation

template<class T>
friend class CIterator [friend]
 

Definition at line 616 of file quad_tree.h.

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

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

Definition at line 615 of file quad_tree.h.


Field Documentation

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

Definition at line 614 of file quad_tree.h.

Referenced by NL3D::CQuadTree< T >::erase().


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