QWebElementCollection::iterator Class Reference

QWebElementCollection::iterator Class Reference

#include <qwebelement.h>

Class Description

Definition at line 246 of file qwebelement.h.

Public Member Functions

 iterator (const QWebElementCollection *collection, int index)
 
 iterator (const iterator &o)
 
QWebElement operator* () const
 
bool operator== (const iterator &o) const
 
bool operator!= (const iterator &o) const
 
bool operator< (const iterator &o) const
 
bool operator<= (const iterator &o) const
 
bool operator> (const iterator &o) const
 
bool operator>= (const iterator &o) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iteratoroperator+= (int j)
 
iteratoroperator-= (int j)
 
iterator operator+ (int j) const
 
iterator operator- (int j) const
 
int operator- (iterator j) const
 

Constructor & Destructor Documentation

iterator ( const QWebElementCollection collection,
int  index 
)
inline

Definition at line 248 of file qwebelement.h.

248 : i(index), collection(collection) {}
GLuint index
Definition: GLee.h:1704
iterator ( const iterator o)
inline

Definition at line 249 of file qwebelement.h.

249 : i(o.i), collection(o.collection) {}

Member Function Documentation

QWebElement operator* ( ) const
inline

Definition at line 251 of file qwebelement.h.

251 { return collection->at(i); }
QWebElement at(int i) const
bool operator== ( const iterator o) const
inline

Definition at line 253 of file qwebelement.h.

253 { return i == o.i && collection == o.collection; }
bool operator!= ( const iterator o) const
inline

Definition at line 254 of file qwebelement.h.

254 { return i != o.i || collection != o.collection; }
bool operator< ( const iterator o) const
inline

Definition at line 255 of file qwebelement.h.

255 { return i < o.i; }
bool operator<= ( const iterator o) const
inline

Definition at line 256 of file qwebelement.h.

256 { return i <= o.i; }
bool operator> ( const iterator o) const
inline

Definition at line 257 of file qwebelement.h.

257 { return i > o.i; }
bool operator>= ( const iterator o) const
inline

Definition at line 258 of file qwebelement.h.

258 { return i >= o.i; }
iterator& operator++ ( )
inline

Definition at line 260 of file qwebelement.h.

260 { ++i; return *this; }
iterator operator++ ( int  )
inline

Definition at line 261 of file qwebelement.h.

261 { iterator n(collection, i); ++i; return n; }
iterator(const QWebElementCollection *collection, int index)
Definition: qwebelement.h:248
GLenum GLsizei n
Definition: GLee.h:3432
iterator& operator-- ( )
inline

Definition at line 262 of file qwebelement.h.

262 { i--; return *this; }
iterator operator-- ( int  )
inline

Definition at line 263 of file qwebelement.h.

263 { iterator n(collection, i); i--; return n; }
iterator(const QWebElementCollection *collection, int index)
Definition: qwebelement.h:248
GLenum GLsizei n
Definition: GLee.h:3432
iterator& operator+= ( int  j)
inline

Definition at line 264 of file qwebelement.h.

264 { i += j; return *this; }
iterator& operator-= ( int  j)
inline

Definition at line 265 of file qwebelement.h.

265 { i -= j; return *this; }
iterator operator+ ( int  j) const
inline

Definition at line 266 of file qwebelement.h.

266 { return iterator(collection, i + j); }
iterator(const QWebElementCollection *collection, int index)
Definition: qwebelement.h:248
iterator operator- ( int  j) const
inline

Definition at line 267 of file qwebelement.h.

267 { return iterator(collection, i - j); }
iterator(const QWebElementCollection *collection, int index)
Definition: qwebelement.h:248
int operator- ( iterator  j) const
inline

Definition at line 268 of file qwebelement.h.

268 { return i - j.i; }

The documentation for this class was generated from the following file: