\hypertarget{class_ogre_1_1_vector_iterator}{}\doxysection{Ogre\+::Vector\+Iterator$<$ T $>$ Class Template Reference}
\label{class_ogre_1_1_vector_iterator}\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}


Concrete \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Iterator\+Wrapper}} for nonconst access to the underlying container.  




{\ttfamily \#include $<$Ogre\+Iterator\+Wrapper.\+h$>$}



Inheritance diagram for Ogre\+::Vector\+Iterator$<$ T $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{class_ogre_1_1_vector_iterator__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef T\+::iterator \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a704ce78ef948a2730b4774b4ba0cea69}{const\+\_\+iterator}}
\begin{DoxyCompactList}\small\item\em Typedef to fulfill container interface. \end{DoxyCompactList}\item 
typedef T\+::iterator \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a22c1c22fab97253a922a190d2ace205e}{iterator}}
\begin{DoxyCompactList}\small\item\em Typedef to fulfill container interface. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Iterator\+Wrapper}}$<$ T, T\+::iterator, typename T\+::value\+\_\+type $>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72bb580445cd26d668677e159b692d4f}{Pointer\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper_a3889b6a2de089ec7cb7426cb142f85b5}{Pointer\+Type}}
\item 
typedef \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Iterator\+Wrapper}}$<$ T, T\+::iterator, typename T\+::value\+\_\+type $>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72df6843478e277b8dde180081156b98}{Value\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper_a11b7947af4d7de6c8a371a45b0c92a81}{Value\+Type}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_vector_iterator_ab2f1a9935f5bb1e67948f7de03223ca4}{Vector\+Iterator}} (T \&c)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_vector_iterator_a1265123adbabbeee876a2962eea8db41}{Vector\+Iterator}} (typename T\+::iterator start, typename T\+::iterator last)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
const T\+::iterator \& \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_acfb61cec43a0da5ae1b7c6ee6274498d}{begin}} ()
\begin{DoxyCompactList}\small\item\em Bookmark to the begin of the underlying collection. \end{DoxyCompactList}\item 
T\+::iterator \& \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_ab2daa0557a06aebd61686b13c865b6c0}{current}} ()
\begin{DoxyCompactList}\small\item\em Full access to the current iterator. \end{DoxyCompactList}\item 
const T\+::iterator \& \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a0fd0df9bbfe0fc16939600b37de81739}{end}} ()
\begin{DoxyCompactList}\small\item\em Bookmark to the end (one behind the last element) of the underlying collection. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72df6843478e277b8dde180081156b98}{Value\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper_a2460c8adb6819235849de954db6a0f64}{get\+Next}} ()
\begin{DoxyCompactList}\small\item\em Returns the next(=current) value element in the collection, and advances to the next. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_abd1f3f1f5143828a6296347d5b0b9d04}{has\+More\+Elements}} () const
\begin{DoxyCompactList}\small\item\em Returns true if there are more items in the collection. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_aaf01f897bea391797dc2bb9fb8374a5f}{move\+Next}} ()
\begin{DoxyCompactList}\small\item\em Moves the iterator on one element. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72df6843478e277b8dde180081156b98}{Value\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper_adc1cbc2e629b20b8a959646eddb720c5}{peek\+Next}} () const
\begin{DoxyCompactList}\small\item\em Returns the next(=current) element in the collection, without advancing to the next. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72bb580445cd26d668677e159b692d4f}{Pointer\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper_ac3c1e21df4a61841624487652fbaedc0}{peek\+Next\+Ptr}} () const
\begin{DoxyCompactList}\small\item\em Returns a pointer to the next(=current) element in the collection, without advancing to the next afterwards. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\newline
class Ogre\+::\+Vector\+Iterator$<$ T $>$}

Concrete \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Iterator\+Wrapper}} for nonconst access to the underlying container. 


\begin{DoxyTemplParams}{Template Parameters}
{\em T} & Container \\
\hline
\end{DoxyTemplParams}


