- wxStringTokenizer(const wxString& to_tokenize,
- const wxString& delims = " \t\r\n",
- bool ret_delim = FALSE);
- wxStringTokenizer() { m_string = ""; m_delims = ""; m_retdelims = FALSE;}
- ~wxStringTokenizer();
-
- int CountTokens();
- bool HasMoreToken();
- inline bool HasMoreTokens() { return HasMoreToken(); };
- wxString NextToken();
- // A better name!
- inline wxString GetNextToken() { return NextToken(); };
- wxString GetString() { return m_string; }
-
- void SetString(const wxString& to_tokenize,
- const wxString& delims = " \t\r\n",
- bool ret_delim = FALSE)
- {
- m_string = to_tokenize;
- m_delims = delims;
- m_retdelims = ret_delim;
- }
+ wxStringTokenizer(const wxString& to_tokenize,
+ const wxString& delims = " \t\r\n",
+ bool ret_delim = FALSE);
+ wxStringTokenizer() { m_retdelims = FALSE;}
+ virtual ~wxStringTokenizer();
+
+ int CountTokens() const;
+ bool HasMoreTokens();
+
+ wxString NextToken();
+ wxString GetNextToken() { return NextToken(); };
+
+ wxString GetString() const { return m_string; }
+
+ void SetString(const wxString& to_tokenize,
+ const wxString& delims = " \t\r\n",
+ bool ret_delim = FALSE)
+ {
+ m_string = to_tokenize;
+ m_delims = delims;
+ m_retdelims = ret_delim;
+ }