X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc81d32f2bf8c159f3b1bf6ddaf62e6d77720209..3e15dde39639521641eef1508c2de56ebd5ac319:/docs/latex/wx/fileistr.tex?ds=sidebyside diff --git a/docs/latex/wx/fileistr.tex b/docs/latex/wx/fileistr.tex index 865320a1a6..746ec668be 100644 --- a/docs/latex/wx/fileistr.tex +++ b/docs/latex/wx/fileistr.tex @@ -12,6 +12,9 @@ reached. This is documented in \helpref{wxFile::Eof}{wxfileeof} and classes reflects this difference, i.e. wxFileInputStream will report wxSTREAM\_EOF after having read the last byte whereas wxFFileInputStream will report wxSTREAM\_EOF after trying to read {\it past} the last byte. +Related to EOF behavior, note that \helpref{SeekI()}{wxinputstreamseeki} +can seek beyond the end of the stream (file) and will thus not return +{\it wxInvalidOffset} for that. \wxheading{Derived from} @@ -30,7 +33,7 @@ will report wxSTREAM\_EOF after trying to read {\it past} the last byte. % ---------- \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxFileInputStream::wxFileInputStream} +\membersection{wxFileInputStream::wxFileInputStream}\label{wxfileinputstreamctor} \func{}{wxFileInputStream}{\param{const wxString\&}{ ifileName}} @@ -44,13 +47,13 @@ Initializes a file stream in read-only mode using the file I/O object {\it file} Initializes a file stream in read-only mode using the specified file descriptor. -\membersection{wxFileInputStream::\destruct{wxFileInputStream}} +\membersection{wxFileInputStream::\destruct{wxFileInputStream}}\label{wxfileinputstreamdtor} \func{}{\destruct{wxFileInputStream}}{\void} Destructor. -\membersection{wxFileInputStream::Ok} +\membersection{wxFileInputStream::Ok}\label{wxfileinputstreamok} \constfunc{bool}{Ok}{\void}