X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/762e199741e236841278dfa6c08a7a0ca376252e..8d1517cef26509f5b2fca218145af4e4db7a4be2:/docs/latex/wx/scpdarry.tex?ds=sidebyside diff --git a/docs/latex/wx/scpdarry.tex b/docs/latex/wx/scpdarry.tex index 077656725f..6853c443c4 100644 --- a/docs/latex/wx/scpdarry.tex +++ b/docs/latex/wx/scpdarry.tex @@ -6,7 +6,7 @@ use macros instead. \wxheading{Example} -Below is an example of using a wxWindows scoped smart pointer and +Below is an example of using a wxWidgets scoped smart pointer and pointer array. \begin{verbatim} @@ -64,14 +64,14 @@ with any legal name. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxScopedArray::wxScopedArray} +\membersection{wxScopedArray::wxScopedArray}\label{wxscopedarrayctor} \func{}{wxScopedArray}{\param{type}{ * T = NULL}} Creates the smart pointer with the given pointer or none if NULL. On compilers that support it, this uses the explicit keyword. -\membersection{wxScopedArray::reset} +\membersection{wxScopedArray::reset}\label{wxscopedarrayreset} \func{\void}{reset}{\param{T}{ p * = NULL}} @@ -79,21 +79,21 @@ Deletes the currently held pointer and sets it to 'p' or to NULL if no arguments are specified. This function does check to make sure that the pointer you are assigning is not the same pointer that is already stored. -\membersection{wxScopedArray::operator []} +\membersection{wxScopedArray::operator []}\label{wxscopedarraybracket} \func{const T \&}{operator []}{\param{long int}{i}} This operator acts like the standard [] indexing operator for C++ arrays. The function does not do bounds checking. -\membersection{wxScopedArray::get} +\membersection{wxScopedArray::get}\label{wxscopedarrayget} \func{const T*}{get}{\void} This operator gets the pointer stored in the smart pointer or returns NULL if there is none. -\membersection{wxScopedArray::swap} +\membersection{wxScopedArray::swap}\label{wxscopedarrayswap} \func{\void}{swap}{\param{wxScopedPtr}{ \& ot}}