]> git.saurik.com Git - wxWidgets.git/blame - docs/doxygen/overviews/file.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / docs / doxygen / overviews / file.h
CommitLineData
15b6757b 1/////////////////////////////////////////////////////////////////////////////
3b88355f 2// Name: file.h
15b6757b
FM
3// Purpose: topic overview
4// Author: wxWidgets team
526954c5 5// Licence: wxWindows licence
15b6757b
FM
6/////////////////////////////////////////////////////////////////////////////
7
880efa2a 8/**
36c9828f 9
928f1a07 10@page overview_file File Classes and Functions
3b88355f 11
831e1028 12@tableofcontents
3b88355f 13
928f1a07
FM
14wxWidgets provides some functions and classes to facilitate working with files.
15As usual, the accent is put on cross-platform features which explains, for
16example, the wxTextFile class which may be used to convert
17between different types of text files (DOS/Unix/Mac).
3b88355f 18
928f1a07
FM
19wxFile may be used for low-level IO. It contains all the usual functions to work
20with files (opening/closing, reading/writing, seeking, and so on) but compared with
21using standard C functions, has error checking (in case of an error a message
22is logged using wxLog facilities) and closes the file
23automatically in the destructor which may be quite convenient.
3b88355f 24
928f1a07
FM
25wxTempFile is a very small file designed to make replacing the files contents
26safer - see its documentation for more details.
3b88355f 27
928f1a07
FM
28wxTextFile is a general purpose class for working with small text files on line
29by line basis. It is especially well suited for working with configuration files
30and program source files. It can be also used to work with files with "non
31native" line termination characters and write them as "native" files if needed
32(in fact, the files may be written in any format).
3b88355f 33
928f1a07
FM
34wxDir is a helper class for enumerating the files or subdirectories of a
35directory. It may be used to enumerate all files, only files satisfying the
36given template mask or only non-hidden files.
36c9828f 37
831e1028 38@see wxFile, wxDir, wxTempFile, wxTextFile, @ref group_funcmacro_file
36c9828f 39
831e1028 40*/