X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b82827dd43caa489eade15cc02edef7fb79e8c20..ab9717339232a7a728dea666c59b73fd6ac78dd3:/docs/latex/wx/tfile.tex diff --git a/docs/latex/wx/tfile.tex b/docs/latex/wx/tfile.tex index 52c7f65e36..78dde1c7bc 100644 --- a/docs/latex/wx/tfile.tex +++ b/docs/latex/wx/tfile.tex @@ -1,20 +1,20 @@ \section{File classes and functions overview}\label{wxfileoverview} -Classes: \helpref{wxFile}{wxfile}, \helpref{wxTempFile}{wxtempfile}, +Classes: \helpref{wxFile}{wxfile}, \helpref{wxDir}{wxdir}, \helpref{wxTempFile}{wxtempfile}, \helpref{wxTextFile}{wxtextfile} Functions: see \helpref{file functions}{filefunctions}. -wxWindows provides some functions and classes to facilitate working with files. +wxWidgets provides some functions and classes to facilitate working with files. As usual, the accent is put on cross-platform features which explains, for example, the \helpref{wxTextFile}{wxtextfile} class which may be used to convert between different types of text files (DOS/Unix/Mac). -wxFile may be used for low-level IO. It contains all usual functions to work -with files (opening/closing, reading/writing, seeking...) but, compared to -using standard C functions, brings error checking (in case of an error a message +wxFile may be used for low-level IO. It contains all the usual functions to work +with files (opening/closing, reading/writing, seeking, and so on) but compared with +using standard C functions, has error checking (in case of an error a message is logged using \helpref{wxLog}{wxlog} facilities) and closes the file -automatically in destructor which may be quite convenient. +automatically in the destructor which may be quite convenient. wxTempFile is a very small file designed to make replacing the files contents safer - see its \helpref{documentation}{wxtempfile} for more details. @@ -25,3 +25,7 @@ and program source files. It can be also used to work with files with "non native" line termination characters and write them as "native" files if needed (in fact, the files may be written in any format). +wxDir is a helper class for enumerating the files or subdirectories of a +directory. It may be used to enumerate all files, only files satisfying the +given template mask or only non-hidden files. +