VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
DtLocalVectorIterator Class Reference

File: lclVecIter.h. More...

Inheritance diagram for DtLocalVectorIterator:
Inheritance graph
[legend]

Public Member Functions

 DtLocalVectorIterator ()
 DtLocalVectorIterator (const DtLocalVectorIterator &orig)
 Constructor.
 DtLocalVectorIterator (const DtList &list)
virtual ~DtLocalVectorIterator ()
bool setToClosest (DtVector point)
- Public Member Functions inherited from DtIteratorBase< DtLocalVector >
 DtIteratorBase (const DtList &list)
 Constructor. Supply the DtList to be iterated over.
 DtIteratorBase (const DtIteratorBase &orig)
 Copy constructor.
virtual ~DtIteratorBase ()
virtual unsigned int size () const
virtual bool empty () const
virtual const DtList & list ()
virtual bool reset (bool reverse=false)
 Sets the cursor and the direction of this iterator over the list.
virtual bool reset (DtIteratorLocation location, DtIteratorDirection direction=DtIteratorForward)
 Sets the cursor and the direction of this iterator over the list.
virtual void reverse ()
 Reverses the direction if this iterator. The cursor is not moved.
virtual void setDirection (DtIteratorDirection direction)
 Sets the direction of this iterator. The cursor is not moved.
virtual DtIteratorDirection direction ()
 Returns the current direction of the iterator.
virtual int cursorIndex () const
 Returns current cursor index in list.
virtual void setCursorIndex (int i)
virtual DtLocalVectorinternalFirst (bool move=true)
 Returns the first vertex in the list if going DtIteratorForward, and the last vertex if going DtIteratorReverse.
virtual DtLocalVectorinternalCurrent () const
 Returns the current vertex. The cursor is not moved.
virtual DtListItem * cursor () const
 Returns the current cursor. Use with caution.
virtual DtLocalVectoritemToObject (DtListItem *item, bool move)
virtual DtLocalVectorinternalNext (bool move=true)
virtual DtLocalVectorinternalLast (bool move=true)
 Returns the last vertex in the list if going DtIteratorForward, and the first vertex if going DtIteratorReverse.
virtual DtLocalVectorinternalWrapNext (bool move=true)
 If the cursor is 0, returns 0 (move is ignored in this case).
virtual DtLocalVectorinternalPrev (bool move=true)
 If the cursor is 0, returns 0 (move is ignored in this case).
virtual DtLocalVectorinternalWrapPrev (bool move=true)
virtual DtLocalVectorcurrent ()
virtual DtLocalVectorfirst (bool move=true)
virtual DtLocalVectornext (bool move=true)
virtual DtLocalVectorprev (bool move=true)
virtual DtLocalVectorlast (bool move=true)
virtual DtLocalVectorwrapNext (bool move=true)
virtual DtLocalVectorwrapPrev (bool move=true)
DtLocalVectoroperator++ ()
DtLocalVectoroperator-- ()

Private Member Functions

const DtLocalVectorIteratoroperator= (const DtLocalVectorIterator &orig)
 Assignment Operator.

Additional Inherited Members

- Protected Attributes inherited from DtIteratorBase< DtLocalVector >
const DtList & myList
DtListItem * myCursor
DtIteratorDirection myDirection

Detailed Description

File: lclVecIter.h.

Class: DtLocalVectorIteratorDescription: DtLocalVectorIterator is an iterator for iterating over a DtList of DtLocalVector pointers (as in a DtVertexList).

Constructor & Destructor Documentation

DtLocalVectorIterator::DtLocalVectorIterator ( )
DtLocalVectorIterator::DtLocalVectorIterator ( const DtLocalVectorIterator orig)
inline

Constructor.

Supply the DtList to be iterated over. Copy constructor

DtLocalVectorIterator::DtLocalVectorIterator ( const DtList &  list)
inline
virtual DtLocalVectorIterator::~DtLocalVectorIterator ( )
inlinevirtual

Member Function Documentation

const DtLocalVectorIterator& DtLocalVectorIterator::operator= ( const DtLocalVectorIterator orig)
private

Assignment Operator.

bool DtLocalVectorIterator::setToClosest ( DtVector  point)
inline

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)