add const qualifiers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2008-03-09 16:24:26 +00:00
parent 1fee6e2577
commit 328f5751e8
193 changed files with 2525 additions and 2513 deletions

View File

@@ -123,7 +123,7 @@ public:
reaches 0 HasMoreTokens() returns
@false.
*/
int CountTokens();
int CountTokens() const;
/**
Returns the delimiter which ended scan for the last token returned by
@@ -137,24 +137,24 @@ public:
/**
Returns the next token or empty string if the end of string was reached.
*/
wxString GetNextToken();
wxString GetNextToken() const;
/**
Returns the current position (i.e. one index after the last returned
token or 0 if GetNextToken() has never been called) in the original
string.
*/
size_t GetPosition();
size_t GetPosition() const;
/**
Returns the part of the starting string without all token already extracted.
*/
wxString GetString();
wxString GetString() const;
/**
Returns @true if the tokenizer has further tokens, @false if none are left.
*/
bool HasMoreTokens();
bool HasMoreTokens() const;
/**
Initializes the tokenizer.