QWebElementCollection::const_iterator Class Reference

QWebElementCollection::const_iterator Class Reference

#include <qwebelement.h>

Class Description

Definition at line 212 of file qwebelement.h.

Public Member Functions

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

Constructor & Destructor Documentation

const_iterator ( const QWebElementCollection collection,
int  index 
)
inline

Definition at line 214 of file qwebelement.h.

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

Definition at line 215 of file qwebelement.h.

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

Member Function Documentation

const QWebElement operator* ( ) const
inline

Definition at line 217 of file qwebelement.h.

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

Definition at line 219 of file qwebelement.h.

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

Definition at line 220 of file qwebelement.h.

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

Definition at line 221 of file qwebelement.h.

221 { return i < o.i; }
bool operator<= ( const const_iterator o) const
inline

Definition at line 222 of file qwebelement.h.

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

Definition at line 223 of file qwebelement.h.

223 { return i > o.i; }
bool operator>= ( const const_iterator o) const
inline

Definition at line 224 of file qwebelement.h.

224 { return i >= o.i; }
const_iterator& operator++ ( )
inline

Definition at line 226 of file qwebelement.h.

226 { ++i; return *this; }
const_iterator operator++ ( int  )
inline

Definition at line 227 of file qwebelement.h.

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

Definition at line 228 of file qwebelement.h.

228 { i--; return *this; }
const_iterator operator-- ( int  )
inline

Definition at line 229 of file qwebelement.h.

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

Definition at line 230 of file qwebelement.h.

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

Definition at line 231 of file qwebelement.h.

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

Definition at line 232 of file qwebelement.h.

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

Definition at line 233 of file qwebelement.h.

233 { return const_iterator(collection, i - j); }
const_iterator(const QWebElementCollection *collection, int index)
Definition: qwebelement.h:214
int operator- ( const_iterator  j) const
inline

Definition at line 234 of file qwebelement.h.

234 { return i - j.i; }

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