]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/tokenizr.tex
documented wxCONFIG_USE_RELATIVE_PATH
[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\wxheading{Include files}
10
11<wx/tokenzr.h>
12
13\latexignore{\rtfignore{\wxheading{Members}}}
14
15\membersection{wxStringTokenizer::wxStringTokenizer}\label{wxstringtokenizerwxstringtokenizer}
16
17\func{}{wxStringTokenizer}{\void}
18
19Default constructor.
20
21\func{}{wxStringTokenizer}{\param{const wxString\& }{to\_tokenize}, \param{const wxString\& }{delims = " $\backslash$t$\backslash$r$\backslash$n"}, \param{bool }{ret\_delim = FALSE}}
22
23Constructor. Pass the string to tokenize, a string containing delimiters,
24a flag specifying whether delimiters are retained.
25
26\membersection{wxStringTokenizer::\destruct{wxStringTokenizer}}\label{wxstringtokenizerdtor}
27
28\func{}{\destruct{wxStringTokenizer}}{\void}
29
30Destructor.
31
32\membersection{wxStringTokenizer::CountTokens}\label{wxstringtokenizercounttokens}
33
34\constfunc{int}{CountTokens}{\void}
35
36Returns the number of tokens in the input string.
37
38\membersection{wxStringTokenizer::HasMoreTokens}\label{wxstringtokenizerhasmoretokens}
39
40\constfunc{bool}{HasMoreTokens}{\void}
41
42Returns TRUE if the tokenizer has further tokens.
43
44\membersection{wxStringTokenizer::GetNextToken}\label{wxstringtokenizergetnexttoken}
45
46\constfunc{wxString}{GetNextToken}{\void}
47
48Returns the next token.
49
50\membersection{wxStringTokenizer::GetString}\label{wxstringtokenizergetstring}
51
52\constfunc{wxString}{GetString}{\void}
53
54Returns the input string.
55
56\membersection{wxStringTokenizer::SetString}\label{wxstringtokenizersetstring}
57
58\func{void}{SetString}{\param{const wxString\& }{to\_tokenize}, \param{const wxString\& }{delims = " $\backslash$t$\backslash$r$\backslash$n"}, \param{bool }{ret\_delim = FALSE}}
59
60Initializes the tokenizer.
61
62Pass the string to tokenize, a string containing delimiters,
63a flag specifying whether delimiters are retained.
64