From c631ad54523c61cdc60929c9b78a38cf4d6ff5eb Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Wed, 26 May 2010 23:05:04 +0000 Subject: [PATCH] add docs for the global wxStringTokenize() function which were lost during latex=>doxygen conversion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/tokenzr.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/interface/wx/tokenzr.h b/interface/wx/tokenzr.h index ac7dcecefc..15c17edf22 100644 --- a/interface/wx/tokenzr.h +++ b/interface/wx/tokenzr.h @@ -88,7 +88,7 @@ enum wxStringTokenizerMode @library{wxbase} @category{data} - @see wxStringTokenize() + @see ::wxStringTokenize() */ class wxStringTokenizer : public wxObject { @@ -158,3 +158,25 @@ public: const wxString& delims = " \t\r\n", wxStringTokenizerMode mode = wxTOKEN_DEFAULT); }; + + +/** @addtogroup group_funcmacro_string */ +//@{ + +/** + This is a convenience function wrapping wxStringTokenizer which simply + returns all tokens found in the given @a str as an array. + + Please see wxStringTokenizer::wxStringTokenizer for the description + of the other parameters. + + @return The array with the parsed tokens. + + @header{wx/string.h} +*/ +wxArrayString +wxStringTokenize(const wxString& str, + const wxString& delims = wxDEFAULT_DELIMITERS, + wxStringTokenizerMode mode = wxTOKEN_DEFAULT); + +//@}