~ubuntu-branches/ubuntu/maverick/wxwidgets2.8/maverick-proposed

« back to all changes in this revision

Viewing changes to docs/html/wx/wx_wxstringtokenizer.html

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2007-11-06 18:25:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071106182513-809agqds6igh7mqo
Tags: 2.8.6.1-0ubuntu1
* New upstream version, based on the upstream tarball
  wxPython-src-2.8.6.1.tar.bz2, renamed debian to debian-upstream.
* Provide a get-orig-source target to do the repackaging.
* Fix "substvar-source-version-is-deprecated" lintian warnings.
* Remove duplicate Description field in debian/control.
* Add "\" at the end of line 8 in debian/python-wxtools.menu to fix
  "bad-test-in-menu-item" lintian error.
* Provide .xpm icons to fix "menu-icon-not-in-xpm-format" lintian errors,
  changed Icon field in debian/python-wxtools.menu.
* Fix "wrong-name-for-upstream-changelog" lintian warnings.
* Remove "Application;" from Categories field in debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Switch "Apps" to "Applications" in debian/python-wxtools.menu to fix
  "menu-item-uses-apps-section" lintian warnings.
* Drop the icon extension from debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Add dpatch support.
* Add "WX_CONFIG" patch.
* debian/rules:
  - added .xpm icons to install-gtk-py-tools target
  - added "docs/changes.txt" to dh_installchangelogs in binary-common target
  - added "\" at the end of "install-examples install-msw-dev
    install-msw-dbg install-headers-msw" line in .PHONY

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<head><link rel=stylesheet type="text/css" href="wx.css"><title>wxStringTokenizer</title></head>
3
3
 
4
4
<BODY BGCOLOR=#FFFFFF>
5
 
<FONT FACE="Arial, Lucida, Helvetica">
6
5
<A NAME="wxstringtokenizer"></A><CENTER>
7
6
<A HREF="wx_contents.html"><img align=center src="contents.gif" BORDER=0 ALT="Contents"></A> <A HREF="wx_classref.html#classref"><img align=center src="up.gif" BORDER=0 ALT="Up"></A> <A HREF="wx_wxstringoutputstream.html#wxstringoutputstream"><img align=center src="back.gif" BORDER=0 ALT="Previous"></A> <A HREF="wx_wxsymbolpickerdialog.html#wxsymbolpickerdialog"><img align=center src="forward.gif" BORDER=0 ALT="Next"></A> </CENTER><HR>
8
7
 
41
40
 
42
41
 
43
42
<TR><TD VALIGN=TOP WIDTH=198>
44
 
<FONT FACE="Arial, Lucida, Helvetica">
45
43
<TT>wxTOKEN_DEFAULT</TT>
46
44
</FONT></TD>
47
45
 
48
46
<TD VALIGN=TOP>
49
 
<FONT FACE="Arial, Lucida, Helvetica">
50
47
Default behaviour (as described above):
51
48
same as <TT>wxTOKEN_STRTOK</TT> if the delimiter string contains only
52
49
whitespaces, same as <TT>wxTOKEN_RET_EMPTY</TT> otherwise
54
51
 
55
52
 
56
53
<TR><TD VALIGN=TOP WIDTH=198>
57
 
<FONT FACE="Arial, Lucida, Helvetica">
58
54
<TT>wxTOKEN_RET_EMPTY</TT>
59
55
</FONT></TD>
60
56
 
61
57
<TD VALIGN=TOP>
62
 
<FONT FACE="Arial, Lucida, Helvetica">
63
58
In this mode, the empty tokens in the
64
59
middle of the string will be returned, i.e. <TT>"a::b:"</TT> will be tokenized in
65
60
three tokens 'a', '' and 'b'. Notice that all trailing delimiters are ignored
69
64
 
70
65
 
71
66
<TR><TD VALIGN=TOP WIDTH=198>
72
 
<FONT FACE="Arial, Lucida, Helvetica">
73
67
<TT>wxTOKEN_RET_EMPTY_ALL</TT>
74
68
</FONT></TD>
75
69
 
76
70
<TD VALIGN=TOP>
77
 
<FONT FACE="Arial, Lucida, Helvetica">
78
71
In this mode, empty trailing tokens
79
72
(including the one after the last delimiter character) will be returned as
80
73
well. The string <TT>"a::b:"</TT> will be tokenized in four tokens: the already
84
77
 
85
78
 
86
79
<TR><TD VALIGN=TOP WIDTH=198>
87
 
<FONT FACE="Arial, Lucida, Helvetica">
88
80
<TT>wxTOKEN_RET_DELIMS</TT>
89
81
</FONT></TD>
90
82
 
91
83
<TD VALIGN=TOP>
92
 
<FONT FACE="Arial, Lucida, Helvetica">
93
84
In this mode, the delimiter character
94
85
after the end of the current token (there may be none if this is the last
95
86
token) is returned appended to the token. Otherwise, it is the same mode as 
101
92
 
102
93
 
103
94
<TR><TD VALIGN=TOP WIDTH=198>
104
 
<FONT FACE="Arial, Lucida, Helvetica">
105
95
<TT>wxTOKEN_STRTOK</TT>
106
96
</FONT></TD>
107
97
 
108
98
<TD VALIGN=TOP>
109
 
<FONT FACE="Arial, Lucida, Helvetica">
110
99
In this mode the class behaves exactly like
111
100
the standard <TT>strtok()</TT> function: the empty tokens are never returned.
112
101
</FONT></TD></TR>