]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/tokenizr.tex
* wxStream doc updates
[wxWidgets.git] / docs / latex / wx / tokenizr.tex
1 \section{\class{wxStringTokenizer}}\label{wxstringtokenizer}
2
3 wxStringTokenizer helps you to break a string up into a number of tokens.
4
5 \wxheading{Derived from}
6
7 \helpref{wxObject}{wxobject}
8
9 \latexignore{\rtfignore{\wxheading{Members}}}
10
11 \membersection{wxStringTokenizer::wxStringTokenizer}\label{wxstringtokenizerwxstringtokenizer}
12
13 \func{}{wxStringTokenizer}{\param{const wxString\& }{to\_tokenize}, \param{const wxString\& }{delims = " $\backslash$t$\backslash$r$\backslash$n"}, \param{bool }{ret\_delim = FALSE}}
14
15 Constructor. Pass the string to tokenze, a string containing delimiters,
16 a flag specifying whether delimiters are retained.
17
18 \membersection{wxStringTokenizer::\destruct{wxStringTokenizer}}\label{wxstringtokenizerdtor}
19
20 \func{}{\destruct{wxStringTokenizer}}{\void}
21
22 Destructor.
23
24 \membersection{wxStringTokenizer::CountTokens}\label{wxstringtokenizercounttokens}
25
26 \constfunc{virtual int}{CountTokens}{\void}
27
28 Returns the number of tokens in the input string.
29
30 \membersection{wxStringTokenizer::HasMoreToken}\label{wxstringtokenizerhasmoretoken}
31
32 \constfunc{virtual bool}{HasMoreToken}{\void}
33
34 Returns TRUE if the tokenizer has further tokens.
35
36 \membersection{wxStringTokenizer::NextToken}\label{wxstringtokenizernexttoken}
37
38 \constfunc{virtual wxString}{NextToken}{\void}
39
40 Returns the next token.
41
42 \membersection{wxStringTokenizer::GetString}\label{wxstringtokenizergetstring}
43
44 \constfunc{virtual wxString}{GetString}{\void}
45
46 Returns the input string.
47
48
49