\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_vector_iterator_wrapper_a11b7947af4d7de6c8a371a45b0c92a81}\label{class_ogre_1_1_vector_iterator_wrapper_a11b7947af4d7de6c8a371a45b0c92a81}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!ValueType@{ValueType}}
\index{ValueType@{ValueType}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{ValueType}{ValueType}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Iterator\+Wrapper}}$<$T, T\+::iterator , typename T\+::value\+\_\+type$>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72df6843478e277b8dde180081156b98}{Value\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper}{Ogre\+::\+Vector\+Iterator\+Wrapper}}$<$ T, T\+::iterator  $>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72df6843478e277b8dde180081156b98}{Value\+Type}}\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_vector_iterator_wrapper_a3889b6a2de089ec7cb7426cb142f85b5}\label{class_ogre_1_1_vector_iterator_wrapper_a3889b6a2de089ec7cb7426cb142f85b5}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!PointerType@{PointerType}}
\index{PointerType@{PointerType}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{PointerType}{PointerType}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Iterator\+Wrapper}}$<$T, T\+::iterator , typename T\+::value\+\_\+type$>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72bb580445cd26d668677e159b692d4f}{Pointer\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper}{Ogre\+::\+Vector\+Iterator\+Wrapper}}$<$ T, T\+::iterator  $>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72bb580445cd26d668677e159b692d4f}{Pointer\+Type}}\hspace{0.3cm}{\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_iterator_wrapper_a22c1c22fab97253a922a190d2ace205e}\label{class_ogre_1_1_iterator_wrapper_a22c1c22fab97253a922a190d2ace205e}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!iterator@{iterator}}
\index{iterator@{iterator}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{iterator}{iterator}}
{\footnotesize\ttfamily typedef T\+::iterator  \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Ogre\+::\+Iterator\+Wrapper}}$<$ T, T\+::iterator , T\+::value\+\_\+type  $>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a22c1c22fab97253a922a190d2ace205e}{iterator}}\hspace{0.3cm}{\ttfamily [inherited]}}



Typedef to fulfill container interface. 

Useful if you want to use B\+O\+O\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH \begin{DoxyNote}{Note}
there is no distinction between const\+\_\+iterator and iterator. ~\newline
 keep this in mind if you want to derivate from this class. 
\end{DoxyNote}
\mbox{\Hypertarget{class_ogre_1_1_iterator_wrapper_a704ce78ef948a2730b4774b4ba0cea69}\label{class_ogre_1_1_iterator_wrapper_a704ce78ef948a2730b4774b4ba0cea69}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!const\_iterator@{const\_iterator}}
\index{const\_iterator@{const\_iterator}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{const\_iterator}{const\_iterator}}
{\footnotesize\ttfamily typedef T\+::iterator  \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Ogre\+::\+Iterator\+Wrapper}}$<$ T, T\+::iterator , T\+::value\+\_\+type  $>$\+::\mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a704ce78ef948a2730b4774b4ba0cea69}{const\+\_\+iterator}}\hspace{0.3cm}{\ttfamily [inherited]}}



Typedef to fulfill container interface. 

Useful if you want to use B\+O\+O\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH \begin{DoxyNote}{Note}
there is no distinction between const\+\_\+iterator and iterator. ~\newline
 keep this in mind if you want to derivate from this class. 
\end{DoxyNote}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_vector_iterator_a1265123adbabbeee876a2962eea8db41}\label{class_ogre_1_1_vector_iterator_a1265123adbabbeee876a2962eea8db41}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!VectorIterator@{VectorIterator}}
\index{VectorIterator@{VectorIterator}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{VectorIterator()}{VectorIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Ogre\+::\+Vector\+Iterator}}$<$ T $>$\+::\mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}} (\begin{DoxyParamCaption}\item[{typename T\+::iterator}]{start,  }\item[{typename T\+::iterator}]{last }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Constructor. 

\begin{DoxyRemark}{Remarks}
Provide a start and end iterator to initialise. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_vector_iterator_ab2f1a9935f5bb1e67948f7de03223ca4}\label{class_ogre_1_1_vector_iterator_ab2f1a9935f5bb1e67948f7de03223ca4}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!VectorIterator@{VectorIterator}}
\index{VectorIterator@{VectorIterator}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{VectorIterator()}{VectorIterator()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
\mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Ogre\+::\+Vector\+Iterator}}$<$ T $>$\+::\mbox{\hyperlink{class_ogre_1_1_vector_iterator}{Vector\+Iterator}} (\begin{DoxyParamCaption}\item[{T \&}]{c }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [explicit]}}



Constructor. 

