Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgVectorIteratorOf< T > Class Template Reference

#include <SgVector.h>

Inheritance diagram for SgVectorIteratorOf< T >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class SgVectorIteratorOf< T >

Iterator for VectorOf<T> typed vector of pointers to T.

Definition at line 461 of file SgVector.h.

Public Member Functions

 SgVectorIteratorOf (const SgVectorOf< T > &vector)
 Create a vector iterator to iterate through vector.
void operator++ ()
 Advance the state of the iteration to the next element.
T * operator * () const
 Return the value of the current element.
 operator bool () const
 Return true if iteration is valid, otherwise false.


Constructor & Destructor Documentation

template<class T>
SgVectorIteratorOf< T >::SgVectorIteratorOf ( const SgVectorOf< T > &  vector  ) 

Create a vector iterator to iterate through vector.

Definition at line 466 of file SgVector.h.


Member Function Documentation

template<class T>
T* SgVectorIteratorOf< T >::operator * (  )  const

Return the value of the current element.

Reimplemented from SgVectorIterator< void * >.

Definition at line 475 of file SgVector.h.

template<class T>
SgVectorIteratorOf< T >::operator bool (  )  const

Return true if iteration is valid, otherwise false.

Reimplemented from SgVectorIterator< void * >.

Definition at line 480 of file SgVector.h.

template<class T>
void SgVectorIteratorOf< T >::operator++ (  ) 

Advance the state of the iteration to the next element.

Reimplemented from SgVectorIterator< void * >.

Definition at line 470 of file SgVector.h.


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


17 Jun 2010 Doxygen 1.4.7