]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/tokenizr.tex
a bit more docs
[wxWidgets.git] / docs / latex / wx / tokenizr.tex
... / ...
CommitLineData
1\section{\class{wxStringTokenizer}}\label{wxstringtokenizer}
2
3wxStringTokenizer 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
15Constructor. Pass the string to tokenze, a string containing delimiters,
16a flag specifying whether delimiters are retained.
17
18\membersection{wxStringTokenizer::\destruct{wxStringTokenizer}}\label{wxstringtokenizerdtor}
19
20\func{}{\destruct{wxStringTokenizer}}{\void}
21
22Destructor.
23
24\membersection{wxStringTokenizer::CountTokens}\label{wxstringtokenizercounttokens}
25
26\constfunc{virtual int}{CountTokens}{\void}
27
28Returns the number of tokens in the input string.
29
30\membersection{wxStringTokenizer::HasMoreToken}\label{wxstringtokenizerhasmoretoken}
31
32\constfunc{virtual bool}{HasMoreToken}{\void}
33
34Returns TRUE if the tokenizer has further tokens.
35
36\membersection{wxStringTokenizer::NextToken}\label{wxstringtokenizernexttoken}
37
38\constfunc{virtual wxString}{NextToken}{\void}
39
40Returns the next token.
41
42\membersection{wxStringTokenizer::GetString}\label{wxstringtokenizergetstring}
43
44\constfunc{virtual wxString}{GetString}{\void}
45
46Returns the input string.
47
48
49