]> git.saurik.com Git - wxWidgets.git/commitdiff
add docs for the global wxStringTokenize() function which were lost during latex...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 26 May 2010 23:05:04 +0000 (23:05 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 26 May 2010 23:05:04 +0000 (23:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/tokenzr.h

index ac7dcecefcbbf3e8a41742532694e11e739d67d8..15c17edf22cb25b3f0d3e536896ba5e626ebcad7 100644 (file)
@@ -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);
+                 
+//@}