\begin{DoxyRemark}{Remarks}
Provide a container to initialise. 
\end{DoxyRemark}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_vector_iterator_wrapper_adc1cbc2e629b20b8a959646eddb720c5}\label{class_ogre_1_1_vector_iterator_wrapper_adc1cbc2e629b20b8a959646eddb720c5}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!peekNext@{peekNext}}
\index{peekNext@{peekNext}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{peekNext()}{peekNext()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72df6843478e277b8dde180081156b98}{Value\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper}{Ogre\+::\+Vector\+Iterator\+Wrapper}}$<$ T, T\+::iterator  $>$\+::peek\+Next (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the next(=current) element in the collection, without advancing to the next. 

\mbox{\Hypertarget{class_ogre_1_1_vector_iterator_wrapper_ac3c1e21df4a61841624487652fbaedc0}\label{class_ogre_1_1_vector_iterator_wrapper_ac3c1e21df4a61841624487652fbaedc0}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!peekNextPtr@{peekNextPtr}}
\index{peekNextPtr@{peekNextPtr}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{peekNextPtr()}{peekNextPtr()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72bb580445cd26d668677e159b692d4f}{Pointer\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper}{Ogre\+::\+Vector\+Iterator\+Wrapper}}$<$ T, T\+::iterator  $>$\+::peek\+Next\+Ptr (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns a pointer to the next(=current) element in the collection, without advancing to the next afterwards. 

\mbox{\Hypertarget{class_ogre_1_1_vector_iterator_wrapper_a2460c8adb6819235849de954db6a0f64}\label{class_ogre_1_1_vector_iterator_wrapper_a2460c8adb6819235849de954db6a0f64}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!getNext@{getNext}}
\index{getNext@{getNext}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{getNext()}{getNext()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper_a72df6843478e277b8dde180081156b98}{Value\+Type}} \mbox{\hyperlink{class_ogre_1_1_vector_iterator_wrapper}{Ogre\+::\+Vector\+Iterator\+Wrapper}}$<$ T, T\+::iterator  $>$\+::get\+Next (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns the next(=current) value element in the collection, and advances to the next. 

\mbox{\Hypertarget{class_ogre_1_1_iterator_wrapper_abd1f3f1f5143828a6296347d5b0b9d04}\label{class_ogre_1_1_iterator_wrapper_abd1f3f1f5143828a6296347d5b0b9d04}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!hasMoreElements@{hasMoreElements}}
\index{hasMoreElements@{hasMoreElements}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{hasMoreElements()}{hasMoreElements()}}
{\footnotesize\ttfamily bool \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Ogre\+::\+Iterator\+Wrapper}}$<$ T, T\+::iterator , T\+::value\+\_\+type  $>$\+::has\+More\+Elements (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Returns true if there are more items in the collection. 

\mbox{\Hypertarget{class_ogre_1_1_iterator_wrapper_aaf01f897bea391797dc2bb9fb8374a5f}\label{class_ogre_1_1_iterator_wrapper_aaf01f897bea391797dc2bb9fb8374a5f}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!moveNext@{moveNext}}
\index{moveNext@{moveNext}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{moveNext()}{moveNext()}}
{\footnotesize\ttfamily void \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Ogre\+::\+Iterator\+Wrapper}}$<$ T, T\+::iterator , T\+::value\+\_\+type  $>$\+::move\+Next (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Moves the iterator on one element. 

\mbox{\Hypertarget{class_ogre_1_1_iterator_wrapper_acfb61cec43a0da5ae1b7c6ee6274498d}\label{class_ogre_1_1_iterator_wrapper_acfb61cec43a0da5ae1b7c6ee6274498d}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!begin@{begin}}
\index{begin@{begin}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{begin()}{begin()}}
{\footnotesize\ttfamily const T\+::iterator \& \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Ogre\+::\+Iterator\+Wrapper}}$<$ T, T\+::iterator , T\+::value\+\_\+type  $>$\+::begin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Bookmark to the begin of the underlying collection. 

\mbox{\Hypertarget{class_ogre_1_1_iterator_wrapper_ab2daa0557a06aebd61686b13c865b6c0}\label{class_ogre_1_1_iterator_wrapper_ab2daa0557a06aebd61686b13c865b6c0}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!current@{current}}
\index{current@{current}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{current()}{current()}}
{\footnotesize\ttfamily T\+::iterator \& \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Ogre\+::\+Iterator\+Wrapper}}$<$ T, T\+::iterator , T\+::value\+\_\+type  $>$\+::current (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Full access to the current iterator. 

\mbox{\Hypertarget{class_ogre_1_1_iterator_wrapper_a0fd0df9bbfe0fc16939600b37de81739}\label{class_ogre_1_1_iterator_wrapper_a0fd0df9bbfe0fc16939600b37de81739}} 
\index{Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}!end@{end}}
\index{end@{end}!Ogre::VectorIterator$<$ T $>$@{Ogre::VectorIterator$<$ T $>$}}
\doxysubsubsection{\texorpdfstring{end()}{end()}}
{\footnotesize\ttfamily const T\+::iterator \& \mbox{\hyperlink{class_ogre_1_1_iterator_wrapper}{Ogre\+::\+Iterator\+Wrapper}}$<$ T, T\+::iterator , T\+::value\+\_\+type  $>$\+::end (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Bookmark to the end (one behind the last element) of the underlying collection. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_iterator_wrapper_8h}{Ogre\+Iterator\+Wrapper.\+h}}\end{DoxyCompactItemize}
