\section{\class{wxVector}}\label{wxvector} wxVector is a template which implements most of the std::vector class and can be used like. If wxWidgets is compiled in STL mode, wxVector will just be a typedef to std::vector. You should refer to the STL documentation for further information. \wxheading{Derived from} No base class \wxheading{Include files} \wxheading{See also} \helpref{Container classes overview}{wxcontaineroverview}, \helpref{wxList}{wxlist}, \helpref{wxArray}{wxarray} \membersection{wxVector::wxVector}\label{wxvectorwxvector} \func{}{wxVector}{\void} \func{}{wxVector}{\param{const wxVector\& }{c}} Constructor. \membersection{wxVector::\destruct{wxVector}}\label{wxvectordtor} \func{}{\destruct{wxVector}}{\void} Destructor. \membersection{wxVector::operator=}\label{wxvectoroperatorassign} \func{wxVector\& operator}{operator=}{\param{const wxVector\& }{vb}} Assignment operator. \membersection{wxVector::at}\label{wxvectorat} \constfunc{const value\_type\&}{at}{\param{size\_type }{idx}} \func{value\_type\&}{at}{\param{size\_type }{idx}} Returns item at position {\it idx}. \membersection{wxVector::back}\label{wxvectorback} \constfunc{const value\_type\&}{back}{\void} \func{value\_type\&}{back}{\void} Return last item. \membersection{wxVector::begin}\label{wxvectorbegin} \constfunc{const\_iterator}{begin}{\void} \func{iterator}{begin}{\void} Return iterator to beginning of the vector. \membersection{wxVector::capacity}\label{wxvectorcapacity} \constfunc{size\_type}{capacity}{\void} \membersection{wxVector::clear}\label{wxvectorclear} \func{void}{clear}{\void} Clears the vector. \membersection{wxVector::empty}\label{wxvectorempty} \constfunc{bool}{empty}{\void} Returns true if the vector is empty. \membersection{wxVector::end}\label{wxvectorend} \constfunc{const\_iterator}{end}{\void} \func{iterator}{end}{\void} Returns iterator to the end of the vector. \membersection{wxVector::erase}\label{wxvectorerase} \func{iterator}{erase}{\param{iterator }{it}} \func{iterator}{erase}{\param{iterator }{first}, \param{iterator }{last}} Erase items. When using values other than built-in integrals or classes with reference counting this can be an inefficient operation. \membersection{wxVector::front}\label{wxvectorfront} \constfunc{const value\_type\&}{front}{\void} \func{value\_type\&}{front}{\void} Returns first item. \membersection{wxVector::insert}\label{wxvectorinsert} \func{iterator}{insert}{\param{iterator }{it}, \param{const value\_type\& }{v = value\_type()}} Insert an item. When using values other than built-in integrals or classes with reference counting this can be an inefficient operation. \membersection{wxVector::operator[]}\label{wxvectoroperatorunknown} \constfunc{const value\_type\&}{operator[]}{\param{size\_type }{idx}} \func{value\_type\&}{operator[]}{\param{size\_type }{idx}} Returns item at position {\it idx}. \membersection{wxVector::pop\_back}\label{wxvectorpopback} \func{void}{pop\_back}{\void} Removes the last item. \membersection{wxVector::push\_back}\label{wxvectorpushback} \func{void}{push\_back}{\param{const value\_type\& }{v}} Adds an item to the end of the vector. \membersection{wxVector::reserve}\label{wxvectorreserve} \func{void}{reserve}{\param{size\_type }{n}} Reserves more memory of {\it n} is greater then \helpref{size}{wxvectorsize}. Other this call has no effect. \membersection{wxVector::size}\label{wxvectorsize} \constfunc{size\_type}{size}{\void} Returns the size of the vector.