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