X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..b8b37cedd39bae3a3653003a7f8ae5fecf4df78f:/docs/latex/wx/tempfile.tex diff --git a/docs/latex/wx/tempfile.tex b/docs/latex/wx/tempfile.tex index 6aeddc5166..e7c0c98f68 100644 --- a/docs/latex/wx/tempfile.tex +++ b/docs/latex/wx/tempfile.tex @@ -43,7 +43,8 @@ No base class \wxheading{See also:} -\helpref{wxFile}{wxfile} +\helpref{wxFile}{wxfile}\\ +\helpref{wxTempFileOutputStream}{wxtempfileoutputstream} \latexignore{\rtfignore{\wxheading{Members}}} @@ -79,6 +80,25 @@ and the program should have write access to it for the function to succeed. Returns {\tt true} if the file was successfully opened. +\membersection{wxTempFile::Length}\label{wxtempfilelength} + +\constfunc{wxFileOffset}{Length}{\void} + +Returns the length of the file. + +\membersection{wxTempFile::Seek}\label{wxtempfileseek} + +\func{wxFileOffset}{Seek}{\param{wxFileOffset }{ofs}, \param{wxSeekMode }{mode = wxFromStart}} + +Seeks to the specified position. + +\membersection{wxTempFile::Tell}\label{wxtempfiletell} + +\constfunc{wxFileOffset}{Tell}{\void} + +Returns the current position or wxInvalidOffset if file is not opened or if another +error occurred. + \membersection{wxTempFile::Write}\label{wxtempfilewrite} \func{bool}{Write}{\param{const void }{*p}, \param{size\_t }{n}} @@ -91,7 +111,7 @@ Write to the file, return {\tt true} on success, {\tt false} on failure. Write to the file, return {\tt true} on success, {\tt false} on failure. -The second argument is only meaningful in Unicode build of wxWindows when +The second argument is only meaningful in Unicode build of wxWidgets when {\it conv} is used to convert {\it str} to multibyte representation. \membersection{wxTempFile::Commit}\label{wxtempfilecommit}