]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/csconv.tex
LaTeX2e fixes (patch 748118)
[wxWidgets.git] / docs / latex / wx / csconv.tex
1 %
2 % automatically generated by HelpGen from
3 % ../include/wx/strconv.h at 25/Mar/00 10:20:56
4 %
5
6 \section{\class{wxCSConv}}\label{wxcsconv}
7
8 This class converts between any character sets and Unicode.
9 It has one predefined instance, {\bf wxConvLocal}, for the
10 default user character set.
11
12 \wxheading{Derived from}
13
14 \helpref{wxMBConv}{wxmbconv}
15
16 \wxheading{Include files}
17
18 <wx/strconv.h>
19
20 \wxheading{See also}
21
22 \helpref{wxMBConv}{wxmbconv},
23 \helpref{wxEncodingConverter}{wxencodingconverter},
24 \helpref{wxMBConv classes overview}{mbconvclasses}
25
26 \latexignore{\rtfignore{\wxheading{Members}}}
27
28 \membersection{wxCSConv::wxCSConv}\label{wxcsconvwxcsconv}
29
30 \func{}{wxCSConv}{\param{const wxChar* }{charset}}
31
32 Constructor. Specify the name of the character set you want to convert
33 from/to.
34
35 \membersection{wxCSConv::\destruct{wxCSConv}}\label{wxcsconvdtor}
36
37 \func{}{\destruct{wxCSConv}}{\void}
38
39 Destructor.
40
41 \membersection{wxCSConv::LoadNow}\label{wxcsconvloadnow}
42
43 \func{void}{LoadNow}{\void}
44
45 If the conversion tables needs to be loaded from disk, this method
46 will do so. Otherwise, they will be loaded when any of the conversion
47 methods are called.
48
49 \membersection{wxCSConv::MB2WC}\label{wxcsconvmb2wc}
50
51 \constfunc{size\_t}{MB2WC}{\param{wchar\_t* }{buf}, \param{const char* }{psz}, \param{size\_t }{n}}
52
53 Converts from the selected character set to Unicode. Returns the size of the destination buffer.
54
55 \membersection{wxCSConv::WC2MB}\label{wxcsconvwc2mb}
56
57 \constfunc{size\_t}{WC2MB}{\param{char* }{buf}, \param{const wchar\_t* }{psz}, \param{size\_t }{n}}
58
59 Converts from Unicode to the selected character set. Returns the size of the destination buffer.
60