// Purpose: interface of wxStringTokenizer
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
wxTOKEN_STRTOK
};
+/// Default wxStringTokenizer delimiters are the usual white space characters.
+#define wxDEFAULT_DELIMITERS " \t\r\n"
+
/**
@class wxStringTokenizer
@see SetString()
*/
wxStringTokenizer(const wxString& str,
- const wxString& delims = " \t\r\n",
+ const wxString& delims = wxDEFAULT_DELIMITERS,
wxStringTokenizerMode mode = wxTOKEN_DEFAULT);
/**
containing delimiters, and the @a mode specifying how the string
should be tokenized.
*/
- void SetString(const wxString& to_tokenize,
- const wxString& delims = " \t\r\n",
+ void SetString(const wxString& str,
+ const wxString& delims = wxDEFAULT_DELIMITERS,
wxStringTokenizerMode mode = wxTOKEN_DEFAULT);
};
wxStringTokenize(const wxString& str,
const wxString& delims = wxDEFAULT_DELIMITERS,
wxStringTokenizerMode mode = wxTOKEN_DEFAULT);
-
+
//@}