DCL 4.0
Loading...
Searching...
No Matches
LIST_T::ReverseConstIterator Class Reference

#include <__LIST.h>

Inheritance diagram for LIST_T::ReverseConstIterator:
ConstListIteratorBase

Public Member Functions

 ReverseConstIterator ()
 ReverseConstIterator (const NodeBase *_pNode)
 ReverseConstIterator (const ReverseConstIterator &_it)
 ReverseConstIterator (const ReverseIterator &_it)
ReverseConstIteratoroperator= (const ReverseConstIterator &_it)
ReverseConstIteratoroperator++ ()
ReverseConstIterator operator++ (int)
ReverseConstIteratoroperator-- ()
ReverseConstIterator operator-- (int)
CONST_ELEMENT_REF operator* ()
Public Member Functions inherited from ConstListIteratorBase
bool operator== (const ConstListIteratorBase &x) const
bool operator!= (const ConstListIteratorBase &x) const
bool operator== (const ListIteratorBase &x) const
bool operator!= (const ListIteratorBase &x) const

Additional Inherited Members

Protected Attributes inherited from ConstListIteratorBase
const NodeBase__pNode

Detailed Description

Definition at line 116 of file __LIST.h.

Constructor & Destructor Documentation

◆ ReverseConstIterator() [1/4]

LIST_T::ReverseConstIterator::ReverseConstIterator ( )
inline

Definition at line 421 of file __LIST.h.

422{
423 __pNode = NULL;
424}
#define NULL
Definition Config.h:340
const NodeBase * __pNode
Definition ListBase.h:44

◆ ReverseConstIterator() [2/4]

LIST_T::ReverseConstIterator::ReverseConstIterator ( const NodeBase * _pNode)
inline

Definition at line 427 of file __LIST.h.

428{
429 __DCL_ASSERT(_pNode != NULL);
430 __pNode = _pNode;
431}
#define __DCL_ASSERT(expr)
Definition Object.h:371

◆ ReverseConstIterator() [3/4]

LIST_T::ReverseConstIterator::ReverseConstIterator ( const ReverseConstIterator & _it)
inline

Definition at line 434 of file __LIST.h.

435{
436 __DCL_ASSERT(_it.__pNode != NULL);
437 __pNode = _it.__pNode;
438}

◆ ReverseConstIterator() [4/4]

LIST_T::ReverseConstIterator::ReverseConstIterator ( const ReverseIterator & _it)
inline

Definition at line 441 of file __LIST.h.

442{
443 __DCL_ASSERT(_it.__pNode != NULL);
444 __pNode = _it.__pNode;
445}

Member Function Documentation

◆ operator*()

CONST_ELEMENT_REF LIST_T::ReverseConstIterator::operator* ( )
inline

Definition at line 496 of file __LIST.h.

497{
499 return ((ListNode*)__pNode)->data;
500}

◆ operator++() [1/2]

LIST_T::ReverseConstIterator & LIST_T::ReverseConstIterator::operator++ ( )
inline

Definition at line 458 of file __LIST.h.

459{
461 __pNode = __pNode->pPrev;
462 return *this;
463}

◆ operator++() [2/2]

LIST_T::ReverseConstIterator LIST_T::ReverseConstIterator::operator++ ( int )
inline

Definition at line 467 of file __LIST.h.

468{
470 const NodeBase* pSaveNode = __pNode;
471 __pNode = __pNode->pPrev;
472 return ReverseConstIterator(pSaveNode);
473}

◆ operator--() [1/2]

LIST_T::ReverseConstIterator & LIST_T::ReverseConstIterator::operator-- ( )
inline

Definition at line 477 of file __LIST.h.

478{
480 __pNode = __pNode->pNext;
481 return *this;
482}

◆ operator--() [2/2]

LIST_T::ReverseConstIterator LIST_T::ReverseConstIterator::operator-- ( int )
inline

Definition at line 486 of file __LIST.h.

487{
489 const NodeBase* pSaveNode = __pNode;
490 __pNode = __pNode->pNext;
491 return ReverseConstIterator(pSaveNode);
492}

◆ operator=()

LIST_T::ReverseConstIterator & LIST_T::ReverseConstIterator::operator= ( const ReverseConstIterator & _it)
inline

Definition at line 449 of file __LIST.h.

450{
451 __DCL_ASSERT(_it.__pNode != NULL);
452 __pNode = _it.__pNode;
453 return *this;
454}

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