[Classes] [Prev] [Next] [Methods]

CRevOrdIteratorRW

Methods Index

Heritage
Description
Usage
Protected Data Members
Attributes
Public Methods
Constructor and Destructor Methods
Iteration Methods
Protected Methods
Canceled Methods

CRevOrdIteratorRW


Heritage

Superclass: RWIterator

Subclasses: None


Description

The CRevOrdIterator class provides a mechanism for iterating an RWOrdered collection from back to front.


Usage

Use this class just as you would use an RWIterator.


Protected Data Members

Attributes

const RWOrdered* itsCollection; The iterating collection
size_t itsIndex; The current location


Public Methods

Constructor and Destructor Methods

CRevOrdIteratorRW(const RWOrdered &theOrdered);
virtual ~CRevOrdIteratorRW();

Iteration Methods

virtual RWCollectable * findPrev(
const RWCollectable *theItem);
virtual RWCollectable * findNext(
const RWCollectable *theItem);
virtual RWCollectable * key() const;
virtual RWCollectable * operator()();
virtual void reset() { itsIndex = RW_NPOS; }

Protected Methods

Canceled Methods

CRevOrdIteratorRW(
const CRevOrdIteratorRW &theIterator);
CRevOrdIteratorRW & operator= (
const CRevOrdIteratorRW &theIterator);
For methods that are inherited from RWIterator, see the Rogue Wave Tools.h++ manual.



[Classes] [Prev] [Next] [Methods]

support@xvt.com


Visit our online help desk for tech support

Copyright © 2009, Providence Software Solutions Inc. All rights reserved.