ad813b00d5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
65 lines
1.9 KiB
TeX
65 lines
1.9 KiB
TeX
\section{\class{wxStringTokenizer}}\label{wxstringtokenizer}
|
|
|
|
wxStringTokenizer helps you to break a string up into a number of tokens.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/tokenzr.h>
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxStringTokenizer::wxStringTokenizer}\label{wxstringtokenizerwxstringtokenizer}
|
|
|
|
\func{}{wxStringTokenizer}{\void}
|
|
|
|
Default constructor.
|
|
|
|
\func{}{wxStringTokenizer}{\param{const wxString\& }{to\_tokenize}, \param{const wxString\& }{delims = " $\backslash$t$\backslash$r$\backslash$n"}, \param{bool }{ret\_delim = FALSE}}
|
|
|
|
Constructor. Pass the string to tokenize, a string containing delimiters,
|
|
a flag specifying whether delimiters are retained.
|
|
|
|
\membersection{wxStringTokenizer::\destruct{wxStringTokenizer}}\label{wxstringtokenizerdtor}
|
|
|
|
\func{}{\destruct{wxStringTokenizer}}{\void}
|
|
|
|
Destructor.
|
|
|
|
\membersection{wxStringTokenizer::CountTokens}\label{wxstringtokenizercounttokens}
|
|
|
|
\constfunc{int}{CountTokens}{\void}
|
|
|
|
Returns the number of tokens in the input string.
|
|
|
|
\membersection{wxStringTokenizer::HasMoreTokens}\label{wxstringtokenizerhasmoretokens}
|
|
|
|
\constfunc{bool}{HasMoreTokens}{\void}
|
|
|
|
Returns TRUE if the tokenizer has further tokens.
|
|
|
|
\membersection{wxStringTokenizer::GetNextToken}\label{wxstringtokenizergetnexttoken}
|
|
|
|
\constfunc{wxString}{GetNextToken}{\void}
|
|
|
|
Returns the next token.
|
|
|
|
\membersection{wxStringTokenizer::GetString}\label{wxstringtokenizergetstring}
|
|
|
|
\constfunc{wxString}{GetString}{\void}
|
|
|
|
Returns the input string.
|
|
|
|
\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}}
|
|
|
|
Initializes the tokenizer.
|
|
|
|
Pass the string to tokenize, a string containing delimiters,
|
|
a flag specifying whether delimiters are retained.
|
|
|