1999-01-24 15:23:54 +00:00
|
|
|
\section{\class{wxStringTokenizer}}\label{wxstringtokenizer}
|
|
|
|
|
|
|
|
wxStringTokenizer helps you to break a string up into a number of tokens.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
1999-02-15 20:41:29 +00:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/tokenzr.h>
|
|
|
|
|
1999-01-24 15:23:54 +00:00
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
\membersection{wxStringTokenizer::wxStringTokenizer}\label{wxstringtokenizerwxstringtokenizer}
|
|
|
|
|
1999-02-16 20:17:02 +00:00
|
|
|
\func{}{wxStringTokenizer}{\void}
|
|
|
|
|
|
|
|
Default constructor.
|
|
|
|
|
1999-01-25 18:33:08 +00:00
|
|
|
\func{}{wxStringTokenizer}{\param{const wxString\& }{to\_tokenize}, \param{const wxString\& }{delims = " $\backslash$t$\backslash$r$\backslash$n"}, \param{bool }{ret\_delim = FALSE}}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
1999-02-16 20:17:02 +00:00
|
|
|
Constructor. Pass the string to tokenize, a string containing delimiters,
|
1999-01-24 15:23:54 +00:00
|
|
|
a flag specifying whether delimiters are retained.
|
|
|
|
|
|
|
|
\membersection{wxStringTokenizer::\destruct{wxStringTokenizer}}\label{wxstringtokenizerdtor}
|
|
|
|
|
|
|
|
\func{}{\destruct{wxStringTokenizer}}{\void}
|
|
|
|
|
|
|
|
Destructor.
|
|
|
|
|
|
|
|
\membersection{wxStringTokenizer::CountTokens}\label{wxstringtokenizercounttokens}
|
|
|
|
|
1999-02-24 08:02:28 +00:00
|
|
|
\constfunc{int}{CountTokens}{\void}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
|
|
|
Returns the number of tokens in the input string.
|
|
|
|
|
1999-02-24 08:02:28 +00:00
|
|
|
\membersection{wxStringTokenizer::HasMoreTokens}\label{wxstringtokenizerhasmoretokens}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
1999-02-24 08:02:28 +00:00
|
|
|
\constfunc{bool}{HasMoreTokens}{\void}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
|
|
|
Returns TRUE if the tokenizer has further tokens.
|
|
|
|
|
1999-02-24 08:02:28 +00:00
|
|
|
\membersection{wxStringTokenizer::GetNextToken}\label{wxstringtokenizergetnexttoken}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
1999-02-24 08:02:28 +00:00
|
|
|
\constfunc{wxString}{GetNextToken}{\void}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
|
|
|
Returns the next token.
|
|
|
|
|
|
|
|
\membersection{wxStringTokenizer::GetString}\label{wxstringtokenizergetstring}
|
|
|
|
|
1999-02-24 08:02:28 +00:00
|
|
|
\constfunc{wxString}{GetString}{\void}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
|
|
|
Returns the input string.
|
|
|
|
|
1999-02-16 20:17:02 +00:00
|
|
|
\membersection{wxStringTokenizer::SetString}\label{wxstringtokenizersetstring}
|
|
|
|
|
|
|
|
\func{void}{SetString}{\param{const wxString\& }{to\_tokenize}, \param{const wxString\& }{delims = " $\backslash$t$\backslash$r$\backslash$n"}, \param{bool }{ret\_delim = FALSE}}
|
1999-01-24 15:23:54 +00:00
|
|
|
|
1999-02-16 20:17:02 +00:00
|
|
|
Initializes the tokenizer.
|
|
|
|
|
|
|
|
Pass the string to tokenize, a string containing delimiters,
|
|
|
|
a flag specifying whether delimiters are retained.
|
1999-01-24 15:23:54 +00:00
|
|
|
|