VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Private Member Functions
DtRecursiveReaderWriterIterator Class Reference

Iterator for iterating over a DtReaderWriter object and all its descendants (held in each DtReaderWriter object's DtRwRegistry member). More...

List of all members.

Public Member Functions

 DtRecursiveReaderWriterIterator (const DtReaderWriterRegistry &registry)
 Constructor.
virtual ~DtRecursiveReaderWriterIterator ()
 Destructor.
DtReaderWriterfirst ()
 Returns the first object on the list.
DtReaderWritercurrent () const
 returns the current object. List index is unmodified.
DtReaderWriternext ()
 moves the index to the next position and returns the object at that position in the list.

Protected Attributes

const DtReaderWriterRegistrymyList
std::vector
< DtReaderWriterRegistryData * >
::const_iterator 
myCursor
DtRecursiveReaderWriterIteratormyChildIterator

Private Member Functions

 DtRecursiveReaderWriterIterator (const DtRecursiveReaderWriterIterator &orig)
 Copy Constructor.
const
DtRecursiveReaderWriterIterator
operator= (const DtRecursiveReaderWriterIterator &orig)
 Assignment Operator.

Detailed Description

Iterator for iterating over a DtReaderWriter object and all its descendants (held in each DtReaderWriter object's DtRwRegistry member).

This iterator performs an pre-order iteration over the 'forest' that represents the DtReaderWriter object's descendents.


Constructor & Destructor Documentation

Constructor.

Destructor.

Copy Constructor.


Member Function Documentation

Returns the first object on the list.

returns the current object. List index is unmodified.

moves the index to the next position and returns the object at that position in the list.

Returns null if already at the end of list.

const DtRecursiveReaderWriterIterator& DtRecursiveReaderWriterIterator::operator= ( const DtRecursiveReaderWriterIterator orig) [private]

Assignment Operator.


Member Data Documentation

std::vector<DtReaderWriterRegistryData*>::const_iterator DtRecursiveReaderWriterIterator::myCursor [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)