1QValueListConstIterator(3qt) QValueListConstIterator(3qt)
2
3
4
6 QValueListConstIterator - Const iterator for QValueList
7
9 All the functions in this class are reentrant when Qt is built with
10 thread support.</p>
11
12 #include <qvaluelist.h>
13
14 Public Members
15 typedef T value_type
16 typedef const T * pointer
17 typedef const T & reference
18 QValueListConstIterator ()
19 QValueListConstIterator ( const QValueListConstIterator<T> & it )
20 QValueListConstIterator ( const QValueListIterator<T> & it )
21 bool operator== ( const QValueListConstIterator<T> & it ) const
22 bool operator!= ( const QValueListConstIterator<T> & it ) const
23 const T & operator* () const
24 QValueListConstIterator<T> & operator++ ()
25 QValueListConstIterator<T> operator++ ( int )
26 QValueListConstIterator<T> & operator-- ()
27 QValueListConstIterator<T> operator-- ( int )
28
30 The QValueListConstIterator class provides a const iterator for
31 QValueList.
32
33 In contrast to QValueListIterator, this class is used to iterate over a
34 const list. It does not allow modification of the values of the list
35 since that would break const semantics.
36
37 You can create the appropriate const iterator type by using the
38 const_iterator typedef provided by QValueList.
39
40 For more information on QValueList iterators, see QValueListIterator.
41
42 See also QValueListIterator, QValueList, Qt Template Library Classes,
43 and Non-GUI Classes.
44
45 Member Type Documentation
47 Pointer to value_type.
48
50 Reference to value_type.
51
53 The type of value.
54
57 Creates un uninitialized iterator.
58
60 QValueListConstIterator<T> & it )
61 This is an overloaded member function, provided for convenience. It
62 behaves essentially like the above function.
63
64 Constructs a copy of the iterator it.
65
67 & it )
68 Constructs a copy of the iterator it.
69
71 it ) const
72 Compares this iterator with it and returns TRUE if they point to
73 different items; otherwise returns FALSE.
74
76 Asterisk operator. Returns a reference to the current iterator item.
77
79 Prefix ++ makes the succeeding item current and returns an iterator
80 pointing to the new current item. The iterator cannot check whether it
81 reached the end of the list. Incrementing the iterator returned by
82 end() causes undefined results.
83
85 This is an overloaded member function, provided for convenience. It
86 behaves essentially like the above function.
87
88 Postfix ++ makes the succeeding item current and returns an iterator
89 pointing to the new current item. The iterator cannot check whether it
90 reached the end of the list. Incrementing the iterator returned by
91 end() causes undefined results.
92
94 Prefix -- makes the previous item current and returns an iterator
95 pointing to the new current item. The iterator cannot check whether it
96 reached the beginning of the list. Decrementing the iterator returned
97 by begin() causes undefined results.
98
100 This is an overloaded member function, provided for convenience. It
101 behaves essentially like the above function.
102
103 Postfix -- makes the previous item current and returns an iterator
104 pointing to the new current item. The iterator cannot check whether it
105 reached the beginning of the list. Decrementing the iterator returned
106 by begin() causes undefined results.
107
109 it ) const
110 Compares this iterator with it and returns TRUE if they point to the
111 same item; otherwise returns FALSE.
112
113
115 http://doc.trolltech.com/qvaluelistconstiterator.html
116 http://www.trolltech.com/faq/tech.html
117
119 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
120 license file included in the distribution for a complete license
121 statement.
122
124 Generated automatically from the source code.
125
127 If you find a bug in Qt, please report it as described in
128 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
129 help you. Thank you.
130
131 The definitive Qt documentation is provided in HTML format; it is
132 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
133 web browser. This man page is provided as a convenience for those users
134 who prefer man pages, although this format is not officially supported
135 by Trolltech.
136
137 If you find errors in this manual page, please report them to qt-
138 bugs@trolltech.com. Please include the name of the manual page
139 (qvaluelistconstiterator.3qt) and the Qt version (3.3.8).
140
141
142
143Trolltech AS 2 February 2007 QValueListConstIterator(3qt)