优先级队列  0.1
数据结构_第7章
List::dLinkList< T >::iterator Class Reference

#include <dLinkList.h>

Inheritance diagram for List::dLinkList< T >::iterator:
Collaboration diagram for List::dLinkList< T >::iterator:

Public Member Functions

T & operator* ()
 
const T & operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
- Public Member Functions inherited from List::dLinkList< T >::const_iterator
 const_iterator ()
 
const T & operator* () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 
bool operator== (const const_iterator &rhs) const
 
bool operator!= (const const_iterator &rhs) const
 

Protected Member Functions

 iterator (node *p)
 
- Protected Member Functions inherited from List::dLinkList< T >::const_iterator
 const_iterator (node *p)
 

Protected Attributes

friend dLinkList< T >
 
- Protected Attributes inherited from List::dLinkList< T >::const_iterator
nodecurrent
 
friend dLinkList< T >
 

Detailed Description

template<typename T>
class List::dLinkList< T >::iterator

Definition at line 90 of file dLinkList.h.

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
List::dLinkList< T >::iterator::iterator ( node p)
inlineprotected

Definition at line 110 of file dLinkList.h.

Member Function Documentation

◆ operator*() [1/2]

template<typename T >
T& List::dLinkList< T >::iterator::operator* ( )
inline

◆ operator*() [2/2]

template<typename T >
const T& List::dLinkList< T >::iterator::operator* ( ) const
inline

Definition at line 94 of file dLinkList.h.

References List::dLinkList< T >::const_iterator::operator*().

Here is the call graph for this function:

◆ operator++() [1/2]

template<typename T >
iterator& List::dLinkList< T >::iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T >
iterator List::dLinkList< T >::iterator::operator++ ( int  )
inline

Member Data Documentation

◆ dLinkList< T >

template<typename T >
friend List::dLinkList< T >::iterator::dLinkList< T >
protected

Definition at line 112 of file dLinkList.h.


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